Selaa lähdekoodia

汇总表提示问题

MaiXinRong 5 vuotta sitten
vanhempi
commit
1ca0cfa1c9
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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) {