lvhao 12 horas atrás
pai
commit
749e8ef237
1 arquivos alterados com 2 adições e 11 exclusões
  1. 2 11
      template/erp/workshopshow_xdshow.html

+ 2 - 11
template/erp/workshopshow_xdshow.html

@@ -580,7 +580,7 @@ h2 {
 
         <!-- 3. 分页组件 (独立一行) -->
         <div class="pagination-section">
-            <a href="javascript:void(0);" id="syy" class="page-btn disabled" data-type="1" onclick="getOrderList(this)">上一页</a>
+            <a href="javascript:void(0);" id="syy" class="page-btn" data-type="1" onclick="getOrderList(this)">上一页</a>
             <a href="javascript:void(0);" id="xyy" class="page-btn" data-type="2"  onclick="getOrderList(this)">下一页</a>
         </div>
     </div>
@@ -750,20 +750,11 @@ h2 {
     }
     function getOrderList(that){
         let type = $(that).data("type");
-        if($(that).hasClass("disabled")){
-            if(type == 1){
-                layx.msg('已经是第一页了',{dialogIcon:'warn', position:'cc'});
-            }else{
-                layx.msg('已经是最后一页了',{dialogIcon:'warn', position:'cc'});
-            }
-            return ;
-        }
-
         
         if(type == 1){
             let tmp_page = page - 1;
             if(tmp_page <= 0){
-                layx.msg('已经是第一页了');
+                layx.msg('已经是第一页了',{dialogIcon:'warn', position:'cc'});
                 return;
             }
             page = tmp_page;