From b80e6aae7ad97304fa9689a861467080343d655f Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Tue, 10 Sep 2024 14:27:18 +0800 Subject: [PATCH] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5876=20=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E4=BD=99=E9=A2=9D=E8=AF=A6=E6=83=85=E9=A1=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AAtab=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/balance/index.ts | 8 +++++++- src/views/wms/inventoryManage/balance/index.vue | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 92ab46992..af60eb822 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -43,7 +43,13 @@ export const getBalancePage = async (params) => { } export const getTransactionBalancePage = async (params) => { - return await request.get({ url: `/wms/transaction/page_balance`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/transaction/senior', data }) + } else { + return await request.get({ url: `/wms/transaction/page_balance`, params }) + } } // 查询库存余额列表(包括已冻结,已失效的物料) diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index 6da4900a8..1779984b0 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -60,7 +60,8 @@ :detailAllSchemasRules="BalanceRules" :apiPage="BalanceApi.getTransactionBalancePage" :isShowAddBtn="false" - :detailButtonIsShow="true" + :detailButtonIsShow="false" + :detailButtonIsShowFilter="false" :tabs="[{ label: '库存事务', prop: 'Transaction'