lvhao пре 1 дан
родитељ
комит
75c123979b
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      template/erp/workshopshow_xdshow.html

+ 3 - 1
template/erp/workshopshow_xdshow.html

@@ -733,7 +733,6 @@ h2 {
     function mgbhorders(type = 0){
         $.post("/workshopshow/mgbhorders",{page:page},function(res){
             if(res.code == 1){
-                alert(type)
                 if(type == 1){
                     page = page -1;
                 }else{
@@ -756,7 +755,10 @@ h2 {
     function getOrderList(that){
         let type = $(that).data("type");
         if(type == 1){
+            console.log("=================")
+            console.log(page)
             let tmp_page = page - 1;
+            console.log("---------------------")
             if(tmp_page <= 0){
                 layx.msg('已经是第一页了',{dialogIcon:'warn', position:'cc'});
                 return;