diff --git a/src/api/wms/location/index.ts b/src/api/wms/location/index.ts index 36cf3f575..bce556d5c 100644 --- a/src/api/wms/location/index.ts +++ b/src/api/wms/location/index.ts @@ -34,6 +34,17 @@ export const getLocationPage = async (params) => { return await request.get({ url: `/wms/location/page`, params }) } } + +export const getLocationMPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return request.post({ url: '/wms/location/Msenior', data }) + } else { + return await request.get({ url: `/wms/location/Mpage`, params }) + } +} + export const getLocationPageRepleinsh = async (params) => { if (params.isSearch) { delete params.isSearch @@ -139,4 +150,4 @@ export const selectConfigToLocation = async (params) => { // 根据code获取数据列表 export const getLocationByCodes = async (params) => { return await request.get({ url: `/wms/location/listByCodes`, params }) -} \ No newline at end of file +} diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/purchasereceiptRequestMain.data.ts index 9458a4b92..f4c5e13a6 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/purchasereceiptRequestMain.data.ts @@ -997,13 +997,13 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive