Przeglądaj źródła

养护基数说明:根据表达式自动解析出说明,无需手工录入模板。

chenshilong 4 lat temu
rodzic
commit
8481f56a32
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      web/building_saas/main/js/models/calc_program.js

+ 1 - 0
web/building_saas/main/js/models/calc_program.js

@@ -2113,6 +2113,7 @@ class CalcProgram {
         item.dispExprUser = analyzer.getDispExprUser(item.dispExpr, lc);
         if (item.expression == "HJ") item.compiledExpr = "$CE.HJ()";
         else item.compiledExpr = analyzer.getCompiledExpr(item.expression, lc);
+        item.statement = analyzer.getStatement(item.expression, template);
 
         if (item.feeRateID) {
           let orgFeeRate = item.feeRate;