print.htm 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <title>&nbsp;</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta http-equiv="cache-control" content="no-cache">
  7. <meta http-equiv="expires" content="0">
  8. <link rel="stylesheet" type="text/css" href="/admin/orders/print/print.css">
  9. <script type="text/javascript" src="/admin/script/jquery.min.js"></script>
  10. <script type="text/javascript" src="/admin/orders/print/msswms_print.js"></script>
  11. </head>
  12. <body>
  13. <div id="print-content">
  14. <div class="headInfo" id="headerInfo">
  15. <table class="top_table_print top_table_print_change">
  16. <tr style="height: 40px;line-height: 40px;">
  17. <td>订单号:${orders.code!}</td>
  18. <td>创建时间:${orders.create_date!,dateFormat='yyyy-MM-dd HH:mm'}</td>
  19. </tr>
  20. <tr style="height: 40px;line-height: 40px;">
  21. <td>收件人:${orders.take_name!}</td>
  22. <td>手机号:${orders.take_phone!}</td>
  23. </tr>
  24. <tr style="height: 40px;line-height: 40px;">
  25. <td>邮编:${orders.take_post_code!}</td>
  26. <td>收件地址:${orders.take_area_msg!}&nbsp;&nbsp;${orders.take_address!}</td>
  27. </tr>
  28. ##if(orders.remark!=null && orders.remark!=""){
  29. <tr style="height: 40px;line-height: 40px;">
  30. <td colspan="2">订单备注:${orders.remark!}</td>
  31. </tr>
  32. ##}
  33. ##if(orders.invoice_name!=null && orders.invoice_name!=""){
  34. <tr style="height: 40px;line-height: 40px;">
  35. <td colspan="2">
  36. <span>发票抬头:${orders.invoice_name!}</span>
  37. <span style="margin-left: 25px;">发票税号:${orders.invoice_number!}</span>
  38. </td>
  39. </tr>
  40. ##}
  41. </table>
  42. </div>
  43. <table class="top_table_print" id="tabContent" style="margin-top: -1px">
  44. <tr>
  45. <td style="text-align: center;">商品</td>
  46. <td width="150px" style="text-align: center;">规格</td>
  47. <td width="150px" style="text-align: center;">数量/箱(1箱=24瓶)</td>
  48. <td width="100px" style="text-align: center;">单价</td>
  49. <td width="100px" style="text-align: center;">小计</td>
  50. </tr>
  51. ##for(_item in item_list!){
  52. <tr>
  53. <td><img src="${_item.diy_img_url!}" style="height: 200px;" /></td>
  54. <td>${_item.bottle_title!}&nbsp;|&nbsp;${_item.bottle_type_title!}</td>
  55. <td>${_item.item_number!}箱</td>
  56. <td>${_item.item_price!}</td>
  57. <td>${_item.subtotal!}</td>
  58. </tr>
  59. ##}
  60. </table>
  61. <div class="signatureArea" id="footerInfo">
  62. <span class="floatRight pageNum">1/1</span>
  63. </div>
  64. <div id="action-buttons" class="noPrint" style="text-align: center;">
  65. <input onclick="javasricpt:window.print()" type="button" value="立即打印" class="btn" style="padding: 5px 10px;" />
  66. </div>
  67. </div>
  68. </body>
  69. </html>