|
|
@ -71,6 +71,16 @@ export const getBalanceItemPage = async (params) => { |
|
|
|
return await request.get({ url: `/wms/balance/pageItems`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
// 查询库存余额列表根据业务类型
|
|
|
|
export const getBalancePageByBusinessType = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/balance/seniorBusinessType', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/balance/pageBusinessType`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 查询库存余额详情
|
|
|
|
export const getBalance = async (id: number) => { |
|
|
|