|
|
@ -2,7 +2,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<div class="detail-container"> |
|
|
<div class="detail-container"> |
|
|
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.templateMc || |
|
|
|
|
|
|
|
|
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc || |
|
|
$t('template.sp.sp009.title') }}<img src="@/assets/images/detail-title.png" /></div> |
|
|
$t('template.sp.sp009.title') }}<img src="@/assets/images/detail-title.png" /></div> |
|
|
<div class="detail-content"> |
|
|
<div class="detail-content"> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
@ -78,6 +78,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue" |
|
|
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; |
|
|
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; |
|
|
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; |
|
|
|
|
|
import { addTj } from "@/utils/calUnitTools"; |
|
|
export default { |
|
|
export default { |
|
|
name: "SWYPFXRYPZB", |
|
|
name: "SWYPFXRYPZB", |
|
|
components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable, TableOpertaion, SelectReagentDialog }, |
|
|
components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable, TableOpertaion, SelectReagentDialog }, |
|
|
@ -380,7 +381,6 @@ export default { |
|
|
resourceList: null, |
|
|
resourceList: null, |
|
|
} |
|
|
} |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
debugger |
|
|
|
|
|
EventBus.$emit('onModifyRecord', params,) |
|
|
EventBus.$emit('onModifyRecord', params,) |
|
|
}, 10); |
|
|
}, 10); |
|
|
} |
|
|
} |
|
|
@ -428,6 +428,9 @@ export default { |
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
//配置的试剂 |
|
|
//配置的试剂 |
|
|
let item = tableList[i] |
|
|
let item = tableList[i] |
|
|
|
|
|
|
|
|
|
|
|
const { total, unit } = addTj([item.sjjzxql, item.sjryxql], [content.headerSelectFields.sjjzxqlUnit, content.headerSelectFields.sjryxqlUnit]) |
|
|
|
|
|
|
|
|
tmpResource.push({ |
|
|
tmpResource.push({ |
|
|
mc: null, |
|
|
mc: null, |
|
|
bh: item.bh+item.bhCode, |
|
|
bh: item.bh+item.bhCode, |
|
|
@ -437,10 +440,10 @@ export default { |
|
|
sxrq: null, |
|
|
sxrq: null, |
|
|
ndz: item.hhwznd, |
|
|
ndz: item.hhwznd, |
|
|
nddw: content.headerSelectFields.hhwzndUnit, |
|
|
nddw: content.headerSelectFields.hhwzndUnit, |
|
|
kc: item.sjjzxql+item.sjryxql,//todo 单位不一致-计算 |
|
|
|
|
|
kcdw: content.headerSelectFields.sjryxqlUnit || content.headerSelectFields.sjjzxqlUnit,//todo 单位不一致-计算-按最小算 |
|
|
|
|
|
|
|
|
kc: total, |
|
|
|
|
|
kcdw: unit, |
|
|
syl: null, |
|
|
syl: null, |
|
|
syldw:content.headerSelectFields.sjryxqlUnit || content.headerSelectFields.sjjzxqlUnit,//todo 单位不一致-计算-按最小算, |
|
|
|
|
|
|
|
|
syldw:unit, |
|
|
yxzq:null, |
|
|
yxzq:null, |
|
|
yxzqdw:null, |
|
|
yxzqdw:null, |
|
|
}) |
|
|
}) |
|
|
@ -452,19 +455,20 @@ export default { |
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
//配置的试剂 |
|
|
//配置的试剂 |
|
|
let item = tableList[i] |
|
|
let item = tableList[i] |
|
|
|
|
|
const { total, unit } = addTj([item.sjryxql, item.sjgzyxql,item.sjxsyxql], [content.headerSelectFields_1.sjryxqlUnit, content.headerSelectFields_1.sjgzyxqlUnit,content.headerSelectFields_1.sjxsyxqlUnit]) |
|
|
tmpResource.push({ |
|
|
tmpResource.push({ |
|
|
mc: null, |
|
|
mc: null, |
|
|
bh: item.bh+item.bhCode, |
|
|
bh: item.bh+item.bhCode, |
|
|
ph: null, |
|
|
ph: null, |
|
|
nd: item.hhwznd + content.headerSelectFields.hhwzndUnit, |
|
|
|
|
|
|
|
|
nd: item.hhwznd + content.headerSelectFields_1.hhwzndUnit, |
|
|
source: 'ELN配制', |
|
|
source: 'ELN配制', |
|
|
sxrq: null, |
|
|
sxrq: null, |
|
|
ndz: item.hhwznd, |
|
|
ndz: item.hhwznd, |
|
|
nddw: content.headerSelectFields.hhwzndUnit, |
|
|
|
|
|
kc: item.sjryxql+item.sjgzyxql + item.sjxsyxql,//todo 单位不一致-计算 |
|
|
|
|
|
kcdw: content.headerSelectFields.sjryxqlUnit || content.headerSelectFields.sjjzxqlUnit,//todo 单位不一致-计算-按最小算 |
|
|
|
|
|
|
|
|
nddw: content.headerSelectFields_1.hhwzndUnit, |
|
|
|
|
|
kc: total, |
|
|
|
|
|
kcdw: unit, |
|
|
syl: null, |
|
|
syl: null, |
|
|
syldw:content.headerSelectFields.sjryxqlUnit || content.headerSelectFields.sjjzxqlUnit,//todo 单位不一致-计算-按最小算, |
|
|
|
|
|
|
|
|
syldw:unit, |
|
|
yxzq:null, |
|
|
yxzq:null, |
|
|
yxzqdw:null, |
|
|
yxzqdw:null, |
|
|
}) |
|
|
}) |
|
|
|