Browse Source

审批人选择问题

MaiXinRong 4 years ago
parent
commit
e7bf094476
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/rpt_data_analysis.js

+ 1 - 1
app/lib/rpt_data_analysis.js

@@ -1424,6 +1424,7 @@ const loadCooperationData = {
         co_sign: [0,1,2,3],
     },
     _findSign: function (relaId, stageCooperation, auditor) {
+        if (!stageCooperation) return '';
         if (relaId.length > 0) {
             for (const id of relaId) {
                 const c = stageCooperation.find(x => {return x.ledger_id == id});
@@ -1463,7 +1464,6 @@ const loadCooperationData = {
                 if (data.stage_audit[cs] && data.stage_audit[cs].end_time)
                     d['co_sign' + (i+1)] = d.cooperation[cs] || (data.stage_audit[cs] ? data.stage_audit[cs].sign_path : '');
             }
-            console.log(d);
         }
     },
     fun: function (ctx, data, fieldsKey, options, csRela) {