This commit is contained in:
2026-02-03 11:40:02 +08:00
parent 0744b3de01
commit 7340260cb2
6 changed files with 80 additions and 123 deletions

View File

@@ -8,18 +8,10 @@ export const getMonthCount = () => {
})
}
// 预警
export const getInventoryAge = () => {
return request({
url: '/stat/age',
method: 'get'
})
}
// 库龄统计(库龄超过30/60天统计)
// 预警 + 库龄统计(库龄超过30/60天统计)
export const getAgeLong = () => {
return request({
url: '/stat/age/count',
url: '/stat/stockAge/stat',
method: 'get'
})
}
@@ -27,27 +19,19 @@ export const getAgeLong = () => {
// 仓库使用率
export const getInventoryReview = () => {
return request({
url: '/stat/warehouseScene',
url: '/stat/warehouse/slot',
method: 'get'
})
}
// 待办事项(应到未到统计)
export const getWaitIn = (params) => {
export const getWait = (params) => {
return request({
url: '/stat/undelivered',
url: '/stat/todo',
method: 'get',
params
})
}
// 待办事项(应出未出统计)
export const getWaitOut = (params) => {
return request({
url: '/stat/age/gt30',
method: 'get',
params
})
}
}
// 当前入库类型统计(根据入库类型统计项目数,条目数,总金额)
export const getInStorage = () => {
@@ -65,14 +49,6 @@ export const getGoodsType = () => {
})
}
// 县局统计(根据县局统计项目数,条目数,总金额)
// export const getCounty = () => {
// return request({
// url: '/stat/county/summary',
// method: 'get'
// })
// }
// 入/出库指标统计(天级出入库统计)
export const getDailyInventory = (params) => {
return request({
@@ -100,11 +76,3 @@ export const getOutInventoryType = (params) => {
})
}
// (每一种入库类型的统计)
// export const getEveryInventory = () => {
// return request({
// url: '/stat/type/pie',
// method: 'get'
// })
// }