lilei 2 年 前
コミット
12ae9f0f43

+ 6 - 3
src/views/allocationManagement/transferOut/edit.vue

@@ -488,7 +488,6 @@ export default {
       if (!this.plSetVal) {
         this.$message.warning('请选择费用归属部门!')
       } else {
-        this.spinning = true
         const snList = []
         const arr = this.rowSelectionInfo && this.rowSelectionInfo.selectedRows || []
         const department = this.departmentList.find(item => item.departmentSn == this.plSetVal)
@@ -499,12 +498,14 @@ export default {
             'departmentName': department ? department.name : ''
           })
         })
+        this.showPlModal = false
+        this.$message.loading('正在设置...', 0)
         updateBatchDepartment(snList).then(res => {
           if (res.status == 200) {
-            this.showPlModal = false
+            this.closePlSet()
             this.refashPage()
           }
-          this.spinning = false
+          this.$message.destroy()
         })
       }
     },
@@ -674,6 +675,8 @@ export default {
     },
     // 已选产品 修改部门
     handleChange (value, record) {
+      const department = this.departmentList.find(item => item.departmentSn == record.departmentSn)
+      record.departmentName = department ? department.name : ''
       this.handleAdd(record, 'edit', 'noRefresh')
     },
     // 已选产品 售价  change

+ 2 - 2
src/views/productManagement/shelfNoManage/chooseImportModal.vue

@@ -89,7 +89,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
         { title: '产品编码', dataIndex: 'code', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'name', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '货位编号-变更前', dataIndex: 'stackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '货位编号-变更前', dataIndex: 'oldStackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '货位编号-变更后', dataIndex: 'newStackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } }
       ],
       loadData: [],
@@ -97,7 +97,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
         { title: '产品编码', dataIndex: 'code', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'name', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '货位编号-变更前', dataIndex: 'stackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '货位编号-变更前', dataIndex: 'oldStackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '货位编号-变更后', dataIndex: 'newStackPlaceCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '备注', dataIndex: 'errorMsg', width: '15%', align: 'center', customRender: function (text) { return text || '--' } }
       ],

+ 9 - 3
src/views/reportData/allocationDetails/list.vue

@@ -134,7 +134,7 @@
         :columns="columns"
         :data="loadData"
         :defaultLoadData="false"
-        :scroll="{ x: 2090 }"
+        :scroll="{ x: 2610 }"
         bordered>
         <template slot="footer">
           <a-row :gutter="15">
@@ -259,7 +259,7 @@ export default {
         { title: '调拨单号', dataIndex: 'allocateNo', width: 160, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
         { title: '调拨开单日期', dataIndex: 'allocateDate', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '省份', dataIndex: 'dealerProvinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '客户名称', dataIndex: 'targetName', width: 120,align: 'center', sorter: true, customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '客户名称', dataIndex: 'targetName', width: 120, align: 'center', sorter: true, customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '客户级别', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '品牌', dataIndex: 'productBrandName', width: 130, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '二级分类', dataIndex: 'productTypeName2', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
@@ -274,7 +274,13 @@ export default {
         { title: '仓库', dataIndex: 'warehouseName', width: 90, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
         { title: '仓位', dataIndex: 'warehouseLocationName', width: 90, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
         { title: '操作员', dataIndex: 'creatorName', width: 100, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '调拨类型', dataIndex: 'allocateTypeName', width: 80, align: 'center', customRender: function (text) { return text || '--' } }
+        { title: '费用类型', dataIndex: 'costTypeName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '调拨类型(一级)', dataIndex: 'allocateSortName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '调拨类型(二级)', dataIndex: 'allocateTypeName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '费用归属品牌', dataIndex: 'productBrandName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '费用归属品类(二级)', dataIndex: 'productTypeName2', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '费用归属品类(三级)', dataIndex: 'productTypeName3', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '费用归属部门', dataIndex: 'departmentName', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
       ]
       if (this.$hasPermissions('B_isShowCost')) { //  成本价权限
         arr.splice(12, 0, { title: '成本价', dataIndex: 'cost', width: 70, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })

+ 1 - 1
src/views/salesReturnManagement/salesReturn/list.vue

@@ -98,7 +98,7 @@
         <a-alert type="info" style="margin-bottom:10px">
           <div slot="message">
             总单数:{{ countData&&countData.totalRecord||0 }};
-            申请退货数量:{{ countData&&countData.totalQty||0 }};
+            申请退货数量:{{ countData&&countData.totalInitialQty||0 }};
             仓库实收数量:{{ countData&&countData.totalReceiveQty||0 }};
             坏件数量:{{ countData&&countData.totalBadQty||0 }};
             良品数量:{{ countData&&countData.totalGoodQty||0 }};