|
|
|
@ -40,6 +40,7 @@ |
|
|
|
</CustomTable> |
|
|
|
|
|
|
|
<CustomTable |
|
|
|
@bodyTreeChange="changeTree" |
|
|
|
fieldItemLabel="template.dj.dj003.ypyjxx" |
|
|
|
:columns="ypyjColumns" |
|
|
|
:ref="'ypyjTableRef'" |
|
|
|
@ -238,7 +239,9 @@ export default { |
|
|
|
prop: "ypmcTa", |
|
|
|
bodyType: 'checkboxTree', |
|
|
|
bodyFillType: 'actFill', |
|
|
|
bodyOptions: this.ypmcCheckOptions |
|
|
|
bodyOptions: this.ypmcCheckOptions, |
|
|
|
bodyLayout:'horizontal', |
|
|
|
width: 300, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: 'template.dj.dj003.cysj', |
|
|
|
@ -250,7 +253,8 @@ export default { |
|
|
|
bodySubyDisabled: this.fillType !== 'actFill', |
|
|
|
bodyDisabled: true, |
|
|
|
bodySubFillType: 'actFill', |
|
|
|
bodyFillType: 'actFill' |
|
|
|
bodyFillType: 'actFill', |
|
|
|
width: 300, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: 'template.dj.dj003.sjbd', |
|
|
|
@ -266,7 +270,8 @@ export default { |
|
|
|
label: 'template.dj.dj003.yps', |
|
|
|
prop: "yps", |
|
|
|
bodyType: 'inputNumber', |
|
|
|
bodyFillType: 'actFill' |
|
|
|
bodyFillType: 'actFill', |
|
|
|
bodyDisabled: true, |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
@ -370,6 +375,12 @@ export default { |
|
|
|
this.ypmcCheckOptions = firstList; |
|
|
|
}) |
|
|
|
}, |
|
|
|
//样品名称选择 |
|
|
|
changeTree(data){ |
|
|
|
let { rowIndex , value , row } = data |
|
|
|
let checkTree = value?.checkedValues?.filter(i=>i.checked) |
|
|
|
this.$refs.ypyjTableRef.updateDataSourceByRowIndex(rowIndex, {yps:checkTree?.length}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|