fix 79604

This commit is contained in:
danshihao
2023-12-22 17:24:26 +08:00
parent 2c7657f3d8
commit 74e553ddf7
@@ -13,6 +13,9 @@
<a-form-model-item class="item-model" prop="standardizationFirstId">
<a-select v-model="formInline.standardizationFirstId"
:disabled="disabled"
allowClear
showSearch
:filter-option="filterOption"
@change="changeSubStandardizationCommitteeList"
:placeholder="$t('pleaseSelect')+$t('workCenter.postMeetingManageProcess.subStandardizationCommitteeName')">
<a-select-option v-for="item in subStandardizationCommitteeList" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
@@ -29,6 +32,9 @@
<a-form-model-item class="item-model" prop="standardizationSecondId">
<a-select v-model="formInline.standardizationSecondId"
:disabled="disabled"
allowClear
showSearch
:filter-option="filterOption"
:placeholder="$t('pleaseSelect')+$t('workCenter.postMeetingManageProcess.workGroupName')">
<a-select-option v-for="item in workGroupList" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
</a-select>
@@ -263,6 +269,11 @@ export default {
/** 赋值给当前对应的表单文件 */
this.$set(this.formInline, 'fileIds', attIdList.join(','))
// this.formInline.attachment = attIdList.join(',')
},
filterOption (input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
)
}
}
}