Sfoglia il codice sorgente

WMS仓库改变之后,清空货位

002390 1 anno fa
parent
commit
8cb8e0ed47

+ 3 - 3
src/views/purchase/purchase-order/add/index.vue

@@ -471,9 +471,9 @@ export default {
       // WMS仓库
       if(type === 'WAREHOUSE_PARAM'){
         this.judgeGoodsAllocation(val.csFlag);
-        this.params.goodsAllocation = ''
-        this.params.goodsAllocationName = ''
-        this.count++
+        source.goodsAllocation = ''
+        source.goodsAllocationName = ''
+        // this.count++
       }
     },
 

+ 3 - 3
src/views/purchase/purchase-order/edit/index.vue

@@ -419,9 +419,9 @@ export default {
       // WMS仓库
       if(type === 'WAREHOUSE_PARAM'){
         this.judgeGoodsAllocation(val.csFlag);
-        this.params.goodsAllocation = ''
-        this.params.goodsAllocationName = ''
-        this.count++
+        source.goodsAllocation = ''
+        source.goodsAllocationName = ''
+        // this.count++
       }
     },
     // 子表参照改变之后