check.html
5.4 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
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="javascript:;">订单详情</a></li>
</ul>
<div class="row">
<div class="col-md-5">
<table class="table table-bordered">
<tr>
<th style="width: 40%;">订单编号</th>
<td>
<span>{$one.order_num}</span>
</td>
</tr>
<tr>
<th>订单状态</th>
<td>
<span>
<if condition="$one.step eq 1">
待支付
<elseif condition="$one.step eq 2">
待发货
<elseif condition="$one.step eq 3">
待收货
<elseif condition="$one.step eq 4">
待评价
<elseif condition="$one.step eq 5">
已完成
<elseif condition="$one.step eq 6">
待审核
<elseif condition="$one.step eq 7">
待退货
<elseif condition="$one.step eq 8">
待退款
<elseif condition="$one.step eq 9">
已退款
</if>
</span>
</td>
</tr>
<tr>
<th>下单用户</th>
<td>
<span>{$one.user_nickname}</span>
</td>
</tr>
<tr>
<th>下单时间</th>
<td>
<span>{:date('Y-m-d H:i',$one.create_time)}</span>
</td>
</tr>
<tr>
<th>所购商品</th>
<td>
<foreach name="all" item="vo">
<span>{$vo.name}*{$vo.num} 单价{$vo.price}</span><br/>
</foreach>
</td>
</tr>
<tr>
<th>支付时间</th>
<td>
<span>{:date('Y-m-d H:i',$one.pay_time)}</span>
</td>
</tr>
<tr>
<th>支付方式</th>
<td>
<span>
<if condition="$one.pay_type eq 1">
微信支付
<elseif condition="$one.pay_type eq 2">
组合支付
<elseif condition="$one.pay_type eq 3">
积分支付
</if>
</span>
</td>
</tr>
<tr>
<th>订单金额</th>
<td>
<span>{$one.whole}</span>
</td>
</tr>
</table>
</div>
<div class="col-md-5">
<form action="{:url('checkPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
<table class="table table-bordered">
<tr>
<th>收货人</th>
<td>
<span>{$one.name}</span>
</td>
</tr>
<tr>
<th>收货手机号</th>
<td>
<span>{$one.mobile}</span>
</td>
</tr>
<tr>
<th>收货地址</th>
<td>
<span>{$one.site}</span>
</td>
</tr>
<tr>
<th>快递单号</th>
<td>
<span>{$one.kd_num}</span>
</td>
</tr>
<tr>
<th>退款原因</th>
<td>
<span>{$one.cause}</span>
</td>
</tr>
</table>
<input type="hidden" value="{$one.id}" name="id">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit">通过</button>
<a href="{:url('checkPost',array('id'=>$one['id'],'sta'=>1))}" class="btn btn-primary js-ajax-dialog-btn" data-msg="确定驳回退款申请?">不通过</a>
</div>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>