lilei 2 år sedan
förälder
incheckning
15d0245b62

+ 2 - 2
src/views/salesManagement/examineVerify/list.vue

@@ -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

+ 1 - 1
src/views/salesManagement/matchSendOutOrder/list.vue

@@ -242,7 +242,7 @@ export default {
       if (this.$hasPermissions('M_matchSendOutOrderList_salesPrice')) { //  售价权限
         arr.splice(9, 0, { title: '总售价', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
-      if (!this.isShowWarehouse) {
+      if (this.isShowWarehouse) {
         arr.splice(7, 0, { title: '仓库', dataIndex: 'warehouse', width: '14%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true })
       }
       return arr

+ 1 - 1
src/views/salesManagement/outboundOrder/list.vue

@@ -266,7 +266,7 @@ export default {
       if (this.$hasPermissions('M_outboundOrderList_salesPrice')) { //  售价权限
         arr.splice(7, 0, { title: '售价', dataIndex: 'productTotalPrice', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
-      if (!this.isShowWarehouse) {
+      if (this.isShowWarehouse) {
         arr.splice(6, 0, { title: '仓库', dataIndex: 'warehouse', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true })
       }
       return arr

+ 1 - 1
src/views/salesManagement/receiptPrint/list.vue

@@ -229,7 +229,7 @@ export default {
         { title: '打印次数', dataIndex: 'printNum', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '7%', align: 'center' }
       ]
-      if (!this.isShowWarehouse) {
+      if (this.isShowWarehouse) {
         arr.splice(5, 0, { title: '仓库', dataIndex: 'warehouse', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true })
       }
       return arr

+ 1 - 1
src/views/salesManagement/sendOutOrder/list.vue

@@ -245,7 +245,7 @@ export default {
         { title: '备注', dataIndex: 'transportRemark', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
       ]
-      if (!this.isShowWarehouse) {
+      if (this.isShowWarehouse) {
         arr.splice(7, 0, { title: '仓库', dataIndex: 'warehouse', width: '10%', align: 'left', customRender: function (text) { return text || '--' } })
       }
       return arr