|
|
|
@ -55,14 +55,32 @@ |
|
|
|
</template> |
|
|
|
</CustomTable> |
|
|
|
|
|
|
|
<!-- 预留区域 - 细胞信息 --> |
|
|
|
<!-- 细胞信息 --> |
|
|
|
<LineLabel label="template.dl.dl011.xbxx" /> |
|
|
|
<div class="template-form-item"> |
|
|
|
<BaseInfoFormPackage |
|
|
|
fieldItemLabel="" |
|
|
|
label="" |
|
|
|
:ref="refConf.xbxx" |
|
|
|
:formConfig="xbxxConfig" |
|
|
|
:formData="formData" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
|
|
|
|
<LineLabel label="template.dl.dl011.fxbz" /> |
|
|
|
<Step :ref="refConf.step" :formData="formData.stepData" /> |
|
|
|
|
|
|
|
<!-- 预留区域 - 培养信息 --> |
|
|
|
<LineLabel label="template.dl.dl011.pyxx" /> |
|
|
|
<div class="template-form-item"> |
|
|
|
<BaseInfoFormPackage |
|
|
|
fieldItemLabel="" |
|
|
|
label="" |
|
|
|
:ref="refConf.pyxx" |
|
|
|
:formConfig="pyxxConfig" |
|
|
|
:formData="formData" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
|
|
|
|
<BaseInfoFormPackage |
|
|
|
fieldItemLabel="template.dl.dl007.bz" |
|
|
|
@ -92,7 +110,9 @@ const refConf = { |
|
|
|
sysj: 'sysjTableRef', |
|
|
|
yqsy: 'yqsyTableRef', |
|
|
|
step: 'stepRef', |
|
|
|
remark: 'remarkRef' |
|
|
|
remark: 'remarkRef', |
|
|
|
xbxx: 'xbxxRef', |
|
|
|
pyxx: 'pyxxRef' |
|
|
|
} |
|
|
|
const refNames = Object.values(refConf) |
|
|
|
|
|
|
|
@ -165,7 +185,7 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'cellItem', |
|
|
|
label:'操作时间', |
|
|
|
label: '操作时间', |
|
|
|
config: { |
|
|
|
kssj: { |
|
|
|
label: 'template.dl.dl011.kssj', |
|
|
|
@ -175,8 +195,7 @@ export default { |
|
|
|
jssj: { |
|
|
|
label: 'template.dl.dl011.jssj', |
|
|
|
type: 'input', |
|
|
|
fillType: 'actFill', |
|
|
|
maxlength: 200 |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -253,8 +272,92 @@ export default { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
pyxxConfig() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
type: 'step', |
|
|
|
config: { |
|
|
|
pyxbh: { |
|
|
|
label: 'template.dl.dl011.pyxbh', |
|
|
|
type: 'yq', |
|
|
|
fillType: 'actFill' |
|
|
|
}, |
|
|
|
pytjText: { |
|
|
|
type: 'span', |
|
|
|
label: '' |
|
|
|
}, |
|
|
|
pykssj: { |
|
|
|
label: 'template.dl.dl011.pykssj', |
|
|
|
type: 'input', |
|
|
|
fillType: 'actFill', |
|
|
|
subType: 'button', |
|
|
|
subKey: 'pykssjButton', |
|
|
|
buttonName: 'template.dl.dl011.pykssjButton' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
xbxxConfig() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
type: 'step', |
|
|
|
config: { |
|
|
|
xbmc: { |
|
|
|
label: 'template.dl.dl011.xbmc', |
|
|
|
type: 'select', |
|
|
|
options: [], |
|
|
|
fillType: 'preFill', |
|
|
|
otherCode: 'xbmcOther' |
|
|
|
}, |
|
|
|
xbdcbh: { |
|
|
|
label: 'template.dl.dl011.xbdcbh', |
|
|
|
type: 'xb', |
|
|
|
fillType: 'actFill' |
|
|
|
}, |
|
|
|
fshxbbh: { |
|
|
|
label: 'template.dl.dl011.fshxbbh', |
|
|
|
type: 'input', |
|
|
|
subType: 'span', |
|
|
|
maxlength: 20, |
|
|
|
subKey: 'fshxbbhCodeSn', |
|
|
|
fillType: 'preFill' |
|
|
|
}, |
|
|
|
fshxbyjtj: { |
|
|
|
label: 'template.dl.dl011.fshxbyjtj', |
|
|
|
type: 'inputNumber', |
|
|
|
subType: 'select', |
|
|
|
subKey: 'fshxbyjtjUnit', |
|
|
|
fillType: 'preFill', |
|
|
|
subOptions: this.getDictOptions('business_nddw'), |
|
|
|
maxlength: 10, |
|
|
|
selectTo: 'fshxbsjtjUnit' //下拉选择后,赋值到对应字段 |
|
|
|
}, |
|
|
|
fshxbsjtj: { |
|
|
|
label: 'template.dl.dl011.fshxbsjtj', |
|
|
|
type: 'inputNumber', |
|
|
|
subType: 'select', |
|
|
|
subKey: 'fshxbsjtjUnit', |
|
|
|
fillType: 'actFill', |
|
|
|
subOptions: this.getDictOptions('business_nddw'), |
|
|
|
maxlength: 10, |
|
|
|
copyFrom: 'fshxbyjtj' //复制哪个字段 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs[refConf.pyxx]?.updateFormData( |
|
|
|
'pytjText', |
|
|
|
'培养条件:温度为温度为37℃±2℃,CO2浓度为5%±0.5%', |
|
|
|
{ isUpdateRecord: false, signData: null } |
|
|
|
) |
|
|
|
}) |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
formData: {}, |
|
|
|
|