Browse Source

新接口

hella_online_20241017
yufei_wang 2 months ago
parent
commit
4649d692d0
  1. 12
      src/api/wms/balance/index.ts

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

@ -234,3 +234,15 @@ export const getBanchBomPage = async (params) => {
export const getAllBalancePage = async (params) => { export const getAllBalancePage = async (params) => {
return await request.get({ url: `/wms/balance/getBalancePageAll `, 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 })
}
}
Loading…
Cancel
Save