Sfoglia il codice sorgente

汇总表提示问题

MaiXinRong 5 anni fa
parent
commit
1ca0cfa1c9
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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) {