forms.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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">付款方式:
  15. <?php if($order_info['payment_code'] == ''){ ?>未付款<?php } ?>
  16. <?php if($order_info['payment_code'] == 'yuer'){ ?>余额支付 <?php } ?>
  17. <?php if($order_info['payment_code'] == 'admin'){ ?>后台付款 <?php } ?>
  18. <?php if($order_info['payment_code'] == 'weixin'){ ?>微信支付 <?php } ?>
  19. <?php if($order_info['payment_code'] == 'cashon_delivery'){ ?>货到付款 <?php } ?>
  20. </td>
  21. </tr>
  22. <tr class="b">
  23. <td colspan="3"><?php if($order_info['delivery'] == 'tuanz_send'){ ?>送货地址:{$order_info['tuan_send_address']}<?php } ?>
  24. <?php if($order_info['delivery'] == 'pickup'){ ?>取货地址:{$order_info['shipping_address']}<?php } ?>
  25. <?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 } ?>
  26. </td>
  27. <td colspan="1">买家:{$member['username']}</td>
  28. <td colspan="1">收货人:{$order_info['shipping_name']} </td>
  29. <td colspan="1">联系电话:{$order_info['shipping_tel']} </td>
  30. </tr>
  31. <tr class="b">
  32. <td colspan="2">买家备注:{$order_info['comment']}</td>
  33. <td colspan="2">卖家备注:{$order_info['remarksaler']} </td>
  34. <td colspan="2">{$order_note_name}:{$order_info['note_content']} </td>
  35. </tr>
  36. <tr class="a">
  37. <td class="td1">序号</td>
  38. <td class="td2">商品名称</td>
  39. <td class="td3">数量</td>
  40. <td class="td4">规格</td>
  41. <td class="td5">单价</td>
  42. <td class="td6">总价</td>
  43. </tr>
  44. <?php $i =1; $total_quantity =0;$total_money =0; ?>
  45. <?php foreach($need_order_goods as $goods){ ?>
  46. <tr class="a">
  47. <td class="num"><?php echo $i; ?></td>
  48. <td>{$goods['name']}</td>
  49. <td>{$goods['quantity']} <?php if($goods['has_refund_quantity'] > 0){ ?> (已退{$goods['has_refund_quantity']}) <?php } ?> </td>
  50. <td>{$goods['option_sku']}</td>
  51. <?php if($order_info['type'] == "integral"){ ?>
  52. <td>{:round($goods['price'])}积分</td>
  53. <td>{:round($goods['total'])}积分</td>
  54. <?php }else{ ?>
  55. <td>{:sprintf("%.2f",$goods['price'])}</td>
  56. <td>{:sprintf("%.2f",$goods['total'])}</td>
  57. <?php } ?>
  58. </tr>
  59. <?php $i++; $total_quantity += $goods['quantity'];$total_money+=$goods['total']; } ?>
  60. <tr class="a">
  61. <td class="num" colspan="2">合计</td>
  62. <td><?php echo $total_quantity; ?></td>
  63. <td></td>
  64. <td></td>
  65. <?php if($order_info['type'] == "integral"){ ?>
  66. <td>{:round($total_money)}积分</td>
  67. <?php }else{ ?>
  68. <td><?php echo sprintf("%.2f",$total_money); ?></td>
  69. <?php } ?>
  70. </tr>
  71. <tr>
  72. <td colspan="2">大写金额:</td>
  73. <td colspan="4" style='text-align:right;padding-right: 30px;'>{$legal_amount}</td>
  74. </tr>
  75. <tr>
  76. <td colspan="2">配货人签字:</td>
  77. <td colspan="2">送货人签字:</td>
  78. <td colspan="2">收货人签字:</td>
  79. </tr>
  80. <tr>
  81. <table width ="792px" border="1" cellpadding="0" rules="rows">
  82. <td>第一联仓库存根</td>
  83. <td>第二联收货人存根</td>
  84. <td>第三联财务存根</td>
  85. <td>第四联物流存根</td>
  86. </table>
  87. </tr>
  88. </table>
  89. </body>
  90. </html>