|
@@ -163,7 +163,14 @@
|
|
|
class="j-table-force-nowrap"
|
|
|
:expandedRowKeys="expandedRowKeys"
|
|
|
@expand="onExpand"
|
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
+ :rowSelection="{
|
|
|
+ selectedRowKeys: selectedRowKeys,
|
|
|
+ onChange: onSelectChange,
|
|
|
+ getCheckboxProps: (record) => ({
|
|
|
+ props: {
|
|
|
+ disabled: record.id == 'amount', // 禁选的条件为:合计行不可选
|
|
|
+ },
|
|
|
+ }),}"
|
|
|
@change="handleTableChange"
|
|
|
:indentSize="12">
|
|
|
|
|
@@ -717,7 +724,7 @@ import ProjectImportListModal from '../projectImportList/modules/ProjectImportLi
|
|
|
columnsEdit({checkedValues: checkedValues})
|
|
|
},
|
|
|
getClickColumn(record, index){
|
|
|
- if(record.children){
|
|
|
+ if(record.children || record.id === 'amount'){
|
|
|
return false
|
|
|
}
|
|
|
return {
|