maintenanceList.jsp 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>上架费记录</title>
  6. <meta name="decorator" content="default"/>
  7. <style type="text/css">
  8. .table th{text-align: center;}
  9. .table td{text-align: center;}
  10. </style>
  11. <style>
  12. .modal{
  13. width: 900px;
  14. margin-left: -450px;
  15. }
  16. #medicalPracticeLicenseImg1Preview,#medicalPracticeLicenseImg2Preview,#medicalPracticeLicenseImg3Preview{
  17. display: inline-block;
  18. }
  19. .reg-row .new-tag.active {
  20. border: 1px solid #de5801;
  21. }
  22. .reg-row {
  23. margin-bottom: 20px;
  24. }
  25. .reg-row .reg-label {
  26. display: inline-block;
  27. width: 120px;
  28. text-align: right;
  29. font-size: 13px;
  30. }
  31. .the-oradio {
  32. display: inline-block;
  33. vertical-align: top;
  34. }
  35. .the-oradio div {
  36. width: 85px;
  37. display: inline-block;
  38. font-size: 12px;
  39. color: #666;
  40. /* margin-right: 25px; */
  41. }
  42. .the-oradio div input[type="radio"] {
  43. width: 17px;
  44. height: 17px;
  45. margin-right: 5px;
  46. vertical-align: text-top;
  47. }
  48. .med-option {
  49. display: block;
  50. margin: 10px 0 0 125px;
  51. }
  52. .smed-option{
  53. margin: 20px 0 20px 123px;
  54. display: block;
  55. }
  56. .reg-row .business-license {
  57. position: relative;
  58. display: inline-block;
  59. width: 166px;
  60. height: 123px;
  61. border-radius: 6px;
  62. margin: 18px 0 0 125px;
  63. }
  64. #medicalPracticeLicenseImgPreview{
  65. display: inline-block;
  66. }
  67. .qualification{
  68. margin-top: 20px;
  69. }
  70. .reg-row .tags-area {
  71. display: inline-block;
  72. width: 420px;
  73. }
  74. .reg-row .new-tag {
  75. display: inline-block;
  76. width: 70px;
  77. /*height: 26px;*/
  78. border: 1px solid #e5e5e5;
  79. border-radius: 6px;
  80. padding: 5px;
  81. margin-right: 14px;
  82. margin-bottom: 14px;
  83. text-align: center;
  84. font-size: 10px;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. white-space: nowrap;
  88. cursor: pointer;
  89. }
  90. .reg-row .tags-operate {
  91. margin-left: 125px;
  92. }
  93. .reg-row .reg-input {
  94. width: 336px;
  95. height: 32px;
  96. padding: 0 8px;
  97. margin-right: 20px;
  98. border: 1px solid #dcdcdc;
  99. border-radius: 6px;
  100. }
  101. .reg-row .tags-operate .tag-input {
  102. width: 159px;
  103. margin-right: 13px;
  104. display: none;
  105. vertical-align: top;
  106. }
  107. .reg-row .tags-operate .tag-add {
  108. /*height: 32px;*/
  109. line-height: 20px;
  110. vertical-align: middle;
  111. margin-bottom: 0;
  112. vertical-align: top;
  113. }
  114. .reg-row .tags-area{
  115. vertical-align: top;
  116. }
  117. .tag-add {
  118. display: none;
  119. }
  120. #myModal2{display: none;}
  121. .modal-body{
  122. max-height: 300px !important;
  123. }
  124. .modal.fade.in{
  125. top: 0 !important;
  126. }
  127. #auditBox .auditCheckBox {
  128. width: 250px;
  129. margin: 0 auto;
  130. }
  131. #auditBox .auditCheckBox label {
  132. margin: 0 5px 5px 0
  133. }
  134. #auditBox .auditCheckBox input {
  135. display: none;
  136. }
  137. #auditBox .auditCheckBox input + span {
  138. display: inline-block;
  139. line-height: 24px;
  140. padding: 1px 6px;
  141. border: 1px solid #666;
  142. border-radius: 5px;
  143. }
  144. .auditNote{
  145. width: 250px;
  146. height: 50px;
  147. margin: 0 auto;
  148. }
  149. #auditBox .auditCheckBox input:checked + span {
  150. background-color: #E6633A
  151. }
  152. </style>
  153. <script type="text/javascript">
  154. $(document).ready(function() {
  155. });
  156. function page(n,s){
  157. $("#pageNo").val(n);
  158. $("#pageSize").val(s);
  159. $("#searchForm").submit();
  160. return false;
  161. }
  162. </script>
  163. </head>
  164. <body>
  165. <ul class="nav nav-tabs">
  166. <li><a href="${ctx}/user/newCmShop/">供应商信息列表</a></li>
  167. <li class="active"><a href="${ctx}/user/newCmShop/maintenanceList?shopID=${cmDiscernReceipt.shopID}&shopName=${cmDiscernReceipt.shopName}">缴纳费用记录</a></li>
  168. <%-- <shiro:hasPermission name="user:newCmShop:edit"><li><a href="${ctx}/user/newCmShop/form">供应商信息添加</a></li></shiro:hasPermission>--%>
  169. </ul>
  170. <form:form id="searchForm" modelAttribute="newCmShop" action="${ctx}/user/newCmShop/maintenanceList?shopID=${cmDiscernReceipt.shopID}&shopName=${cmDiscernReceipt.shopName}" method="post" class="breadcrumb form-search">
  171. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  172. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  173. <div class="ul-form">
  174. <div class="flex-wrap">
  175. <label>操作时间:</label>
  176. <form:input path="startTime" type="text" maxlength="20" class="input-mini Wdate" value="${startTime}"
  177. onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
  178. -
  179. <form:input path="endTime" type="text" maxlength="20" class="input-mini Wdate" value="${endTime}"
  180. onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
  181. &nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
  182. &nbsp;&nbsp;<input class="btn btn-primary" onclick="offocea(${CmDiscernReceipt.shopID},'${CmDiscernReceipt.linkMan}')" type="button" value="免除上架费"/>
  183. </div>
  184. <%-- shopId, receStatct, receiptDate--%>
  185. <strong>供应商:${CmDiscernReceipt.shopName}</strong>
  186. </div>
  187. </div>
  188. </form:form>
  189. <sys:message content="${message}"/>
  190. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  191. <thead>
  192. <tr>
  193. <th>序号</th>
  194. <th>金额</th>
  195. <th>缴纳时间</th>
  196. <th>生效时间</th>
  197. <th>到期时间</th>
  198. <th>操作</th>
  199. </tr>
  200. </thead>
  201. <tbody>
  202. <c:forEach items="${discernReceipt.list}" var="discernReceipt">
  203. <td>${(page.pageNo-1)*page.pageSize+index.index+1}</td>
  204. <c:if test="${discernReceipt.receStatct eq 1}">
  205. <td>免除上架费</td>
  206. <td>${discernReceipt.receiptDate}</td>
  207. <td>${discernReceipt.validityDate}</td>
  208. <td>--</td>
  209. <td>
  210. <a href="javascript:void(0);" onclick="offoceb(${CmDiscernReceipt.receiptID},${CmDiscernReceipt.linkMan})">取消</a>
  211. </td>
  212. </c:if>
  213. <c:if test="${discernReceipt.receStatct eq 0}">
  214. <td>免除上架费<span style="color: red">(已取消)</span></td>
  215. <td>${discernReceipt.receiptDate}</td>
  216. <td>${discernReceipt.validityDate}</td>
  217. <td>--</td>
  218. <td>
  219. --
  220. </td>
  221. </c:if>
  222. <c:if test="${empty discernReceipt.receStatct}">
  223. <td>${discernReceipt.receiptAmount}</td>
  224. <td>${discernReceipt.receiptDate}</td>
  225. <td>${discernReceipt.validityDate}</td>
  226. <td>${discernReceipt.expirationDate}</td>
  227. <td>
  228. --
  229. </td>
  230. </c:if>
  231. </tr>
  232. </c:forEach>
  233. </tbody>
  234. </table>
  235. <div class="pagination">${discernReceipt}</div>
  236. <script>
  237. function offocea(shopId,linkMan) {
  238. $.jBox.confirm("确定为该供应商免除上架费吗?","提示",function(v,h,f){
  239. if(v === 1){
  240. window.location.href="${ctx}/user/newCmShop/Removethelastfee?shopID="+shopId+"&linkMan="+linkMan;
  241. }
  242. } ,{ buttons: { '确定': 1,'取消':2}});
  243. }
  244. function offoceb(id,linkMan) {
  245. $.jBox.confirm("确定取消免除该供应商上架费吗??","提示",function(v,h,f){
  246. if(v === 1){
  247. window.location.href="${ctx}/user/newCmShop/Removethelast?receiptID="+id+"&linkMan="+linkMan;
  248. }
  249. } ,{ buttons: { '确定': 1,'取消':2}});
  250. }
  251. </script>
  252. </body>
  253. </html>