|
@@ -591,6 +591,7 @@
|
|
|
}
|
|
|
this.amountNotPayable += this.modification[i].amountNotPayable
|
|
|
}
|
|
|
+ this.amountNotPayable =this.amountNotPayable.toFixed(3)
|
|
|
this.dialogFormVisible1 = true
|
|
|
}
|
|
|
},
|
|
@@ -600,6 +601,7 @@
|
|
|
if (this.modification.length == 0) {
|
|
|
this.$message.warning('请选择一条要付款的条目')
|
|
|
} else {
|
|
|
+ this.money = Number(this.money)
|
|
|
if (
|
|
|
this.money < 0 ||
|
|
|
(String(this.money).indexOf('.') != -1 &&
|
|
@@ -628,7 +630,7 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (this.money > this.modification[0].amountNotPayable) {
|
|
|
+ if (Number(this.money) > Number(this.modification[0].amountNotPayable)) {
|
|
|
this.$message({
|
|
|
message: '付款金额不能大于未付金额!',
|
|
|
type: 'warning',
|
|
@@ -1358,4 +1360,4 @@
|
|
|
width: 430px;
|
|
|
margin-left: 15px;
|
|
|
}
|
|
|
-</style>
|
|
|
+ </style>
|