Sfoglia il codice sorgente

fix: 报表信息,建设项目汇总类型新增单项工程

lishihao 1 settimana fa
parent
commit
1f4f1d8986

+ 1 - 1
web/maintain/report/html/rpt_tpl_dtl_info.html

@@ -52,7 +52,7 @@
                 </div>
                 <div class="input-group col-3">
                     <div class="input-group-addon">建设项目汇总类型</div>
-                    <select class="form-control input-sm" id="element_constructSumFlags_select" onchange="zTreeOprObj.onChangeFlag('constructSumType', this)"><option value ="NA">N/A</option><option value ="constructSum">建设项目汇总</option></select>
+                    <select class="form-control input-sm" id="element_constructSumFlags_select" onchange="zTreeOprObj.onChangeFlag('constructSumType', this)"><option value ="NA">N/A</option><option value ="constructSum">建设项目汇总</option><option value="singleSum">单项项目汇总</option></select>
                 </div>
                 <div class="input-group col-2">
                     <div class="input-group-addon">审核对比类型</div>

+ 2 - 0
web/maintain/report/js/rpt_tpl_main.js

@@ -1322,6 +1322,8 @@ let zTreeOprObj = {
                 let val = me.currentNode.flags["constructSumType"];
                 if (val === "constructSum") {
                   $("#element_constructSumFlags_select")[0].selectedIndex = 1;
+                } else if (val === "singleSum") {
+                  $("#element_constructSumFlags_select")[0].selectedIndex = 2;
                 } else {
                   $("#element_constructSumFlags_select")[0].selectedIndex = 0;
                 }