|
@@ -315,7 +315,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
thisAmountChange(row) {
|
|
thisAmountChange(row) {
|
|
- let num = Number(row.totalMoney) - Number(row.paymentAmountTl)
|
|
|
|
|
|
+ let num = Number(row.accountsAmount) - Number(row.accountsAmount)
|
|
if (row.thisAmount > num) {
|
|
if (row.thisAmount > num) {
|
|
this.$message.error("请正确输入本次金额!");
|
|
this.$message.error("请正确输入本次金额!");
|
|
this.$set(row, 'thisAmount', 0)
|
|
this.$set(row, 'thisAmount', 0)
|
|
@@ -329,7 +329,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
thisReAmountChange(row) {
|
|
thisReAmountChange(row) {
|
|
- let num = Number(row.totalMoney) - Number(row.paymentAmountTl)
|
|
|
|
|
|
+ let num = Number(row.accountsAmount) - Number(row.accountsAmount)
|
|
if (row.thisRefundAmount > num) {
|
|
if (row.thisRefundAmount > num) {
|
|
this.$message.error("请正确输入本次金额!");
|
|
this.$message.error("请正确输入本次金额!");
|
|
this.$set(row, 'thisRefundAmount', 0)
|
|
this.$set(row, 'thisRefundAmount', 0)
|