Browse Source

fix(report): 报表模块方法修改

lishihao 2 years atrás
parent
commit
e0242a26ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      report/src/core/jpc_flow_tab.ts

+ 2 - 2
report/src/core/jpc_flow_tab.ts

@@ -2435,7 +2435,7 @@ export class JpcFlowTabClass {
         false
       );
       rst.isAutoHeight = true;
-      return { ...rst, realValue: `${data_field[rowIdx]}` };
+      return { ...rst, realValue: `${data_field[contentValInfo[2]]}` };
     } else {
       if (contentValInfo[3] > 0) showText = '';
       let rst = JpcCommonOutputHelper.createCommonOutput(
@@ -2457,7 +2457,7 @@ export class JpcFlowTabClass {
         false
       );
       rst.isAutoHeight = false;
-      return { ...rst, realValue: `${data_field[contentValInfo[3]]}` };
+      return { ...rst, realValue: `${data_field[contentValInfo[2]]}` };
     }
   }
   outputTabGrpLine(