lilei 1 năm trước cách đây
mục cha
commit
b641f016cd

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

@@ -240,9 +240,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
@@ -266,7 +263,7 @@ export default {
       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) : '--') })
       }
-      
+
       return arr
     }
   },
@@ -291,7 +288,7 @@ export default {
       this.queryParam.buyerSn = undefined
       this.$refs.dealerSubareaScopeList.resetForm()
       this.queryParam.salesBillNo = ''
-      this.queryParam.dispatchBillNo = '' //备货单号
+      this.queryParam.dispatchBillNo = '' // 备货单号
       this.queryParam.stockOutNo = '' // 出库单号
       this.queryParam.billStatus = undefined
       this.queryParam.printStatus = undefined

+ 2 - 5
src/views/salesManagement/matchSendOutOrder/list.vue

@@ -217,9 +217,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
@@ -244,9 +241,9 @@ export default {
 	    arr.splice(7, 0, { title: '仓库', dataIndex: 'warehouseName', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true })
 	  }
       if (this.$hasPermissions('M_matchSendOutOrderList_salesPrice')) { //  售价权限
-        arr.splice(this.isShowWarehouse?10:9, 0, { title: '总售价', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
+        arr.splice(this.isShowWarehouse ? 10 : 9, 0, { title: '总售价', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
-      
+
       return arr
     }
   },

+ 2 - 5
src/views/salesManagement/outboundOrder/list.vue

@@ -245,9 +245,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '创建时间', dataIndex: 'createDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
@@ -268,9 +265,9 @@ export default {
 	    arr.splice(6, 0, { title: '仓库', dataIndex: 'warehouseName', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true })
 	  }
       if (this.$hasPermissions('M_outboundOrderList_salesPrice')) { //  售价权限
-        arr.splice(this.isShowWarehouse?8:7, 0, { title: '售价', dataIndex: 'productTotalPrice', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
+        arr.splice(this.isShowWarehouse ? 8 : 7, 0, { title: '售价', dataIndex: 'productTotalPrice', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
-      
+
       return arr
     }
   },

+ 0 - 3
src/views/salesManagement/receiptPrint/list.vue

@@ -206,9 +206,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },

+ 0 - 3
src/views/salesManagement/salesOrderWarehouse/list.vue

@@ -159,9 +159,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '6%', align: 'center' },

+ 0 - 3
src/views/salesManagement/stockPrint/list.vue

@@ -268,9 +268,6 @@ export default {
     }
   },
   computed: {
-    isShowWarehouse () {
-      return this.$store.state.app.isWarehouse
-    },
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '40px', align: 'center' },