tongji.html
5.91 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
<include file="public/layout" />
<style>
table{ background: #fdfdf8;}
</style>
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="ftitle">
<h3>收费统计</h3>
<div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
</div>
</div>
</div>
<div>总收入:¥{$allmoney}</div>
<div class="flexigrid">
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<!--支付商家统计-->
<div style="width: 220px; float: left">
<table style="width: 205px">
<tbody>
<tr style="font-size: 16px">
<td style="width: 120px"><div style="text-align: left;">商家账套</div> </td>
<td style="width: 80px"><div style="text-align: left;">收费值</div></td>
</tr>
<foreach name="$erpsele" item="vo" key="k" >
<tr>
<td style="width: 120px">
<div style="text-align: left">{$vo.erpid}</div>
</td>
<td style="width: 80px">
<div style="text-align: left">¥{$vo.sum}</div>
</td>
</tr>
</foreach>
<if condition="count($erpsele) eq 10">
<tr><td style="width: 120px"></td><td>查看更多</td></tr>
</if>
</tbody>
</table>
</div>
<!--周统计-->
<div style="width: 220px; float: left">
<table style="width: 205px">
<tbody>
<tr style="font-size: 16px">
<td style="width: 120px"><div style="text-align: left;">周数</div> </td>
<td style="width: 80px"><div style="text-align: left;">收费值</div></td>
</tr>
<foreach name="$weeksele" item="vo" key="k" >
<tr>
<td style="width: 120px">
<div style="text-align: left">{$vo.weeks}</div>
</td>
<td style="width: 80px">
<div style="text-align: left">¥{$vo.sum}</div>
</td>
</tr>
</foreach>
<if condition="count($weeksele) eq 10">
<tr><td style="width: 120px"></td><td>查看更多</td></tr>
</if>
</tbody>
</table>
</div>
<!--月统计-->
<div style="width: 220px; float: left">
<table style="width: 205px">
<tbody>
<tr style="font-size: 16px">
<td style="width: 120px"><div style="text-align: left;">月份</div> </td>
<td style="width: 80px"><div style="text-align: left;">收费值</div></td>
</tr>
<foreach name="$monthsele" item="vo" key="k" >
<tr>
<td style="width: 120px">
<div style="text-align: left">{$vo.months}</div>
</td>
<td style="width: 80px">
<div style="text-align: left">¥{$vo.sum}</div>
</td>
</tr>
</foreach>
<if condition="count($monthsele) eq 10">
<tr><td style="width: 120px"></td><td>查看更多</td></tr>
</if>
</tbody>
</table>
</div>
<!--年统计-->
<div style="width: 220px; float: left">
<table style="width: 205px">
<tbody>
<tr style="font-size: 16px">
<td style="width: 120px"><div style="text-align: left;">年份</div> </td>
<td style="width: 80px"><div style="text-align: left;">收费值</div></td>
</tr>
<foreach name="$yearsele" item="vo" key="k" >
<tr>
<td style="width: 120px">
<div style="text-align: left">{$vo.years}</div>
</td>
<td style="width: 80px">
<div style="text-align: left">¥{$vo.sum}</div>
</td>
</tr>
</foreach>
<if condition="count($yearsele) eq 10">
<tr><td style="width: 120px"></td><td>查看更多</td></tr>
</if>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
// 表格行点击选中切换
$('#flexigrid > table>tbody >tr').click(function(){
$(this).toggleClass('trSelected');
});
// 点击刷新数据
$('.fa-refresh').click(function(){
location.href = location.href;
});
});
</script>
</body>
</html>