销账账单金额、已收金额保留2位小数
This commit is contained in:
parent
7cb6eb9e14
commit
19a6ae22e6
@ -72,13 +72,13 @@
|
||||
<el-table-column :label="$t('账单金额')" align="center" prop="emisWaybill.freight" min-width="100" >
|
||||
<template slot-scope="scope">
|
||||
<!-- 求和 -->
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisWaybill.freight || 0), 0) }}
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisWaybill.freight || 0), 0).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('已收金额')" align="center" prop="emisSettleSubBill.recedMoney" min-width="100" >
|
||||
<template slot-scope="scope">
|
||||
<!-- 求和 -->
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisSettleSubBill.recedMoney || 0), 0) }}
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisSettleSubBill.recedMoney || 0), 0).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('本次销账金额')" align="center" prop="writeoffAmount" min-width="150" />
|
||||
|
||||
@ -79,14 +79,14 @@
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column :label="$t('账单金额')" align="center" prop="emisWaybill.freight" min-width="100" >
|
||||
<template slot-scope="scope">
|
||||
<!-- 求和 -->
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisWaybill.freight || 0), 0) }}
|
||||
<!-- 求和-->
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisWaybill.freight || 0), 0).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('已收金额')" align="center" prop="emisSettleSubBill.recedMoney" min-width="100" >
|
||||
<template slot-scope="scope">
|
||||
<!-- 求和 -->
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisSettleSubBill.recedMoney || 0), 0) }}
|
||||
{{ scope.row.detailList.reduce((total, item) => total + (item.emisSettleSubBill.recedMoney || 0), 0).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('本次销账金额')" align="center" prop="writeoffAmount" min-width="140" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user