123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>
- 操作部门:<select name="transfer" class="select transfer">
- {if $vip == 1}
- <option value="">查看所有</option>
- {/if}
- {loop $transfer as $val}
- <option value="{$val['id']}">{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <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'})">
- 至 <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'})">
- <input type="hidden" name="orver_flag" value="{$orver_flag}">
- <input type="hidden" name="transfer_ids" value="{$transfer_ids}">
- </li>
- <li><span>确 定</span></li>
- <li class="none">
- </li>
- {if ($orver_flag == 2)}
- <li>
- <font class="cona overtime_express">按条件导出全部超时订单</font>
- </li>
- {/if}
- <li>
- <font class="cona lv_go_back" data-url="/transfer/operate" >返回</font>
- </li>
- <!--<li>
- <font class="cona dowot">下载Excel</font>
- </li>
- -->
- <!--<li>-->
- <!--<font class="cona xz">下载Excel</font>-->
- <!--</li>-->
- </ul>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
- <td>编码</td>
- <td>加急</td>
- <td>品名</td>
- <td>备注</td>
- <td>打印时间</td>
- <td>操作时间</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <div class="print none"></div>
- <div class="ts"><p class="tsn"></p></div>
- <div class="systemwindow">
- <div>
- <p></p>
- <p><font class="button">确 定</font><font class="esc">取 消</font></p>
- </div>
- </div>
- <div class="boundtj">
- <div>
- <p></p>
- <p><font class="button">确 定</font><font class="esc">取 消</font></p>
- </div>
- </div>
- <div class="tyrows"><div><p></p><p></p></div></div>
- <script>
- var sysprint = 1;var transfer = 1;
- var dataurl = "/transfer/wjsrk/";var fdataurl = "/transfer/wjsrk/";
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","1%");
- $(this).find('td:eq(1)').css("width","10%");
- $(this).find('td:eq(2)').css("width","3%");
- $(this).find('td:eq(3)').css("width","20%");
- $(this).find('td:eq(4)').css("width","25%");
- $(this).find('td:eq(5)').css("width","13%");
- $(this).find('td:eq(6)').css("width","25%");
- });}
- $(function(){
- $(".lv_go_back").off('click').on('click',function(){
- let url = $(this).data('url')
- window.location.href = url
- })
- })
- $(".overtime_express").off('click').on('click',function(){
- let str = "";
- let timetk = $("#timetk").val();
- let timetj = $("#timetj").val();
- let transfer = $(".transfer").val();
-
- // alert(timetk)
- // alert(timetj)
- // alert(transfer)
- //window.location.href ="/transfer/overtime_export?"
- if(transfer.length == 0){
- transfer = 0;
- }
- if(timetk.length ==0){
- tishi("请选择开始时间")
- return false;
- }
- if(timetj.length ==0){
- tishi("请选择截止时间")
- return false;
- }
- window.location.href ="/transfer/overtime_export?transfer="+transfer+"&timetk="+timetk+"&timetj="+timetj;
-
- })
- function tishi(msg){
- $(".systemwindow div p:eq(0)").html(msg);
- $(".systemwindow div p:eq(1)").html("<font class='printok'>确 定</font>");
- $(".systemwindow").show();
- }
- $(".systemwindow").on('click', ".printok", function() {
- //$(".search span").click();
- $(".systemwindow").hide();
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|