From 6ee26b5dcd3312ef1c673ac52f75a352ffb8457e Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期五, 01 九月 2023 17:07:54 +0800 Subject: [PATCH] modified: src/App.vue modified: src/main.js new file: src/utils/EventBus.js new file: src/utils/GlobalClickMixin.js --- src/views/basicData/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/basicData/index.vue b/src/views/basicData/index.vue index efdd624..1e29c24 100644 --- a/src/views/basicData/index.vue +++ b/src/views/basicData/index.vue @@ -210,6 +210,13 @@ childrenClick(scope) { this.isUpdate = true; let father = ""; + this.form = { + material: "", // 鏍峰搧鍚嶇О + father: "", // 椤圭洰鍒嗙粍 + name: "", // 椤圭洰鍚嶇О + unit: "", // 鍗曚綅 + id: "" + } selectproductModelByIdApi(scope.row.id).then((res) => { let result = res.data; this.form.name = result.name; @@ -330,7 +337,6 @@ }, createFilter(queryString) { return (restaurant) => { - console.log(restaurant); return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0); }; }, -- Gitblit v1.9.3