diff --git a/src/views/business/study/comp/jhbd/Bj.vue b/src/views/business/study/comp/jhbd/Bj.vue index 4321a9c..a5b29b4 100644 --- a/src/views/business/study/comp/jhbd/Bj.vue +++ b/src/views/business/study/comp/jhbd/Bj.vue @@ -245,6 +245,9 @@ export default { this.form.bdnr = val.content this.form.templateSn = val.sn this.templateData = deepClone(this.form) + setTimeout(() => { + this.$refs["form"].validate() + }, 200) }, cancel() { this.$emit('close') diff --git a/src/views/business/study/comp/sqbd/Bj.vue b/src/views/business/study/comp/sqbd/Bj.vue index 0221741..9067c5f 100644 --- a/src/views/business/study/comp/sqbd/Bj.vue +++ b/src/views/business/study/comp/sqbd/Bj.vue @@ -246,6 +246,9 @@ export default { this.form.bdnr = val.content this.form.templateSn = val.sn this.templateData = deepClone(this.form) + setTimeout(() => { + this.$refs["form"].validate() + }, 200) }, cancel() { this.$emit('close') diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 5642164..6475fa3 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -774,6 +774,9 @@ export default { this.form.bdmc = val.nameEn } this.form.templateSn = val.sn + setTimeout(() => { + this.$refs["form"].validate() + }, 200) }, cancel() { try { diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index 0e1ae6c..6b389a4 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -92,10 +92,10 @@ {{ $t('page.business.study.studyFormPre.yes') - }} + }} {{ $t('page.business.study.studyFormPre.no') - }} + }} @@ -239,7 +239,7 @@ export default { }, selectTemplateChange(val) { this.form.bdnr = val.content - if ( this.$i18n.locale === 'zh_CN') { + if (this.$i18n.locale === 'zh_CN') { this.form.templateMc = val.name this.form.bdmc = val.name } else { @@ -248,6 +248,9 @@ export default { } this.form.templateSn = val.sn this.templateData = deepClone(this.form) + setTimeout(() => { + this.$refs["form"].validate() + }, 200) }, cancel() { this.$emit('close')