|
@@ -188,9 +188,10 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
goodsMoney() {
|
|
goodsMoney() {
|
|
- return this.loanTableData.length ? this.loanTableData.reduce((total, item) => {
|
|
|
|
|
|
+ const num = this.loanTableData.reduce((total, item) => {
|
|
return total * 1 + item.currentAssignAmount * 1
|
|
return total * 1 + item.currentAssignAmount * 1
|
|
- }, 0) : '0.00'
|
|
|
|
|
|
+ }, 0)
|
|
|
|
+ return this.loanTableData.length ? num.toFixed(2) : '0.00'
|
|
},
|
|
},
|
|
getloanCalc() {
|
|
getloanCalc() {
|
|
const obj = {
|
|
const obj = {
|