|
|
|
@ -12,18 +12,21 @@ |
|
|
|
:ref="refConf.base" :formConfig="baseInfoFormConfig" :formData="formData" /> |
|
|
|
|
|
|
|
<!-- <LineLabel label="template.dl.dl003.sysj" /> --> |
|
|
|
<TableList label="template.common.reagentInfo" :columns="sysjColumns" :dataSource="resource" /> |
|
|
|
|
|
|
|
<LineLabel label="template.dl.dl007.yqsyxx" /> |
|
|
|
<CustomTable :columns="yqsyColumns" :ref="refConf.yqsy" @onRegentSubmit="(e) => onRegentSubmit(e)" |
|
|
|
:showOperation="fillType === 'actFill'" :showAddRow="fillType === 'actFill'" :formData="formData" |
|
|
|
:prefixKey="`yqsyTable`"> |
|
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
|
<TableOpertaionDelete :row="row" :rowIndex="rowIndex" :columns="columns" |
|
|
|
@deleteRow="() => deleteTableRow(rowIndex, 'yqsyTableRef')"></TableOpertaionDelete> |
|
|
|
</template> |
|
|
|
</CustomTable> |
|
|
|
|
|
|
|
<TableList label="template.common.sjInfo" :columns="sjColumns" :dataSource="resourceSj" /> |
|
|
|
<template v-if="fillType === 'actFill'"> |
|
|
|
<LineLabel label="template.dl.dl007.yqsyxx" /> |
|
|
|
<CustomTable :columns="yqsyColumns" :ref="refConf.yqsy" @onRegentSubmit="(e) => onRegentSubmit(e)" |
|
|
|
:showOperation="fillType === 'actFill'" :showAddRow="fillType === 'actFill'" :formData="formData" |
|
|
|
:prefixKey="`yqsyTable`"> |
|
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
|
<TableOpertaionDelete :row="row" :rowIndex="rowIndex" :columns="columns" |
|
|
|
@deleteRow="() => deleteTableRow(rowIndex, 'yqsyTableRef')"></TableOpertaionDelete> |
|
|
|
</template> |
|
|
|
</CustomTable> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<TableList label="template.common.instrumentInfo" :columns="yqColumns" :dataSource="yqResource" /> |
|
|
|
</template> |
|
|
|
<LineLabel label="template.common.operationSteps" /> |
|
|
|
<div class="template-form-item"> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.operationSteps" :ref="refConf.czInfo" |
|
|
|
@ -391,6 +394,25 @@ export default { |
|
|
|
}) |
|
|
|
//使用 1:试剂;3:给药制剂;5:麻精药;7:供试品 9:细胞;11:细菌 |
|
|
|
tmpResource.push({ |
|
|
|
mc: item.rtbhmc, |
|
|
|
bh: item.rtbh, |
|
|
|
ph: item.rtbhph, |
|
|
|
ndz: item.rtbhnd + item.rtbhnddw, |
|
|
|
nd: item.rtbhnd, |
|
|
|
nddw: item.rtbhnddw, |
|
|
|
ly: item.rtbhly, |
|
|
|
sxrq: item.rtbhsxrq, |
|
|
|
kc: null, |
|
|
|
kcdw: null, |
|
|
|
syl: item.rtbhkc, |
|
|
|
type: 1, //使用的时候传对应的值 |
|
|
|
elnType: null, //传null |
|
|
|
syldw: item.rtbhkcdw, |
|
|
|
yxzq: null, |
|
|
|
yxzqdw: null, |
|
|
|
}) |
|
|
|
//使用 1:试剂;3:给药制剂;5:麻精药;7:供试品 9:细胞;11:细菌 |
|
|
|
tmpResource.push({ |
|
|
|
mc: item.jzlymc, |
|
|
|
bh: item.jzlybh, |
|
|
|
ph: '', |
|
|
|
@ -401,7 +423,7 @@ export default { |
|
|
|
sxrq: null, |
|
|
|
kc: null, |
|
|
|
kcdw: null, |
|
|
|
syl: item.jzlytj, |
|
|
|
syl: item.jzjrtj, |
|
|
|
type: 9, //使用的时候传对应的值 |
|
|
|
elnType: null, //传null |
|
|
|
syldw: header1.targetDiluentVolumeUnit, |
|
|
|
@ -467,6 +489,12 @@ export default { |
|
|
|
this.$refs.czInfoRef.updateFormData('pyxxh', row.xh) |
|
|
|
this.$refs.czInfoRef.updateFormData('pyxjzrq', row.jzrq) |
|
|
|
} |
|
|
|
if (key == 'rtbh') { |
|
|
|
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, { |
|
|
|
rtbhnd: row.nd, rtbhnddw: row.bddw, rtbhly: row.ly, rtbhsxrq: row.sxrq, |
|
|
|
rtbhph: row.ph, rtbhmc: row.mc, rtbhkc: row.kc, rtbhkcdw: row.kcdw |
|
|
|
}) |
|
|
|
} |
|
|
|
if (key == 'jzlybh') { |
|
|
|
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, { jzlymc: row.mc, jzlytj: row.tj, jzlytjdw: row.tjdw }) |
|
|
|
} |
|
|
|
|