Browse Source

培训和项目的总经办报销无法确认发票

huangguoce 1 week ago
parent
commit
35211952f3

+ 3 - 3
src/views/ccpm/reimbursement/info/NewReimbursementForm.vue

@@ -475,7 +475,7 @@ export default {
           this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then(name => {
             this.currentNodeName = name
 
-            if (name == "综合管理部主任审核" && this.status != "taskFormDetail") {
+            if ((name == "综合管理部主任审批" || name == "综合管理部主任审核") && this.status != "taskFormDetail") {
               this.isConfirm = 1
             } else {
               this.isConfirm = 2
@@ -1070,7 +1070,7 @@ export default {
           //   this.loading = false
           //   return
           // }
-          if (this.currentNodeName == "综合管理部主任审核") {
+          if (this.currentNodeName == "综合管理部主任审核" || this.currentNodeName == "综合管理部主任审批") {
             let confirmFlag = this.inputForm.invoiceReimbursementFiles.every(item => item.confirmStatus == 1)
             if (!confirmFlag) {
               this.$message.warning('数电发票未全部确认,请全部确认后再提交')
@@ -1117,7 +1117,7 @@ export default {
             this.reimbursementService.save(this.inputForm).then((data) => {
               callback(data.businessTable, data.businessId, this.inputForm)
               // this.currentNodeName == "财务审核"
-              if (this.currentNodeName == "综合管理部主任审核") {
+              if (this.currentNodeName == "综合管理部主任审核" || this.currentNodeName == "综合管理部主任审批") {
                 this.changeStatusApi()
               }
               this.loading = false

+ 3 - 3
src/views/consultancy/reimbursement/info/NewReimbursementForm.vue

@@ -441,7 +441,7 @@ export default {
           //  获取当前审核节点
           this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then(name => {
             this.currentNodeName = name
-            if (name == "综合管理部主任审核" && this.status != "taskFormDetail") {
+            if ((name == "综合管理部主任审核" || name == "综合管理部主任审批") && this.status != "taskFormDetail") {
               this.isConfirm = 1
             } else {
               this.isConfirm = 2
@@ -987,7 +987,7 @@ export default {
           //   this.loading = false
           //   return
           // }
-          if (this.currentNodeName == "综合管理部主任审核") {
+          if (this.currentNodeName == "综合管理部主任审核" || this.currentNodeName == "综合管理部主任审批") {
             let confirmFlag = this.inputForm.invoiceReimbursementFiles.every(item => item.confirmStatus == 1)
             if (!confirmFlag) {
               this.$message.warning('数电发票未全部确认,请全部确认后再提交')
@@ -1027,7 +1027,7 @@ export default {
             this.reimbursementService.save(this.inputForm).then((data) => {
               callback(data.businessTable, data.businessId, this.inputForm)
               // this.currentNodeName == "财务审批"
-              if (this.currentNodeName == "综合管理部主任审核") {
+              if (this.currentNodeName == "综合管理部主任审核" || this.currentNodeName == "综合管理部主任审批") {
                 this.changeStatusApi()
               }
               this.loading = false