优化下拉框,改为可以搜索

This commit is contained in:
季圣华
2021-07-12 22:01:20 +08:00
parent c6a1a7b4de
commit 8b04d9d007
26 changed files with 63 additions and 28 deletions

View File

@@ -30,7 +30,8 @@
</a-col>
<a-col :md="6" :sm="8">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="仓库">
<a-select placeholder="选择仓库" v-model="queryParam.depotId" :dropdownMatchSelectWidth="false" allow-clear>
<a-select placeholder="选择仓库" v-model="queryParam.depotId"
:dropdownMatchSelectWidth="false" showSearch optionFilterProp="children" allow-clear>
<a-select-option v-for="(item,index) in depotList" :key="index" :value="item.id">
{{ item.depotName }}
</a-select-option>