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