中心调研表提交校验修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
433cfdc123
commit
8f2109b4cd
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue