|
@@ -259,10 +259,10 @@ export default {
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
|
]
|
|
|
if (this.$hasPermissions('M_examineVerifyList_salesPrice')) { // 售价权限
|
|
|
- arr.splice(!this.isShowWarehouse ? 9 : 8, 0, { title: '售价', dataIndex: 'totalAmount', width: '5%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
+ arr.splice(this.isShowWarehouse ? 9 : 8, 0, { title: '售价', dataIndex: 'totalAmount', width: '5%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|
|
|
}
|
|
|
// 仓库管理权限设置是否显示 (当客户有且只有一条仓库管理权限时,不显示仓库信息)
|
|
|
- if (!this.isShowWarehouse) {
|
|
|
+ if (this.isShowWarehouse) {
|
|
|
arr.splice(7, 0, { title: '仓库', dataIndex: 'warehouse', width: '11%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true })
|
|
|
}
|
|
|
return arr
|