金額整數
This commit is contained in:
parent
33737b7919
commit
8ff0a3f6c7
@ -927,7 +927,7 @@
|
|||||||
sta += "<td>" + Number(inverter.irradiance) + "</td>";
|
sta += "<td>" + Number(inverter.irradiance) + "</td>";
|
||||||
sta += "<td>" + Number(inverter.temperature) + "</td>";
|
sta += "<td>" + Number(inverter.temperature) + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
sta += "<td>" + Number(inverter.hourmoney) + "</td>";
|
sta += "<td>" + Math.round(Number(inverter.hourmoney)) + "</td>";
|
||||||
}
|
}
|
||||||
sta += "</tr>";
|
sta += "</tr>";
|
||||||
thour = inverter.tothour ? inverter.tothour.toFixed(2) : 0;
|
thour = inverter.tothour ? inverter.tothour.toFixed(2) : 0;
|
||||||
@ -955,8 +955,8 @@
|
|||||||
stb += "<td>" + tpr + "</td>";
|
stb += "<td>" + tpr + "</td>";
|
||||||
stb += "<td>" + tkwh + "</td>";
|
stb += "<td>" + tkwh + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
stb += "<td>" + ntd + "</td>";
|
stb += "<td>" + Math.round(ntd) + "</td>";
|
||||||
stb += "<td>" + ntdone + "</td>";
|
stb += "<td>" + Math.round(ntdone) + "</td>";
|
||||||
}
|
}
|
||||||
stb += "</tr>";
|
stb += "</tr>";
|
||||||
|
|
||||||
@ -991,11 +991,11 @@
|
|||||||
sta += "<td>" + inverter.dayKWHp + "</td>";
|
sta += "<td>" + inverter.dayKWHp + "</td>";
|
||||||
sta += "<td>" + inverter.tothour + "</td>";
|
sta += "<td>" + inverter.tothour + "</td>";
|
||||||
sta += "<td>" + inverter.KWHKWP + "</td>";
|
sta += "<td>" + inverter.KWHKWP + "</td>";
|
||||||
sta += "<td>" + inverter.PR + "</td>";
|
sta += "<td>" + inverter.PR.toFixed(2) + "</td>";
|
||||||
sta += "<td>" + inverter.irradiance + "</td>";
|
sta += "<td>" + inverter.irradiance + "</td>";
|
||||||
sta += "<td>" + inverter.temperature + "</td>";
|
sta += "<td>" + inverter.temperature + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
sta += "<td>" + inverter.soldmoney + "</td>";
|
sta += "<td>" + Math.round(inverter.soldmoney) + "</td>";
|
||||||
}
|
}
|
||||||
sta += "</tr>";
|
sta += "</tr>";
|
||||||
avghour += inverter.tothour ? inverter.tothour : 0;
|
avghour += inverter.tothour ? inverter.tothour : 0;
|
||||||
@ -1045,7 +1045,7 @@
|
|||||||
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
||||||
stb += "<td>" + monthKWH + "</td>";
|
stb += "<td>" + monthKWH + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
stb += "<td>" + monthmoney + "</td>";
|
stb += "<td>" + Math.round(monthmoney) + "</td>";
|
||||||
stb += "<td>" + Math.round(monthmoneyone / monthday) + "</td>";
|
stb += "<td>" + Math.round(monthmoneyone / monthday) + "</td>";
|
||||||
}
|
}
|
||||||
stb += "<td>" + monthday + "</td>";
|
stb += "<td>" + monthday + "</td>";
|
||||||
@ -1111,11 +1111,11 @@
|
|||||||
sta += "<td>" + inverter.dayKWHp + "</td>";
|
sta += "<td>" + inverter.dayKWHp + "</td>";
|
||||||
sta += "<td>" + inverter.tothour + "</td>";
|
sta += "<td>" + inverter.tothour + "</td>";
|
||||||
sta += "<td>" + inverter.KWHKWP + "</td>";
|
sta += "<td>" + inverter.KWHKWP + "</td>";
|
||||||
sta += "<td>" + inverter.PR + "</td>";
|
sta += "<td>" + inverter.PR.toFixed(2) + "</td>";
|
||||||
sta += "<td>" + inverter.irradiance + "</td>";
|
sta += "<td>" + inverter.irradiance + "</td>";
|
||||||
sta += "<td>" + inverter.temperature + "</td>";
|
sta += "<td>" + inverter.temperature + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
sta += "<td>" + inverter.soldmoney + "</td>";
|
sta += "<td>" + Math.round(inverter.soldmoney) + "</td>";
|
||||||
}
|
}
|
||||||
sta += "</tr>";
|
sta += "</tr>";
|
||||||
avghour += inverter.tothour ? inverter.tothour : 0;
|
avghour += inverter.tothour ? inverter.tothour : 0;
|
||||||
@ -1165,7 +1165,7 @@
|
|||||||
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
||||||
stb += "<td>" + monthKWH + "</td>";
|
stb += "<td>" + monthKWH + "</td>";
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
stb += "<td>" + monthmoney + "</td>";
|
stb += "<td>" + Math.round(monthmoney) + "</td>";
|
||||||
stb += "<td>" + Math.round(monthmoneyone / monthday) + "</td>";
|
stb += "<td>" + Math.round(monthmoneyone / monthday) + "</td>";
|
||||||
}
|
}
|
||||||
stb += "<td>" + monthday + "</td>";
|
stb += "<td>" + monthday + "</td>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user