huang_an преди 2 години
родител
ревизия
7e2f0269a4
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/views/warehouseManagement/outgoingManagement/add.vue
  2. 1 1
      src/views/warehouseManagement/stockManagement/add.vue

+ 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 };