|
|
|
@ -423,56 +423,57 @@ export default { |
|
|
|
} |
|
|
|
//生成resource |
|
|
|
let tmpResource = [] |
|
|
|
if(this.fillType === "actFill"){ |
|
|
|
let tableList = content.stepTableFormData |
|
|
|
if(tableList && tableList.length>0){ |
|
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
|
//配置的试剂 |
|
|
|
let item = tableList[i] |
|
|
|
|
|
|
|
let tableList = content.stepTableFormData |
|
|
|
if(tableList && tableList.length>0){ |
|
|
|
for(let i=0;i<tableList.length;i++){ |
|
|
|
//配置的试剂 |
|
|
|
let item = tableList[i] |
|
|
|
const { total, unit } = addTj([item.sjjzxql, item.sjryxql], [content.headerSelectFields.sjjzxqlUnit, content.headerSelectFields.sjryxqlUnit]) |
|
|
|
|
|
|
|
const { total, unit } = addTj([item.sjjzxql, item.sjryxql], [content.headerSelectFields.sjjzxqlUnit, content.headerSelectFields.sjryxqlUnit]) |
|
|
|
|
|
|
|
tmpResource.push({ |
|
|
|
mc: null, |
|
|
|
bh: item.bh+item.bhCode, |
|
|
|
ph: null, |
|
|
|
nd: item.hhwznd + content.headerSelectFields.hhwzndUnit, |
|
|
|
source: 'ELN配制', |
|
|
|
sxrq: null, |
|
|
|
ndz: item.hhwznd, |
|
|
|
nddw: content.headerSelectFields.hhwzndUnit, |
|
|
|
kc: total, |
|
|
|
kcdw: unit, |
|
|
|
syl: null, |
|
|
|
syldw:unit, |
|
|
|
yxzq:null, |
|
|
|
yxzqdw:null, |
|
|
|
}) |
|
|
|
tmpResource.push({ |
|
|
|
mc: null, |
|
|
|
bh: item.bh+item.bhCode, |
|
|
|
ph: null, |
|
|
|
nd: item.hhwznd + content.headerSelectFields.hhwzndUnit, |
|
|
|
source: 'ELN配制', |
|
|
|
sxrq: null, |
|
|
|
ndz: item.hhwznd, |
|
|
|
nddw: content.headerSelectFields.hhwzndUnit, |
|
|
|
kc: total, |
|
|
|
kcdw: unit, |
|
|
|
syl: null, |
|
|
|
syldw:unit, |
|
|
|
yxzq:null, |
|
|
|
yxzqdw:null, |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
tableList = content.stepTableFormData_1 |
|
|
|
if(tableList && tableList.length>0){ |
|
|
|
for(let i=0;i<tableList.length;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({ |
|
|
|
mc: null, |
|
|
|
bh: item.bh+item.bhCode, |
|
|
|
ph: null, |
|
|
|
nd: item.hhwznd + content.headerSelectFields_1.hhwzndUnit, |
|
|
|
source: 'ELN配制', |
|
|
|
sxrq: null, |
|
|
|
ndz: item.hhwznd, |
|
|
|
nddw: content.headerSelectFields_1.hhwzndUnit, |
|
|
|
kc: total, |
|
|
|
kcdw: unit, |
|
|
|
syl: null, |
|
|
|
syldw:unit, |
|
|
|
yxzq:null, |
|
|
|
yxzqdw:null, |
|
|
|
}) |
|
|
|
tableList = content.stepTableFormData_1 |
|
|
|
if(tableList && tableList.length>0){ |
|
|
|
for(let i=0;i<tableList.length;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({ |
|
|
|
mc: null, |
|
|
|
bh: item.bh+item.bhCode, |
|
|
|
ph: null, |
|
|
|
nd: item.hhwznd + content.headerSelectFields_1.hhwzndUnit, |
|
|
|
source: 'ELN配制', |
|
|
|
sxrq: null, |
|
|
|
ndz: item.hhwznd, |
|
|
|
nddw: content.headerSelectFields_1.hhwzndUnit, |
|
|
|
kc: total, |
|
|
|
kcdw: unit, |
|
|
|
syl: null, |
|
|
|
syldw:unit, |
|
|
|
yxzq:null, |
|
|
|
yxzqdw:null, |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//使用的试剂 |
|
|
|
|