Преглед на файлове

fix(库存调拨): 新增默认库外调拨,名称默认编码获取

liujt преди 7 месеца
родител
ревизия
d0508317e2
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 3 - 1
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -431,7 +431,7 @@
         selection: [],
         tableData: [],
         productList: [],
-        allocateId: 1,
+        allocateId: 2,
         currentPullAreaId: '',
         currentPullAreaName: '',
         currentTuneAreaId: '',
@@ -807,6 +807,8 @@
     },
     async created() {
       const code = await getCode('transfer_no');
+      const name = await getCode('inventory_allocation_name');
+      this.params.name = name;
       this.params.code = code;
       // this.getTreeData();
       await this.getFactoryList();