Browse Source

修复变更立项终止不出现撤回bug

ellisran 1 year ago
parent
commit
f6b40c00c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/change_project.js

+ 1 - 1
app/service/change_project.js

@@ -385,7 +385,7 @@ module.exports = app => {
                         change.cancancel = 4;// 审批人撤回退回原报
                     }
                 } else if (change.status === status.checkNo) {
-                    const onAuditor = this._.find(auditors, function(item) {
+                    const onAuditor = this._.findLast(auditors, function(item) {
                         return item.status === status.checkNo;
                     });
                     if (onAuditor && onAuditor.aid === accountId) {