systemprint.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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="print" class="select">
  10. <option value="2">未打印</option>
  11. <option value="3">已打印</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>
  34. 产品分类:<select name="ckfl" class="select">
  35. <option value="">请选择</option>
  36. {loop typeclass(37,100) as $val}
  37. <option value="{$val['id']}">{$val['title']}</option>
  38. {/loop}</select>
  39. </li>
  40. <li>
  41. 是否现货:<select name="sfxh" class="select">
  42. <option value="">请选择</option>
  43. <option value="1">有现货</option>
  44. <option value="0">无现货</option>
  45. </select>
  46. </li>
  47. <li>搜索品名:<input value="" name="so" type="text" style="width:260px"></li>
  48. <li>颜色:<select name="color" class="select">
  49. <option value="">请选择</option>{loop typeclassyc(8) as $val}
  50. <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>{/loop}</select></li>
  51. <li>曲度:<select name="lowe" class="select">
  52. <option value="">请选择</option>{loop typeclassyc(15) as $val}
  53. <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>{/loop}</select></li>
  54. <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>
  55. 至&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>
  56. <li><span>确 定</span></li>
  57. </ul>
  58. <div class="control zjcz">
  59. <div class="tabprint">
  60. 快递面单:<select name="printer" class="select" style="width:220px;">
  61. <option value="">选择打印机</option>
  62. </select>
  63. <!-- 发票:<select name="fp_printer" class="select" style="width:220px;">
  64. <option value="">选择打印机</option>
  65. </select> -->
  66. </div>
  67. <a href="javascript:void(0);" class="printing">打 印</a>
  68. <a href="javascript:void(0);" class="exceldy">导出Excel</a>
  69. </div>
  70. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  71. <tr>
  72. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  73. <td>店铺名称</td>
  74. <td>订单号</td>
  75. <td>编号</td>
  76. <td>快递公司</td>
  77. <td>运单号</td>
  78. <td>状态</td>
  79. <td>类型</td>
  80. <td>次数</td>
  81. <td>打印时间</td>
  82. <td>仓库品名</td>
  83. </tr>
  84. </table>
  85. </div>
  86. <table class="datatext data" border="0" style="border-collapse:collapse;">
  87. </table>
  88. <div class="bomf"></div>
  89. </div>
  90. <div class="print none"></div>
  91. <div class="ts"><p class="tsn"></p></div>
  92. <div class="systemwindow">
  93. <div>
  94. <p>是否确定删除所选信息?</p>
  95. <p><font class="button">确 定</font><font class="esc">取 消</font></p>
  96. </div>
  97. </div>
  98. <div class="tyrows"><div><p></p><p></p></div></div>
  99. <div class="list"><div><p>操作配置</p><ul class="fj"></ul><em></em></div></div>
  100. <span id="job" class="none"></span>
  101. <span id="site" class="none"></span>
  102. <script>
  103. var dataurl = "/systemprint/";var fdataurl = "/systemprint/";
  104. var sysprint = 1;
  105. var customon = 1;
  106. function custom(){
  107. $(".data tr").each(function() {
  108. $(this).find('td:eq(0)').css("width","1%");
  109. $(this).find('td:eq(1)').css("width","9%");
  110. $(this).find('td:eq(2)').css("width","9%");
  111. $(this).find('td:eq(3)').css("width","13%");
  112. $(this).find('td:eq(4)').css("width","9%");
  113. $(this).find('td:eq(5)').css("width","9%");
  114. $(this).find('td:eq(6)').css("width","5%");
  115. $(this).find('td:eq(7)').css("width","4%");
  116. $(this).find('td:eq(8)').css("width","5%");
  117. $(this).find('td:eq(9)').css("width","9%");
  118. $(this).find('td:eq(10)').css("width","27%");
  119. $(this).find('td:eq(10)').css("font-size","12px");
  120. });}
  121. window.onload = function() {
  122. if(typeof $("select[name='printer']").length < 1) return;
  123. setTimeout(function(){ wprinter.printer()},1000);
  124. // setTimeout(function(){
  125. // let h = $("select[name='printer']").html()
  126. // $("select[name='fp_printer']").html(h)
  127. // },1100)
  128. };
  129. </script>
  130. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  131. <script type="text/javascript" src="{$theme}js/print.js?v=202206100001"></script>
  132. {Template footer}