From 8f2109b4cd58864ff40ead8cd3c52533af14a895 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 2 Jul 2026 13:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B0=83=E7=A0=94=E8=A1=A8?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=A0=A1=E9=AA=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/research/components/BaseInfo.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/research/components/BaseInfo.vue b/src/views/research/components/BaseInfo.vue index 9be7d419..04bd5b82 100644 --- a/src/views/research/components/BaseInfo.vue +++ b/src/views/research/components/BaseInfo.vue @@ -413,7 +413,10 @@ export default { handleSave(isAutoCommit, isCheck = false) { return new Promise((resolve, reject) => { if (this.IsOnlyUploadFile && !isCheck) { - if (!this.form.CommonUploadRecordId) return this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId")) + if (!this.form.CommonUploadRecordId) { + this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId")) + return resolve(false) + } this.btnLoading = true const param = { id: this.form.Id, @@ -448,7 +451,7 @@ export default { this.btnLoading = false reject(false) }) - return false + return resolve(true) } this.$refs['researchBSForm'].validate(valid => { if (valid) {