|
|
@@ -462,7 +462,7 @@ materialCalcObj = {
|
|
|
let material = materialCalcObj.getMaterialSelected();
|
|
|
if(gljUtil.isDef(item.materialType)&&item.materialType != ""){
|
|
|
let uString = materialCalcObj.getNeiMengUnitFreightString(item.kmDistance,item.materialType);
|
|
|
- return `((${uString}x(1+${item.freightIncreaseRate}%)+${item.unitLoadingFee}x${item.loadingTimes})/1.09+${item.otherFee})x${material.grossWeightCoe_n}x${item.weightCoe}`;
|
|
|
+ return `((${uString}×(1+${item.freightIncreaseRate}%)+${item.unitLoadingFee}×${item.loadingTimes})/1.09+${item.otherFee})×${material.grossWeightCoe_n}×${item.weightCoe}`;
|
|
|
}
|
|
|
//(单位运价×(1+运距增加率%)+装卸费单价×装卸次数+其它费用)×单位毛重×加权系数
|
|
|
if(item.conveyance == "自办运输"){
|
|
|
@@ -471,7 +471,7 @@ materialCalcObj = {
|
|
|
}
|
|
|
|
|
|
//(单位运价×km运距×(1+运距增加率%)+装卸费单价×装卸次数+其它费用)×单位毛重×加权系数
|
|
|
- return `(${item.unitFreight}x${item.kmDistance}x(1+${item.freightIncreaseRate}%)+${item.unitLoadingFee}x${item.loadingTimes}+${item.otherFee})x${material.grossWeightCoe_n}x${item.weightCoe}`;
|
|
|
+ return `(${item.unitFreight}×${item.kmDistance}×(1+${item.freightIncreaseRate}%)+${item.unitLoadingFee}×${item.loadingTimes}+${item.otherFee})×${material.grossWeightCoe_n}×${item.weightCoe}`;
|
|
|
},
|
|
|
getSavedFreight:function (start,material) {
|
|
|
let t = null;
|
|
|
@@ -661,13 +661,13 @@ materialCalcObj = {
|
|
|
|
|
|
//5< kmDistance <= 15 每增运1km 则增加0.6
|
|
|
less = scMathUtil.roundForObj(less - 10,decimal);
|
|
|
- if(less <=0) return `(${resultString}+0.6x${scMathUtil.roundForObj(less + 10,decimal)})`;//baseFreight + (less + 10) * 0.6;
|
|
|
- resultString = `${resultString}+0.6x10`;
|
|
|
+ if(less <=0) return `(${resultString}+0.6×${scMathUtil.roundForObj(less + 10,decimal)})`;//baseFreight + (less + 10) * 0.6;
|
|
|
+ resultString = `${resultString}+0.6×10`;
|
|
|
//15< kmDistance <= 100 每增运1km 则增加0.45
|
|
|
less = scMathUtil.roundForObj(less - 85,decimal);
|
|
|
- if(less <=0) return `(${resultString}+0.45x${scMathUtil.roundForObj(less + 85,decimal)})`; //baseFreight + (less + 85)*0.45;
|
|
|
- resultString = `${resultString}+0.45x85`;
|
|
|
- return `(${resultString}+0.35x${less})`;// >100 的所有部分每增运1km 则增加0.35 baseFreight + less * 0.35
|
|
|
+ if(less <=0) return `(${resultString}+0.45×${scMathUtil.roundForObj(less + 85,decimal)})`; //baseFreight + (less + 85)*0.45;
|
|
|
+ resultString = `${resultString}+0.45×85`;
|
|
|
+ return `(${resultString}+0.35×${less})`;// >100 的所有部分每增运1km 则增加0.35 baseFreight + less * 0.35
|
|
|
},
|
|
|
|
|
|
onFreightRationValueChange:function (sender,args) {
|