瀏覽代碼

code sync

TonyKang 5 年之前
父節點
當前提交
0c59d3af31
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      modules/reports/rpt_component/jpc_rte.js

+ 5 - 3
modules/reports/rpt_component/jpc_rte.js

@@ -1,10 +1,12 @@
 /**
  * Created by Tony on 2016/12/28.
  */
-let strUtil = require('../../../public/stringUtil');
-let JV = require('./jpc_value_define');
-let JE = {
+const strUtil = require('../../../public/stringUtil');
+const scMathUtil = require('../../../public/scMathUtil').getUtil();
+const JV = require('./jpc_value_define');
+const JE = {
     $STR_UTIL: strUtil,
+    $SC_MATH_UTIL: scMathUtil,
     F: function(fID, $CURRENT_RPT) {
         let rst = null;
         if ($CURRENT_RPT && ($CURRENT_RPT.fields[JV.NODE_DETAIL_FIELDS][JV.PROP_ID + "_" + fID])) {