Commit 7b7260fd by 乔延琦

Merge branch 'develop-zhouyi' into 'develop'

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

See merge request GFP/RBC/rbc-frontend!181
parents 66ee3bad 74b2e784
......@@ -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) {
this.selection = value
let result = this.getReturnInfo()
this.sendEvent(result)
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