库存平面图改仓库下拉框
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<el-form :model="queryParams" ref="queryForm" :inline="true">
|
<el-form :model="queryParams" ref="queryForm" :inline="true">
|
||||||
<el-form-item label="仓库">
|
<el-form-item label="仓库" prop="warehouseId">
|
||||||
<el-select v-model="queryParams.warehouseId" style="width: 150px" @change="handleWarehouseChange">
|
<el-select v-model="queryParams.warehouseId" placeholder="请选择仓库" clearable @change="handleWarehouseChange">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in warehouseOptions"
|
v-for="dict in warehouseOptions"
|
||||||
:key="dict.warehouseId"
|
:key="dict.warehouseId"
|
||||||
@@ -55,9 +55,10 @@ export default {
|
|||||||
class_now_date_time: '',
|
class_now_date_time: '',
|
||||||
print_date: '',
|
print_date: '',
|
||||||
lot_no: '',
|
lot_no: '',
|
||||||
// 仓库选项
|
|
||||||
warehouseOptions: []
|
|
||||||
},
|
},
|
||||||
|
// 仓库选项
|
||||||
|
warehouseOptions: [],
|
||||||
// 巷道选项
|
// 巷道选项
|
||||||
roadwayOptions: [],
|
roadwayOptions: [],
|
||||||
// 排号选项
|
// 排号选项
|
||||||
@@ -84,7 +85,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getWarehouseList()
|
||||||
this.initCharts()
|
this.initCharts()
|
||||||
this.handleWarehouseChange()
|
this.handleWarehouseChange()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user