KPI分析筛选仓库类型

This commit is contained in:
liuhanqing
2025-07-29 10:52:25 +08:00
parent c4049b336e
commit d02aa2448e
5 changed files with 33 additions and 21 deletions

View File

@@ -61,6 +61,11 @@ export default {
chartData: {
xAxis: [],
series: []
},
queryWarehouseParam:{
pageNum: 1,
pageSize: 99,
typeData:[1,2]
}
}
},
@@ -79,7 +84,7 @@ export default {
/** 获取仓库列表 */
async getWarehouseList() {
try {
const response = await listWarehouse()
const response = await listWarehouse(this.queryWarehouseParam)
this.warehouseOptions = response.rows
} catch (error) {
console.error('获取仓库列表失败:', error)

View File

@@ -61,6 +61,11 @@ export default {
chartData: {
xAxis: [],
series: []
},
queryWarehouseParam:{
pageNum: 1,
pageSize: 99,
typeData:[1,2]
}
}
},
@@ -79,7 +84,7 @@ export default {
/** 获取仓库列表 */
async getWarehouseList() {
try {
const response = await listWarehouse()
const response = await listWarehouse(this.queryWarehouseParam)
this.warehouseOptions = response.rows
} catch (error) {
console.error('获取仓库列表失败:', error)

View File

@@ -77,6 +77,11 @@ export default {
tunnels: [],
inCounts: [],
outCounts: []
},
queryWarehouseParam:{
pageNum: 1,
pageSize: 99,
typeData:[1,2]
}
}
},
@@ -96,12 +101,7 @@ export default {
methods: {
/** 查询仓库列表 */
getWarehouseList() {
// TODO: 调用获取仓库列表接口
var quaryParam = {
pageNum:1,
pageSize:99
}
listWarehouse(quaryParam).then(response => {
listWarehouse(this.queryWarehouseParam).then(response => {
this.warehouseOptions = response.rows;
});
// this.warehouseOptions = [{warehouseId: "01", warehouseName: "仓库1"}, {warehouseId: "02", warehouseName: "仓库2"}];

View File

@@ -48,7 +48,12 @@ export default {
// 图表实例
chart: null,
// 图表数据(模拟数据)
chartData:[]
chartData:[],
queryWarehouseParam:{
pageNum: 1,
pageSize: 99,
typeData:[1,2]
}
}
}
,
@@ -71,12 +76,8 @@ export default {
methods: {
/** 查询仓库列表 */
getWarehouseList() {
// TODO: 调用获取仓库列表接口
var quaryParam = {
pageNum:1,
pageSize:99
}
listWarehouse(quaryParam).then(response => {
listWarehouse(this.queryWarehouseParam).then(response => {
this.warehouseOptions = response.rows;
});
// this.warehouseOptions = [{warehouseId: "01", warehouseName: "仓库1"}, {warehouseId: "02", warehouseName: "仓库2"}];

View File

@@ -85,6 +85,11 @@ export default {
resultsOf: [],
outCargo: [],
theLocked: []
},
queryWarehouseParam:{
pageNum: 1,
pageSize: 99,
typeData:[1,2]
}
}
},
@@ -96,12 +101,8 @@ this.getWarehouseList()
methods: {
/** 查询仓库列表 */
getWarehouseList() {
// TODO: 调用获取仓库列表接口
var quaryParam = {
pageNum:1,
pageSize:99
}
listWarehouse(quaryParam).then(response => {
listWarehouse(this.queryWarehouseParam).then(response => {
this.warehouseOptions = response.rows;
});
// this.warehouseOptions = [{warehouseId: "01", warehouseName: "仓库1"}, {warehouseId: "02", warehouseName: "仓库2"}];