|
|
@@ -226,6 +226,11 @@ let MainTreeCol = {
|
|
|
}
|
|
|
return false;
|
|
|
},
|
|
|
+ forQuantity2:function (node) {
|
|
|
+ if(node.sourceType !== ModuleNames.bills) return true;//不是清单,只读
|
|
|
+ if(node.data.type==billType.DXFY||(node.data.type==billType.BILL&&MainTreeCol.readOnly.billsParent(node))) return true;//大项费用、清单父项行,工程量只读。
|
|
|
+ return false
|
|
|
+ },
|
|
|
forMarketPrice: function (node) {
|
|
|
return MainTreeCol.readOnly.bills(node) ||
|
|
|
(node.sourceType === ModuleNames.ration && node.data.type == rationType.ration) ||
|