浏览代码

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();