orderdetail.html
6.3 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
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="#A" data-toggle="tab">订单信息详情</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('OrderEdit')}" method="post">
<input type="hidden" name="id" value="{$info.id}">
<fieldset>
<div class="tabbable">
<div class="tab-content">
<div class="tab-pane active" id="A">
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">订单号</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.order_sn|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">商品名</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.name|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">数量</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.num|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">下单时间</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{:date('Y-m-d H-i',$info.add_time)}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">消费积分数</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.fee|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">收货人姓名</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.delivery_name|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">收货人电话</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.delivery_tel|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">收货地址</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="{$info.delivery_address|default=''}">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">订单状态</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" readonly id="input-site-name"
value="
<switch name=" $info.status">
<case value="1">未支付</case>
<case value="2">已支付</case>
<case value="3">已完成</case>
</switch>
">
</div>
</div>
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label">备注信息</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site-name" name="remark" value="{$info.remark|default=''}">
</div>
</div>
<input type="hidden" class="form-control" id="input-site-name" name="good_id" value="{$info.id}">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<!--<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">审核通过-->
<!--</button>-->
<button type="submit" class="btn btn-primary js-ajax-submit"
data-action="{:url('orderEdit',['status'=>3])}" data-refresh="1">已完成
</button>
</div>
</div>
<if condition="$info.status==0">
</if>
</div>
</div>
</div>
</fieldset>
</form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>