forms.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>配送服务单</title>
  6. <link rel="stylesheet" href="__PUBLIC__/css/forms.css">
  7. </head>
  8. <body>
  9. <table width ="792px" border="1" cellpadding="0">
  10. <th colspan="6">{$shop_name}--配送服务单</th>
  11. <tr class="b">
  12. <td colspan="3">订单编号:{$order_info.order_num_alias}</td>
  13. <td colspan="2">交易单号:{$order_info.transaction_id}</td>
  14. <td colspan="1">付款方式:<?php if($order_info['payment_code'] == ''){ ?>未付款<?php } ?><?php if($order_info['payment_code'] == 'yuer'){ ?>余额支付 <?php } ?><?php if($order_info['payment_code'] == 'admin'){ ?>后台付款 <?php } ?><?php if($order_info['payment_code'] == 'weixin'){ ?>微信支付 <?php } ?></td>
  15. </tr>
  16. <tr class="b">
  17. <td colspan="3"><?php if($order_info['delivery'] == 'tuanz_send'){ ?>送货地址:{$order_info['tuan_send_address']}<?php } ?>
  18. <?php if($order_info['delivery'] == 'pickup'){ ?>取货地址:{$order_info['shipping_address']}<?php } ?>
  19. <?php if($order_info['delivery'] == 'express'){ ?>收货人:{$province_info['name']}{$city_info['name']}{$area_info['name']}{$order_info['shipping_address']}, {$order_info['shipping_name']}, {$order_info['shipping_tel']} <?php } ?>
  20. </td>
  21. <td colspan="2">买家:{$member['username']}</td>
  22. <td colspan="1">收货人:{$order_info['shipping_name']} </td>
  23. </tr>
  24. <tr class="b">
  25. <td colspan="3">订单备注:{$order_info['comment']}</td>
  26. <td colspan="2">联系电话:{$order_info['shipping_tel']} </td>
  27. <td colspan="1"></td>
  28. </tr>
  29. <tr class="a">
  30. <td class="td1">序号</td>
  31. <td class="td2">商品名称</td>
  32. <td class="td3">数量</td>
  33. <td class="td4">规格</td>
  34. <td class="td5">单价</td>
  35. <td class="td6">总价</td>
  36. </tr>
  37. <?php $i =0; $total_quantity =0;$total_money =0; ?>
  38. <?php foreach($need_order_goods as $goods){ ?>
  39. <tr class="a">
  40. <td class="num"><?php echo $i; ?></td>
  41. <td>{$goods['name']}</td>
  42. <td>{$goods['quantity']}</td>
  43. <td>{$goods['option_sku']}</td>
  44. <?php if($order_info['type'] == "integral"){ ?>
  45. <td>{:round($goods['price'])}积分</td>
  46. <td>{:round($goods['total'])}积分</td>
  47. <?php }else{ ?>
  48. <td>{:sprintf("%.2f",$goods['price'])}</td>
  49. <td>{:sprintf("%.2f",$goods['total'])}</td>
  50. <?php } ?>
  51. </tr>
  52. <?php $i++; $total_quantity += $goods['quantity'];$total_money+=$goods['total']; } ?>
  53. <tr class="a">
  54. <td class="num" colspan="2">合计</td>
  55. <td><?php echo $total_quantity; ?></td>
  56. <td></td>
  57. <td></td>
  58. <?php if($order_info['type'] == "integral"){ ?>
  59. <td>{:round($total_money)}积分</td>
  60. <?php }else{ ?>
  61. <td><?php echo sprintf("%.2f",$total_money); ?></td>
  62. <?php } ?>
  63. </tr>
  64. <tr>
  65. <td colspan="2">配货人签字:</td>
  66. <td colspan="2">送货人签字:</td>
  67. <td colspan="2">收货人签字:</td>
  68. </tr>
  69. <tr>
  70. <table width ="792px" border="1" cellpadding="0" rules="rows">
  71. <td>第一联仓库存根</td>
  72. <td>第二联收货人存根</td>
  73. <td>第三联财务存根</td>
  74. <td>第四联物流存根</td>
  75. </table>
  76. </tr>
  77. </table>
  78. </body>
  79. </html>