| | |
| | | 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; |
| | |
| | | }, |
| | | createFilter(queryString) { |
| | | return (restaurant) => { |
| | | console.log(restaurant); |
| | | return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0); |
| | | }; |
| | | }, |
| | |
| | | background: #fff; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 5px 24px 0px 24px; |
| | | padding: 24px 24px 0px 24px; |
| | | .sermargin{ |
| | | margin-right: 60px; |
| | | } |