From 6ad0795f09cc44649cf116bd3f73975e465c570d Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 29 八月 2023 09:22:43 +0800
Subject: [PATCH] bug
---
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