优化报表中仓库选择的组件,增加key参数
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotIdF">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
@@ -72,7 +72,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotId">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotId">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotId">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotId">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
showSearch allow-clear style="width: 100%"
|
||||
placeholder="请选择仓库"
|
||||
v-model="queryParam.depotId">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||
<a-select-option v-for="(depot,index) in depotList" :value="depot.id" :key="index">
|
||||
{{ depot.depotName }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
Reference in New Issue
Block a user