| | |
| | | v-model="scope.row[item.prop]" |
| | | placeholder="请选择" |
| | | size="mini" |
| | | filterable |
| | | style="width: 80%" |
| | | @change=" |
| | | (val) => { |
| | |
| | | v-model="locacionName" |
| | | placeholder="请选择" |
| | | size="mini" |
| | | filterable |
| | | style="width: 80%" |
| | | @change=" |
| | | (val) => { |
| | |
| | | v-model="scope.row[item.prop]" |
| | | placeholder="请选择" |
| | | size="mini" |
| | | filterable |
| | | style="width: 80%" |
| | | clearable |
| | | @clear="setValueNull(scope.row[item.prop])" |
| | |
| | | tableData: [], // 接口返回数据 |
| | | tableColumn: [ |
| | | // table表单 |
| | | { label: "", prop: "", min: 200, tooltip: true } |
| | | { label: "", prop: "", min: 200, tooltip: true} |
| | | ] |
| | | } |
| | | } |
| | |
| | | }) |
| | | }, |
| | | async handleSelectClient(value, item) { |
| | | this.$emit("selProductClick",value,item) |
| | | if (value === "product") { |
| | | if(item.categoryId===0||item.categoryName===""){ |
| | | this.productTypeNameOptions =[] |
| | |
| | | }else if(value==="productType"){ |
| | | console.log("产品类型选中") |
| | | } |
| | | this.$emit("selProductClick",value,item) |
| | | }, |
| | | querySearchAsync(queryString, cb, value) { |
| | | let restaurants='' |
| | |
| | | page: 1, |
| | | pageSize: 15 |
| | | }).then((res) => { |
| | | console.log(res, "看看产品类型列表") |
| | | if (res.code === 200) { |
| | | const list = res.data ? res.data : [] |
| | | this.productTypeNameOptions = list |