<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发货单</title>
<style type="text/css">
#wrapper { font-size:12px; }
table { font-size:12px; margin-bottom:20px; border-collapse:collapse; border-spacing:0 }
.tab_print caption.title { font-size:18px; font-weight:bolder; }
.tab_print th, .tab_print td { font-size:12px; padding:10px 0 10px 10px; }
.tab_print th { width:70px; font-weight:normal; text-align:left }
.tab_print2 th, .tab_print2 td { padding:10px 5px; border:1px dashed #000; border-top:none; border-bottom:none; }
</style>
</head>

<body>
<div id="wrapper">
	<table class="tab_print" width="100%">
		<caption class="title">
		发货单
		</caption>
		<tr>
			<th>发货编号：</th>
			<td>{echo:$info['shipping_id'];/}</td>
			<th>订单号：</th>
			<td>{echo:$info['order_id'];/}</td>
			<th>支付单号：</th>
			<td>{echo:$info['pay_sn'];/}</td>
		</tr>
		<tr>
			<th>物流方式：</th>
			<td>{echo:$info['shipping_type'];/}</td>
			<th>物流公司：</th>
			<td>{echo:$info['shipping_company'];/}</td>
			<th>快递单号：</th>
			<td>{echo:$info['shipping_no'];/}</td>
		</tr>
		<tr>
			<th>收货人：</th>
			<td>{echo:$info['consignee'];/}</td>
			<th>收货地址：</th>
			<td>{echo:$info['consignee_address'];/}</td>
			<th>收货人电话:</th>
			<td>{echo:$info['consignee_tel'];/}</td>
		</tr>
		<tr>
			<th>发货日期：</th>
			<td colspan="5">{echo:$info['add_date'];/}</td>
		</tr>
	</table>
	<table class="tab_print2" cellpadding="0" cellspacing="0" width="100%">
		<thead>
			<tr>
				<th>序号</th>
				<th>产品名称</th>
				<th>价格</th>
				<th>数量</th>
				<th>小计</th>
			</tr>
		</thead>
		<tbody>
		{sta:if(!empty($order_info['order_goods'])) {
			foreach($order_info['order_goods'] as $v) [loop]}
			<tr>
				<td>1</td>
				<td>{echo:$v['goods_name'];/}</td>
				<td>{echo:$v['goods_price'];/}</td>
				<td>{echo:$v['order_num'];/}</td>
				<td>{echo:number_format($v['goods_price']*$v['order_num'],2,'.','');/}</td>
			</tr>
			{end:foreach/}
		{end:if/}

			<tr>
				<td>&nbsp;</td>
				<td></td>
				<td></td>
				<td align="right">运费：</td>
				<td>{echo:$order_info['transport_price'];/}</td>
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td align="right">订单总计：</td>
				<td>{echo:$order_info['order_amount'];/}</td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="7"></td>
			</tr>
			<tr>
				<td colspan="7" align="right">打单员:{echo:$user_name;/}</td>
			</tr>
		</tfoot>
	</table>
</div>
</body>
</html>
