verifyOrder.html
6.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
142
143
144
145
146
147
148
149
150
<script>
$(function (){
$(".hasDatepicker1,.hasDatepicker2").jcDate({
IcoClass : "jcDateIco",
Event : "click",
Speed : 100,
Left : 0,
Top : 28,
format : "-",
Timeout : 100
});
});
</script>
<div class="pageheader notab">
<h1 class="pagetitle">客栈订单列表</h1>
<span class="pagedesc">待审核V币订单</span>
</div><!--pageheader-->
<paging>
<div id="contentwrapper" class="contentwrapper">
<div class="contenttitle2">
<h3>订单列表</h3>
</div>
<div class="overviewhead">
<div class="line">
<label class="label" for="orderCode">订单号:</label>
<div class="input">
<input type="text" id="orderCode" ng-model="orderQuery.orderCode" name="orderCode"/>
</div>
<label for="buyerUsername" class="label">下单人姓名:</label>
<div class="input">
<input type="text" id="memberName" ng-model="orderQuery.memberName" name="memberName"/>
</div>
<label for="buyerPhone" class="label">下单人手机:</label>
<div class="input">
<input type="text" id="buyerPhone" ng-model="orderQuery.memberTelphone" name="memberTelphone"/>
</div>
</div>
<div class="line">
<label for="phone" class="label">入住人电话:</label>
<div class="input">
<input type="text" id="phone" ng-model="orderQuery.phone" name="phone"/>
</div>
<label for="contact" class="label">入住人姓名:</label>
<div class="input">
<input type="text" id="contact" ng-model="orderQuery.contact" name="contact"/>
</div>
<label for="erpImport" class="label">入住时间: </label>
<div class="input">
<input type="text" id="checkInDate" class="hasDatepicker2" ng-model="orderQuery.checkInDate" name="checkInDate"/>
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOrder()"><span>搜索</span></a>
</div>
<div class="line">
<label for="buyerPhone" class="label">客栈:</label>
<div class="input">
<select type="text" id="orderStatus" ng-model="orderQuery.hotelId" name="hotelId" ng-change="hotelChange(orderQuery.hotelId)">
<option value=''>--请选择--</option>
<option ng-repeat="hotel in hotels" value="{{hotel.hotelId}}">{{hotel.hotelName}}</option>
</select>
</div>
<label for="phone" class="label">房型:</label>
<div class="input">
<select type="text" id="orderStatus" ng-model="orderQuery.roomId" name="roomId" >
<option value=''>--请选择--</option>
<option ng-repeat="room in roomList" value="{{room.roomId}}">{{room.roomName}}</option>
</select>
</div>
<label for="datepickfrom" class="label">下单开始日期: </label>
<div class="input">
<input type="text" id="datepickfrom" class="hasDatepicker1" ng-model="orderQuery.startDt" name="startDt"/>
</div>
</div>
<div class="line">
<label for="datepickto" class="label">下单结束日期: </label>
<div class="input">
<input type="text" id="datepickto" class="hasDatepicker2" ng-model="orderQuery.endDt" name="endDt"/>
</div>
</div>
</div>
<br>
<!--contenttitle-->
<div style="margin-bottom: 3px;margin-top:-15px;"><td>全选 <input type="checkbox" style="width: 16px;height: 16px;margin-top: 8px;float: left;margin-right: 10px;margin-left: 15px;" class="allcheck" ng-click="allcheck(master)" ng-model="master" ></td> <td align="right"><input type="button" class="stdbtn btn_blue" value="批量审核通过" ng-click="verifyOrder()"></td></div>
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"
id="dyntable3">
<thead>
<tr>
<th class="head0" style="width: 30px;">序列</th>
<th class="head0">订单号</th>
<th class="head0">下单人</th>
<th class="head0">房型</th>
<th class="head0">客栈名称</th>
<th class="head0">联系手机号</th>
<th class="head1">订单类型</th>
<th class="head1">订单状态</th>
<th class="head0">订单金额</th>
<th class="head1">支付金额</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">审核</th>
</tr>
</thead>
<tbody>
<tr class="gradeX" ng-repeat="order in orders.datas" >
<td><input type="checkbox" style="width: 16px;height: 16px;margin-top: 6px;float: left;margin-right: 10px;margin-left: 5px;" ng-model="x" ng-checked="master" id="{{order.orderCode}}" ng-click="chk(order.orderCode,master)"/></td>
<td>{{ order.orderCode }}</td>
<td>{{ order.memberName }}</td>
<td> {{ order.roomName}}</td>
<td> {{ order.hotelName}}</td>
<td>{{ order.memberTelphone }}</td>
<td ng-if="order.orderType==0">积分订单</td>
<td ng-if="order.orderType==1">现金订单</td>
<td>{{ order.orderMessage }}</td>
<td ng-if="order.orderType==0">{{ order.payIntegral }}</td>
<td ng-if="order.orderType==1">{{ order.orderMoney }}</td>
<td ng-if="order.orderType==0">{{ order.payIntegral }}</td>
<td ng-if="order.orderType==1">{{ order.payMoney}}</td>
<td>{{ order.checkinDays}}</td>
<td>{{ order.renterInfo}}</td>
<td>{{ order.renterPhone}}</td>
<td>{{ order.renterIdcard}}</td>
<td>{{order.checkInDate}}</td>
<td>{{order.checkOutDate}}</td>
<td>{{order.createDate}}</td>
<td><a href="#hotelorderDetail/{{order.orderId}}" target="_blank">明细</a></td>
<td><input type="button" value="审核通过" class="stdbtn btn_blue" ng-click="verifyOrder(order.orderCode)"></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>