|
@@ -963,6 +963,18 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ reapplyForm (callback) {
|
|
|
+ this.loading = true
|
|
|
+ financeInvoiceService.queryById(this.inputForm.id).then((data) => {
|
|
|
+ if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
|
|
|
+ this.loading = false
|
|
|
+ this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
|
|
|
+ throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
|
|
|
+ } else {
|
|
|
+ this.doSubmit('reapply', callback)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 表单提交
|
|
|
async doSubmit (status, callback) {
|
|
|
console.log('this.inputForm.financeInvoiceDetailDTOList', this.inputForm.financeInvoiceDetailDTOList)
|