liujixin 3 miesięcy temu
rodzic
commit
1a585d637a

+ 2 - 0
src/views/oms/inventory/inventory/warehouseList.vue

@@ -512,6 +512,7 @@ export default {
       if(val==true && this.warehouseForm.supportStocking==1){
         this.showLocationFlag=true;
       }else{
+        this.warehouseForm.locationId="";
         this.showLocationFlag=false;
       }
 
@@ -522,6 +523,7 @@ export default {
       if(value.findIndex(item => (item===2200))!=-1 && this.warehouseForm.supportStocking==1){
         this.showLocationFlag=true;
       }else{
+        this.warehouseForm.locationId="";
         this.showLocationFlag=false;
       }
       if (value) {