Browse Source

库存余额展示数据(包括已冻结,已失效的物料)

master_hella_20240701
chenfang 5 months ago
parent
commit
c41ff0fb3f
  1. 12
      src/api/wms/balance/index.ts
  2. 2
      src/views/wms/inventoryManage/balance/index.vue

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

@ -41,6 +41,18 @@ export const getBalancePage = async (params) => {
return await request.get({ url: `/wms/balance/page`, params })
}
}
// 查询库存余额列表(包括已冻结,已失效的物料)
export const getBalancePageAll = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/seniorAll', data })
} else {
return await request.get({ url: `/wms/balance/pageAll`, params })
}
}
// 查询库存余额列表
export const getBalancePageReturn= async (params) => {
if (params.isSearch) {

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

@ -88,7 +88,7 @@ const updataTableColumns = (val) => {
}
const { tableObject, tableMethods } = useTable({
getListApi: BalanceApi.getBalancePage //
getListApi: BalanceApi.getBalancePageAll //
})
//

Loading…
Cancel
Save