| | |
| | | label: res.result[0].text |
| | | } |
| | | this.selectedAsyncValue = { ...obj } |
| | | this.$emit('autocompleteForm', res.result[0]) |
| | | } |
| | | this.options = res.result |
| | | } |
| | |
| | | this.$emit('autocompleteForm', this.options.find(item => item.equipmentId === selectedObj.key)) |
| | | //update-end---author:wangshuai ---date:20221115 for:[issues/4213]JSearchSelectTag改造支持多选------------ |
| | | } else { |
| | | this.selectedAsyncValue = null |
| | | this.selectedAsyncValue = undefined |
| | | this.selectedValue = null |
| | | this.options = null |
| | | this.loadData('') |
| | | this.$emit('autocompleteForm', {}) |
| | | } |
| | | this.callback() |
| | | //update-end-author:scott date:20201222 for:【搜索】搜索查询组件,删除条件,默认下拉还是上次的缓存数据,不好 JT-191 |