From 5d642ea50b57b30d637d8587954911fba493a2e4 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 25 Apr 2024 19:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=B6=E9=A2=86=E7=94=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sparepartsrequisitionRequestMain/index.vue | 3 ++- .../unplannedissue/unplannedissueRequestMain/index.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue index 68c9961d9..aa9b465cc 100644 --- a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue @@ -345,7 +345,7 @@ const handleExport = async () => { // 发起导出 exportLoading.value = true const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params) - download.excel(data, '计划外出库申请主.xlsx') + download.excel(data, '备件领用申请.xlsx') } catch { } finally { exportLoading.value = false @@ -396,6 +396,7 @@ const submitForm = async (formType, data) => { await UnplannedissueRequestMainApi.createUnplannedissueRequestMain(data) message.success(t('common.createSuccess')) } else { + data.dataType='2' await UnplannedissueRequestMainApi.updateUnplannedissueRequestMain(data) message.success(t('common.updateSuccess')) } diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue index cd86a3d1d..bff4d0d8e 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue @@ -396,6 +396,7 @@ const submitForm = async (formType, data) => { await UnplannedissueRequestMainApi.createUnplannedissueRequestMain(data) message.success(t('common.createSuccess')) } else { + data.dataType='1' await UnplannedissueRequestMainApi.updateUnplannedissueRequestMain(data) message.success(t('common.updateSuccess')) }