|
|
@@ -342,7 +342,7 @@ ProjectGLJ.prototype.materialCal = function (id,dataMap) {
|
|
|
doc['supplyLocation'] = supplyLocation;
|
|
|
//再计算运费
|
|
|
let grossWeightCoe_n = doc['grossWeightCoe_n']?doc['grossWeightCoe_n']:glj.unit_price.grossWeightCoe_n;
|
|
|
- grossWeightCoe_n = scMathUtil.roundForObj(grossWeightCoe_n,unitPirceDecimal);
|
|
|
+ grossWeightCoe_n = scMathUtil.roundForObj(grossWeightCoe_n,process);
|
|
|
let unitFreight = this.freightCalc(glj,grossWeightCoe_n,dataMap);
|
|
|
doc['unitFreight'] = unitFreight+'';
|
|
|
//计算场外运输损耗
|
|
|
@@ -909,7 +909,6 @@ ProjectGLJ.prototype.changeVvTaxFile = async function (newVvTaxFileID,callback)
|
|
|
|
|
|
ProjectGLJ.prototype.addMixRatio = function(selections,callback){
|
|
|
let gljList = [],allGLJ = gljOprObj.AllRecode;
|
|
|
- $("#glj_tree_div").modal('hide');
|
|
|
if(selections.length == 0) {
|
|
|
return;
|
|
|
}
|