maintenanceList.jsp 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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. <<<<<<< HEAD
  183. &nbsp;&nbsp;<input class="btn btn-primary" onclick="offocea(${CmDiscernReceipt.receiptID},${CmDiscernReceipt.shopID},'${CmDiscernReceipt.shopName}','${CmDiscernReceipt.linkMan}')" type="button" value="免除上架费"/>
  184. </div>
  185. <%-- shopId, receStatct, receiptDate--%>
  186. <strong>供应商:${CmDiscernReceipt.shopName}</strong>
  187. =======
  188. &nbsp;&nbsp;<input class="btn btn-primary" onclick="offocea('${CmDiscernReceipt.receiptID}','${CmDiscernReceipt.shopID}','${CmDiscernReceipt.shopName}','${CmDiscernReceipt.linkMan}')" type="button" value="免除上架费"/>
  189. >>>>>>> origin/developer
  190. </div>
  191. <%-- shopId, receStatct, receiptDate--%>
  192. <strong>供应商:${CmDiscernReceipt.shopName}</strong>
  193. </div>
  194. </div>
  195. </form:form>
  196. <sys:message content="${message}"/>
  197. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  198. <thead>
  199. <tr>
  200. <th>序号</th>
  201. <th>金额</th>
  202. <th>缴纳时间</th>
  203. <th>生效时间</th>
  204. <th>到期时间</th>
  205. <th>操作</th>
  206. </tr>
  207. </thead>
  208. <tbody>
  209. <c:forEach items="${discernReceipt.list}" var="discernReceipt" varStatus="in">
  210. <td>${in.index+1}</td>
  211. <c:if test="${discernReceipt.receStatct eq 2}">
  212. <td>免除上架费</td>
  213. <td>${discernReceipt.receiptDate}</td>
  214. <td>${discernReceipt.receiptDate}</td>
  215. <td>--</td>
  216. <td>
  217. <a href="javascript:void(0);" onclick="offoceb(${discernReceipt.receiptID},'${CmDiscernReceipt.shopName}','${CmDiscernReceipt.linkMan}','${CmDiscernReceipt.shopID}')">取消</a>
  218. </td>
  219. </c:if>
  220. <c:if test="${discernReceipt.receStatct eq 1}">
  221. <td>免除上架费<span style="color: red">(已取消)</span></td>
  222. <td>${discernReceipt.receiptDate}</td>
  223. <td>${discernReceipt.receiptDate}</td>
  224. <td>--</td>
  225. <td>
  226. --
  227. </td>
  228. </c:if>
  229. <c:if test="${empty discernReceipt.receStatct || discernReceipt.receStatct eq 0}">
  230. <td>${discernReceipt.receiptAmount}</td>
  231. <td>${discernReceipt.receiptDate}</td>
  232. <td>${discernReceipt.validityDate}</td>
  233. <td>${discernReceipt.expirationDate}</td>
  234. <td>
  235. --
  236. </td>
  237. </c:if>
  238. </tr>
  239. </c:forEach>
  240. </tbody>
  241. </table>
  242. <div class="pagination">${discernReceipt}</div>
  243. <script>
  244. function offocea(shopID,shopName,linkMan) {
  245. $.jBox.confirm("确定为该供应商免除上架费吗?","提示",function(v,h,f){
  246. if(v === 1){
  247. window.location.href="${ctx}/user/newCmShop/Removethelastfee?shopID="+shopID+"&shopName="+shopName+"&linkMan="+linkMan;
  248. }
  249. } ,{ buttons: { '确定': 1,'取消':2}});
  250. }
  251. function offoceb(id,linkMan,shopName,shopID) {
  252. $.jBox.confirm("确定取消免除该供应商上架费吗?","提示",function(v,h,f){
  253. if(v === 1){
  254. window.location.href="${ctx}/user/newCmShop/Removethelast?receiptID="+id+"&linkMan="+linkMan+"&shopName="+shopName+"&shopID="+shopID;
  255. }
  256. } ,{ buttons: { '确定': 1,'取消':2}});
  257. }
  258. </script>
  259. </body>
  260. </html>