优化报表查询,将仓库之类的参数改为非必传

This commit is contained in:
季圣华
2021-11-15 00:18:50 +08:00
parent 7b33aba0d6
commit fe29b1a7c2
12 changed files with 27 additions and 27 deletions

View File

@@ -10,7 +10,7 @@
<a-col :md="4" :sm="24">
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select placeholder="选择供应商" v-model="queryParam.organId"
:dropdownMatchSelectWidth="false" showSearch optionFilterProp="children">
:dropdownMatchSelectWidth="false" showSearch allow-clear optionFilterProp="children">
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
@@ -20,8 +20,8 @@
<a-col :md="4" :sm="24">
<a-form-item label="仓库" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select
showSearch optionFilterProp="children"
style="width: 100%"
optionFilterProp="children"
showSearch allow-clear style="width: 100%"
placeholder="请选择仓库"
v-model="queryParam.depotId">
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">