123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>编号:<input value="" name="number" type="text"></li>
- <!--
- <li>在库状态:<select name="wiglibrary" class="select">
- <option value="">请选择</option>
- <option value="1">已入库</option>
- <option value="2">已出库</option>
- </select></li>
- -->
- <li>布标打印状态:<select name="wigprint" class="select">
- <option value="1">未打印</option>
- <option value="2">已打印</option>
- <option value="">全部</option>
- </select></li>
- <li>
- 时间筛选:<select name="time" class="select">
- <option value="wiglibraryrtime">扫码时间</option>
- <option value="printtime">发货单时间</option>
- <option value="wigprinttime">布标打印时间</option>
- <!--<option value="wiglibraryctime">出库时间</option>-->
- </select>
- </li>
- <li><input id="timetk" value="{date('Y-m-d',time()-30*24*3600)} 17:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" readonly>
- 至 <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'})" readonly></li>
- <li><span>确 定</span></li>
- <select name="czwarehouse" class="select none">
- <option value="{$czwarehouse}">{$czwarehouse}</option>
- </select>
- </ul>
- <div class="control zjcz">
- <div class="tabprint">
- <select name="printer" class="select" style="width:220px;">
- <option value="">选择打印机</option>
- </select>
- <b>扫描:<input value="" name="barcode" id="barcode" type="text" ></b>
- </div>
- <a href="javascript:void(0);" class="bbprint">打 印</a>
- <a href="javascript:void(0);" class="wigprintexcel">导出Excel</a>
- </div>
- <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="wigprintk">
- <div>
- <p></p>
- <p><font class="wigprintqd">确 定</font></p>
- </div>
- </div>
- <div class="tyrows"><div><p></p><p></p></div></div>
- <div class="list"><div><p>操作配置</p><ul class="fj"></ul><em></em></div></div>
- <audio id="music_d">
- <source src="{$theme}music/d.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_c">
- <source src="{$theme}music/c.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print">
- <source src="{$theme}music/print.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print_error">
- <source src="{$theme}music/print_error.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print_ok">
- <source src="{$theme}music/print_ok.mp3" type="audio/mpeg">
- </audio>
- <span id="job" class="none"></span>
- <span id="site" class="none"></span>
- <script>
- var dataurl = "/wigprint/";var fdataurl = "/wigprint/";var ckty = "/wigprint/rk";var printurl = "/wigprint/bbprint/"; var jcprint = 2;//是否检测打印1检测2不检测
- function dyfs(data)
- {
- wprinter.bubiao(data);//打印方式
- }
- var sysprint = 1;
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","1%");
- $(this).find('td:eq(5)').css("width","40%");
- });}
- $(document).ready(function() {
- $("#barcode").focus();
- });
- $(".wigprintexcel").click(function() {
- var f = "";
- $(".select").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
- });
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- $("input:hidden").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- var t = "";
- var i = 0;
- $(".datatitle td").each(function() {
- if (i > 0) {
- t = t + "<td>" + $(this).text() + "</td>";
- }
- i++;
- });
- var a = "";
- $(".datatext input[name='check']:checked").each(function() {
- a = a + $(this).val() + ",";
- });
- f = f + "excel=1&a=" + a + "&t=" + t;
- window.location.href = "/wigprint//excel?fexcel=1&" + f;
- $("select[name=fexcel] option:eq(0)").prop('selected', 'selected');
- });
- window.onload = function() {
- if(typeof $("select[name='printer']").length < 1) return;
- setTimeout(function(){ wprinter.printer()},1000);};
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- <script type="text/javascript" src="{$theme}js/print.js?v=202306260001"></script>
- {Template footer}
|