diff --git a/src/api/eam/basic/location/index.ts b/src/api/eam/basic/location/index.ts index 8a4682f..973c1a4 100644 --- a/src/api/eam/basic/location/index.ts +++ b/src/api/eam/basic/location/index.ts @@ -56,7 +56,15 @@ export const getLocationNoPage = async (params) => { // 查询库位列表 export const selectPageByConditions = async (params) => { - return await request.get({ url: `/eam/location/selectPageByConditions`, params }) + + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/eam/location/selectPageByConditionsSenior', data }) + } else { + return await request.get({ url: `/eam/location/selectPageByConditions`, params }) + + } } // 不在台账中的库位 diff --git a/src/views/eam/item/itemLocationReplace/itemLocationReplace.data.ts b/src/views/eam/item/itemLocationReplace/itemLocationReplace.data.ts index 6002795..7245632 100644 --- a/src/views/eam/item/itemLocationReplace/itemLocationReplace.data.ts +++ b/src/views/eam/item/itemLocationReplace/itemLocationReplace.data.ts @@ -39,12 +39,14 @@ export const ItemLocationReplace = useCrudSchemas(reactive([ value:'TRUE', message: '是否可用', isMainValue: false - },{ - key:'qty', - value:'0', - message: '库存数量', - isMainValue: false - },] + }, + // { + // key:'qty', + // value:'0', + // message: '库存数量', + // isMainValue: false + // }, + ] } }, },