transfer_wjsrk.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 操作部门:<select name="transfer" class="select transfer">
  8. {if $vip == 1}
  9. <option value="">查看所有</option>
  10. {/if}
  11. {loop $transfer as $val}
  12. <option value="{$val['id']}">{$val['title']}</option>
  13. {/loop}
  14. </select>
  15. </li>
  16. <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'})">
  17. 至&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'})">
  18. <input type="hidden" name="orver_flag" value="{$orver_flag}">
  19. <input type="hidden" name="transfer_ids" value="{$transfer_ids}">
  20. </li>
  21. <li><span>确 定</span></li>
  22. <li class="none">
  23. </li>
  24. {if ($orver_flag == 2)}
  25. <li>
  26. <font class="cona overtime_express">按条件导出全部超时订单</font>
  27. </li>
  28. {/if}
  29. <li>
  30. <font class="cona lv_go_back" data-url="/transfer/operate" >返回</font>
  31. </li>
  32. <!--<li>
  33. <font class="cona dowot">下载Excel</font>
  34. </li>
  35. -->
  36. <!--<li>-->
  37. <!--<font class="cona xz">下载Excel</font>-->
  38. <!--</li>-->
  39. </ul>
  40. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  41. <tr>
  42. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  43. <td>编码</td>
  44. <td>加急</td>
  45. <td>品名</td>
  46. <td>备注</td>
  47. <td>打印时间</td>
  48. <td>操作时间</td>
  49. </tr>
  50. </table>
  51. </div>
  52. <table class="datatext data" border="0" style="border-collapse:collapse;">
  53. </table>
  54. <div class="bomf"></div>
  55. </div>
  56. <div class="print none"></div>
  57. <div class="ts"><p class="tsn"></p></div>
  58. <div class="systemwindow">
  59. <div>
  60. <p></p>
  61. <p><font class="button">确 定</font><font class="esc">取 消</font></p>
  62. </div>
  63. </div>
  64. <div class="boundtj">
  65. <div>
  66. <p></p>
  67. <p><font class="button">确 定</font><font class="esc">取 消</font></p>
  68. </div>
  69. </div>
  70. <div class="tyrows"><div><p></p><p></p></div></div>
  71. <script>
  72. var sysprint = 1;var transfer = 1;
  73. var dataurl = "/transfer/wjsrk/";var fdataurl = "/transfer/wjsrk/";
  74. var customon = 1;
  75. function custom(){
  76. $(".data tr").each(function() {
  77. $(this).find('td:eq(0)').css("width","1%");
  78. $(this).find('td:eq(1)').css("width","10%");
  79. $(this).find('td:eq(2)').css("width","3%");
  80. $(this).find('td:eq(3)').css("width","20%");
  81. $(this).find('td:eq(4)').css("width","25%");
  82. $(this).find('td:eq(5)').css("width","13%");
  83. $(this).find('td:eq(6)').css("width","25%");
  84. });}
  85. $(function(){
  86. $(".lv_go_back").off('click').on('click',function(){
  87. let url = $(this).data('url')
  88. window.location.href = url
  89. })
  90. })
  91. $(".overtime_express").off('click').on('click',function(){
  92. let str = "";
  93. let timetk = $("#timetk").val();
  94. let timetj = $("#timetj").val();
  95. let transfer = $(".transfer").val();
  96. // alert(timetk)
  97. // alert(timetj)
  98. // alert(transfer)
  99. //window.location.href ="/transfer/overtime_export?"
  100. if(transfer.length == 0){
  101. transfer = 0;
  102. }
  103. if(timetk.length ==0){
  104. tishi("请选择开始时间")
  105. return false;
  106. }
  107. if(timetj.length ==0){
  108. tishi("请选择截止时间")
  109. return false;
  110. }
  111. window.location.href ="/transfer/overtime_export?transfer="+transfer+"&timetk="+timetk+"&timetj="+timetj;
  112. })
  113. function tishi(msg){
  114. $(".systemwindow div p:eq(0)").html(msg);
  115. $(".systemwindow div p:eq(1)").html("<font class='printok'>确 定</font>");
  116. $(".systemwindow").show();
  117. }
  118. $(".systemwindow").on('click', ".printok", function() {
  119. //$(".search span").click();
  120. $(".systemwindow").hide();
  121. });
  122. </script>
  123. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  124. {Template footer}