Commit c6ee13c8 authored by xxx's avatar xxx

修改大屏矿石开采效率显示问题

parent 9983a514
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
reschanche.forEach((itemchanche,indexchanche)=>{ reschanche.forEach((itemchanche,indexchanche)=>{
text3 = text3 + (itemchanche.time ? parseFloat(itemchanche.time) : 0); text3 = text3 + (itemchanche.time ? parseFloat(itemchanche.time) : 0);
}); });
this.exploitationEfficiencyData.dayWorkTime2 = text3; this.exploitationEfficiencyData.dayWorkTime2 = parseFloat(text3).toFixed(2);
let transitArr2 = []; let transitArr2 = [];
transitArr2.push((parseFloat(text3) / parseFloat(text1)).toFixed(2)); transitArr2.push((parseFloat(text3) / parseFloat(text1)).toFixed(2));
if(transitArr2[0] == 'NaN'){ if(transitArr2[0] == 'NaN'){
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
reschanche.forEach((itemchanche,indexchanche)=>{ reschanche.forEach((itemchanche,indexchanche)=>{
text3 = text3 + (itemchanche.time ? parseFloat(itemchanche.time) : 0); text3 = text3 + (itemchanche.time ? parseFloat(itemchanche.time) : 0);
}); });
this.exploitationEfficiencyData.dayWorkTime2 = text3; this.exploitationEfficiencyData.dayWorkTime2 = parseFloat(text3).toFixed(2);
let transitArr2 = []; let transitArr2 = [];
transitArr2.push((parseFloat(text3) / parseFloat(text1)).toFixed(2)); transitArr2.push((parseFloat(text3) / parseFloat(text1)).toFixed(2));
if(transitArr2[0] == 'NaN'){ if(transitArr2[0] == 'NaN'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment