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); }; },