picking.html
3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html dir="ltr" lang="cn">
<head>
<meta charset="UTF-8" />
<title>配货单打印</title>
<link href="__PUBLIC__/bootstrap/css/bootstrap.css" rel="stylesheet" media="all" />
<script type="text/javascript" src="__PUBLIC__/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/bootstrap/css/bootstrap.min.css"></script>
<link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
<style media="print" type="text/css">.noprint{display:none}</style>
</head>
<body>
<div class="container">
<div style="page-break-after: always;">
<h1 class="text-center">订单信息</h1>
<table class="table table-bordered">
<thead>
<tr>
<td style="width: 50%;">发送自</td>
<td style="width: 50%;">订单详情</td>
</tr>
</thead>
<tbody>
<tr>
<td><address><strong>{$shop.store_name}</strong><br/>{$shop.address}</address>
</td>
<td style="width: 50%;">
<b>下单日期:</b> {$order.add_time|date='Y-m-d',###}<br />
<b>订单号:</b> {$order.order_sn}<br />
<b>配送方式:</b> {$order.shipping_name}<br/>
</td>
</tr>
</tbody>
</table>
<table class="table table-bordered">
<thead>
<tr>
<td colspan="4"><b>收货信息</b></td>
</tr>
<tr><td>收件人</td><td>联系电话</td><td>收货地址</td></tr>
</thead>
<tbody>
<tr>
<td>{$order.consignee}</td>
<td>{$order.mobile}</td>
<td>{$order.province} {$order.city} {$order.district} {$order.address}</td>
</tr>
</tbody>
</table>
<table class="table table-bordered">
<thead>
<tr>
<td><b>商品名称</b></td>
<td><b>商品编号</b></td>
<td><b>商品条码</b></td>
<td><b>规格</b></td>
<td><b>数量</b></td>
<td><b>单价</b></td>
<td class="text-right"><b>小计</b></td>
</tr>
</thead>
<tbody>
<volist name="orderGoods" id="good">
<tr>
<td>{$good.goods_name}</td>
<td>{$good.goods_sn}</td>
<td>{$good.sku0}</td>
<td>{$good.goods_spec}</td>
<td>{$good.goods_num}</td>
<td>{$good.goods_price}</td>
<td class="text-right">{$good.goods_total}</td>
</tr>
</volist>
</tbody>
<tfoot>
<tr><td colspan="7" class="text-center"><input class="btn btn-default noprint" type="submit" onclick="window.print();" value="打印"></td></tr>
</tfoot>
</table>
</div>
</div>
</body>
</html>