| 
					
				 | 
			
			
				@@ -771,7 +771,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const unitFactor = JpcCommonHelper.getUnitFactor(rptTpl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 2.2 Column tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        rst = rst.concat(me.outputColumn(rptTpl, null, 1, 0, bands, unitFactor, 0, $CURRENT_RPT, null)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        rst = rst.concat(me.outputColumn(rptTpl, null, 1, 0, 0, bands, unitFactor, 0, $CURRENT_RPT, null)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 2.1 Content-Tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         rst = rst.concat(me.outputPreviewContent(rptTpl, bands, unitFactor, controls, pageStatus, maxRowRec)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 2.3 Sum Seg 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -806,14 +806,14 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.1 Content-Tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tabRstLst.push(me.outputContent(rptTpl, dataObj, page, bands, unitFactor, controls, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.2 Column tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            tabRstLst.push(me.outputColumn(rptTpl, dataObj, page, segIdx, bands, unitFactor, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tabRstLst.push(me.outputColumn(rptTpl, dataObj, page, segIdx, 0, bands, unitFactor, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.3 Sum Seg 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tabRstLst.push(me.outputSegSum(rptTpl, dataObj, page, segIdx, bands, unitFactor, controls, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.4 Sum Page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tabRstLst.push(me.outputPageSum(rptTpl, dataObj, page, segIdx, bands, unitFactor, controls, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.5 Group 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2.6 Discrete 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[page - 1], segIdx, 1, 0, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[page - 1], segIdx, 0, 1, 0, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 3. reset merge band position 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (bands[JV.BAND_PROP_MERGE_BAND] && adHocMergePos) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const mergedBand = bands[JV.BAND_PROP_MERGE_BAND]; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -832,6 +832,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const segIdx = JpcCommonHelper.getSegIdxByPageIdx(page, me.page_seg_map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const segPageIdx = JpcCommonHelper.getSegPageIdxByPage(page, me.page_seg_map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 1 calculate the band position 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             JpcBandHelper.setBandArea(bands, rptTpl, me.pageStatusLst[page - 1], !me.isEx, me.isEx); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 2. start to output detail-part 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -840,7 +841,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.1 Content-Tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 tabRstLst.push(me.outputContent(rptTpl, dataObj, actualPage, bands, unitFactor, controls, pi, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.2 Column tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                tabRstLst.push(me.outputColumn(rptTpl, dataObj, actualPage, segIdx, bands, unitFactor, pi, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tabRstLst.push(me.outputColumn(rptTpl, dataObj, actualPage, segIdx, segPageIdx, bands, unitFactor, pi, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.3 Sum Seg 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 tabRstLst.push(me.outputSegSum(rptTpl, dataObj, actualPage, segIdx, bands, unitFactor, controls, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.4 Sum Page 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -848,7 +849,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.5 Group 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 2.6 Discrete 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (pi === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[actualPage - 1], segIdx, 1, pi, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[actualPage - 1], segIdx, segPageIdx, 1, pi, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1214,7 +1215,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    JpcFlowTabResult.outputColumn = function(rptTpl, dataObj, page, segIdx, bands, unitFactor, multiColIdx, $CURRENT_RPT, customizeCfg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    JpcFlowTabResult.outputColumn = function(rptTpl, dataObj, page, segIdx, segPageIdx, bands, unitFactor, multiColIdx, $CURRENT_RPT, customizeCfg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let rst = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const FLOW_NODE_STR = me.isEx ? JV.NODE_FLOW_INFO_EX : JV.NODE_FLOW_INFO; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1223,7 +1224,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (band) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const pageStatus = me.pageStatusLst[page - 1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (pageStatus[band[JV.BAND_PROP_DISPLAY_TYPE]]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, bands, band, unitFactor, tab, multiColIdx, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, segPageIdx, bands, band, unitFactor, tab, multiColIdx, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return rst; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1281,7 +1282,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     cellItem[JV.PROP_AREA] = JpcAreaHelper.outputArea(tab_fields[i][JV.PROP_AREA], band, unitFactor, 1, 0, 1, 0, me.multiCols, 0, false, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rst.push(cellItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, bands, band, unitFactor, tab, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, 0, bands, band, unitFactor, tab, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return rst; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1312,7 +1313,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     cellItem[JV.PROP_AREA] = JpcAreaHelper.outputArea(tab_fields[i][JV.PROP_AREA], band, unitFactor, 1, 0, 1, 0, me.multiCols, 0, false, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rst.push(cellItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, bands, band, unitFactor, tab, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                rst = rst.concat(me.commonTabRestOutput(dataObj, page, segIdx, 0, bands, band, unitFactor, tab, 0, $CURRENT_RPT, customizeCfg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return rst; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1398,7 +1399,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    JpcFlowTabResult.commonTabRestOutput = function(dataObj, page, segIdx, bands, band, unitFactor, tab, multiColIdx, $CURRENT_RPT, customizeCfg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    JpcFlowTabResult.commonTabRestOutput = function(dataObj, page, segIdx, segPageIdx, bands, band, unitFactor, tab, multiColIdx, $CURRENT_RPT, customizeCfg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let rst = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (tab[JV.PROP_TEXT]) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1410,7 +1411,7 @@ JpcFlowTabSrv.prototype.createNew = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (tab[JV.NODE_DISCRETE_INFO]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            rst = rst.concat(JpcDiscreteHelper.outputDiscreteInfo(tab[JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[page - 1], segIdx, 1, 0, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            rst = rst.concat(JpcDiscreteHelper.outputDiscreteInfo(tab[JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[page - 1], segIdx, segPageIdx, 1, 0, $CURRENT_RPT, customizeCfg, me.signatureRst, me.signatureDateRst, me.signatureAuditRst)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return rst; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 |