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) {