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

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

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