【修改】确认收总计与实际收入总计 赋值错误
This commit is contained in:
@@ -9,6 +9,8 @@ export function formatMoney(money) {
|
||||
if (num.indexOf('.') !== -1) {
|
||||
point = num.substring(num.indexOf('.'))
|
||||
num = parseInt(num)
|
||||
}else {
|
||||
point = '.00'
|
||||
}
|
||||
|
||||
// 循环添加逗号
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
|
||||
<template slot="allMoney" slot-scope="text">
|
||||
<a-tooltip>
|
||||
<template slot="title">{{ formatMoney(text) }}</template>
|
||||
<div class="table-text">{{ formatMoney(text) }}</div>
|
||||
<template slot="title">{{ formatMoney(text+'') }}</template>
|
||||
<div class="table-text">{{ formatMoney(text+'') }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
@@ -283,8 +283,8 @@ export default {
|
||||
id: '1',
|
||||
title: '总计',
|
||||
packChargeTotal: res.result.sumOfMoney || '0.00' + '',
|
||||
receiptExpense: res.result.sumOfReallyMoney || '0.00' + '',
|
||||
confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '',
|
||||
receiptExpense: res.result.sumOfConfirmAmount || '0.00' + '',
|
||||
confirmAmount: res.result.sumOfReallyMoney || '0.00' + '',
|
||||
|
||||
}
|
||||
this.footerDataSource = [obj]
|
||||
|
||||
Reference in New Issue
Block a user