|
@@ -470,6 +470,7 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
handlepayment() {
|
|
|
+ this.allmoney=0
|
|
|
if (this.modification.length == 0) {
|
|
|
this.$message.warning('请选择一条要付款的条目')
|
|
|
} else {
|
|
@@ -487,6 +488,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handlecollect() {
|
|
|
+ this.allmoney1=0
|
|
|
if (this.modification.length == 0) {
|
|
|
this.$message.warning('请选择一条要收款的条目')
|
|
|
} else {
|
|
@@ -496,6 +498,7 @@ export default {
|
|
|
this.modification[i].status != '部分收款'
|
|
|
) {
|
|
|
this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
|
|
|
+ return
|
|
|
}
|
|
|
this.allmoney1 += this.modification[i].collectionNotPayable
|
|
|
}
|