vourcherDetailAmount.vm
6.33 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
$page.setTitle("红包/优惠券消费日汇总报表 ")
<div class="xn-breadcrumb xn-width auto clearfix ">
<ul class="breadcrumb">
<li><a class="icon icon-home_page" href="$customizationLink.setTarget("index")"></a></li>
<li><a href="$customizationLink.setTarget("report")">报表中心</a></li>
<li class="active">红包/优惠券消费日汇总报表 </li>
</ul>
</div>
<div class="xn-main auto xn-width clearfix" ng-controller="VourcherDetailAmountController" ng-init="vm.op = 'pointsDetail'">
<div class="pm-task-bottom-top pm-plan-bottom-top mt_10 mb_10 clearfix">
<h3>红包/优惠券消费日汇总报表 </h3>
</div>
<!--搜索部分-->
<div class="xn-input-line clearfix">
<div class="xn_search_box auto">
<div class="xn-input-line clearfix">
<input type="hidden" id="op" name="op" ng-model="vm.op" >
<label class="xn-col-sm-4 l-h-34 34 xn-text-right">开始日期:</label>
<div class="xn-col-sm-8">
<div class="input-group openData">
<input type="hidden" id="op" name="op" ng-model="vm.op" value="couponDetail">
<input type="text" class="form-control" id="startDate" placeholder="开始日期" ng-model="vm.startSubmitTime" name="regularDate"
datepicker-popup="yyyy-MM-dd" is-open="startDate" min-date="minDate" datepicker-options="dateOptions"
date-disabled="disabled(date, mode)" close-text="关闭" current-text="今天" clear-text="清除">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="openStart($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<label class="xn-col-sm-4 l-h-34 34 xn-text-right">结束日期:</label>
<div class="xn-col-sm-8">
<div class="input-group openData">
<input type="text" class="form-control" id="endDate" placeholder="结束日期" ng-model="vm.endSubmitTime" name="regularDate"
datepicker-popup="yyyy-MM-dd" is-open="endDate" min-date="minDate" datepicker-options="dateOptions"
date-disabled="disabled(date, mode)" close-text="关闭" current-text="今天" clear-text="清除">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="openEnd($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<label class="xn-col-md-3 xn-lh xn-text-right pr-0 font-light">会员:</label>
<div class="xn-col-md-4">
<div xn-lookup show-field="member.nickName" ng-model="vm.member" data-method="getMemberList(data)" placeholder="请输入会员名称"
data-search-val="name" data-callback="selectMember(data)" >
</div>
</div>
</div>
<div class="xn-input-line clearfix pt_10">
<div class="xn-input-line clearfix">
<button class="btn btn-success btn-sm w_80 f-right ml_10" ng-click="reportExport()">批量导出</button>
<button type="button" class="btn btn-success btn-sm w_80 f-right" ng-click="doFind()">查询</button>
</div>
</div>
</div>
</div>
<!--搜索部分结束-->
<div class="xn-table-wrap" >
<table class="table table-bordered table-striped "
<thead>
<tr>
<th class="col-md-2" style="text-align: center;background:#EEE;">日期</th>
<th class="col-md-1" style="text-align: center;background:#EEE;">会员ID</th>
<th class="col-md-1" style="text-align: center;background:#EEE;">会员名称</th>
<th class="col-md-1" style="text-align: center;background:#EEE;">会员类别</th>
<th class="col-md-1" style="text-align: center;background:#EEE;">余额消费汇总金额</th>
<th class="col-md-1" style="text-align: center;background:#EEE;">操作</th>
</tr>
</thead>
<tbody id="tbody" >
<tr ng-repeat= "line in shipmentLineList" style="text-align: center">
<td style="font-size: 13px">{{line.useTime|timeReturnFormat}}</td>
<td ><pre>{{line.memberId}}</pre>
## <br />{{line.submitTime}}
</td>
<td >{{line.name}}</td>
## <td >{{line.orderNumber}}<br />{{line.orderSubmitTime}}<br/></td>
<td >
{{line.type}}
</td>
<td style="text-align: right">{{line.discountAmount}}</td>
<td >
<a ng-if="line.ticketType=='voucherDetail'" href="$customizationLink.setTarget("/report/voucherDetail")?memberId={{line.memberId}}&dateId={{line.dateId}}">
查看详细
</a>
<a ng-if="line.ticketType=='couponDetail'" href="$customizationLink.setTarget("/report/couponDetail")?memberId={{line.memberId}}&dateId={{line.dateId}}">
查看详细
</a>
</td>
</tr>
<tr ng-if="!vm.totalCount || vm.totalCount == 0"><td colspan="12" class="center">无法找到相应的记录</td></tr>
</tbody>
</table>
<div class="xn-table-wrap xn-text-center clearfix" ng-if="vm.totalCount">
<div class="f-left mt_20 mb_10">共{{vm.totalCount}}条</div>
<pagination ng-show="vm.totalCount>vm.pageSize" ng-change="getList()" max-size="maxPageSize" total-items="vm.totalCount"
ng-model="vm.pageNumber" items-per-page="vm.pageSize" class="pagination-sm" boundary-links="true"
previous-text="‹" next-text="›" first-text="«" last-text="»"></pagination>
</div>
</div>
</div>
<script type="text/javascript" src="$customizationContent.getURI('dist/scripts/report.js')"></script>