Commit 7d166c7d authored by shangtx's avatar shangtx

feat: 订单增加价格展示

parent 5e9df6f5
...@@ -36,13 +36,18 @@ ...@@ -36,13 +36,18 @@
: '-' : '-'
}} }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="数量" span="2"> <a-descriptions-item label="数量">
{{ order.num || '-' }} {{ order.num || '-' }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="地址" span="2"> <a-descriptions-item label="当前定价(元)">
{{ order.price || '-' }}
</a-descriptions-item>
<a-descriptions-item label="地址">
{{ order.address || '-' }} {{ order.address || '-' }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="已支付金额(元)">
{{ order.totalPrice || '-' }}
</a-descriptions-item>
<a-descriptions-item label="需求说明" :span="2"> <a-descriptions-item label="需求说明" :span="2">
{{ order.demandDesc || '-' }} {{ order.demandDesc || '-' }}
</a-descriptions-item> </a-descriptions-item>
......
...@@ -55,6 +55,13 @@ const columns = [ ...@@ -55,6 +55,13 @@ const columns = [
width: 130, width: 130,
filter: { type: SearchType.STRING } filter: { type: SearchType.STRING }
}, },
{
title: '已支付金额(元)',
dataIndex: 'totalPrice',
align: 'center',
customRender: (value) => value || '-',
width: 100,
},
{ {
title: '服务时间', title: '服务时间',
dataIndex: 'expectArrivalTime', dataIndex: 'expectArrivalTime',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment