index.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
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
<script>
/*$(function (){
$(".hasDatepicker1,.hasDatepicker2").jcDate({
IcoClass : "jcDateIco",
Event : "click",
Speed : 100,
Left : 0,
Top : 28,
format : "-",
Timeout : 100
});
});
function showDate(){
$("#datepickfrom").val(new Date());
}*/
</script>
<div class="pageheader notab">
<h1 class="pagetitle">订单列表</h1>
<span class="pagedesc">管理V商城中的订单</span>
</div><!--pageheader-->
<paging>
<div id="contentwrapper" class="contentwrapper" onload="showDate()">
<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="buyerUsername" ng-model="orderQuery.buyerUsername" name="buyerUsername"/>
</div>
<label for="orderStatus" class="label">订单状态:</label>
<div class="input">
<select type="text" id="orderStatus" ng-model="orderQuery.orderStatus" name="orderStatus">
<option value=''>--请选择--</option>
<option ng-repeat="status in orderStatus" value="{{status.code}}">{{status.message}}</option>
</select>
</div>
<div ng-show="suppliersFlag == 0" style="display:inline-block">
<label class="label">商家名称:</label>
<div class="input">
<select type="text" ng-model="orderQuery.supplierId" >
<option value=''>--请选择--</option>
<option ng-repeat="x in suppliers " value="{{x.id}}">{{x.name}}</option>
</select>
</div>
</div>
</div>
<div class="line">
<label for="buyerPhone" class="label">下单人手机:</label>
<div class="input">
<input type="text" id="buyerPhone" ng-model="orderQuery.buyerPhone" name="buyerPhone"/>
</div>
<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>
</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="endCreateDt" date-format placeholder="结束日期" class="laydate-icon"
onClick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="width: 150px;" ng-model="orderQuery.endCreateDt" />
<!--<input type="text" id="datepickto" class="hasDatepicker2" ng-model="orderQuery.endCreateDt" name="endCreateDt"/>-->
</div>
<label for="erpImport" class="label">是否导入ERP: </label>
<div class="input">
<select type="text" id="erpImport" ng-model="orderQuery.erpImport" name="erpImport" style="padding: 8px 8px;">
<option value=''>--请选择--</option>
<option value='1'>是</option>
<option value='0'>否</option>
</select>
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOrder()"><span>搜索</span></a>
<!--ng-if="orderQuery.orderStatus == 3 || orderQuery.orderStatus == 4 || orderQuery.orderStatus == 5 || orderQuery.orderStatus == 6 || orderQuery.orderStatus == 7 || orderQuery.orderStatus == 8"-->
<a class="btn btn2 btn_cloud" href="javascript:void(0)" ng-click="exportProductExcel()" style="margin-left: 30px;"><span>导出EXCEL</span></a>
</div>
</div>
<br>
<!--contenttitle-->
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"
id="dyntable3">
<thead>
<tr>
<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="head1">收件人</th>
<th class="head1">收件人电话</th>
<th class="head0">下单人姓名(呢称)</th>
<th class="head0">下单人手机</th>
<th class="head0">是否导入erp</th>
<th class="head0">创建时间</th>
<th class="head0">详细地址</th>
<th ng-if="suppliersFlag == 0" class="head0">商家名称</th>
<th class="head0">备注</th>
<th class="head0">明细</th>
</tr>
</thead>
<tbody>
<tr class="gradeX" ng-repeat="order in orders.datas" >
<td>{{ order.orderCode }}</td>
<td>{{ order.status }}</td>
<td ng-if="order.orderFrom ==0"> {{ order.totalIntegral}}</td>
<td ng-if="order.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>{{ order.address}}</td>
<td ng-if="suppliersFlag == 0">{{ order.supplierName}}</td>
<td>{{order.buyerRemark}}</td>
<td><a href="#orderDetail/{{order.orderCode}}/{{order.orderFrom}}" target="_blank">明细</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>