<div class="container">
	<table class="m_10" width="100%" cellspacing="0" cellpadding="0" border="0">
		<colgroup>
			<col width="30%" />
			<col width="30%" />
			<col />
		</colgroup>

		<tr>
			<td align="left">
				<p>
					订单号:{$order_no}<br />
					日期:{echo:date('Y-m-d',strtotime($create_time))}
				</p>
			</td>
			<td class="f18">配货清单</td>
			<td valign="bottom" align="right"><p>客户:{$accept_name}<span class="ml_20">电话:{$mobile}</span></p></td>
		</tr>
	</table>

	<table class="table" width="100%" cellspacing="0" cellpadding="0" border="1">
		<colgroup>
			<col width="400px" />
			<col width="160px" />
			<col width="120px" />
			<col width="100px" />
			<col width="120px" />
		</colgroup>

		<tbody>
			<tr class="f14">
				<th>商品名称</th>
				<th>商品货号</th>
				<th>单价</th>
				<th>数量</th>
				<th>小计</th>
			</tr>
			{query:name=order_goods where=order_id eq $id}
			{set:$goodsRow = JSON::decode($item['goods_array'])}
			<tr>
				<td align="left">
					<label>
						{$goodsRow['name']} &nbsp;
						<span class="gray">{$goodsRow['value']}</span>
						{query:name=brand as b join=left join goods as go on go.brand_id eq b.id fields=b.name where=go.id eq $item[goods_id] item=$brand}
						【{$brand['name']}】
						{/query}
					</label>
				</td>
				<td>{$goodsRow['goodsno']}</td>
				<td>￥{$item['goods_price']}</td>
				<td>{$item['goods_nums']}</td>
				<td>￥{echo:$item['goods_price'] * $item['goods_nums']}</td>
			</tr>
			{/query}
		</tbody>
	</table>

	<table class="table" width="100%" cellspacing="0" cellpadding="0" border="0">
		<colgroup>
			<col width="60%" />
			<col />
		</colgroup>

		<tr>
			<td align="left">订单附言：{$postscript}</td>
			<td align="left">配送：{query:name=delivery where=id eq $distribution}{$item['name']}{/query}</td>
		</tr>
		<tr>
			<td align="left">地址：{$address}</td>
			<td align="left">收货人：{$accept_name}</td>
		</tr>
		<tr>
			<td align="left">手机：{$mobile}</td>
			<td align="left">电话：{$telphone}</td>
		</tr>
		<tr>
			<td align="left">订单备注：{$note}</td>
		</tr>
	</table>

	<table class="table topBorder" width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr><td class="f18" align="left"><b>签字：</b></td></tr>
	</table>

	<input type="submit" class="btn_print noprint" onclick="window.print();" value="打印" />
</div>