소스 검색

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

MaiXinRong 1 년 전
부모
커밋
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;
         }