From 9fe3a62868c0c2f5f113058bb9b7aff1682433a4 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 17 Apr 2026 10:04:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20dl011+dl012=20=E5=8D=95=E4=BD=8D=E5=B8=A6=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/dl/DL011.vue | 2 -- src/views/business/comps/template/comps/dl/DL012.vue | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/business/comps/template/comps/dl/DL011.vue b/src/views/business/comps/template/comps/dl/DL011.vue index 79084d6..a76c0ec 100644 --- a/src/views/business/comps/template/comps/dl/DL011.vue +++ b/src/views/business/comps/template/comps/dl/DL011.vue @@ -273,8 +273,6 @@ export default { compareTo: 'fshxbyjtj', subOptions: this.getDictOptions('business_tjdw'), maxlength: 10, - subDisabled:true - } } } diff --git a/src/views/business/comps/template/comps/dl/DL012.vue b/src/views/business/comps/template/comps/dl/DL012.vue index 39de280..725122d 100644 --- a/src/views/business/comps/template/comps/dl/DL012.vue +++ b/src/views/business/comps/template/comps/dl/DL012.vue @@ -254,7 +254,7 @@ export default { subOptions: this.getDictOptions('business_tjdw'), maxlength: 10, compareTo: 'zbhxbyjtj', - copyFrom: 'zbhxbyjtj' + copyFrom: 'zbhxbyjtj', } } } @@ -314,6 +314,14 @@ export default { // 根据 zbxbs 调用接口生成对应数量的制备后细胞编号(已有的不重复生成) async generateZbhxbbhFields() { const data = this.getFilledFormDataByRefs([refConf.xbxx]) + if(!data.zbhxbsjtjUnit){ + this.$refs[refConf.xbxx].batchUpdateFormData({'zbhxbsjtjUnit':data.fshxbyjtjUnit}) + } + // 触发数据更新 + setTimeout(() => { + this.justUpdateFilledFormData() + }, 100) + const { zbxbs, zbhxbbh_1 } = data || {} if (!zbxbs || !zbhxbbh_1) return