Explorar o código

审批流程刷新相关

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
5a2c1b8e0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/middleware/stage_check.js

+ 1 - 1
app/middleware/stage_check.js

@@ -146,7 +146,7 @@ module.exports = options => {
                     if (sameAudit) {
                         for (const audit of auditList) {
                             const shenpi = shenpiList.find(x => { return x.audit_id === audit.aid; });
-                            if (!shenpi || shenpi.audit_order !== audit.audit_order) {
+                            if (!shenpi || shenpi.audit_order !== audit.audit_order || shenpi.audit_type !== audit.audit_type) {
                                 sameAudit = false;
                                 break;
                             }