diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 1387a2391..2a2445c38 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -210,6 +210,17 @@ export const getBalanceByQJ = async (params) => { } } +// 查询器具库存余额列表 +export const getBalanceByQJToScrap = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/balance/seniorContainerToScrap', data }) + } else { + return await request.get({ url: `/wms/balance/pageContainerToScrap`, params }) + } +} + // 查询库存余额列表根据业务类型 根据库存状态及库区类型筛选 export const getBalanceByBusinessTypeByItemType = async (params) => { diff --git a/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts b/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts index 60834a2f2..e5ce12e4a 100644 --- a/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts +++ b/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts @@ -428,7 +428,7 @@ export const ContainerDetailRequest = useCrudSchemas(reactive([ searchField: 'itemCode', searchTitle: '库存余额信息', searchAllSchemas: Balance.allSchemas, - searchPage: BalanceApi.getBalanceByQJ, + searchPage: BalanceApi.getBalanceByQJToScrap, }, form: { // labelMessage: '信息提示说明!!!', @@ -438,7 +438,7 @@ export const ContainerDetailRequest = useCrudSchemas(reactive([ searchField: 'itemCode', searchTitle: '库存余额信息', searchAllSchemas: Balance.allSchemas, - searchPage: BalanceApi.getBalanceByQJ, + searchPage: BalanceApi.getBalanceByQJToScrap, } } },