|
@@ -215,7 +215,7 @@ export default {
|
|
|
arr.splice(13, 0, { title: '总成本', dataIndex: 'totalCost', width: '4%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
}
|
|
|
if (this.$hasPermissions('B_isShowPrice')) { // 售价权限
|
|
|
- arr.splice(arr.length, 0, { title: '总售价', dataIndex: 'totalPrice', width: '4%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
+ arr.splice(arr.length, 0, { title: '总售价', width: '4%', align: 'center', scopedSlots: { customRender: 'totalAmount' } })
|
|
|
}
|
|
|
return arr
|
|
|
}
|