|
|
@@ -1,3 +1,52 @@
|
|
|
+
|
|
|
+let isHN2014 = true;
|
|
|
+
|
|
|
+function overwriteRationCalcBases(taxType) {
|
|
|
+ if (typeof rationCalcBases == 'undefined') return;
|
|
|
+ for (let key in rationCalcBases) delete rationCalcBases[key];
|
|
|
+ // let isJY = taxType == '2';
|
|
|
+ rationCalcBases['人工费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.LABOUR], priceTypes.ptMarketPrice, isTender);
|
|
|
+ };
|
|
|
+ rationCalcBases['材料费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, baseMaterialTypes, priceTypes.ptMarketPrice, isTender);
|
|
|
+ };
|
|
|
+ rationCalcBases['施工机械使用费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptMarketPrice, isTender);
|
|
|
+ };
|
|
|
+ rationCalcBases['商品砼费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.COMMERCIAL_CONCRETE, gljType.COMMERCIAL_MORTAR], priceTypes.ptMarketPrice, isTender);
|
|
|
+ };
|
|
|
+ rationCalcBases['外购砼构件费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.PURCHASE_COMPONENT], priceTypes.ptMarketPrice, isTender);
|
|
|
+ };
|
|
|
+ rationCalcBases['设备购置费'] = function (node, isTender) {
|
|
|
+ return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptMarketPrice, isTender);
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+(function overwriteFeeTypes() {
|
|
|
+ if (typeof cpFeeTypes == 'undefined') return;
|
|
|
+ cpFeeTypes = [
|
|
|
+ { type: 'marketDirect', name: '直接费' },
|
|
|
+ { type: 'marketDirectWork', name: '直接工程费' },
|
|
|
+ { type: 'marketLabour', name: '人工费' },
|
|
|
+ { type: 'marketMaterial', name: '材料费' },
|
|
|
+ { type: 'marketMachine', name: '施工机械使用费' },
|
|
|
+ { type: 'otherFee', name: '其他工程费' },
|
|
|
+ { type: 'otherFee1', name: '其他工程费I' },
|
|
|
+ { type: 'otherFee2', name: '其他工程费II' },
|
|
|
+ { type: "indirect", name: '间接费' },
|
|
|
+ { type: 'manage', name: '企业管理费' },
|
|
|
+ { type: 'force', name: '规费' },
|
|
|
+ { type: 'profit', name: '利润' },
|
|
|
+ { type: 'tax', name: '税金' },
|
|
|
+ { type: 'common', name: '建安费' }
|
|
|
+ ];
|
|
|
+})();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 清单基数
|
|
|
const progression = ['养护工程管理经费(大修工程)', '养护工程管理经费(中修工程)', '养护工程监理费(路线工程)', '养护工程监理费(桥梁及隧道工程)', '养护工程设计文件审查费', '工程设计费(路线工程)', '工程设计费(桥梁、隧道工程)'];
|
|
|
const deficiency = { '养护工程设计文件审查费': 4500 };
|
|
|
@@ -254,10 +303,51 @@ if (typeof baseFigureTemplate !== 'undefined') {
|
|
|
};
|
|
|
}
|
|
|
|
|
|
+//湖南2014工地转移费率值修改特殊处理
|
|
|
+if (typeof feeRateObject !== "undefined") {
|
|
|
+ feeRateObject.feeRateSpecialHandle = function (subRate, value) {
|
|
|
+ let result = {};
|
|
|
+ if (subRate.name == "工地转移(km)" && value && value < 50) {
|
|
|
+ //工地转移50km以内按0km算
|
|
|
+ result.valueKey = "0";
|
|
|
+ result.value = scMathUtil.roundForObj(value, getDecimal("feeRate")); //设置显示的节点值
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
+if (typeof electrovalenceObj !== 'undefined') {
|
|
|
+ electrovalenceObj.options = [
|
|
|
+ { code: "870", name: "电网电", specs: "", unit: "kW·h", type: "201" },
|
|
|
+ { code: "1791", name: "5kw以内柴油发电机组", specs: "5GF1", unit: "台班", type: "301" },
|
|
|
+ { code: "1792", name: "15kw以内柴油发电机组", specs: "12GF1", unit: "台班", type: "301" },
|
|
|
+ { code: "1793", name: "30kw以内柴油发电机组", specs: "30GFY-2", unit: "台班", type: "301" },
|
|
|
+ { code: "1794", name: "50kw以内柴油发电机组", specs: "50GFY-2", unit: "台班", type: "301" },
|
|
|
+ { code: "1795", name: "75kw以内柴油发电机组", specs: "75GFY-4", unit: "台班", type: "301" },
|
|
|
+ { code: "1796", name: "100kw以内柴油发电机组", specs: "90GFZ", unit: "台班", type: "301" },
|
|
|
+ { code: "1797", name: "120kw以内柴油发电机组", specs: "120GFY-4", unit: "台班", type: "301" },
|
|
|
+ { code: "1798", name: "160kw以内柴油发电机组", specs: "160GF", unit: "台班", type: "301" },
|
|
|
+ { code: "1799", name: "200kw以内柴油发电机组", specs: "200GF", unit: "台班", type: "301" },
|
|
|
+ { code: "1800", name: "250kw以内柴油发电机组", specs: "250GF4-4", unit: "台班", type: "301" },
|
|
|
+ { code: "1801", name: "320kw以内柴油发电机组", specs: "320GF-2", unit: "台班", type: "301" }
|
|
|
+ ]
|
|
|
+}
|
|
|
+
|
|
|
+if (typeof gljUtil !== 'undefined') {
|
|
|
+ gljUtil.getCodeSortMath = getCodeSortMath;
|
|
|
+ gljUtil.getElecCoe = function () {
|
|
|
+ return 0.24;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
if (typeof module !== 'undefined') {
|
|
|
module.exports = {
|
|
|
progression,
|
|
|
deficiency,
|
|
|
beyond,
|
|
|
+ getDefalutAssistProductionFeeRate: function () {
|
|
|
+ return 5
|
|
|
+ }
|
|
|
};
|
|
|
+
|
|
|
}
|