diff --git a/src/views/business/study/comp/jhbd/Bj.vue b/src/views/business/study/comp/jhbd/Bj.vue index 4d53683..82703da 100644 --- a/src/views/business/study/comp/jhbd/Bj.vue +++ b/src/views/business/study/comp/jhbd/Bj.vue @@ -261,6 +261,7 @@ export default { bdbh: null, bdmc: this.$i18n.locale === 'zh_CN'?'试验物质配制计划表':'试验物质配制计划表', bdsm: null, + qmyy:this.$t('page.business.study.studyFormFill.txbtjjl'), templateId: 1, templateMc: this.$i18n.locale === 'zh_CN'?'试验物质配制计划表':'试验物质配制计划表', templateSn: 'SYWZPZJHB', @@ -278,7 +279,7 @@ export default { this.reset() this.studyType = row.studyType || null this.studyFormType = row.studyFormType || 10 - this.form.qmyy = this.$t('page.business.study.studyFormPlan.cjjl') + if (row && row.id) { this.showIndex = 2 this.$modal.loading() @@ -287,6 +288,7 @@ export default { this.templateData = deepClone(this.form) this.saveSimpleLog({ jcmc: '计划表单编辑', jcmcEn: 'Plan Table Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' }) this.open = true + this.form.qmyy = this.$t('page.business.study.studyFormFill.txbtjjl') }).finally(() => { this.$modal.closeLoading() }) @@ -297,6 +299,7 @@ export default { let name = this.studyType == 1 ? '试验' : (this.studyType == 5 ? '非试验表单' : '麻精药表单') let nameEn = this.studyType == 1 ? 'Study' : (this.studyType == 5 ? 'Non-study' : 'ontrolled Drug') this.saveSimpleLog({ jcmc: '计划表单新增', jcmcEn: 'Plan Table Create', name: name, nameEn: nameEn }) + this.form.qmyy = this.$t('page.business.study.studyFormFill.txbtjjl') this.open = true } },