From b1b6c148a8a8276c90f55734ba5be0a80d4cc278 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Tue, 24 Mar 2026 13:26:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E5=A1=AB=E6=8A=A5=E8=A1=A8=E5=8D=95]bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/jhbd/Bj.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } },