lvhao 2 روز پیش
والد
کامیت
d3579df47a
1فایلهای تغییر یافته به همراه12 افزوده شده و 2 حذف شده
  1. 12 2
      template/erp/whlabel_bh_cj_transfer_log.html

+ 12 - 2
template/erp/whlabel_bh_cj_transfer_log.html

@@ -17,7 +17,8 @@
 <li>扫描时间:<input id="timetk"  value="{date('Y-m-d',time()-14*24*3600)} 0:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
 	至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d',time()+24*3600)} 0:00" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
     <input type="hidden" name="tid" value="{$transfer['id']}">
-<li><span>确 定</span></li>
+<li><span>确 定</span>   </li>
+<li><font class="cona "  style="color:#fff;background-color: #e73;" onclick="hantongji()">查询(含统计)</font> </li>
 <br/>
 <li style="margin-right: 30px;">
     <font class="cona " style="color:#fff;background-color: #f33;">当前部门:<font id="dqbm">{$transfer['title']}</font></font>
@@ -86,6 +87,14 @@ $(this).find('td:eq(8)').css("width","5%");
 
 $("select[name='transfer']").on("change",function(){
     var tid = $(this).val();
+    showListPage(tid);
+})
+function hantongji(){
+    var tid = $("input[name='tid']").val();
+    showListPage(tid);
+   
+}
+function showListPage(tid){
     $("input[name='tid']").val(tid);
     $("#dqbm").text($("select[name='transfer'] option:selected").text());
     $(".search span").click();
@@ -105,7 +114,8 @@ $("select[name='transfer']").on("change",function(){
             $("#wgzs").text(res.data.wgzs);
         }
     },'json')
-})
+}
+
 window.onload = function() { 
 // if(typeof $("select[name='printer']").length < 1) return;
 // setTimeout(function(){ wprinter.printer()},1000);