liujixin 3 місяців тому
батько
коміт
1a585d637a
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      src/views/oms/inventory/inventory/warehouseList.vue

+ 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) {