From ae86e4a17d1dc83c307bfd315755c3f92f769769 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Sat, 8 Feb 2025 11:33:22 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20SBBJ-823=20=E8=A7=A3=E5=86=B3=E5=A4=87?= =?UTF-8?q?=E4=BB=B6=E5=BA=93=E4=BD=8D=E6=9B=B4=E6=8D=A2=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/eam/basic/location/index.ts | 10 +++++++++- .../itemLocationReplace.data.ts | 14 ++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) 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 + // }, + ] } }, },