Browse Source

【采购需求单】采购需求单模板下载按品类选择选不到数据

002390 1 year ago
parent
commit
c29d19d7aa
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/purchase/PurchaseDemandList/index.vue

+ 3 - 1
src/views/purchase/PurchaseDemandList/index.vue

@@ -348,7 +348,7 @@ export default {
   components: {
     Add: () => import("./add.vue"),
     Refers: () => import("@/components/Refers/refers.vue"),
-    TreeRefers: () => import("@/components/Refers/refers.vue"),
+    TreeRefers: () => import("@/components/Refers/sigleTreeRefer.vue"),
     ElSuperUxTable: () => import("@/components/super-ux-table/index.vue"),
     BatchImport: () => import("@/components/BatchImport/index.vue"),
     ElSuperSearch: () => import("@/components/super-search/index.vue"),
@@ -791,9 +791,11 @@ export default {
       this.referCondition.type = type;
       this.referCondition.isPage = isPage;
       this.referCondition.title = title;
+      console.log(this.referCondition, "this.referCondition");
       this.$refs.tree.init(this.referCondition);
     },
     selectionsToInput2(selection) {
+      console.log(selection, "selection");
       this.classOptions.push(selection);
       this.download.category = selection.code;
     },