Browse Source

材差表打印出错问题

Tony Kang 10 tháng trước cách đây
mục cha
commit
0443d704b1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/controller/report_controller.js

+ 2 - 0
app/controller/report_controller.js

@@ -1167,6 +1167,8 @@ module.exports = app => {
                 stgAudit = [];
                 await this._commonGetAudit(ctx, params, stgAudit);
                 this._mergeBlankRoleSignDate(roleRel, stgAudit);
+            } else if ([-400, -500].includes(params.stage_id)) {
+                stgAudit = [];
             }
 
             mergeStampSignature(ctx, params.stage_status, pageRstArr, roleRel, params.rpt_ids, stgAudit, stageList);