Browse Source

查询库存余额列表根据业务类型

master
zhaoxuebing 10 months ago
parent
commit
89449a5ff2
  1. 10
      src/api/wms/balance/index.ts

10
src/api/wms/balance/index.ts

@ -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) => {

Loading…
Cancel
Save