Browse Source

定额的计算程序模板根据ID实时读取

Chenshilong 7 years ago
parent
commit
6a8d7e737a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/calc_util.js

+ 1 - 1
public/calc_util.js

@@ -374,7 +374,7 @@ class Calculation {
 
     calculate($treeNode){
         let me = this;
-        let templateID = $treeNode.data.calcTemplateID;
+        let templateID = $treeNode.data.programID;
         if (!templateID) templateID = 1;
         let template = me.compiledTemplates[templateID];
         $treeNode.data.calcTemplate = template;