|
@@ -49,7 +49,7 @@ let MainTreeCol = {
|
|
|
return node.sourceType === projectObj.project.Ration.getSourceType();
|
|
|
},
|
|
|
volumePrice: function (node) {
|
|
|
- return node.sourceType === (node.data.type == rationType.volumePrice || node.data.type == rationType.gljRation);
|
|
|
+ return (node.data.type == rationType.volumePrice || node.data.type == rationType.gljRation);
|
|
|
},
|
|
|
non_bills: function (node) {
|
|
|
return node.sourceType !== projectObj.project.Bills.getSourceType();
|
|
@@ -58,7 +58,7 @@ let MainTreeCol = {
|
|
|
return node.sourceType !== projectObj.project.Ration.getSourceType();
|
|
|
},
|
|
|
non_volumePrice: function (node) {
|
|
|
- return node.sourceType !== (node.data.type == rationType.volumePrice || node.data.type == rationType.gljRation);
|
|
|
+ return !(node.data.type == rationType.volumePrice || node.data.type == rationType.gljRation);
|
|
|
},
|
|
|
billsParent: function (node) {
|
|
|
return node.sourceType === projectObj.project.Bills.getSourceType() && node.source.children.length > 0;
|