Browse Source

HL-6311 已修复

hella_online_20241107
chenfang 3 weeks ago
parent
commit
4e410e0cac
  1. 11
      src/api/wms/balance/index.ts
  2. 4
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

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

@ -210,6 +210,17 @@ export const getBalanceByQJ = async (params) => {
} }
} }
// 查询器具库存余额列表
export const getBalanceByQJToScrap = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/seniorContainerToScrap', data })
} else {
return await request.get({ url: `/wms/balance/pageContainerToScrap`, params })
}
}
// 查询库存余额列表根据业务类型 根据库存状态及库区类型筛选 // 查询库存余额列表根据业务类型 根据库存状态及库区类型筛选
export const getBalanceByBusinessTypeByItemType = async (params) => { export const getBalanceByBusinessTypeByItemType = async (params) => {

4
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

@ -428,7 +428,7 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'itemCode', searchField: 'itemCode',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceByQJ, searchPage: BalanceApi.getBalanceByQJToScrap,
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -438,7 +438,7 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'itemCode', searchField: 'itemCode',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceByQJ, searchPage: BalanceApi.getBalanceByQJToScrap,
} }
} }
}, },

Loading…
Cancel
Save