|
@@ -543,12 +543,12 @@
|
|
this.procDefInvalidKey = data.key
|
|
this.procDefInvalidKey = data.key
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- processService.getByName('会计-预开票申请').then((data) => {
|
|
|
|
- if (!this.commonJS.isEmpty(data.id)) {
|
|
|
|
- this.processDefinitionIdPreInvoice = data.id
|
|
|
|
- this.procDefKeyPreInvoice = data.key
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // processService.getByName('会计-预开票申请').then((data) => {
|
|
|
|
+ // if (!this.commonJS.isEmpty(data.id)) {
|
|
|
|
+ // this.processDefinitionIdPreInvoice = data.id
|
|
|
|
+ // this.procDefKeyPreInvoice = data.key
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
},
|
|
},
|
|
// 当前页
|
|
// 当前页
|
|
currentChangeHandle ({ currentPage, pageSize }) {
|
|
currentChangeHandle ({ currentPage, pageSize }) {
|
|
@@ -639,27 +639,27 @@
|
|
status = 'reapplyFlag'
|
|
status = 'reapplyFlag'
|
|
}
|
|
}
|
|
if (this.commonJS.isNotEmpty(row.isPreInvoice) && row.isPreInvoice === '1'){
|
|
if (this.commonJS.isNotEmpty(row.isPreInvoice) && row.isPreInvoice === '1'){
|
|
- taskService.getTaskDef({ procDefId: this.processDefinitionIdPreInvoice,
|
|
|
|
- businessId: row.id,
|
|
|
|
- businessTable: 'cw_finance_invoice'}).then((data) => {
|
|
|
|
- this.$router.push({
|
|
|
|
- path: '/flowable/task/TaskForm',
|
|
|
|
- query: {
|
|
|
|
- ...pick(data, 'formType', 'formUrl', 'procDefKey', 'taskDefKey', 'procInsId', 'procDefId', 'taskId', 'status', 'title'),
|
|
|
|
- procDefId: this.processDefinitionIdPreInvoice,
|
|
|
|
- procDefKey: this.procDefKeyPreInvoice,
|
|
|
|
- title: title,
|
|
|
|
- formType: data.formType,
|
|
|
|
- formUrl: data.formUrl,
|
|
|
|
- formTitle: processTitle,
|
|
|
|
- businessTable: 'finance_invoice',
|
|
|
|
- businessId: row.id,
|
|
|
|
- isShow: 'false',
|
|
|
|
- status: status,
|
|
|
|
- routePath: '/cw/invoice/InvoiceList'
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ // taskService.getTaskDef({ procDefId: this.processDefinitionIdPreInvoice,
|
|
|
|
+ // businessId: row.id,
|
|
|
|
+ // businessTable: 'cw_finance_invoice'}).then((data) => {
|
|
|
|
+ // this.$router.push({
|
|
|
|
+ // path: '/flowable/task/TaskForm',
|
|
|
|
+ // query: {
|
|
|
|
+ // ...pick(data, 'formType', 'formUrl', 'procDefKey', 'taskDefKey', 'procInsId', 'procDefId', 'taskId', 'status', 'title'),
|
|
|
|
+ // procDefId: this.processDefinitionIdPreInvoice,
|
|
|
|
+ // procDefKey: this.procDefKeyPreInvoice,
|
|
|
|
+ // title: title,
|
|
|
|
+ // formType: data.formType,
|
|
|
|
+ // formUrl: data.formUrl,
|
|
|
|
+ // formTitle: processTitle,
|
|
|
|
+ // businessTable: 'finance_invoice',
|
|
|
|
+ // businessId: row.id,
|
|
|
|
+ // isShow: 'false',
|
|
|
|
+ // status: status,
|
|
|
|
+ // routePath: '/cw/invoice/InvoiceList'
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
}else {
|
|
}else {
|
|
taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
businessId: row.id,
|
|
businessId: row.id,
|
|
@@ -726,23 +726,23 @@
|
|
this.invoiceInvalidDetail(row)
|
|
this.invoiceInvalidDetail(row)
|
|
} else {
|
|
} else {
|
|
if (this.commonJS.isNotEmpty(row.isPreInvoice) && row.isPreInvoice === '1'){
|
|
if (this.commonJS.isNotEmpty(row.isPreInvoice) && row.isPreInvoice === '1'){
|
|
- taskService.getTaskDef({
|
|
|
|
- procInsId: row.procInsId,
|
|
|
|
- procDefId: this.processDefinitionIdPreInvoice
|
|
|
|
- }).then((data) => {
|
|
|
|
- this.$router.push({
|
|
|
|
- path: '/flowable/task/TaskFormDetail',
|
|
|
|
- query: {
|
|
|
|
- ...pick(data, 'formType', 'formUrl', 'procDefKey', 'taskDefKey', 'procInsId', 'procDefId', 'taskId', 'status', 'title'),
|
|
|
|
- isShow: 'false',
|
|
|
|
- readOnly: true,
|
|
|
|
- title: '会计-发票申请' + '流程详情',
|
|
|
|
- formTitle: '会计-发票申请' + '流程详情',
|
|
|
|
- businessId: row.id,
|
|
|
|
- status: 'reback'
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ // taskService.getTaskDef({
|
|
|
|
+ // procInsId: row.procInsId,
|
|
|
|
+ // procDefId: this.processDefinitionIdPreInvoice
|
|
|
|
+ // }).then((data) => {
|
|
|
|
+ // this.$router.push({
|
|
|
|
+ // path: '/flowable/task/TaskFormDetail',
|
|
|
|
+ // query: {
|
|
|
|
+ // ...pick(data, 'formType', 'formUrl', 'procDefKey', 'taskDefKey', 'procInsId', 'procDefId', 'taskId', 'status', 'title'),
|
|
|
|
+ // isShow: 'false',
|
|
|
|
+ // readOnly: true,
|
|
|
|
+ // title: '会计-发票申请' + '流程详情',
|
|
|
|
+ // formTitle: '会计-发票申请' + '流程详情',
|
|
|
|
+ // businessId: row.id,
|
|
|
|
+ // status: 'reback'
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
}else {
|
|
}else {
|
|
taskService.getTaskDef({
|
|
taskService.getTaskDef({
|
|
procInsId: row.procInsId,
|
|
procInsId: row.procInsId,
|