|
|
@ -38,6 +38,7 @@ import templateMixin from "../../mixins/templateMixin"; |
|
|
import CustomTable from '@/components/Template/CustomTable.vue'; |
|
|
import CustomTable from '@/components/Template/CustomTable.vue'; |
|
|
import { getLatestSn } from '@/api/template'; |
|
|
import { getLatestSn } from '@/api/template'; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
|
|
|
import { uniqeResource } from "@/utils/calUnitTools"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "SP002", |
|
|
name: "SP002", |
|
|
@ -306,13 +307,16 @@ export default { |
|
|
kc: content.targetActVolume, |
|
|
kc: content.targetActVolume, |
|
|
kcdw: content.targetActVolumeUnit, |
|
|
kcdw: content.targetActVolumeUnit, |
|
|
syl: null, |
|
|
syl: null, |
|
|
|
|
|
elnType: this.product, |
|
|
syldw: content.targetActVolumeUnit, |
|
|
syldw: content.targetActVolumeUnit, |
|
|
yxzq: content.effectivePeriod, |
|
|
yxzq: content.effectivePeriod, |
|
|
yxzqdw: content.effectivePeriodUnit, |
|
|
yxzqdw: content.effectivePeriodUnit, |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
//使用的试剂 |
|
|
|
|
|
this.resourceTmp = tmpResource |
|
|
|
|
|
|
|
|
//使用的试剂、仪器 |
|
|
|
|
|
const stepResource = this.$refs.stepRef.getStepResource() |
|
|
|
|
|
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[]) |
|
|
|
|
|
this.yqResourceTmp = stepResource.yqResource||[] |
|
|
return content; |
|
|
return content; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|