优化了到账信息展示,提升了用户体验,提高了操作效率。

This commit is contained in:
zmj 2024-06-01 17:01:22 +08:00
parent 3dded18dc7
commit c474b64cad

View File

@ -51,14 +51,14 @@
<el-card>
<template #header> 到账信息 </template>
<el-descriptions :column="3" border>
<el-descriptions-item label="到账状45态" label-align="left" align="left">
{{ formData.is_cash }}
<el-descriptions-item label="到账状态" label-align="left" align="left">
{{ formData.is_cash_text }}
</el-descriptions-item>
<el-descriptions-item label="未到账金额(元)" label-align="left" align="left">
{{ (+formData.amount) - (+formData.enter_amount) }}
</el-descriptions-item>
<el-descriptions-item label="已到账金额(元)" label-align="left" align="left">
{{ formData.is_cash_text }}
{{ formData.enter_amount }}
</el-descriptions-item>
</el-descriptions>
<el-table :data="detail" class="mt-4">
@ -223,6 +223,9 @@ const fdz = async () => {
const amountChange = (index) => {
if (+ detail.value[index].amount < 0) {
return detail.value[index].amount = ''
}
detail.value[index].amount = (+detail.value[index].amount).toFixed(2)
}