From bb95b8009c1b8a6a3e1cb81318069e1f16f0a9bb Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Wed, 18 Mar 2026 21:16:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/tbbd/Bj.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 7f55052..d8628f4 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -509,6 +509,7 @@ export default { id: null, qmyy: this.$t('page.business.study.studyFormFill.txbtjjl'), remark: '', + bdnr: '', qmrmm: '', }, resourceYj: [], @@ -782,17 +783,22 @@ export default { that.$modal.msgError("没有可存储的药剂") } }, - showTjsh() { + async showTjsh(qmyy) { let that = this - that.formTjsh.id = that.form.id - that.formTjsh.remark = '' - that.formTjsh.qmrmm = '' - that.openTjsh = true + let content = await this.$refs.templateTable.getFormData() + if (content) { + that.formTjsh.id = that.form.id + that.formTjsh.remark = '' + that.formTjsh.qmrmm = '' + that.formTjsh.bdnr = '' + that.openTjsh = true + } }, - saveTjsh() { + async saveTjsh() { let that = this this.$refs["formTjsh"].validate(valid => { if (valid) { + this.formTjsh.bdnr = JSON.stringify(this.$refs.templateTable.getFilledFormData()) that.$modal.loading() studyFormFill_tjblxjsh(that.formTjsh).then(response => { that.openTjsh = false