浏览代码

汇总表提示问题

MaiXinRong 5 年之前
父节点
当前提交
1ca0cfa1c9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/public/report/js/rpt_custom.js

+ 3 - 0
app/public/report/js/rpt_custom.js

@@ -358,6 +358,9 @@ const rptCustomObj = (function () {
             type: gsObj.setting.type,
         };
         const specCol = gsObj.setting.special ? gsObj.setting.special : [];
+        for (const sc of specCol) {
+            sc.sCount = 0;
+        }
         for (const gra of gsObj.grArray) {
             const ra = {tid: gra.tid};
             for (const sc of specCol) {