huang_an před 2 roky
rodič
revize
7e2f0269a4

+ 1 - 1
src/views/warehouseManagement/outgoingManagement/add.vue

@@ -1380,7 +1380,7 @@
         console.log(this.title);
       },
       async initData() {
-        const { data } = await getTreeByGroup({ type: 1 });
+        const { data } = await getTreeByGroup({ type: 2 });
         this.codeList = data;
         const res = await warehouseDefinition.tree();
         this.treeList = this.$util.toTreeData({

+ 1 - 1
src/views/warehouseManagement/stockManagement/add.vue

@@ -2015,7 +2015,7 @@
         );
       },
       async initData() {
-        const { data } = await getTreeByGroup({ type: 1 });
+        const { data } = await getTreeByGroup({ type: 2 });
         this.codeList = data;
         // .map((item) => {
         //   return { dictCode: item.id, dictValue: item.name };