|
@@ -505,6 +505,7 @@ export default {
|
|
invoiceType: '自开发票',
|
|
invoiceType: '自开发票',
|
|
// invoiceTypeKey:'',
|
|
// invoiceTypeKey:'',
|
|
alreadyInvoice: '',
|
|
alreadyInvoice: '',
|
|
|
|
+ needReapply:true,
|
|
dialogFormVisible1: false,
|
|
dialogFormVisible1: false,
|
|
dialogFormVisible2: false,
|
|
dialogFormVisible2: false,
|
|
dialogFormVisible3: false,
|
|
dialogFormVisible3: false,
|
|
@@ -873,12 +874,12 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- audit(item,index,status){
|
|
|
|
|
|
+ audit(item,index,status,status2,reason){
|
|
if(index<this.modification.length){
|
|
if(index<this.modification.length){
|
|
posthandle({ taskId: item.taskId,
|
|
posthandle({ taskId: item.taskId,
|
|
approved: status,
|
|
approved: status,
|
|
- auditMind: '34',
|
|
|
|
- needReapply: false,})
|
|
|
|
|
|
+ auditMind: reason!=undefined?'已驳回':'34',
|
|
|
|
+ needReapply: status2!=undefined?true:false,})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.audit(this.modification[index+1],index+1,status)
|
|
this.audit(this.modification[index+1],index+1,status)
|
|
@@ -932,7 +933,7 @@ export default {
|
|
// .catch((req) => {
|
|
// .catch((req) => {
|
|
// this.$message.success('驳回失败')
|
|
// this.$message.success('驳回失败')
|
|
// })
|
|
// })
|
|
- that.audit(this.modification[0],0,false)
|
|
|
|
|
|
+ that.audit(this.modification[0],0,false,true,'已驳回')
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -973,7 +974,7 @@ export default {
|
|
// .catch((req) => {
|
|
// .catch((req) => {
|
|
// this.$message.success('通过失败')
|
|
// this.$message.success('通过失败')
|
|
// })
|
|
// })
|
|
- that.audit(this.modification[0],0,true,3)
|
|
|
|
|
|
+ that.audit(this.modification[0],0,true)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|