Просмотр исходного кода

报表,模板自定义最大汇总标段数

MaiXinRong 1 год назад
Родитель
Сommit
338eacf32d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/public/report/js/rpt_custom.js

+ 1 - 1
app/public/report/js/rpt_custom.js

@@ -632,7 +632,7 @@ const rptCustomObj = (function () {
                 return;
             }
         }
-        if (data[sGatherSelect].tenders.length > 20) {
+        if (data[sGatherSelect].tenders.length > gsObj.setting.toplimit || 20) {
             hintObj.html('您选择的标段过多,请移除部分').show();
             return;
         }