Преглед изворни кода

金额汇总,向上汇总

MaiXinRong пре 3 месеци
родитељ
комит
855c1efe91
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      app/public/js/spss_gather_stage_info.js

+ 2 - 0
app/public/js/spss_gather_stage_info.js

@@ -54,6 +54,8 @@ $(document).ready(() => {
                 node.sf_tp = tender.info.sf_tp;
                 node.end_sf_tp = tender.info.end_sf_tp;
             }, categoryLevel, true);
+            infoTree.setting.calcFields = ['total_price', 'contract_price', 'contract_tp', 'qc_tp', 'gather_tp', 'end_contract_tp', 'end_qc_tp', 'end_gather_tp', 'yf_tp', 'end_yf_tp', 'sf_tp', 'end_sf_tp'];
+            treeCalc.calculateAll(infoTree);
         },
         refreshInfoTree: function(categoryLevel) {
             this.rebuildInfoTree(categoryLevel);