Tony Kang 5 дней назад
Родитель
Сommit
293d33435f
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      app/public/report/js/rpt_format_setup.js

+ 7 - 0
app/public/report/js/rpt_format_setup.js

@@ -314,6 +314,7 @@ const reportFormatSetupObj = {
                 }
             }
         }
+        rst.sort((i1, i2) => {return i1 - i2});
         return rst;
     },
     _createTypeSelection: (dftSelection = 0) => {
@@ -337,6 +338,12 @@ const reportFormatSetupObj = {
         for (const fd of rptTpl['电子签名离散指标_集合']) {
             rst.fields_collection.push({ FID: +fd.ID, name: fd.Name });
         }
+        for (const fd of rptTpl['动态日期离散参数_集合']) {
+            rst.fields_collection.push({ FID: +fd.ID, name: fd.Name });
+        }
+        for (const fd of rptTpl['电子签名审核意见指标_集合']) {
+            rst.fields_collection.push({ FID: +fd.ID, name: fd.Name });
+        }
         const collectAdhocFields = (hfBandInfo) => {
             if (hfBandInfo && hfBandInfo.discrete_field_s) {
                 for (const field of hfBandInfo.discrete_field_s) {