|
|
@ -41,6 +41,18 @@ export const getBalancePage = async (params) => { |
|
|
|
return await request.get({ url: `/wms/balance/page`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 查询库存余额列表(包括已冻结,已失效的物料)
|
|
|
|
export const getBalancePageAll = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/balance/seniorAll', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/balance/pageAll`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 查询库存余额列表
|
|
|
|
export const getBalancePageReturn= async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|