Browse Source

WMS bug:HL-5876 库存余额详情页增加一个tab页

hella_online_20240911
gaojs 2 months ago
parent
commit
b80e6aae7a
  1. 8
      src/api/wms/balance/index.ts
  2. 3
      src/views/wms/inventoryManage/balance/index.vue

8
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 })
}
}
// 查询库存余额列表(包括已冻结,已失效的物料)

3
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'

Loading…
Cancel
Save