فهرست منبع

添加location

liujixin 3 ماه پیش
والد
کامیت
95afbb3b4c
1فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  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;
+          }
         }
       });
     },