|
@@ -644,6 +644,9 @@ export default {
|
|
this.warehouseList.records[0].purchaseReceiptReportList
|
|
this.warehouseList.records[0].purchaseReceiptReportList
|
|
this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
this.paymentDate = this.paymentDate
|
|
this.paymentDate = this.paymentDate
|
|
|
|
+ if (this.modification.length == 0) {
|
|
|
|
+ this.$message.warning('请选择一条要付款的条目')
|
|
|
|
+ } else {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
if(this.modification[i].status!='已通过'){
|
|
if(this.modification[i].status!='已通过'){
|
|
this.$message.warning('审核尚未通过,不可进行付款操作')
|
|
this.$message.warning('审核尚未通过,不可进行付款操作')
|
|
@@ -651,6 +654,7 @@ export default {
|
|
this.amountNotPayable += this.modification[i].amountNotPayable
|
|
this.amountNotPayable += this.modification[i].amountNotPayable
|
|
}
|
|
}
|
|
this.dialogFormVisible1 = true
|
|
this.dialogFormVisible1 = true
|
|
|
|
+ }
|
|
},
|
|
},
|
|
submitMoney() {
|
|
submitMoney() {
|
|
this.purchaseReceiptReport.money = this.money
|
|
this.purchaseReceiptReport.money = this.money
|