Browse Source

fix:[填报表单]bug

luojie
15881625488@163.com 4 weeks ago
parent
commit
b1b6c148a8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/views/business/study/comp/jhbd/Bj.vue

+ 4
- 1
src/views/business/study/comp/jhbd/Bj.vue View File

@ -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
}
},

Loading…
Cancel
Save