|
|
@@ -296,7 +296,7 @@ let MainTreeCol = {
|
|
|
},
|
|
|
calcBase: function (node) {
|
|
|
let readOnly = projectReadOnly || !calcBaseView.ifEdit('bills', projectObj.project.mainTree.items.indexOf(node));
|
|
|
- return sheetCommonObj.getCusButtonCellType(projectObj.onCommonTotalFeeButtonClick,readOnly) //projectObj.getCommonTotalFeeCellType();
|
|
|
+ return sheetCommonObj.getCusButtonCellType(calcBaseView.onCalcBaseButtonClick,readOnly)
|
|
|
},
|
|
|
|
|
|
// CSL, 2017-11-28
|
|
|
@@ -352,7 +352,8 @@ let MainTreeCol = {
|
|
|
|
|
|
},
|
|
|
commonTotalFee: function () {
|
|
|
- return projectObj.getCommonTotalFeeCellType();
|
|
|
+ let readOnly = projectReadOnly || !calcBaseView.ifEdit('bills', projectObj.project.mainTree.items.indexOf(node));
|
|
|
+ return sheetCommonObj.getCusButtonCellType(projectObj.onCommonTotalFeeButtonClick,readOnly) //projectObj.getCommonTotalFeeCellType();
|
|
|
}
|
|
|
},
|
|
|
editChecking:function(node){
|