Browse Source

code sync

TonyKang 5 years ago
parent
commit
0c59d3af31
1 changed files with 5 additions and 3 deletions
  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])) {