Browse Source

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

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

6
src/api/wms/balance/index.ts

@ -43,8 +43,14 @@ export const getBalancePage = async (params) => {
} }
export const getTransactionBalancePage = async (params) => { export const getTransactionBalancePage = async (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 }) return await request.get({ url: `/wms/transaction/page_balance`, params })
} }
}
// 查询库存余额列表(包括已冻结,已失效的物料) // 查询库存余额列表(包括已冻结,已失效的物料)
export const getBalancePageAll = async (params) => { export const getBalancePageAll = async (params) => {

3
src/views/wms/inventoryManage/balance/index.vue

@ -60,7 +60,8 @@
:detailAllSchemasRules="BalanceRules" :detailAllSchemasRules="BalanceRules"
:apiPage="BalanceApi.getTransactionBalancePage" :apiPage="BalanceApi.getTransactionBalancePage"
:isShowAddBtn="false" :isShowAddBtn="false"
:detailButtonIsShow="true" :detailButtonIsShow="false"
:detailButtonIsShowFilter="false"
:tabs="[{ :tabs="[{
label: '库存事务', label: '库存事务',
prop: 'Transaction' prop: 'Transaction'

Loading…
Cancel
Save