|
@@ -78,6 +78,13 @@ let MainTreeCol = {
|
|
|
},
|
|
|
forCode:function (node) {
|
|
|
return MainTreeCol.readOnly.glj(node)|| (node.sourceType === projectObj.project.Ration.getSourceType()&&node.data.type===rationType.gljRation);
|
|
|
+ },
|
|
|
+ forUnit:function (node) {
|
|
|
+ if(MainTreeCol.readOnly.bills(node)&&(node.data.type==billType.DXFY||node.data.type==billType.FB)){//在大项费用、分部行,计量单位只读。
|
|
|
+ return true;
|
|
|
+ }else {
|
|
|
+ return treeNodeTools.isRation(node);
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
cellType: {
|