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'