channelFee.vm
5.53 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
$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="ChannelFeeController" ng-init="vm.op = 'pdDetail'">
<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="pointsDetail">
<input type="text" class="form-control" id="startDate" placeholder="开始日期" ng-model="vm.startTime" 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.endTime" 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-1">日期</th>
<th class="col-md-1">会员ID</th>
<th class="col-md-1">会员名称</th>
<th class="col-md-1">会员类别</th>
<th class="col-md-1">支付渠道</th>
<th class="col-md-1">渠道费用</th>
<th class="col-md-1">操作</th>
</tr>
</thead>
<tbody id="tbody" >
<tr ng-repeat= "line in channelFeeList" >
<td>{{line.closeTime|timeToDateFormat}}</td>
<td>{{line.id}}</td>
<td >{{line.name}}</td>
<td >{{line.type}}</td>
<td >{{line.payType}}</td>
<td >{{line.total}}</td>
<td> <a class="view-a" href="$customizationLink.setTarget("report/channelFeeDetail")?closeTime={{line.closeTime|xcdateFormat}}&id={{line.id}}" target="_blank">查看明细</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>