From 89449a5ff2517b2c886281a6a746c234ab335c10 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 1 Feb 2024 13:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=BA=93=E5=AD=98=E4=BD=99?= =?UTF-8?q?=E9=A2=9D=E5=88=97=E8=A1=A8=E6=A0=B9=E6=8D=AE=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/balance/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 1db740b2a..012f7c534 100644 --- a/src/api/wms/balance/index.ts +++ b/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) => {