|
|
@@ -15,6 +15,9 @@ function overwriteRationCalcBases() {
|
|
|
rationCalcBases["施工机械使用费"] = function (node, isTender) {
|
|
|
return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptMarketPrice, isTender);
|
|
|
};
|
|
|
+ rationCalcBases["施工机械人工费"] = function (node, isTender) {
|
|
|
+ return calcTools.machineDetailFee(node, node.data.gljList, [], gljType.MACHINE_LABOUR, isTender);
|
|
|
+ };
|
|
|
rationCalcBases["设备购置费"] = function (node, isTender) {
|
|
|
return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptMarketPrice, isTender);
|
|
|
};
|
|
|
@@ -48,6 +51,7 @@ function overwriteRationCalcBases() {
|
|
|
{ type: "marketLabour", name: "人工费" },
|
|
|
{ type: "marketMaterial", name: "材料费" },
|
|
|
{ type: "marketMachine", name: "施工机械使用费" },
|
|
|
+ { type: "marketMachineLabour", name: "施工机械人工费" },
|
|
|
{ type: "marketEquipment", name: "设备购置费" },
|
|
|
|
|
|
{ type: "labour", name: "定额人工费" },
|
|
|
@@ -567,3 +571,13 @@ if (typeof module !== "undefined") {
|
|
|
deficiency,
|
|
|
};
|
|
|
}
|
|
|
+
|
|
|
+if (typeof projectObj !== "undefined") {
|
|
|
+ projectObj.isInsertEquipmentVisable = function (selected) {
|
|
|
+ // if (projectObj.project.property.valuationType !== "ration") {
|
|
|
+ // //预算项目中,右键“插入设备”,仅在第一部分中显示。
|
|
|
+ // return projectObj.project.Bills.isConstructionInstall(selected);
|
|
|
+ // }
|
|
|
+ return true;
|
|
|
+ };
|
|
|
+}
|