feat : 分摊汇总小计保留两位小数

This commit is contained in:
clay
2024-06-28 21:41:24 +08:00
parent fc034cc653
commit 377509b62a

View File

@@ -33,7 +33,6 @@
</template>
<script setup>
import {toThousands} from '@/utils/changePrice.js'
import {exportExcel} from "@/utils/export-excel";
import {getAllocationSummaryDetails} from "@/api/expense-manage";
@@ -71,6 +70,7 @@ const getSummaries = (param) => {
return prev
}
}, 0)}`
sums[index] = parseFloat(sums[index]).toFixed(2)
// sums[index] = toThousands(sums[index])
} else {
sums[index] = '-'