|
@@ -438,6 +438,16 @@ if (typeof projectObj !== 'undefined') {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+if (typeof feeRateObject !== 'undefined') {
|
|
|
|
|
+ feeRateObject.feeRateSpecialHandle = function (subRate, value) {
|
|
|
|
|
+ let result = {};
|
|
|
|
|
+ if (subRate.name == "施工进出场(km)" && value && value < 5) {//施工进出场5km以内按5km算
|
|
|
|
|
+ result.valueKey = "5";
|
|
|
|
|
+ result.value = scMathUtil.roundForObj(value, getDecimal("feeRate"));//设置显示的节点值
|
|
|
|
|
+ }
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
if (typeof module !== 'undefined') {
|
|
|
module.exports = {
|
|
module.exports = {
|