From 22705f6035dd9a79369b9a9f7a336270766f228d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 2 Jul 2026 14:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B0=83=E7=A0=94=E8=A1=A8?= =?UTF-8?q?=E5=9C=A8=E9=80=89=E6=8B=A9=E4=BB=85=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=E8=BF=9B=E8=A1=8C=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E5=92=8C=E8=81=94=E7=B3=BB=E4=BA=BA=E7=94=B5=E8=AF=9D=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/research/components/BaseInfo.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/research/components/BaseInfo.vue b/src/views/research/components/BaseInfo.vue index 04bd5b82..924472f9 100644 --- a/src/views/research/components/BaseInfo.vue +++ b/src/views/research/components/BaseInfo.vue @@ -413,6 +413,14 @@ export default { handleSave(isAutoCommit, isCheck = false) { return new Promise((resolve, reject) => { if (this.IsOnlyUploadFile && !isCheck) { + if (!this.form.UserName) { + this.$message.warning(this.$t("trials:researchForm:message:notUserName")) + return resolve(false) + } + if (!this.form.Phone) { + this.$message.warning(this.$t("trials:researchForm:message:notPhone")) + return resolve(false) + } if (!this.form.CommonUploadRecordId) { this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId")) return resolve(false)