verifyOrder.html
5.8 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
<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 for="orderCode" class="label">订单号:</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="buyerUsername" ng-model="orderQuery.buyerUsername" name="buyerUsername"/>
</div>
<label for="buyerPhone" class="label">下单人手机:</label>
<div class="input">
<input type="text" id="buyerPhone" ng-model="orderQuery.buyerPhone" name="buyerPhone"/>
</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="orderStatus" class="label">是否导入ERP:</label>
<div class="input">
<select type="text" id="orderStatus" ng-model="orderQuery.erpImport" name="erpImport" style="padding: 8px 8px;">
<option value=''>--请选择--</option>
<option value='1'>是</option>
<option value='0'>否</option>
</select>
</div>
<label for="contact" class="label">收件人姓名:</label>
<div class="input">
<input type="text" id="contact" ng-model="orderQuery.contact" name="contact"/>
</div>
</div>
<div class="line">
<label class="label">开始日期: </label>
<div class="input">
<input type="text" id="settleStartDate" date-format placeholder="开始日期" class="laydate-icon"
onClick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="width: 150px;" ng-model="orderQuery.startCreateDt" />
<!--<input type="text" id="datepickfrom" class="hasDatepicker1" ng-model="orderQuery.startCreateDt" name="startCreateDt"/>-->
</div>
<label class="label">结束日期: </label>
<div class="input">
<!--<input type="text" id="datepickto" class="hasDatepicker2" ng-model="orderQuery.endCreateDt" name="endCreateDt"/>-->
<input type="text" id="endCreateDt" date-format placeholder="结束日期" class="laydate-icon"
onClick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="width: 150px;" ng-model="orderQuery.endCreateDt" />
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOrder()"><span>搜索</span></a>
</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" ng-if="orderQuery.orderFrom ==0">订单V币</th>
<th class="head0" ng-if="orderQuery.orderFrom ==1">订单金额</th>
<th class="head0">收件人</th>
<th class="head0">收件人电话</th>
<th class="head0">下单人姓名(呢称)</th>
<th class="head0">下单人手机</th>
<th class="head0">是否导入erp</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.status }}</td>
<td ng-if="orderQuery.orderFrom ==0"> {{ order.totalIntegral}}</td>
<td ng-if="orderQuery.orderFrom ==1"> {{ order.totalMoney}}</td>
<td>{{ order.contact }}</td>
<td>{{ order.phone }}</td>
<td>{{ order.buyerUsername}}</td>
<td>{{ order.buyerPhone}}</td>
<td ng-if="order.erpImport ==0"> 否</td>
<td ng-if="order.erpImport ==1"> 是</td>
<td>{{ order.createDt}}</td>
<td style="width: 30%">{{ order.address}}</td>
<td><a href="#orderDetail/{{order.orderCode}}/{{order.orderFrom}}">明细</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>