|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
let isAH2019 = true;
|
|
let isAH2019 = true;
|
|
|
|
|
|
|
|
-function overwriteRationCalcBases (){
|
|
|
|
|
|
|
+function overwriteRationCalcBases() {
|
|
|
if (typeof rationCalcBases == 'undefined') return;
|
|
if (typeof rationCalcBases == 'undefined') return;
|
|
|
for (let key in rationCalcBases) delete rationCalcBases[key];
|
|
for (let key in rationCalcBases) delete rationCalcBases[key];
|
|
|
|
|
|
|
@@ -20,9 +20,9 @@ function overwriteRationCalcBases (){
|
|
|
rationCalcBases['施工机械人工费'] = function (node, isTender) {
|
|
rationCalcBases['施工机械人工费'] = function (node, isTender) {
|
|
|
return calcTools.machineDetailFee(node, node.data.gljList, [], gljType.MACHINE_LABOUR, 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);
|
|
|
|
|
- };*/
|
|
|
|
|
|
|
+ /* rationCalcBases['设备购置费'] = function (node, isTender) {
|
|
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptMarketPrice, isTender);
|
|
|
|
|
+ };*/
|
|
|
|
|
|
|
|
rationCalcBases['定额人工费'] = function (node, isTender) {
|
|
rationCalcBases['定额人工费'] = function (node, isTender) {
|
|
|
return calcTools.rationBaseFee(node, [gljType.LABOUR], priceTypes.ptBasePrice, isTender);
|
|
return calcTools.rationBaseFee(node, [gljType.LABOUR], priceTypes.ptBasePrice, isTender);
|
|
@@ -33,43 +33,265 @@ function overwriteRationCalcBases (){
|
|
|
rationCalcBases['定额施工机械使用费'] = function (node, isTender) {
|
|
rationCalcBases['定额施工机械使用费'] = function (node, isTender) {
|
|
|
return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptBasePrice, isTender);
|
|
return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptBasePrice, isTender);
|
|
|
};
|
|
};
|
|
|
-/* rationCalcBases['定额商品砼费'] = function (node, isTender) {
|
|
|
|
|
- return calcTools.rationBaseFee(node, [gljType.COMMERCIAL_CONCRETE, gljType.COMMERCIAL_MORTAR], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
- };
|
|
|
|
|
- rationCalcBases['定额设备费'] = function (node, isTender) {
|
|
|
|
|
- return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
- };
|
|
|
|
|
- rationCalcBases['定额外购砼构件费'] = function (node, isTender) {
|
|
|
|
|
- return calcTools.rationBaseFee(node, [gljType.PURCHASE_COMPONENT], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
- };
|
|
|
|
|
- rationCalcBases['定额绿化苗木费'] = function (node, isTender) {
|
|
|
|
|
- return calcTools.rationBaseFee(node, [gljType.GREEN_SEEDLING], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
- };*/
|
|
|
|
|
|
|
+ /* rationCalcBases['定额商品砼费'] = function (node, isTender) {
|
|
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.COMMERCIAL_CONCRETE, gljType.COMMERCIAL_MORTAR], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
+ };
|
|
|
|
|
+ rationCalcBases['定额设备费'] = function (node, isTender) {
|
|
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
+ };
|
|
|
|
|
+ rationCalcBases['定额外购砼构件费'] = function (node, isTender) {
|
|
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.PURCHASE_COMPONENT], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
+ };
|
|
|
|
|
+ rationCalcBases['定额绿化苗木费'] = function (node, isTender) {
|
|
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.GREEN_SEEDLING], priceTypes.ptBasePrice, isTender);
|
|
|
|
|
+ };*/
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
(function overwriteFeeTypes() {
|
|
(function overwriteFeeTypes() {
|
|
|
if (typeof cpFeeTypes == 'undefined') return;
|
|
if (typeof cpFeeTypes == 'undefined') return;
|
|
|
cpFeeTypes = [
|
|
cpFeeTypes = [
|
|
|
- {type: 'marketLabour', name: '人工费'},
|
|
|
|
|
- {type: 'marketMaterial', name: '材料费'},
|
|
|
|
|
- {type: 'marketMachine', name: '施工机械使用费'},
|
|
|
|
|
- {type: 'marketMachineLabour', name: '施工机械人工费'},
|
|
|
|
|
|
|
+ { type: 'marketLabour', name: '人工费' },
|
|
|
|
|
+ { type: 'marketMaterial', name: '材料费' },
|
|
|
|
|
+ { type: 'marketMachine', name: '施工机械使用费' },
|
|
|
|
|
+ { type: 'marketMachineLabour', name: '施工机械人工费' },
|
|
|
// {type: 'marketEquipment', name: '设备购置费'},
|
|
// {type: 'marketEquipment', name: '设备购置费'},
|
|
|
- {type: 'marketDirect', name: '直接费'},
|
|
|
|
|
|
|
+ { type: 'marketDirect', name: '直接费' },
|
|
|
|
|
|
|
|
- {type: 'labour', name: '定额人工费'},
|
|
|
|
|
- {type: 'material', name: '定额材料费'},
|
|
|
|
|
- {type: 'machine', name: '定额施工机械使用费'},
|
|
|
|
|
|
|
+ { type: 'labour', name: '定额人工费' },
|
|
|
|
|
+ { type: 'material', name: '定额材料费' },
|
|
|
|
|
+ { type: 'machine', name: '定额施工机械使用费' },
|
|
|
// {type: 'equipment', name: '定额设备购置费'},
|
|
// {type: 'equipment', name: '定额设备购置费'},
|
|
|
- {type: 'direct', name: '定额直接费'},
|
|
|
|
|
|
|
+ { type: 'direct', name: '定额直接费' },
|
|
|
|
|
|
|
|
- {type: 'measure', name: '措施费'},
|
|
|
|
|
- {type: 'manage', name: '企业管理费'},
|
|
|
|
|
- {type: 'force', name: '规费'},
|
|
|
|
|
- {type: 'profit', name: '利润'},
|
|
|
|
|
- {type: 'tax', name: '税金'},
|
|
|
|
|
- {type: 'common', name: '建筑安装工程费'},
|
|
|
|
|
- {type: 'rationCommon', name: '定额建筑安装工程费'}//,
|
|
|
|
|
|
|
+ { type: 'measure', name: '措施费' },
|
|
|
|
|
+ { type: 'manage', name: '企业管理费' },
|
|
|
|
|
+ { type: 'force', name: '规费' },
|
|
|
|
|
+ { type: 'profit', name: '利润' },
|
|
|
|
|
+ { type: 'tax', name: '税金' },
|
|
|
|
|
+ { type: 'common', name: '建筑安装工程费' },
|
|
|
|
|
+ { type: 'rationCommon', name: '定额建筑安装工程费' }//,
|
|
|
// {type: 'safeProduce', name: '安全生产费'}
|
|
// {type: 'safeProduce', name: '安全生产费'}
|
|
|
];
|
|
];
|
|
|
})();
|
|
})();
|
|
|
|
|
+
|
|
|
|
|
+// 清单基数,工程量清单的基数没有变化,只修改预算的
|
|
|
|
|
+// 清单基数-预算
|
|
|
|
|
+if (typeof baseFigureMap !== 'undefined' && baseFigureMap.budget) {
|
|
|
|
|
+ baseFigureMap.budget = {
|
|
|
|
|
+ // 显示:除清单固定类别是“建筑安装工程费”的以外部分可显示。
|
|
|
|
|
+ '建筑安装工程费': {
|
|
|
|
|
+ base: 'JZAZGCF',
|
|
|
|
|
+ fixedFlag: fixedFlag.CONSTRUCTION_INSTALL_FEE,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_INSTALL_FEE],
|
|
|
|
|
+ pick: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“安全生产费”的可显示。
|
|
|
|
|
+ '建筑安装工程费(不含安全生产费)': {
|
|
|
|
|
+ base: 'JZAZGCFBHSC',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.SAFE_COST],
|
|
|
|
|
+ pick: true
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“安全生产费”的可显示。
|
|
|
|
|
+ '建筑安装工程费(不含设备费)': {
|
|
|
|
|
+ base: 'JZAZGCFBHSB',
|
|
|
|
|
+ fixedFlag: fixedFlag.CONSTRUCTION_INSTALL_FEE,
|
|
|
|
|
+ filter: [fixedFlag.SAFE_COST],
|
|
|
|
|
+ pick: true
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:除清单固定类别是“建筑安装工程费”的以外部分可显示。
|
|
|
|
|
+ '定额建筑安装工程费': {
|
|
|
|
|
+ base: 'DEJZAZGCF',
|
|
|
|
|
+ fixedFlag: fixedFlag.CONSTRUCTION_INSTALL_FEE,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_INSTALL_FEE],
|
|
|
|
|
+ pick: false
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“施工场地建设费”的可显示。
|
|
|
|
|
+ '定额建筑安装工程费(不含定额设备购置费及专项管理费)': {
|
|
|
|
|
+ base: 'DEJZAZGCFBHSBZXGLF',
|
|
|
|
|
+ fixedFlag: fixedFlag.CONSTRUCTION_INSTALL_FEE,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_PLANT_COST],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“养护工程其他费用”的可显示。
|
|
|
|
|
+ '定额建筑安装工程费(不含专项管理费)': {
|
|
|
|
|
+ base: 'DEJZAZGCFBHZXGLF',
|
|
|
|
|
+ fixedFlag: fixedFlag.CONSTRUCTION_INSTALL_FEE,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:除清单固定类别是“建筑安装工程费”、“土地使用及拆迁补偿费”的以外部分可显示。
|
|
|
|
|
+ '土地使用及拆迁补偿费': {
|
|
|
|
|
+ base: 'TDSYJCQBCF',
|
|
|
|
|
+ fixedFlag: fixedFlag.LAND_USED_DEMOLITION,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_INSTALL_FEE, fixedFlag.LAND_USED_DEMOLITION],
|
|
|
|
|
+ pick: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:除清单固定类别是“建筑安装工程费”、“土地使用及拆迁补偿费”、“工程建设其他费用”的以外部分可显示。
|
|
|
|
|
+ '工程建设其他费用': {
|
|
|
|
|
+ base: 'GCJSQTFY',
|
|
|
|
|
+ fixedFlag: fixedFlag.MAINTENANCE_EXPENSES,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_INSTALL_FEE, fixedFlag.LAND_USED_DEMOLITION, fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“施工场地建设费”的可显示。
|
|
|
|
|
+ '施工场地建设费': {
|
|
|
|
|
+ base: 'SGCDJSF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.CONSTRUCTION_PLANT_COST],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“养护工程其他费用”部分可显示。
|
|
|
|
|
+ '养护单位管理费': {
|
|
|
|
|
+ base: 'YHDWGLF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“养护工程其他费用”部分可显示。
|
|
|
|
|
+ '养护项目信息化费': {
|
|
|
|
|
+ base: 'YHXMXXHF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅清单固定类别是“养护工程其他费用”部分可显示。
|
|
|
|
|
+ '工程监理费': {
|
|
|
|
|
+ base: 'GCJLF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:只有清单固定类别是“养护工程其他费用”部分可显示。
|
|
|
|
|
+ '设计文件审查费': {
|
|
|
|
|
+ base: 'SJWJSCF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:只有清单固定类别是“养护工程其他费用”部分可显示。
|
|
|
|
|
+ '前期工作费': {
|
|
|
|
|
+ base: 'QQGZF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.MAINTENANCE_EXPENSES],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示:仅“价差预备费”可显示
|
|
|
|
|
+ '价差预备费': {
|
|
|
|
|
+ base: 'JCYBF',
|
|
|
|
|
+ fixedFlag: null,
|
|
|
|
|
+ filter: [fixedFlag.SPREAD_BUDGET_FEE],
|
|
|
|
|
+ pick: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 清单基数-预算
|
|
|
|
|
+if (typeof baseFigureTemplate !== 'undefined' && baseFigureTemplate.budget) {
|
|
|
|
|
+ baseFigureTemplate.budget = {
|
|
|
|
|
+ // 建筑安装工程费 算法:取清单固定类别是“建筑安装工程费”的金额。
|
|
|
|
|
+ JZAZGCF(tender) {
|
|
|
|
|
+ const feeField = 'common';
|
|
|
|
|
+ const subFeeField = tender ? 'tenderTotalFee' : 'totalFee';
|
|
|
|
|
+ return cbTools.getBillsFee(fixedFlag.CONSTRUCTION_INSTALL_FEE, feeField, subFeeField);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 建筑安装工程费(不含安全生产费) 算法:取清单固定类别是“建筑安装工程费”的金额,扣除“安全生产费”的金额。
|
|
|
|
|
+ JZAZGCFBHSC(tender) {
|
|
|
|
|
+ const fullFeeField = tender ? 'common.tenderTotalFee' : 'common.totalFee';
|
|
|
|
|
+ const deductFlags = [fixedFlag.SAFE_COST];
|
|
|
|
|
+ return cbTools.getFeeWithDeduction(fixedFlag.CONSTRUCTION_INSTALL_FEE, deductFlags, fullFeeField).toDecimal(decimalObj.bills.totalPrice);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 建筑安装工程费(不含设备费) 算法:取清单固定类别是“建筑安装工程费”的金额,扣除设备的金额。
|
|
|
|
|
+ JZAZGCFBHSB(tender) {
|
|
|
|
|
+ const fullFeeField = tender ? 'common.tenderTotalFee' : 'common.totalFee';
|
|
|
|
|
+ const deductFlags = [fixedFlag.EQUIPMENT_ACQUISITION_FEE];
|
|
|
|
|
+ return cbTools.getFeeWithDeduction(fixedFlag.CONSTRUCTION_INSTALL_FEE, deductFlags, fullFeeField).toDecimal(decimalObj.bills.totalPrice);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 定额建筑安装工程费 算法:取清单固定类别是“建筑安装工程费”的定额建安费。
|
|
|
|
|
+ DEJZAZGCF(tender) {
|
|
|
|
|
+ const feeField = 'rationCommon';
|
|
|
|
|
+ const subFeeField = tender ? 'tenderTotalFee' : 'totalFee';
|
|
|
|
|
+ return cbTools.getBillsFee(fixedFlag.CONSTRUCTION_INSTALL_FEE, feeField, subFeeField);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 定额建筑安装工程费(不含定额设备购置费及专项管理费) 算法:取清单固定类别是“建筑安装工程费”的“定额建安费”,扣除设备的“定额设备费”,扣除“专项费用”的“定额建安费”。
|
|
|
|
|
+ DEJZAZGCFBHSBZXGLF(tender) {
|
|
|
|
|
+ const fullFeeField = tender ? 'rationCommon.tenderTotalFee' : 'rationCommon.totalFee';
|
|
|
|
|
+ const deductFlags = [fixedFlag.EQUIPMENT_ACQUISITION_FEE, fixedFlag.SAFE_COST];
|
|
|
|
|
+ //建安费扣除设备费
|
|
|
|
|
+ return cbTools.getFeeWithDeduction(fixedFlag.CONSTRUCTION_INSTALL_FEE, deductFlags, fullFeeField).toDecimal(decimalObj.bills.totalPrice);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 定额建筑安装工程费(不含专项管理费) 算法:取清单固定类别是“建筑安装工程费”的“定额建安费”,扣除“专项费用”的“定额建安费”。
|
|
|
|
|
+ DEJZAZGCFBHZXGLF(tender) {
|
|
|
|
|
+ const fullFeeField = tender ? 'rationCommon.tenderTotalFee' : 'rationCommon.totalFee';
|
|
|
|
|
+ const deductFlags = [fixedFlag.SAFE_COST];
|
|
|
|
|
+ //建安费扣除设备费
|
|
|
|
|
+ return cbTools.getFeeWithDeduction(fixedFlag.CONSTRUCTION_INSTALL_FEE, deductFlags, fullFeeField).toDecimal(decimalObj.bills.totalPrice);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 土地使用及拆迁补偿费 算法:取清单固定类别是“土地使用及拆迁补偿费”的金额。
|
|
|
|
|
+ TDSYJCQBCF(tender) {
|
|
|
|
|
+ const feeField = 'common';
|
|
|
|
|
+ const subFeeField = tender ? 'tenderTotalFee' : 'totalFee';
|
|
|
|
|
+ return cbTools.getBillsFee(fixedFlag.LAND_USED_DEMOLITION, feeField, subFeeField);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 工程建设其他费用 算法:取清单固定类别是“养护工程其他费用”的金额。
|
|
|
|
|
+ GCJSQTFY(tender) {
|
|
|
|
|
+ const feeField = 'common';
|
|
|
|
|
+ const subFeeField = tender ? 'tenderTotalFee' : 'totalFee';
|
|
|
|
|
+ return cbTools.getBillsFee(fixedFlag.MAINTENANCE_EXPENSES, feeField, subFeeField);
|
|
|
|
|
+ },
|
|
|
|
|
+ // 施工场地建设费 算法:以{定额建筑安装工程费(不含定额设备购置费及专项管理费) }为基数,采用累进办法计算。
|
|
|
|
|
+ SGCDJSF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCFBHSBZXGLF'](tender);
|
|
|
|
|
+ return cbTools.getProgressiveFee(baseFee, '施工场地建设费');
|
|
|
|
|
+ },
|
|
|
|
|
+ // 养护单位管理费 算法:以{定额建筑安装工程费(不含专项管理费) }为基数,采用累进办法计算。
|
|
|
|
|
+ YHDWGLF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCFBHZXGLF'](tender);
|
|
|
|
|
+ return cbTools.getProgressiveFee(baseFee, '养护单位(业主)管理费');
|
|
|
|
|
+ },
|
|
|
|
|
+ // 养护项目信息化费 算法:以{定额建筑安装工程费}为基数,采用累进办法计算。(不足20000元时按20000元计算)
|
|
|
|
|
+ YHXMXXHF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCF'](tender);
|
|
|
|
|
+ const fee = cbTools.getProgressiveFee(baseFee, '信息化费');
|
|
|
|
|
+ return fee > 0 && fee < 20000 ? 20000 : fee;
|
|
|
|
|
+ },
|
|
|
|
|
+ // 工程监理费 算法:以{定额建筑安装工程费(不含专项管理费) }为基数,采用累进办法计算。(不足20000元时按20000元计算)
|
|
|
|
|
+ GCJLF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCFBHZXGLF'](tender);
|
|
|
|
|
+ const fee = cbTools.getProgressiveFee(baseFee, '工程监理费');
|
|
|
|
|
+ return fee > 0 && fee < 20000 ? 20000 : fee;
|
|
|
|
|
+ },
|
|
|
|
|
+ // 设计文件审查费 算法:以{定额建筑安装工程费(不含专项管理费) }为基数,采用累进办法计算。
|
|
|
|
|
+ SJWJSCF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCFBHZXGLF'](tender);
|
|
|
|
|
+ return cbTools.getProgressiveFee(baseFee, '设计文件审查费');
|
|
|
|
|
+ },
|
|
|
|
|
+ // 前期工作费 算法:以{定额建筑安装工程费(不含专项管理费) }为基数,采用累进办法计算。(不足30000元时按30000元计算)
|
|
|
|
|
+ QQGZF(tender) {
|
|
|
|
|
+ const baseFee = this['DEJZAZGCFBHZXGLF'](tender);
|
|
|
|
|
+ const fee = cbTools.getProgressiveFee(baseFee, '养护项目前期工作费');
|
|
|
|
|
+ return fee > 0 && fee < 30000 ? 30000 : fee;
|
|
|
|
|
+ },
|
|
|
|
|
+ /* 价差预备费 算法:以建筑安装工程费为基数,按设计文件编制年始至养护项目工程竣工年终的年数和年工程造价增涨率计算。
|
|
|
|
|
+ 价差预备费 P * [(1+i)^(n-1) -1]
|
|
|
|
|
+ P——建筑安装工程费总额(元);
|
|
|
|
|
+ i——年工程造价增涨率(%);
|
|
|
|
|
+ n——设计文件编制年至养护项目开工年+养护项目建设期限(年)。
|
|
|
|
|
+ */
|
|
|
|
|
+ JCYBF(tender) {
|
|
|
|
|
+ //建筑安装工程费作为基数
|
|
|
|
|
+ const installFee = this['JZAZGCF'](tender);
|
|
|
|
|
+ //年造价增涨
|
|
|
|
|
+ const costGrowthRate = calcBase.project.property.costGrowthRate
|
|
|
|
|
+ ? calcBase.project.property.costGrowthRate
|
|
|
|
|
+ : 0;
|
|
|
|
|
+ //增涨计费年限
|
|
|
|
|
+ const growthPeriod = projectObj.project.property.growthPeriod
|
|
|
|
|
+ ? calcBase.project.property.growthPeriod
|
|
|
|
|
+ : 0;
|
|
|
|
|
+ //= P * [(1+i)^(n-1) -1]
|
|
|
|
|
+ return (installFee * (Math.pow(1 + costGrowthRate, growthPeriod - 1) - 1)).toDecimal(decimalObj.bills.totalPrice);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ };
|
|
|
|
|
+}
|