allList6.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <html xmlns:th="http://www.thymeleaf.org">
  2. <head>
  3. <title>私塾家</title>
  4. <script th:include="sys/common/metaCSS" th:remove="tag"></script>
  5. <script th:include="sys/common/metaJS" th:remove="tag"></script>
  6. <script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
  7. </head>
  8. <style>
  9. .tablelink{margin-right:10px;}
  10. .stylecss{
  11. color: red;
  12. }
  13. .select_width{
  14. width: 220px;
  15. }
  16. .date_width{
  17. width: 150px;
  18. }
  19. .tablelist th,td{
  20. white-space: nowrap;
  21. text-overflow: ellipsis;
  22. overflow: hidden;
  23. }
  24. #mealServiceAdd .zwfb_shop_table {
  25. margin-top: 10px
  26. }
  27. </style>
  28. <body>
  29. <div class="place">
  30. <span>位置:</span>
  31. <ul class="placeul">
  32. <li><a href="#">小塾管理</a></li>
  33. <li><a href="#">小塾币使用情况-结算(新模式)</a></li>
  34. </ul>
  35. </div>
  36. <div class="rightinfo">
  37. <form id="seachform" th:action="@{/sys/finance/balanceConsumeDetailList_New.html}" method="post">
  38. <ul class="seachform">
  39. <li>
  40. <label>日期</label>
  41. <input type="text" id="startMonth" name="startMonth" autocomplete="off" onclick="WdatePicker({dateFmt:'yyyy-MM'})" th:value="${search.startMonth }" class="scinput date_width " placeholder="选择日期">
  42. </li>
  43. <li>
  44. <label>机构名称</label>
  45. <input type="text" id="unitName" name="unitName" th:value="${search.unitName }" class="scinput " placeholder="输入商户/机构关键字">
  46. </li>
  47. <li>
  48. <input type="button" class="scbtn" value="查询" />
  49. <input type="button" id="button" class="scbtn" value="导出" />
  50. </li>
  51. </ul>
  52. </form>
  53. <table class="tablelist">
  54. <thead>
  55. <tr>
  56. <th style="width: 50px;">序号</th>
  57. <th>签约帐号</th>
  58. <th>签约商户</th>
  59. <th>套餐名称</th>
  60. <th>服务包名称</th>
  61. <th>服务包/月金额</th>
  62. <!-- <th>总有效服务数</th> -->
  63. <!-- <th>总结束服务数</th> -->
  64. <th>结算月份</th>
  65. <th>服务包结算金额</th>
  66. <th style="color: red">加油包/月金额</th>
  67. <!-- <th style="color: red">加油包/有效服务数</th> -->
  68. <!-- <th style="color: red">加油包/结束服务数</th> -->
  69. <th style="color: red">加油包/结算月份</th>
  70. <th style="color: red">加油包/结算数</th>
  71. <th style="color: red">加油包结算金额</th>
  72. <th >总结算金额</th>
  73. </tr>
  74. </thead>
  75. <tbody>
  76. <tr th:each="item:${list}" >
  77. <td th:text="${itemStat.count}"></td>
  78. <td th:text="${item.get('pos_code')}"></td>
  79. <td th:text="${item.get('unit_name')}"></td>
  80. <td th:switch="${item.meal_type}">
  81. <span th:case="1" >优选套餐</span>
  82. <span th:case="2" >VIP套餐</span>
  83. <span th:case="3" >尊享套餐</span>
  84. </td>
  85. <td th:switch="${item.sign_type}">
  86. <span th:case="1" >服务包1</span>
  87. <span th:case="2" >服务包2</span>
  88. <span th:case="3" >服务包3</span>
  89. </td>
  90. <td th:text="${item.get('count_1')>0 ? item.get('price') : '0' }"></td>
  91. <!-- <td th:text="${item.get('sum_1')}"></td> -->
  92. <!-- <td th:text="${item.get('sum_2')}"></td> -->
  93. <td th:text="${item.get('count_1')>0 ? item.get('balance_month') : '' }"></td>
  94. <td th:text="${item.get('sum_price_1')}"></td>
  95. <td th:text="${item.get('count_2')>0 ? '700' : '0' }"></td>
  96. <!-- <td th:text="${item.get('sum_3')}"></td> -->
  97. <!-- <td th:text="${item.get('sum_4')}"></td> -->
  98. <td th:text="${item.get('count_2')>0 ? item.get('balance_month') : '' }"></td>
  99. <td th:text="${item.get('count_2')>0 ? item.get('count_2') : '' }"></td>
  100. <td th:text="${item.get('sum_price_2')}"></td>
  101. <td th:text="${item.get('sum_price_3')}"></td>
  102. </tr>
  103. </tbody>
  104. </table>
  105. <!-- 分页 -->
  106. <div class="pagin">
  107. <div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录,当前显示第&nbsp;<i class="blue">[[${page.pageNo }]]&nbsp;</i>页</div>
  108. <div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
  109. </div>
  110. <ul style="margin-bottom: 100px;margin-top:20px;margin-left: 10px;">
  111. <li style="line-height: 25px;">
  112. <span style="font-size: 14px;">操作名词解释</span>
  113. </li>
  114. <li style="line-height: 25px;color: red;">
  115. <span style="font-size: 14px;">1.服务包/月金额:合同签订的服务包每月金额。</span>
  116. </li>
  117. <li style="line-height: 25px;color: red;">
  118. <span style="font-size: 14px;">2.总有效服务数:为当月有效服务的“服务包上限人数”+“加油包上限人数”。</span>
  119. </li>
  120. <li style="line-height: 25px;color: red;">
  121. <span style="font-size: 14px;">3.总结束服务数:为当月结束服务的“服务包上限人数”+“加油包上限人数”。</span>
  122. </li>
  123. <li style="line-height: 25px;color: red;">
  124. <span style="font-size: 14px;">4.服务包/结算月份:为指点公司就所显示的月份,与供应商(爱加公司)进行商户使用服务包结算。</span>
  125. </li>
  126. <li style="line-height: 25px;color: red;">
  127. <span style="font-size: 14px;">5.服务包应结算金额:若“服务包/结算月份”显示具体结算月份,“服务包应结算金额”=“服务包/月金额”*40%。</span>
  128. </li>
  129. <li style="line-height: 25px;color: red;">
  130. <span style="font-size: 14px;">6.加油包/月金额:合同签订的加油包每月金额。</span>
  131. </li>
  132. <li style="line-height: 25px;color: red;">
  133. <span style="font-size: 14px;">7.加油包/有效服务数:为当月有效服务的“加油包上限人数”。</span>
  134. </li>
  135. <li style="line-height: 25px;color: red;">
  136. <span style="font-size: 14px;">8.加油包/结束服务数:当月结束服务的“加油包上限人数”。</span>
  137. </li>
  138. <li style="line-height: 25px;color: red;">
  139. <span style="font-size: 14px;">9.加油包/结算月份:为指点公司的该商户需就所显示月份与供应商(爱加公司)进行加油包结算。</span>
  140. </li>
  141. <li style="line-height: 25px;color: red;">
  142. <span style="font-size: 14px;">10.加油包/结算数量:当月商户所使用应结算的加油包数量。</span>
  143. </li>
  144. <li style="line-height: 25px;color: red;">
  145. <span style="font-size: 14px;">11.加油包应结算金额:若“加油包/结算月份”显示具体结算月份,“加油包应结算金额”=“加油包/月金额”*“加油包/结算数量”*40%。</span>
  146. </li>
  147. <li style="line-height: 25px;color: red;">
  148. <span style="font-size: 14px;">12.总应结算金额:指点公司就该商户使用情况应结算给供应商(爱加公司)的平台服务费金额。“总应结算金额”=“服务包应结算金额”+“加油包应结算金额”。</span>
  149. </li>
  150. </ul>
  151. </body>
  152. </div>
  153. </body>
  154. <script type="text/javascript">
  155. $("#button").on('click',function(){
  156. document.getElementById("seachform").action = "[[${sysUrl}]]/sys/finance/export6";
  157. $("#seachform").submit();
  158. window.setTimeout(function(){
  159. document.getElementById("seachform").action = "[[${sysUrl}]]/sys/finance/balanceConsumeDetailList_New.html";
  160. },3000);
  161. });
  162. </script>
  163. </html>