From b9dc933266018c38f7a7b51d4571967aaa0d9c7c Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Tue, 3 Sep 2024 14:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E6=96=99=E7=94=B3=E8=AF=B7-=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8F=90=E7=A4=BA=E8=BF=94=E5=9B=9E=E7=9A=84=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issueManage/issue/issueRequestMain/index.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue index bc2885c7d..6c84aa7c4 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue +++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue @@ -513,8 +513,17 @@ const submitForm = async (formType, submitData) => { formRef.value.formLoading = true try { if (formType === 'create') { - await IssueRequestMainApi.createIssueRequestMain(data) - message.success(t('common.createSuccess')) + let remarkRes = await IssueRequestMainApi.createIssueRequestMain(data) + if(remarkRes){ + let remarkList = remarkRes.split(';') + ElMessageBox.alert(remarkList.join('
'),'提示',{ + dangerouslyUseHTMLString: true, + }) + }else{ + message.success(t('common.createSuccess')) + } + console.log('remarkRes',remarkRes) + } else { await IssueRequestMainApi.updateIssueRequestMain(data) message.success(t('common.updateSuccess'))