feat : 分摊汇总小计保留两位小数
This commit is contained in:
@@ -33,7 +33,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import {toThousands} from '@/utils/changePrice.js'
|
|
||||||
import {exportExcel} from "@/utils/export-excel";
|
import {exportExcel} from "@/utils/export-excel";
|
||||||
import {getAllocationSummaryDetails} from "@/api/expense-manage";
|
import {getAllocationSummaryDetails} from "@/api/expense-manage";
|
||||||
|
|
||||||
@@ -71,6 +70,7 @@ const getSummaries = (param) => {
|
|||||||
return prev
|
return prev
|
||||||
}
|
}
|
||||||
}, 0)}`
|
}, 0)}`
|
||||||
|
sums[index] = parseFloat(sums[index]).toFixed(2)
|
||||||
// sums[index] = toThousands(sums[index])
|
// sums[index] = toThousands(sums[index])
|
||||||
} else {
|
} else {
|
||||||
sums[index] = '-'
|
sums[index] = '-'
|
||||||
|
|||||||
Reference in New Issue
Block a user