Explorar o código

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

lishihao %!s(int64=3) %!d(string=hai) anos
pai
achega
a249a610c7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      report/src/core/jpc_ex.ts

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

@@ -223,7 +223,7 @@ export class JpcExClass {
           mergeRst.Top = parseInt(mergedBand.Top.toFixed(0));
           mergeRst.Bottom = parseInt(mergedBand.Bottom.toFixed(0));
         }
-        return null;
+        return mergeRst;
       }
       //1.
       let rstPage: IRstPage = {
@@ -243,7 +243,7 @@ export class JpcExClass {
           bands,
           rst.control_collection,
           me,
-          null as unknown as ICustomizeCfg
+          (null as unknown) as ICustomizeCfg
         ); //方法中定义了5个参数,这里只传进去了4个参数,故加一个参数,by lish
       } else if (me.billTab) {
         rstPage.cells = me.billTab.outputAsPreviewPage(