feat(wms):更新修复进展

pull/878/head
YunaiV 2026-05-15 10:45:28 +08:00
parent d128df618e
commit 52972506a8
1 changed files with 8 additions and 3 deletions

View File

@ -17,6 +17,11 @@ export interface InventoryVO {
createTime?: Date createTime?: Date
} }
// WMS 库存统计列表 Request VO
export interface InventoryListReqVO {
warehouseId: number
}
// WMS 库存统计 API // WMS 库存统计 API
export const InventoryApi = { export const InventoryApi = {
// 查询库存统计分页 // 查询库存统计分页
@ -24,8 +29,8 @@ export const InventoryApi = {
return await request.get({ url: '/wms/inventory/page', params }) return await request.get({ url: '/wms/inventory/page', params })
}, },
// 查询指定仓库的库存统计列表 // 查询库存统计列表
getInventoryListByWarehouseId: async (warehouseId: number) => { getInventoryList: async (params: InventoryListReqVO) => {
return await request.get({ url: '/wms/inventory/list-by-warehouse-id', params: { warehouseId } }) return await request.get({ url: '/wms/inventory/list', params })
} }
} }