chongqing_2018.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. * Created by zhang on 2018/8/14.
  3. */
  4. //重庆综合里程、工地转移费率值修改特殊处理
  5. if (typeof feeRateObject !== 'undefined') {
  6. feeRateObject.feeRateSpecialHandle = function (subRate, value) {
  7. let result = {};
  8. if (subRate.name == "工地转移(km)" && value && value < 50) {//工地转移50km以内按50km算
  9. result.valueKey = "50";
  10. result.value = scMathUtil.roundForObj(value, getDecimal("feeRate"));//设置显示的节点值
  11. }
  12. if (subRate.name == "综合里程(km)" && value && value < 3) {//综合里程3km以内按3km算
  13. result.valueKey = "3";
  14. result.value = scMathUtil.roundForObj(value, getDecimal("feeRate"));//设置显示的节点值
  15. }
  16. return result;
  17. }
  18. }
  19. // 累进的基数名称
  20. const progression = [
  21. '施工场地建设费', '养护单位(业主)管理费', '信息化费', '路线工程监理费', '独立桥梁隧道工程监理费',
  22. '设计文件审查费', '路线勘察设计费', '独立桥梁隧道维修加固勘察设计费', '招标代理及标底(最高投标限价)编制费'
  23. ];
  24. // 累进计算金额不足时的处理映射
  25. const deficiency = {
  26. '路线工程监理费': 20000, // 不足2万按2万
  27. '独立桥梁隧道工程监理费': 20000,
  28. '设计文件审查费': 3000
  29. };
  30. if (typeof module !== 'undefined') {
  31. module.exports = {
  32. progression,
  33. deficiency
  34. };
  35. }