fix: BUG修改

This commit is contained in:
kun 2024-03-19 17:49:17 +08:00
parent e2a3cd3285
commit 8b3f8d8b32

View File

@ -634,6 +634,7 @@ const getSubItemList = async () => {
]; ];
if (res.result) { if (res.result) {
responseArr = res.result; responseArr = res.result;
// 100
responseArr.map(item => { responseArr.map(item => {
if (item.totalAmount) { if (item.totalAmount) {
sumRowData.totalAmount += item.totalAmount * 100; sumRowData.totalAmount += item.totalAmount * 100;
@ -654,6 +655,7 @@ const getSubItemList = async () => {
sumRowData.completeScheduleRatio += +item.completeScheduleRatio * 100; sumRowData.completeScheduleRatio += +item.completeScheduleRatio * 100;
} }
}); });
// 100使
for (let i in sumRowData) { for (let i in sumRowData) {
if (i != "reportContent") { if (i != "reportContent") {
sumRowData[i] = sumRowData[i] / 100; sumRowData[i] = sumRowData[i] / 100;