From 11ed828e2eb927219b8f698c3d43e401ba86f352 Mon Sep 17 00:00:00 2001
From: "15881625488@163.com" <15881625488@163.com>
Date: Tue, 21 Apr 2026 21:01:58 +0800
Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/business/comps/template/TemplateTable.vue | 3 +++
.../business/comps/template/mixins/templateMixin.js | 4 ++++
src/views/business/study/comp/tbbd/Bj.vue | 17 +++++++++++++++++
3 files changed, 24 insertions(+)
diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue
index ecb4cee..c47e528 100644
--- a/src/views/business/comps/template/TemplateTable.vue
+++ b/src/views/business/comps/template/TemplateTable.vue
@@ -524,6 +524,9 @@ export default {
getResource() {
return this.$refs.templateComponent.getResource();
},
+ getPrintResource() {
+ return this.$refs.templateComponent.getPrintResource();
+ },
getYqResource() {
return this.$refs.templateComponent.getYqResource();
},
diff --git a/src/views/business/comps/template/mixins/templateMixin.js b/src/views/business/comps/template/mixins/templateMixin.js
index 650905a..3ddeee0 100644
--- a/src/views/business/comps/template/mixins/templateMixin.js
+++ b/src/views/business/comps/template/mixins/templateMixin.js
@@ -215,6 +215,7 @@ export default {
jcbList: [], //检测板信息
xbxj: [], //细胞细菌信息
+ printResourceTmp:[],//标签打印list信息
resourceTmp: [], //试验试剂信息提交用
yqResourceTmp: [], //仪器信息提交用
jcbListTmp: [], //检测板信息提交用
@@ -386,6 +387,9 @@ export default {
getResource() {
return this.resourceTmp
},
+ getPrintResource() {
+ return this.printResourceTmp
+ },
getYqResource() {
return this.yqResourceTmp
},
diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue
index b950501..36be48c 100644
--- a/src/views/business/study/comp/tbbd/Bj.vue
+++ b/src/views/business/study/comp/tbbd/Bj.vue
@@ -28,6 +28,9 @@
{{ $t('page.business.study.studyFormFill.next') }}
+ {{
+ $t('template.common.bqdy')
+ }}
{{
$t('page.business.study.studyFormFill.yjcc')
}}
@@ -813,6 +816,20 @@ export default {
that.$modal.msgError("没有可存储的药剂")
}
},
+ async showDy() {
+ let that = this
+ that.resetYjcc()
+ that.formYjcc.id = that.form.id
+ that.cclistYj = []
+ that.addCcYj()
+ that.$refs.templateTable.getFilledFormData()
+ let resource = that.$refs.templateTable.getPrintResource()
+ if (resource.length > 0) {
+
+ } else {
+ that.$modal.msgError("没有可打印的标签")
+ }
+ },
async showTjsh(qmyy) {
let that = this
let content = await this.$refs.templateTable.getFormData()