userCoupon.html
5.0 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
<script type="text/javascript" src='js/plugins/jquery.dataTables.min.js'></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" style="margin-bottom: 10px;">
<div class="line">
<label class="label" >订单号:</label>
<div class="input">
<input type="text" id="orderCode" ng-model="couponQuery.useOrderCode" name="keyword"/>
</div>
<label class="label" style="width: 100px;" >优惠券号码:</label>
<div class="input">
<input type="text" id="erpCode" ng-model="couponQuery.couponCode" name="erpCode"/>
</div>
<label class="label" >优惠券来源:</label>
<div class="input">
<select name="selection" id="selection2"
ng-model="couponQuery.getSource" style="width: 100px;">
<option value="">--请选择--</option>
<option value="0">V商城</option>
<option value="1">新微商</option>
</select>
</div>
<label class="label" >是否使用:</label>
<div class="input">
<select name="selection" id="selection2"
ng-model="couponQuery.isUse" style="width: 100px;">
<option value="">--请选择--</option>
<option value="1">未使用</option>
<option value="2">已使用</option>
</select>
</div>
<div ng-show="suppliersFlag == 0" style="display:inline-block">
<label class="label">商家名称:</label>
<div class="input">
<select type="text" ng-model="couponQuery.supplierId" >
<option value=''>--请选择--</option>
<option ng-repeat="x in suppliers " value="{{x.id}}">{{x.name}}</option>
</select>
</div>
</div>
<br/><br/>
<label class="label" >是否过期:</label>
<div class="input">
<select name="selection" id="selection2"
ng-model="couponQuery.isExpire" style="width: 100px;">
<option value="">--请选择--</option>
<option value="1">未过期</option>
<option value="2">已过期</option>
</select>
</div>
<label class="label">领取时间</label>
<div class="input">
<input type="text" id="receiveStartDate" date-format placeholder="开始日期" class="laydate-icon" onClick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" style="width: 150px;" ng-model="couponQuery.startDate"/>
--<input type="text" id="receiveEndDate" date-format placeholder="结束日期" class="laydate-icon" onClick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" style="width: 150px;" ng-model="couponQuery.endDate"/>
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchDirectCoupon()"><span>搜索</span></a>
</div>
</div>
<!--contenttitle-->
<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3">
<thead>
<tr align="center">
<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" ng-show="suppliersFlag == 0">所属商家</th>
<th class="head0">操作</th>
</tr>
</thead>
<tbody>
<tr class="gradeX" align="center" ng-repeat="coupon in directCoupons">
<td>{{ coupon.id}}</td>
<td>{{ coupon.couponCode}}</td>
<td>{{ coupon.couponName}}</td>
<td ng-if="coupon.couponType == 0">直减劵</td>
<td ng-if="coupon.couponType == 1">满减劵</td>
<td>{{ coupon.useDate | date:"yyyy-MM-dd HH:mm:ss"}}</td>
<td>{{ coupon.useorderCode}}</td>
<td ng-if="coupon.getSource == 0">V商城</td>
<td ng-if="coupon.getSource == 1">新微商</td>
<td>{{ coupon.createDt | date:"yyyy-MM-dd HH:mm:ss"}}</td>
<td ng-show="suppliersFlag == 0">{{ coupon.supplierName}}</td>
<td ng-if="coupon.useorderCode != '' && coupon.useorderCode != null"><a href="#orderDetail/{{coupon.useorderCode}}/1" target="_blank">查看订单</a></td>
<td ng-if="coupon.useorderCode == '' || coupon.useorderCode == null"></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>