Commit 710c1f3e authored by yanglilong's avatar yanglilong

Merge branch 'yll-fix' of git.ssish.com:sunhailiang/bims into test

parents ca4770d6 132c1e2d
......@@ -20,7 +20,7 @@
</a-col>
<a-col :xl="5" :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorId" placeholder="请选择保险公司" allow-clear>
<a-select v-model="form.payorId" placeholder="请选择保险公司" show-search allow-clear :filterOption="filterCode">
<a-select-option v-for="item in companyCode" :key="item.corpCode" :value="item.id">{{ item.longName }}</a-select-option>
</a-select>
</a-form-model-item>
......@@ -124,6 +124,14 @@ export default {
this._getPayorCode();
},
methods: {
// 选择框筛选
filterCode(input, option) {
return (
option.componentOptions.children[0].text
.toLowerCase()
.indexOf(input.toLowerCase()) >= 0
);
},
//重置
resetEvt(){
this.form = {};
......
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