Quellcode durchsuchen

章分页逻辑补漏

TonyKang vor 4 Jahren
Ursprung
Commit
07db367398
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      modules/reports/rpt_component/jpc_flow_tab.js

+ 1 - 0
modules/reports/rpt_component/jpc_flow_tab.js

@@ -612,6 +612,7 @@ JpcFlowTabSrv.prototype.createNew = function(){
                 while (true) {
                     if (currentRecAmt > 0) pageStatus[JV.STATUS_SEGMENT_START] = false;
                     if (pageIdx > 0) pageStatus[JV.STATUS_REPORT_START] = false;
+                    private_resetBandArea(); // 这里得预先算maxRowRec(实际数据情况,会有章首页框,在章数据多的情况下,章第二页开始就得补上章首页框不显示遗留下来的row)
                     //开始判断各种scenarios
                     adHocAutoHeightAmt = 0;
                     if (me.auto_height_fields_idx.length > 0) {