Explorar el Código

报表预处理,交叉多期汇总数据,sorder计算

MaiXinRong hace 5 años
padre
commit
c589210250
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/lib/rpt_data_analysis.js

+ 1 - 1
app/lib/rpt_data_analysis.js

@@ -1407,7 +1407,7 @@ const stageSelectConverse = {
         for (const s of stages) {
             const curReg = new RegExp('^s_' + s + '_');
             for (const [i, d] of data.entries()) {
-                const nd = { cross_index: i + 1 };
+                const nd = { cross_index: i + 1, s_order: s };
                 for (const prop in d) {
                     if (reg.test(prop)) {
                         if (curReg.test(prop)) {