refundOrder.html
6.5 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
<div class="pageheader notab">
<h1 class="pagetitle">退款/退货列表</h1>
<span class="pagedesc">管理V商城中的退款/退货订单</span>
<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 0">
<li class="current"><a href="#refundGoods/0/0">待处理</a></li>
<li><a href="#refundGoods/0/1">审核通过</a></li>
<li><a href="#refundGoods/0/2">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 1">
<li><a href="#refundGoods/0/0">待处理</a></li>
<li class="current"><a href="#refundGoods/0/1">审核通过</a></li>
<li><a href="#refundGoods/0/2">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 2">
<li><a href="#refundGoods/0/0">待处理</a></li>
<li><a href="#refundGoods/0/1">审核通过</a></li>
<li class="current"><a href="#refundGoods/0/2">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 1">
<li class="current"><a href="#refundGoods/1/1">待处理</a></li>
<li><a href="#refundGoods/1/3">审核通过</a></li>
<li><a href="#refundGoods/1/4">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 3">
<li><a href="#refundGoods/1/1">待处理</a></li>
<li class="current"><a href="#refundGoods/1/3">审核通过</a></li>
<li><a href="#refundGoods/1/4">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 4">
<li><a href="#refundGoods/1/1">待处理</a></li>
<li><a href="#refundGoods/1/3">审核通过</a></li>
<li class="current"><a href="#refundGoods/1/4">审核不通过</a></li>
</ul>
<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 3">
<li class="current"><a href="#refundGoods/3/3">待处理</a></li>
<li><a href="#refundGoods/3/5">打款成功</a></li>
<li><a href="#refundGoods/3/6">打款失败</a></li>
</ul>
<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 5">
<li><a href="#refundGoods/3/3">待处理</a></li>
<li class="current"><a href="#refundGoods/3/5">打款成功</a></li>
<li><a href="#refundGoods/3/6">打款失败</a></li>
</ul>
<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 6">
<li><a href="#refundGoods/3/3">待处理</a></li>
<li><a href="#refundGoods/3/5">打款成功</a></li>
<li class="current"><a href="#refundGoods/3/6">打款失败</a></li>
</ul>
</div>
<paging>
<div id="contentwrapper" class="contentwrapper">
<!--contenttitle-->
<!-- 查询条件 -->
<div class="overviewhead">
<div class="line">
<label class="label" for="orderCode">订单号:</label>
<div class="input">
<input type="text" id="orderCode" ng-model="refundOrderQuery.orderCode" name="orderCode"/>
</div>
<label for="buyerUsername" class="label">买家姓名:</label>
<div class="input">
<input type="text" id="buyerUsername" ng-model="refundOrderQuery.buyerUsername" name="buyerUsername"/>
</div>
<label for="orderStatus" class="label">退款号:</label>
<div class="input">
<input type="text" id="buyerUsername" ng-model="refundOrderQuery.refundCode" name="refundCode"/>
</div>
</div>
<div class="line">
<label for="buyerPhone" class="label">买家手机:</label>
<div class="input">
<input type="text" id="buyerPhone" ng-model="refundOrderQuery.buyerPhone" name="buyerPhone"/>
</div>
<label for="erpImport" class="label">退款类型: </label>
<div class="input">
<select type="text" id="refundType" ng-model="refundOrderQuery.refundType" name="refundType" style="padding: 8px 8px;">
<option value=''>--请选择--</option>
<option value='1'>仅退款</option>
<option value='2'>退货退款</option>
<option value='3'>换货</option>
</select>
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOrder()"><span>搜索</span></a>
</div>
</div>
<br>
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"
id="dyntable3">
<thead>
<tr>
<th class="head0">退款号</th>
<th class="head0">订单号</th>
<th class="head0">买家姓名</th>
<th class="head0">买家电话</th>
<th class="head0">退款类型</th>
<th class="head0">退款金额</th>
<th class="head0">订单金额</th>
<th class="head0">退款状态</th>
<th class="head0">申请日期</th>
<th class="head0" style="width: 80px;">操作</th>
</tr>
</thead>
<tbody>
<tr class="gradeX" ng-repeat="refundOrder in refundOrders.datas" >
<td>{{ refundOrder.refundCode }}</td>
<td>{{ refundOrder.orderCode }}</td>
<td>{{ refundOrder.buyerUsername }}</td>
<td>{{ refundOrder.buyerPhone }}</td>
<td ng-if="refundOrder.refundType ==1">仅退款</td>
<td ng-if="refundOrder.refundType ==2">退货退款</td>
<td ng-if="refundOrder.refundType ==3">换货</td>
<td>{{ refundOrder.refundMoney }}</td>
<td>{{ refundOrder.orderMoney }}</td>
<td>{{ refundOrder.refundProcedureStatusStr }}</td>
<td>{{ refundOrder.applyDate}}</td>
<td><a href="#refundOrderDetail/{{refundOrder.orderCode}}/{{refundOrder.refundId}}/{{type}}" class="stdbtn btn_info">
<span ng-if="type == 0 && refundOrderStatus == 0">查看详情</span>
<span ng-if="type == 0 && (refundOrderStatus == 1 || refundOrderStatus == 2)">退款详情</span>
<span ng-if="type == 1 && refundOrderStatus == 1">查看详情</span>
<span ng-if="type == 1 && (refundOrderStatus == 3 || refundOrderStatus == 4)">退款详情</span>
<span ng-if="type == 3 && refundOrderStatus == 3">查看详情</span>
<span ng-if="type == 3 && (refundOrderStatus ==5 || refundOrderStatus == 6)">退款详情</span>
<span ng-if="type == -1 ">查看详情</span>
</a></td>
</tr>
</tbody>
</table>
</div>
<div class="angular_pager" style="margin-left: 20px;">
<ul class="pagination" num-pages="numPages" current-page="currentPage" on-select-page="selectPage(page)">
<li ng-class="{disabled: noPrevious()}"> <a ng-click="selectPrevious()">«</a>
</li>
<li ng-repeat="page in pages" ng-class="{active: isActive(page)}"> <a ng-click="selectPage(page)">{{page}}</a>
</li>
<li ng-class="{disabled: noNext()}"> <a ng-click="selectNext()">»</a>
</li>
<li><span style="position: relative;top: 5px;margin-left: 10px;font-size: 14px;">共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b>条</span></li>
</ul>
</div>
</paging>