|
|
@ -234,3 +234,15 @@ export const getBanchBomPage = async (params) => { |
|
|
|
export const getAllBalancePage = async (params) => { |
|
|
|
return await request.get({ url: `/wms/balance/getBalancePageAll `, params }) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 查询库存余额列表根据库位
|
|
|
|
export const getBalanceByLocation = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/balance/balanceSeniorByLocation', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/balance/balancePageByLocation`, params }) |
|
|
|
} |
|
|
|
} |