From b39d8a01bb12d167a4600c96495a2c7548abdf86 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Tue, 3 Sep 2024 16:37:35 +0800 Subject: [PATCH] HL-5809 --- src/api/wms/balance/index.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 9b538b113..0a722f3fb 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -53,15 +53,9 @@ export const getBalancePageAll = async (params) => { } } -// 查询库存余额列表(包括已冻结,已失效的物料) +// 查询库存汇总列表 export const getBalanceSummaryPageAll = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/seniorAll', data }) - } else { - return await request.get({ url: `/wms/balance/pageAll`, params }) - } + return await request.get({ url: `/wms/balance/pageAll`, params }) } // 查询库存余额列表 export const getBalancePageReturn= async (params) => {