From 17608bf5990dc91187ede1d84c3981c06f150553 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Sat, 31 Jan 2026 10:49:25 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86]sp002?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/sp/SP002.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/business/comps/template/comps/sp/SP002.vue b/src/views/business/comps/template/comps/sp/SP002.vue index 32b3b2a..9cd2c2a 100644 --- a/src/views/business/comps/template/comps/sp/SP002.vue +++ b/src/views/business/comps/template/comps/sp/SP002.vue @@ -38,6 +38,7 @@ import templateMixin from "../../mixins/templateMixin"; import CustomTable from '@/components/Template/CustomTable.vue'; import { getLatestSn } from '@/api/template'; import { EventBus } from "@/utils/eventBus"; +import { uniqeResource } from "@/utils/calUnitTools"; export default { name: "SP002", @@ -306,13 +307,16 @@ export default { kc: content.targetActVolume, kcdw: content.targetActVolumeUnit, syl: null, + elnType: this.product, syldw: content.targetActVolumeUnit, yxzq: content.effectivePeriod, yxzqdw: content.effectivePeriodUnit, }) } - //使用的试剂 - this.resourceTmp = tmpResource + //使用的试剂、仪器 + const stepResource = this.$refs.stepRef.getStepResource() + this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[]) + this.yqResourceTmp = stepResource.yqResource||[] return content; } }