|
@@ -358,8 +358,9 @@ export default {
|
|
|
}
|
|
|
else{
|
|
|
for(var i=0;i<this.modification.length;i++){
|
|
|
- if(this.modification[i].status=='已通过'||this.modification[i].status=='部分付款'){
|
|
|
+ if(this.modification[i].status!='已通过'&&this.modification[i].status!='部分付款'){
|
|
|
this.$message.warning('只有已通过或部分付款的条目才可进行付款操作')
|
|
|
+ return
|
|
|
}
|
|
|
this.allmoney+=this.modification[i].amountNotPayable
|
|
|
}
|
|
@@ -372,7 +373,7 @@ export default {
|
|
|
}
|
|
|
else{
|
|
|
for(var i=0;i<this.modification.length;i++){
|
|
|
- if(this.modification[i].status=='已通过'||this.modification[i].status=='部分收款'){
|
|
|
+ if(this.modification[i].status!='已通过'&&this.modification[i].status!='部分收款'){
|
|
|
this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
|
|
|
}
|
|
|
this.allmoney1+=this.modification[i].collectionNotPayable
|