|
@@ -570,6 +570,7 @@ let gljUtil = {
|
|
|
exportName:m.exportName,
|
|
|
quantity:0
|
|
|
};
|
|
|
+ console.log(m.coe);
|
|
|
if(billsGroup[m.name]) setQuantities(billsGroup[m.name],tem);
|
|
|
|
|
|
datas.push(tem);
|
|
@@ -583,6 +584,11 @@ let gljUtil = {
|
|
|
quantity = scMathUtil.roundForObj(quantity + i.quantity,decimal.process);
|
|
|
}
|
|
|
data.quantity = gljUtil.calUnitWidthCoe(quantity,false,engineerFeatures,_,scMathUtil);
|
|
|
+ //主要工程量指标另外加了一个系数
|
|
|
+ let f = _.find(engineerFeatures,{index:true});
|
|
|
+ let quantityCoe = gljUtil.isDef(f.quantityCoe)?quantityCoe:1;
|
|
|
+ data.quantity = scMathUtil.roundForObj(data.quantity*quantityCoe,3);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return datas;
|