From d5d6e8c6824449b4be06cd7c4dbc5b12c355a377 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Wed, 13 Nov 2024 10:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-6415=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchaseDetail/index.ts | 12 ++++++++++++ .../purchasereceiptRequestMain.data.ts | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/api/wms/purchaseDetail/index.ts b/src/api/wms/purchaseDetail/index.ts index 4623e6fea..fda3f3623 100644 --- a/src/api/wms/purchaseDetail/index.ts +++ b/src/api/wms/purchaseDetail/index.ts @@ -56,6 +56,18 @@ export const getPurchaseDetailPageWMS = async (params) => { } +// 查询采购订单子列表 +export const getPurchaseDetailPageWMSPurchasereceiptRequest = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/purchase-detail/purchasereceiptRequestSeniorWMS', data }) + } else { + return await request.get({ url: `/wms/purchase-detail/purchasereceiptRequestPageWMS`, params }) + } +} + + // 查询M类型的采购订单子列表 export const getPurchaseDetailPageWMSMOrderType = async (params) => { if (params.isSearch) { diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index dee8a1ac0..5ad786120 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -67,7 +67,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( isConcatDetailSchemas:true,//是否是主子表合并 默认false searchDetailSchemas:PurchaseDetail.allSchemas, searchAllSchemas: PurchaseMain.allSchemas, // 查询弹窗所需类 - searchPage: PurchaseDetailApi.getPurchaseDetailPageWMS, // 查询弹窗所需分页方法 + searchPage: PurchaseDetailApi.getPurchaseDetailPageWMSPurchasereceiptRequest, // 查询弹窗所需分页方法 isEnter:true, searchCondition: [{ key:'status',