Parcourir la source

添加location

liujixin il y a 3 mois
Parent
commit
95afbb3b4c
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      src/views/oms/inventory/inventory/warehouseList.vue

+ 8 - 1
src/views/oms/inventory/inventory/warehouseList.vue

@@ -399,7 +399,8 @@ export default {
         supportStocking: "",
         checkedStore: [],
         inventoryProtection: "",
-        locationId:""
+        locationId:"",
+        locationName:""
       },
       warehouseTypes: [
         { value: "10", label: "歌莉娅WMS(香港)" },
@@ -604,6 +605,12 @@ export default {
           this.warehouseForm = res.data;
           this.flag = true;
           this.warehouseEditVisible = true;
+          if(this.warehouseForm.locationId!=null){
+            this.showLocationFlag=true;
+            this.warehouseForm.locationId=this.warehouseForm.locationName;
+          }else{
+            this.showLocationFlag=false;
+          }
         }
       });
     },