From 1b9959322e8a863e0760fc3898a79d6809d3287b Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Fri, 24 Nov 2023 14:03:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchasereturnJobMain/index.ts | 2 +- .../purchasereturn/purchasereturnJobMain/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/wms/purchasereturnJobMain/index.ts b/src/api/wms/purchasereturnJobMain/index.ts index c59b9c735..ec925e9b4 100644 --- a/src/api/wms/purchasereturnJobMain/index.ts +++ b/src/api/wms/purchasereturnJobMain/index.ts @@ -91,5 +91,5 @@ export const importTemplate = () => { // 关闭采购退货任务主 export const closePurchasereturnJobMain = (id: number) => { - return request.download({ url: '/wms/purchasereturn-job-main/close?id=' + id }) + return request.put({ url: '/wms/purchasereturn-job-main/close?id=' + id }) } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue index 81adbf5b1..8e4e1899b 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue @@ -198,7 +198,7 @@ const buttonTableClick = async (val, row) => { const handleClose = async (id: number) => { try { await message.confirm(t('common.confirmColse')) - await PurchasereceiptJobMainApi.closePurchasereceiptJobMain(id) + await PurchasereturnJobMainApi.closePurchasereturnJobMain(id) message.success(t('common.closeSuccess')) await getList() } catch {}