|
@@ -91,7 +91,7 @@
|
|
|
铺货数量合计:<strong>{{ statisticsObj.totalShelfMaxQty }}</strong>;
|
|
|
铺货金额合计:<strong>{{ statisticsObj&&(statisticsObj.totalShelfMaxCost||statisticsObj.totalShelfMaxCost==0)?toThousands(statisticsObj.totalShelfMaxCost,2):'--' }}</strong>;
|
|
|
货架取货数量合计:<strong>{{ statisticsObj.totalOrderQty }}</strong>;
|
|
|
- 货架取货金额合计:<strong>{{ statisticsObj&&(statisticsObj.totalOrderAmount||statisticsObj.totalOrderAmount==0)?toThousands(statisticsObj.totalOrderAmount,2):'--' }}</strong>;
|
|
|
+ 货架取货金额合计:<strong>{{ statisticsObj&&(statisticsObj.totalOrderAmount||statisticsObj.totalOrderAmount==0)?toThousands(statisticsObj.totalOrderAmount,2):'--' }}</strong>;
|
|
|
</div>
|
|
|
<div>
|
|
|
急送数量合计:<strong>{{ statisticsObj.tempOrderQty }}</strong>;
|
|
@@ -107,7 +107,8 @@
|
|
|
ref="table"
|
|
|
:style="{ height: tableHeight+84.5+'px', wordBreak: 'break-all' }"
|
|
|
size="small"
|
|
|
- rowKey="id"
|
|
|
+ :rowKey="(record)=>record.shelfSn"
|
|
|
+ rowKeyName="shelfSn"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
:scroll="{ y: tableHeight }"
|
|
@@ -169,28 +170,28 @@ export default {
|
|
|
slots: { title: 'customTitle' },
|
|
|
children: [
|
|
|
{ title: '铺货数量', dataIndex: 'totalShelfMaxQty', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
|
|
|
- { title: '铺货金额', dataIndex: 'totalShelfMaxCost', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text,2) : '--' } }
|
|
|
+ { title: '铺货金额', dataIndex: 'totalShelfMaxCost', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text, 2) : '--' } }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '货架订单',
|
|
|
children: [
|
|
|
{ title: '取货数量', dataIndex: 'totalOrderQty', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
|
|
|
- { title: '取货金额', dataIndex: 'totalOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text,2) : '--' } }
|
|
|
+ { title: '取货金额', dataIndex: 'totalOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text, 2) : '--' } }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '急送订单',
|
|
|
children: [
|
|
|
{ title: '急送数量', dataIndex: 'tempOrderQty', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
|
|
|
- { title: '急送金额', dataIndex: 'tempOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text,2) : '--' } }
|
|
|
+ { title: '急送金额', dataIndex: 'tempOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text, 2) : '--' } }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '销售单',
|
|
|
children: [
|
|
|
{ title: '销售数量', dataIndex: 'saleOrderQty', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
|
|
|
- { title: '销售金额', dataIndex: 'saleOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text,2) : '--' } }
|
|
|
+ { title: '销售金额', dataIndex: 'saleOrderAmount', width: '8%', align: 'right', customRender: function (text) { return (text || text == 0) ? toThousands(text, 2) : '--' } }
|
|
|
]
|
|
|
}
|
|
|
],
|