From 27097bbeb6f2f1f5ee3e76932b041ed300509af5 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Sat, 7 Mar 2026 09:41:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E7=BB=86=E8=83=9E=E7=BB=86=E8=8F=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/TemplateTable.vue | 3 +++ src/views/business/comps/template/mixins/templateMixin.js | 6 ++++++ src/views/business/study/comp/tbbd/Bj.vue | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index d973316..c9644e1 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -479,6 +479,9 @@ export default { getJcbList() { return this.$refs.templateComponent.getJcbList(); }, + getXbxj() { + return this.$refs.templateComponent.getXbxj(); + }, getFilledFormData() { return this.$refs.templateComponent.getFilledFormData(); }, diff --git a/src/views/business/comps/template/mixins/templateMixin.js b/src/views/business/comps/template/mixins/templateMixin.js index 1b51fd8..395aaeb 100644 --- a/src/views/business/comps/template/mixins/templateMixin.js +++ b/src/views/business/comps/template/mixins/templateMixin.js @@ -176,10 +176,13 @@ export default { yqResource: [], //仪器信息 jcbList: [], //检测板信息 + xbxj: [], //细胞细菌信息 + resourceTmp: [],//试验试剂信息提交用 yqResourceTmp: [], //仪器信息提交用 jcbListTmp: [], //检测板信息提交用 + xbxjTmp:[],//细胞细菌信息提交用 sjColumns: [ { label: 'template.common.reagentName', prop: "mc" },//名称 { label: 'template.common.reagentCode', prop: "bh" },//编号 @@ -336,6 +339,9 @@ export default { getJcbList() { return this.jcbListTmp }, + getXbxj() { + return this.xbxjTmp + }, //根据ref数组获取直接formData getFilledFormDataByRefs(refArr = []) { let result = {} diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 87e2bce..d6045fa 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -428,6 +428,7 @@ export default { resource: '', yqResource: '', jcbList: '', + xbxj:'', qmrmm: '', sfcz: false, czfs: '', @@ -457,6 +458,7 @@ export default { resource: [], yqResource: [], jcbList: [], + xbxj: [], bdmbTitle: this.$t('page.business.form.bdmb'), rulesApprove: { qmrmm: [{ @@ -686,6 +688,7 @@ export default { that.resource = that.$refs.templateTable.getResource() that.yqResource = that.$refs.templateTable.getYqResource() that.jcbList = that.$refs.templateTable.getJcbList() + that.xbxj = that.$refs.templateTable.getXbxj() that.openApprove = true } }, @@ -907,6 +910,7 @@ export default { that.formApprove.resource = JSON.stringify(that.resource) that.formApprove.yqResource = JSON.stringify(that.yqResource) that.formApprove.jcbList = JSON.stringify(that.jcbList) + that.formApprove.xbxj = JSON.stringify(that.xbxj) if (that.czlist.length > 0) { that.formApprove.czlist = JSON.stringify(that.czlist) }