From 8891a931133b64d00a31e2153ce91f1d5a7483a7 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Tue, 31 Mar 2026 15:28:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/StepComponents/jcb/jzks.vue | 3 +++ src/components/Template/mixins/stepMixins.js | 1 + src/views/business/comps/template/comps/dl/DL010.vue | 3 ++- src/views/business/comps/template/comps/lba/LBA008.vue | 3 ++- src/views/business/comps/template/comps/pcr/PCR005.vue | 3 ++- src/views/business/comps/template/comps/pcr/PCR007.vue | 1 + src/views/business/comps/template/comps/pcr/PCR009.vue | 3 ++- src/views/business/comps/template/comps/pcr/PCR011.vue | 3 ++- src/views/business/comps/template/comps/yp/YP003.vue | 1 + src/views/business/comps/template/comps/yp/YP005.vue | 1 + 10 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/Template/StepComponents/jcb/jzks.vue b/src/components/Template/StepComponents/jcb/jzks.vue index 79d5adb..c03f4a9 100644 --- a/src/components/Template/StepComponents/jcb/jzks.vue +++ b/src/components/Template/StepComponents/jcb/jzks.vue @@ -19,6 +19,9 @@ export default { components: { StepFormPackage }, + mounted() { + console.log(this.getStepData(),"getStepData()") + }, computed: { formConfig() { let config = [{ diff --git a/src/components/Template/mixins/stepMixins.js b/src/components/Template/mixins/stepMixins.js index 7f61469..bcead71 100644 --- a/src/components/Template/mixins/stepMixins.js +++ b/src/components/Template/mixins/stepMixins.js @@ -4,6 +4,7 @@ import { getLatestSn, getLatestSnArr } from '@/api/template' export default { inject: { templateFillType: { default: 'preFill' }, + getStepData: { default: () => null }, getMybh: { default: () => null } }, dicts: [ diff --git a/src/views/business/comps/template/comps/dl/DL010.vue b/src/views/business/comps/template/comps/dl/DL010.vue index 9e95fda..83876b6 100644 --- a/src/views/business/comps/template/comps/dl/DL010.vue +++ b/src/views/business/comps/template/comps/dl/DL010.vue @@ -426,7 +426,8 @@ export default { sjlhnzsjyjrl: '', // 实际0.9%氯化钠注射液加入量(空) sjgs: '', // 收集骨髓(空) lx: '', // 离心(空) - sjjrxq: '' // 实际加入血清(空) + sjjrxq: '', // 实际加入血清(空) + id: this.getuuid() } }) diff --git a/src/views/business/comps/template/comps/lba/LBA008.vue b/src/views/business/comps/template/comps/lba/LBA008.vue index bf69295..f0693e9 100644 --- a/src/views/business/comps/template/comps/lba/LBA008.vue +++ b/src/views/business/comps/template/comps/lba/LBA008.vue @@ -247,7 +247,8 @@ export default { list.push({ dwbh: item[0], zzlx: item[1], - targetStartSolutionVolumePrecision: 3 + targetStartSolutionVolumePrecision: 3, + id:this.getuuid(), }) }) this.$refs.stepTableRef.addRows(list) diff --git a/src/views/business/comps/template/comps/pcr/PCR005.vue b/src/views/business/comps/template/comps/pcr/PCR005.vue index ca06d32..7bfd5a3 100644 --- a/src/views/business/comps/template/comps/pcr/PCR005.vue +++ b/src/views/business/comps/template/comps/pcr/PCR005.vue @@ -256,7 +256,8 @@ export default { sxbs: item[2], ysypxytj: item[3], targetDiluentVolumePrecision: 3, - actSolutionVolumePrecision: 3 + actSolutionVolumePrecision: 3, + id:this.getuuid(), }) }) this.$refs.stepTableRef.addRows(list) diff --git a/src/views/business/comps/template/comps/pcr/PCR007.vue b/src/views/business/comps/template/comps/pcr/PCR007.vue index c5741d4..3587b6e 100644 --- a/src/views/business/comps/template/comps/pcr/PCR007.vue +++ b/src/views/business/comps/template/comps/pcr/PCR007.vue @@ -211,6 +211,7 @@ export default { list.push({ ypmc: item[0], cyqypgsjyjtjtj: item[1], + id:this.getuuid(), }) }) this.$refs.stepTableRef.addRows(list) diff --git a/src/views/business/comps/template/comps/pcr/PCR009.vue b/src/views/business/comps/template/comps/pcr/PCR009.vue index 0dd3d11..7053030 100644 --- a/src/views/business/comps/template/comps/pcr/PCR009.vue +++ b/src/views/business/comps/template/comps/pcr/PCR009.vue @@ -252,7 +252,8 @@ export default { list.push({ ypmc: item[0], zzz: item[1], - targetStartSolutionVolumePrecision: 3 + targetStartSolutionVolumePrecision: 3, + id:this.getuuid(), }) }) this.$refs.stepTableRef.addRows(list) diff --git a/src/views/business/comps/template/comps/pcr/PCR011.vue b/src/views/business/comps/template/comps/pcr/PCR011.vue index 5536cd1..d3b3804 100644 --- a/src/views/business/comps/template/comps/pcr/PCR011.vue +++ b/src/views/business/comps/template/comps/pcr/PCR011.vue @@ -227,7 +227,8 @@ export default { excelData.forEach(item => { list.push({ ypmc: item[0], - targetStartSolutionVolumePrecision: 3 + targetStartSolutionVolumePrecision: 3, + id:this.getuuid(), }) }) this.$refs.stepTableRef.addRows(list) diff --git a/src/views/business/comps/template/comps/yp/YP003.vue b/src/views/business/comps/template/comps/yp/YP003.vue index 1227f4f..dcbf299 100644 --- a/src/views/business/comps/template/comps/yp/YP003.vue +++ b/src/views/business/comps/template/comps/yp/YP003.vue @@ -251,6 +251,7 @@ export default { return { checked: undefined, tagValue: item[0], + id:this.getuuid(), } }) this.$refs.tableRef.updateDataSourceByRowIndex(this.currentRowIndex, { dwbh: tagData }); diff --git a/src/views/business/comps/template/comps/yp/YP005.vue b/src/views/business/comps/template/comps/yp/YP005.vue index 5ad34f7..a24e73f 100644 --- a/src/views/business/comps/template/comps/yp/YP005.vue +++ b/src/views/business/comps/template/comps/yp/YP005.vue @@ -271,6 +271,7 @@ export default { return { checked:undefined, tagValue:item[0], + id:this.getuuid(), } }) this.$refs.tableRef.updateDataSourceByRowIndex(this.currentRowIndex,{zz:tagData});