print.html
4.76 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<include file="public/layout" />
<style>
.ncm-goods-gift {
text-align: left;
}
.ncm-goods-gift ul {
display: inline-block;
font-size: 0;
vertical-align: middle;
}
.ncm-goods-gift li {
display: inline-block;
letter-spacing: normal;
margin-right: 4px;
vertical-align: top;
word-spacing: normal;
}
.ncm-goods-gift li a {
background-color: #fff;
display: table-cell;
height: 30px;
line-height: 0;
overflow: hidden;
text-align: center;
vertical-align: middle;
width: 30px;
}
.ncm-goods-gift li a img {
max-height: 30px;
max-width: 30px;
}
.ncap-order-style .ncap-order-details{
margin:20px auto;
border:1px solid #e6e6e6;
}
.ncap-order-details table thead th{
background-color:#FFFFFF
}
dd:before{
margin-left:3px;
content:' '
}
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title"><a class="back" href="javascript:history.back(-1)" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
<div class="subject">
<h3>打印订单</h3>
<h5>商城实物商品交易订单查询及管理</h5>
</div>
</div>
</div>
<div class="ncap-order-style">
<div class="titile">
<h3></h3>
</div>
<div class="ncap-order-details">
<div class="tabs-panels">
<div class="goods-info">
<h4>商品信息</h4>
<table>
<thead>
<tr>
<th class="w500">商品名称</th>
<th class="w100">商品货号</th>
<th class="w100">规格</th>
<th class="w100">数量</th>
<th class="w100">单价</th>
<th class="w100">单品小计</th>
</tr>
</thead>
<tbody>
<volist name="orderGoods" id="good">
<tr>
<td class="w500" style="text-align: left;">{$good.goods_name}</td>
<td class="w100">{$good.goods_sn}</td>
<td class="w100">{$good.goods_spec}</td>
<td class="w100">{$good.goods_num}</td>
<td class="w100">{$good.goods_price}</td>
<td class="w100">{$good.goods_total}</td>
</tr>
</volist>
</table>
</div>
<div class="total-amount contact-info">
订单总额:¥{$order.goods_price}
</div>
<eq name="$order.exp_type" value="0">
<div class="misc-info">
<h3>收货人信息</h3>
<dl>
<dt>收件人:</dt>
<dd>{$order.consignee}</dd>
<dt>联系电话:</dt>
<dd>{$order.mobile}</dd>
<dt>收货地址:</dt>
<dd>{$order.full_address}</dd>
</dl>
<dl>
<dt>物流公司:</dt>
<dd>{$order.shipping_name}</dd>
</dl>
</div>
</eq>
<eq name="$order.exp_type" value="1">
<div class="misc-info">
<h4>自提信息</h4>
<dl>
<dt>收货人:</dt>
<dd>{$order.consignee}</dd>
<dt>联系方式:</dt>
<dd>{$order.mobile}</dd>
<dt>门店信息:</dt>
<dd>{$order.pickup_name}({$order.pickup_address})</dd>
</dl>
</div>
</eq>
<div class="contact-info">
<h3>订单详情</h3>
<dl>
<dt>下单日期:</dt>
<dd>{$order.add_time|date='Y-m-d H:i:s',###}</dd>
<dt>订单号:</dt>
<dd>{$order.order_sn}</dd>
<dt>应付金额:</dt>
<dd><strong style="color:#777">¥{$order.order_amount}</strong></dd>
</dl>
<dl>
<dt>配送方式:</dt>
<dd>{$order.shipping_name}</dd>
<dt>订单总价:</dt>
<dd>¥{$order.total_amount}</dd>
<dt>商品价格:</dt>
<dd>¥{$order.goods_price}</dd>
</dl>
<dl>
<dt>配送费用:</dt>
<dd>¥{$order.shipping_price}</dd>
<dt>订单优惠:</dt>
<dd>¥{$order.coupon_price}</dd>
<!--<dt>使用积分:</dt>-->
<!--<dd>{$order.integral}</dd>-->
<dt>使用余额:</dt>
<dd>¥{$order.user_money}</dd>
</dl>
</div>
</div>
</div>
<div style="width:1000px">
<a href="javascript:window.print();" style="float:center" class="ncap-btn-big ncap-btn-green" ><i class="fa fa-print"></i>打印订单</a>
</div>
</div>
</div>
<script type="text/javascript">
</script>
</body>
</html>