Commit 74b2e784 by Joey

fix(@gms/gms-plugin-billexpand): 基础数据组件问题

- 点击列表条目后列表可能不消失

- 弹窗选择后点击input后内容消失
parent 66ee3bad
......@@ -15,7 +15,7 @@
v-for="(item,index) in baseDataList"
:key="item.code"
:value="item.code"
@click="handleMainSearchSelectClick(item)"
@mousedown="handleMainSearchSelectClick(item)"
>
<span class="acct-search-label">{{ getLable(item) }}</span>
</li>
......@@ -468,9 +468,15 @@ export default {
this.$emit('data-change', this.value)
},
onSelectOk(value) {
if (this.multiple) {
this.selection = value
let result = this.getReturnInfo()
this.sendEvent(result)
}
else if (value && value.length) {
this.handleMainSearchSelectClick(value[0])
}
},
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment