From 3bf557236927bb390eadc7b5bc7a08e0258a0923 Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Sat, 10 Aug 2024 13:51:03 +0800 Subject: [PATCH] =?UTF-8?q?WMS=20=E2=80=94=E2=80=94>=20bug=20M=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=BA=93=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/location/index.ts | 13 ++++++++++++- .../purchasereceiptRequestMain.data.ts | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) 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