Browse Source

分页数量及页面调整

laiguoran 3 years ago
parent
commit
0b89bc9b9c
2 changed files with 3 additions and 2 deletions
  1. 1 1
      app/public/js/stage.js
  2. 2 1
      app/view/stage/index.ejs

+ 1 - 1
app/public/js/stage.js

@@ -4415,7 +4415,7 @@ function makeShouFang() {
 // 生成收方单列表
 function getShouFangList(currPageNum = 1) {
     // 每页最多几个附件
-    const pageCount = 15;
+    const pageCount = 20;
     // 附件总数
     const total = sfData.length;
     // 总页数

+ 2 - 1
app/view/stage/index.ejs

@@ -561,7 +561,7 @@
                             <!--所有附件 翻页-->
                             <span id="shoufang-showPage" class="ml-auto"><a href="javascript:void(0);" class="shoufang-page-select ml-3" content="pre"><i class="fa fa-chevron-left"></i></a> <span id="shoufang-currentPage">1</span>/<span id="shoufang-totalPage">10</span> <a href="javascript:void(0);" class="shoufang-page-select mr-3" content="next"><i class="fa fa-chevron-right"></i></a></span>
                         </div>
-                        <div class="sjs-height-3" style="overflow:auto; overflow-x:hidden;">
+                        <div class="sjs-height-6" style="overflow:auto; overflow-x:hidden;">
                             <table class="table table-sm table-bordered table-hover" style="word-break:break-all; table-layout: fixed">
                                 <tr><th>清单 / 计量单元</th><th width="40">附件</th><th width="100">收方单</th></tr>
                                 <tbody id="shoufang-table" class="list-table">
@@ -634,6 +634,7 @@
     }
     const tender = JSON.parse(unescape('<%- escape(JSON.stringify(tender)) %>'));
     const tenderInfo = JSON.parse(unescape('<%- escape(JSON.stringify(ctx.tender.info)) %>'));
+    console.log(tenderInfo);
     const thousandth = <%- ctx.tender.info.display.thousandth %>;
     const measureType = JSON.parse('<%- JSON.stringify(measureType) %>');
     const stage = JSON.parse(unescape('<%- escape(JSON.stringify(ctx.stage)) %>'));