|
@@ -648,8 +648,8 @@ export default {
|
|
this.$message.warning('请选择一条要付款的条目')
|
|
this.$message.warning('请选择一条要付款的条目')
|
|
} else {
|
|
} else {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
- if(this.modification[i].status!='已通过'){
|
|
|
|
- this.$message.warning('审核尚未通过,不可进行付款操作')
|
|
|
|
|
|
+ if(this.modification[i].status=='已通过'||this.modification[i].status=='部分付款'){
|
|
|
|
+ this.$message.warning('只有已通过或部分付款的条目才可进行付款操作')
|
|
}
|
|
}
|
|
this.amountNotPayable += this.modification[i].amountNotPayable
|
|
this.amountNotPayable += this.modification[i].amountNotPayable
|
|
}
|
|
}
|
|
@@ -943,33 +943,6 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- handlepass1() {
|
|
|
|
- var that=this
|
|
|
|
- if (this.modification.length == 0) {
|
|
|
|
- this.$message.warning('请选择要通过的条目')
|
|
|
|
- } else {
|
|
|
|
- this.$confirm(`审核通过后,任务将发送给出纳,是否确定通过?`, {
|
|
|
|
- cancelButtonText: '取消',
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
- type: 'warning',
|
|
|
|
- }).then(() => {
|
|
|
|
- // postaudit({
|
|
|
|
- // roleFlag: 3,
|
|
|
|
- // flag: 1,
|
|
|
|
- // purchaseReceiptReportList: this.modification,
|
|
|
|
- // })
|
|
|
|
- // .toPromise()
|
|
|
|
- // .then((response) => {
|
|
|
|
- // this.$message.success('通过成功')
|
|
|
|
- // this.getList()
|
|
|
|
- // })
|
|
|
|
- // .catch((req) => {
|
|
|
|
- // this.$message.success('通过失败')
|
|
|
|
- // })
|
|
|
|
- that.audit(this.modification[0],0,true,3)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
carryoverconfirm() {
|
|
carryoverconfirm() {
|
|
var data={}
|
|
var data={}
|
|
if(!this.carryoverlist.carryOverWeight){
|
|
if(!this.carryoverlist.carryOverWeight){
|