|
@@ -187,7 +187,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- costColumns(){
|
|
|
|
|
|
+ costColumns () {
|
|
const _this = this
|
|
const _this = this
|
|
return [
|
|
return [
|
|
{ title: '批次号', dataIndex: 'stockBatchNo', width: '150px', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '批次号', dataIndex: 'stockBatchNo', width: '150px', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -210,7 +210,7 @@ export default {
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
]
|
|
]
|
|
if (this.$hasPermissions('M_ShowAllCost')) {
|
|
if (this.$hasPermissions('M_ShowAllCost')) {
|
|
- arr.splice(8, 0, { title: '成本', dataIndex: 'purchaseTotalCost',scopedSlots: { customRender: 'cost' }, width: '5%', align: 'right' })
|
|
|
|
|
|
+ arr.splice(8, 0, { title: '成本', dataIndex: 'purchaseTotalCost', scopedSlots: { customRender: 'cost' }, width: '5%', align: 'right' })
|
|
}
|
|
}
|
|
return arr
|
|
return arr
|
|
}
|
|
}
|