Bläddra i källkod

计量期会签或签获取人bug

ellisran 1 år sedan
förälder
incheckning
71487597a8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -2225,7 +2225,7 @@ module.exports = app => {
             const auditors = await this.ctx.service.stageAudit.getAuditors(stageId, times); // 全部参与的审批人
             const result = [];
             auditors.forEach(x => {
-                if (result.findIndex(r => { return x.aid === r.aid && x.audit_order === x.audit_order; }) < 0) {
+                if (result.findIndex(r => { return x.aid === r.aid && x.audit_order === r.audit_order; }) < 0) {
                     result.push(x);
                 }
             });