|
|
@@ -262,11 +262,7 @@ let MainTreeCol = {
|
|
|
return false;
|
|
|
},
|
|
|
forUnit:function (node) {
|
|
|
- if(MainTreeCol.readOnly.bills(node)&&(node.data.type==billType.DXFY||node.data.type==billType.FB)){//在大项费用、分部行,计量单位只读。
|
|
|
- return true;
|
|
|
- }else {
|
|
|
- return calcTools.isRationItem(node);
|
|
|
- }
|
|
|
+ return calcTools.isRationItem(node);
|
|
|
},
|
|
|
forContentCharacter: function (node) {
|
|
|
return !MainTreeCol.readOnly.bills(node) || (node.data.type !== billType.BILL && node.data.type !== billType.FX);
|