systemfout.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>订单号:<input value="" name="orderinfo" type="text" ></li>
  7. <li>编号:<input value="" name="number" type="text" ></li>
  8. <li>运单号:<input value="" name="waybill" type="text" ></li>
  9. <li>出库状态:<select name="library" class="select">
  10. <option value="1">未出库</option>
  11. <option value="2">已出库</option>
  12. </select></li>
  13. <li>快递公司:<select name="express" class="select">
  14. <option value="">请选择</option>
  15. {loop express(100) as $val}
  16. <option value="{$val['id']}">{$val['servicename']}</option>
  17. {/loop}</select>
  18. </li>
  19. <li>
  20. 店铺名称:<select name="shop" class="select">
  21. <option value="">请选择</option>
  22. {loop usershop() as $val}
  23. <option value="{$val['id']}">{$val['shopname']}</option>
  24. {/loop}</select>
  25. </li>
  26. <li>
  27. 仓库名称:<select name="type" class="select">
  28. <option value="">请选择</option>
  29. {loop $warehouse as $val}
  30. <option value="{$val['id']}">{$val['title']}</option>
  31. {/loop}</select>
  32. </li>
  33. <li>搜索品名:<input value="" name="so" type="text" style="width:250px"></li>
  34. <li>出库时间:<input id="timetk" value="{date('Y-m-d',time()-30*24*3600)} 19:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" readonly>
  35. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d',time())} 19:00" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" readonly></li>
  36. <li>
  37. 称重端口:<select name="com" class="select">
  38. <option value="COM3">COM3</option>
  39. <option value="COM4">COM4</option>
  40. <option value="COM1">COM1</option>
  41. <option value="COM2">COM2</option>
  42. <option value="COM5">COM5</option>
  43. <option value="COM6">COM6</option>
  44. <option value="COM7">COM7</option>
  45. <option value="COM8">COM8</option>
  46. <option value="COM9">COM9</option>
  47. <option value="COM10">COM10</option>
  48. <option value="COM11">COM11</option>
  49. </select>
  50. </li>
  51. <li><span>确 定</span></li>
  52. </ul>
  53. <div class="control">
  54. <b>扫描运单号:<input value="" name="orderinfo" id="orderinfo" type="text" ></b>
  55. <b>重量:
  56. <input name="weight" id="weight" type="text" value="" readonly>
  57. </b>
  58. <div class="tabprint">
  59. <select name="printer" class="select" style="width:220px;">
  60. <option value="">选择打印机</option>
  61. </select>
  62. </div>
  63. <input name="hidden" value="" id="hidden" type="hidden">
  64. <a href="javascript:void(0);" class="excel">导出Excel</a>
  65. <a href="javascript:void(0);" class="cpexcel">导出产品详情</a>
  66. </div>
  67. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  68. <tr>
  69. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  70. <td>店铺名称</td>
  71. <td>发货仓库</td>
  72. <td>订单号</td>
  73. <td>编号</td>
  74. <td>运单号</td>
  75. <td>快递公司</td>
  76. <td>打印状态</td>
  77. <td>出库状态</td>
  78. <td>出库时间</td>
  79. <td>仓库品名</td>
  80. </tr>
  81. </table>
  82. </div>
  83. <table class="datatext data" border="0" style="border-collapse:collapse;">
  84. </table>
  85. <div class="bomf"></div>
  86. </div>
  87. <div class="print none"></div>
  88. <div class="ts"><p class="tsn"></p></div>
  89. <div class="systemwindow">
  90. <div>
  91. <p></p>
  92. <p><font class="button">确 定</font><font class="esc">取 消</font></p>
  93. </div>
  94. </div>
  95. <div class="tyrows tyrowsout"><div><p></p><p></p></div></div>
  96. <audio id="music_d">
  97. <source src="{$theme}music/d.mp3" type="audio/mpeg">
  98. </audio>
  99. <audio id="music_c">
  100. <source src="{$theme}music/c.mp3" type="audio/mpeg">
  101. </audio>
  102. <audio id="music_print">
  103. <source src="{$theme}music/print.mp3" type="audio/mpeg">
  104. </audio>
  105. <audio id="music_print_error">
  106. <source src="{$theme}music/print_error.mp3" type="audio/mpeg">
  107. </audio>
  108. <audio id="music_print_ok">
  109. <source src="{$theme}music/print_ok.mp3" type="audio/mpeg">
  110. </audio>
  111. <span id="job" class="none"></span>
  112. <span id="site" class="none"></span>
  113. <script>
  114. var sysprint = 1;var systemfout = 1;
  115. var dataurl = "/systemfout/";var fdataurl = "/systemfout/";
  116. var customon = 1;
  117. function custom(){
  118. $(".data tr").each(function() {
  119. $(this).find('td:eq(0)').css("width","1%");
  120. $(this).find('td:eq(1)').css("width","9%");
  121. $(this).find('td:eq(2)').css("width","9%");
  122. $(this).find('td:eq(3)').css("width","9%");
  123. $(this).find('td:eq(4)').css("width","12%");
  124. $(this).find('td:eq(5)').css("width","9%");
  125. $(this).find('td:eq(6)').css("width","9%");
  126. $(this).find('td:eq(7)').css("width","6.5%");
  127. $(this).find('td:eq(8)').css("width","6.5%");
  128. $(this).find('td:eq(9)').css("width","9%");
  129. $(this).find('td:eq(10)').css("width","20%");
  130. $(this).find('td:eq(10)').css("font-size","12px");
  131. });}
  132. $(document).ready(function() {
  133. $("#orderinfo").focus();
  134. window.parent.parent.com();
  135. });
  136. $("select[name='com']").change(function() {
  137. window.parent.parent.com();
  138. });
  139. window.onload = function() {
  140. if(typeof $("select[name='printer']").length < 1) return;
  141. setTimeout(function(){ wprinter.printer()},1000);};
  142. </script>
  143. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  144. <script type="text/javascript" src="{$theme}js/print.js?v=202406260002"></script>
  145. {Template footer}