This commit is contained in:
linfso 2025-03-13 21:19:00 +08:00
parent c830f5fcc7
commit d35aa6049a
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@
</el-table-column> -->
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="120" :sortable="true" >
<template slot-scope="scope">
{{ scope.row.creditMoney - scope.row.useMoney }}
{{ (scope.row.creditMoney - scope.row.useMoney).toFixed(2) }}
</template>
</el-table-column>
<el-table-column :label="$t('已使用额度')" align="center" prop="useMoney" min-width="120" :sortable="true">

View File

@ -116,7 +116,7 @@
</el-table-column> -->
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="120" :sortable="true">
<template slot-scope="scope">
{{ scope.row.creditMoney - scope.row.useMoney }}
{{ (scope.row.creditMoney - scope.row.useMoney).toFixed(2) }}
</template>
</el-table-column>
<el-table-column :label="$t('已使用额度')" align="center" prop="useMoney" min-width="120" :sortable="true">