From 7f54266cf9b7eb31b9225b58d1eaf1a4c3b02e50 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sun, 18 Aug 2024 10:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5433=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E9=80=80=E8=B4=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchasereturnRequestMain/index.ts | 5 +++++ .../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts index 880ce56a3..68cc0f4bd 100644 --- a/src/api/wms/purchasereturnRequestMain/index.ts +++ b/src/api/wms/purchasereturnRequestMain/index.ts @@ -136,6 +136,11 @@ export const handlePurchasereturnRequestMain = async (id) => { return await request.put({ url: `/wms/purchasereturn-request-main/handle?id=` + id }) } +// 处理采购退货申请主(新) +export const handlePurchasereturnRequestMainNew = async (id) => { + return await request.put({ url: `/wms/purchasereturn-request-main/handleNew?id=` + id }) +} + // 生成标签 export const genLabel = async (data) => { return await request.post({ url: `/wms/purchasereturn-request-main/genLabel`, data }) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue index 6c7ad4a30..fb9de2408 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue @@ -640,7 +640,7 @@ const handleHandle = async (id: number) => { try { await message.confirm(t('common.confirmHandle')) tableObject.loading = true - await PurchasereturnRequestMainApi.handlePurchasereturnRequestMain(id) + await PurchasereturnRequestMainApi.handlePurchasereturnRequestMainNew(id) message.success(t('common.handleSuccess')) buttonBaseClick('refresh',null) } catch {