From 6cc076f3b53fbae3c286a3d1da6bc0786949da35 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 31 八月 2023 17:08:38 +0800
Subject: [PATCH] 	modified:   src/api/inspection/commisioninspection.js 	modified:   src/views/inspectionManagement/commissionInspection/index.vue 	modified:   src/views/inspectionManagement/reportForInspection/index.vue

---
 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