|
|
@ -39,6 +39,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: "Sp001", |
|
|
name: "Sp001", |
|
|
@ -309,7 +310,7 @@ export default { |
|
|
} |
|
|
} |
|
|
//使用的试剂、仪器 |
|
|
//使用的试剂、仪器 |
|
|
const stepResource = this.$refs.stepRef.getStepResource() |
|
|
const stepResource = this.$refs.stepRef.getStepResource() |
|
|
this.resourceTmp = tmpResource.concat(stepResource.sjResource||[]) |
|
|
|
|
|
|
|
|
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[]) |
|
|
this.yqResourceTmp = stepResource.yqResource||[] |
|
|
this.yqResourceTmp = stepResource.yqResource||[] |
|
|
return content; |
|
|
return content; |
|
|
} |
|
|
} |
|
|
|