12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>配送服务单</title>
- <link rel="stylesheet" href="__PUBLIC__/css/forms.css">
- </head>
- <body>
- <table width ="792px" border="1" cellpadding="0">
- <th colspan="6">{$shop_name}--配送服务单</th>
- <tr class="b">
- <td colspan="3">订单编号:{$order_info.order_num_alias}</td>
- <td colspan="2">交易单号:{$order_info.transaction_id}</td>
- <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 } ?>
- <?php if($order_info['payment_code'] == 'cashon_delivery'){ ?>货到付款 <?php } ?>
- </td>
- </tr>
- <tr class="b">
- <td colspan="3"><?php if($order_info['delivery'] == 'tuanz_send'){ ?>送货地址:{$order_info['tuan_send_address']}<?php } ?>
- <?php if($order_info['delivery'] == 'pickup'){ ?>取货地址:{$order_info['shipping_address']}<?php } ?>
- <?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 } ?>
- </td>
- <td colspan="1">买家:{$member['username']}</td>
- <td colspan="1">收货人:{$order_info['shipping_name']} </td>
- <td colspan="1">联系电话:{$order_info['shipping_tel']} </td>
- </tr>
- <tr class="b">
- <td colspan="2">买家备注:{$order_info['comment']}</td>
- <td colspan="2">卖家备注:{$order_info['remarksaler']} </td>
- <td colspan="2">{$order_note_name}:{$order_info['note_content']} </td>
- </tr>
- <tr class="a">
- <td class="td1">序号</td>
- <td class="td2">商品名称</td>
- <td class="td3">数量</td>
- <td class="td4">规格</td>
- <td class="td5">单价</td>
- <td class="td6">总价</td>
- </tr>
- <?php $i =1; $total_quantity =0;$total_money =0; ?>
- <?php foreach($need_order_goods as $goods){ ?>
- <tr class="a">
- <td class="num"><?php echo $i; ?></td>
- <td>{$goods['name']}</td>
- <td>{$goods['quantity']} <?php if($goods['has_refund_quantity'] > 0){ ?> (已退{$goods['has_refund_quantity']}) <?php } ?> </td>
- <td>{$goods['option_sku']}</td>
- <?php if($order_info['type'] == "integral"){ ?>
- <td>{:round($goods['price'])}积分</td>
- <td>{:round($goods['total'])}积分</td>
- <?php }else{ ?>
- <td>{:sprintf("%.2f",$goods['price'])}</td>
- <td>{:sprintf("%.2f",$goods['total'])}</td>
- <?php } ?>
- </tr>
- <?php $i++; $total_quantity += $goods['quantity'];$total_money+=$goods['total']; } ?>
- <tr class="a">
- <td class="num" colspan="2">合计</td>
- <td><?php echo $total_quantity; ?></td>
- <td></td>
- <td></td>
- <?php if($order_info['type'] == "integral"){ ?>
- <td>{:round($total_money)}积分</td>
- <?php }else{ ?>
- <td><?php echo sprintf("%.2f",$total_money); ?></td>
- <?php } ?>
- </tr>
- <tr>
- <td colspan="2">大写金额:</td>
- <td colspan="4" style='text-align:right;padding-right: 30px;'>{$legal_amount}</td>
- </tr>
- <tr>
- <td colspan="2">配货人签字:</td>
- <td colspan="2">送货人签字:</td>
- <td colspan="2">收货人签字:</td>
- </tr>
- <tr>
- <table width ="792px" border="1" cellpadding="0" rules="rows">
- <td>第一联仓库存根</td>
- <td>第二联收货人存根</td>
- <td>第三联财务存根</td>
- <td>第四联物流存根</td>
- </table>
- </tr>
- </table>
- </body>
- </html>
|