Просмотр исходного кода

采购订单维护切换仓库清空货位

黄梓星 1 год назад
Родитель
Сommit
8be4daef56

+ 1 - 1
src/views/purchase/deliveryAddress/add.vue

@@ -151,7 +151,7 @@
 
 <script>
 import Refers from '@/components/Refers/refers.vue'
-import TreeRefers from '@/components/Refers/treeRefer.vue'
+import TreeRefers from '@/components/Refers/sigleTreeRefer.vue'
 import {addAddress, getAddressDetail, editAddress} from '@/api/purchase/deliveryAddress.js'
 // 用于回显参照框数据
 import { getRefer } from '@/api/purchase/basic.js'

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

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

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

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

+ 1 - 1
src/views/purchase/purchase-order/index.vue

@@ -374,7 +374,7 @@ export default {
 
             _this.$alert(msg, '提示', {
               showCancelButton: true,
-              confirmButtonText: '置为0并提交',
+              confirmButtonText: '继续提交',
               cancelButtonText: '取消',
               beforeClose: async(action, instance, done) => {
                 if (action === 'confirm') {