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)