浏览代码

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

002390 1 年之前
父节点
当前提交
8cb8e0ed47
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3 3
      src/views/purchase/purchase-order/add/index.vue
  2. 3 3
      src/views/purchase/purchase-order/edit/index.vue

+ 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++
       }
     },
     // 子表参照改变之后