|
@@ -234,10 +234,10 @@ export default {
|
|
|
{ title: '通用编码', dataIndex: 'productEntity.commonCode', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
]
|
|
|
if (this.$hasPermissions('M_shortageStatisticsCList_costPrice')) { // 成本价权限
|
|
|
- arr.splice(14, 0, { title: '缺货成本金额', dataIndex: 'totalCostAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
+ arr.splice(15, 0, { title: '缺货成本金额', dataIndex: 'totalCostAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
}
|
|
|
if (this.$hasPermissions('M_shortageStatisticsCList_salesPrice')) { // 售价权限
|
|
|
- const ind = this.$hasPermissions('M_shortageStatisticsCList_costPrice') ? 15 : 14
|
|
|
+ const ind = this.$hasPermissions('M_shortageStatisticsCList_costPrice') ? 16 : 15
|
|
|
arr.splice(ind, 0, { title: '缺货实售金额', dataIndex: 'totalSalesAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
arr.splice(ind + 1, 0, { title: '缺货开单金额', dataIndex: 'totalAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
}
|