lvhao 4 日 前
コミット
5505ed2ad0
1 ファイル変更13 行追加1 行削除
  1. 13 1
      template/erp/whlabelfz1_mgxxindex.html

+ 13 - 1
template/erp/whlabelfz1_mgxxindex.html

@@ -56,7 +56,9 @@
                     <li><span>确 定</span></li>
             </ul>
            
-                
+            <div class="control">
+                <a href="javascript:void(0);" class="scanlogs">按照时间导出表格</a>
+            </div>    
                 
             
             <table class="datatitle data" border="0" style="border-collapse:collapse;">
@@ -164,6 +166,16 @@
        
       
        
+    })
+    $(".scanlogs").on('click', function() {
+        let timetk = $("#timetk").val();
+        let timetj = $("#timetj").val();
+        let orderinfo = $("input[name='orderinfo']").val()
+        let url  = "/whlabelfz1/scanlogs?timetk="+timetk+"&timetj="+timetj;
+        if(orderinfo.length > 0){
+            url += "&orderinfo="+orderinfo;
+        }
+        window.location.href = url ;
     })
     $(".boundtj").on('click', ".esc", function() {
         console.log(456)