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 {