|
|
|
@ -22,7 +22,7 @@ |
|
|
|
<LineLabel label="template.dl.dl023.czjl" /> |
|
|
|
<!-- 操作记录 --> |
|
|
|
<BaseInfoFormPackage ref="swypyjInfoRef" fieldItemLabel="template.common.operationSteps" |
|
|
|
:formConfig="stepFormConfig" @blur="onHandleBlur" :formData="formData" /> |
|
|
|
@select="onSelect" :formConfig="stepFormConfig" @blur="onHandleBlur" :formData="formData" /> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.remark" label="template.common.remark" |
|
|
|
ref="remarkRef" :formConfig="remarkConig" :formData="formData" /> |
|
|
|
</div> |
|
|
|
@ -141,10 +141,13 @@ export default { |
|
|
|
label: 'template.dl.dl023.dwzshxbx', |
|
|
|
type: 'radio', |
|
|
|
fillType: 'actFill', |
|
|
|
options:[ |
|
|
|
{label:"动物种属",value:"动物种属"}, |
|
|
|
{label:"细胞系",value:"细胞系"} |
|
|
|
] |
|
|
|
options: [ |
|
|
|
{ label: "动物种属", value: "动物种属" }, |
|
|
|
{ label: "细胞系", value: "细胞系" } |
|
|
|
], |
|
|
|
otherCode: 'dwzshxbxOther', |
|
|
|
showOtherLabel: false, |
|
|
|
otherOptions: this.otherOptions |
|
|
|
}, |
|
|
|
sydd: { |
|
|
|
label: 'template.dl.dl023.sydd', |
|
|
|
@ -203,11 +206,22 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
formData: {}, |
|
|
|
otherOptions: [], |
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
onSelect(e) { |
|
|
|
const { key, value } = e |
|
|
|
if (key === "dwzshxbx") {//动物种属或细胞系 |
|
|
|
this.otherOptions = value === '动物种属' ? this.getDictOptions('business_dl_xbmc') : [ |
|
|
|
{ label: "细胞系1", value: "细胞系1" }, |
|
|
|
{ label: "细胞系2", value: "细胞系2" }, |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
// 选择仪器编号预留 |
|
|
|
onRegentSubmit(e) { |
|
|
|
const { selectInfo, key, rowIndex } = e |
|
|
|
|