<Select ref="vendorId" v-model="formInline.vendorId" @on-open-change="venSelect" filterable style="width: 162px;" clearable>
<Option v-for="item in vendorList" :value="item.vendorId" :key="item.vendorId">
{{ item.vendorLevel ? `${item.vendorLevel}-${item.venAbbName}-${item.vendorCode}` : `${item.venAbbName}-${item.vendorCode}` }}
</Option>
</Select>
venSelect(type){
if(type === false){
// 供应商不选置空
if(!this.formInline.vendorId){
this.$refs.vendorId.query = ''
return
}
}
},