From 4e410e0cac82c5b7a74c8a9a75f7c6ab2682a435 Mon Sep 17 00:00:00 2001 From: chenfang <1057876684@qq.com> Date: Mon, 4 Nov 2024 17:15:57 +0800 Subject: [PATCH] =?UTF-8?q?HL-6311=20=E5=B7=B2=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/balance/index.ts | 11 +++++++++++ .../scrapContainerMainRequest.data.ts | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) 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, } } },