print.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>打印单据</title>
  7. </head>
  8. <body layout:fragment="content">
  9. <style>
  10. .center {
  11. text-align: center;
  12. }
  13. .ml-40 {
  14. margin-left: 10px;
  15. }
  16. .ml-450 {
  17. margin-left: 450px;
  18. }
  19. .mr-40 {
  20. margin-right: 40px;
  21. }
  22. tr {
  23. border-color: black;
  24. }
  25. .row {
  26. box-sizing: border-box;
  27. margin-right: 0px;
  28. }
  29. .line {
  30. font-size: 0px;
  31. line-height: 0;
  32. float: none;
  33. border-top: 5px solid rgb(0, 0, 0);
  34. padding-bottom: 10px;
  35. }
  36. </style>
  37. <h3 class="center">存量用地变更申请单</h3>
  38. <div class="line"></div>
  39. <div class="ml-40 row cl">
  40. <label class="form-label col-xs-4 col-sm-2"> 申请编号:</label>
  41. <div th:if="${landApply.apply_no != null && landApply.apply_no != ''}" class=" col-xs-8 col-sm-4 underline">
  42. [[${landApply.apply_no}]]
  43. </div>
  44. <div th:if="${landApply.apply_no == null || landApply.apply_no == ''}" class=" col-xs-8 col-sm-4 underline">
  45. /
  46. </div>
  47. <label class="form-label col-xs-4 col-sm-2"> 申请日期:</label>
  48. <div th:if="${landApply.apply_time != null && landApply.apply_time != ''}" class=" col-xs-8 col-sm-4 underline">
  49. [[${landApply.apply_time}]]
  50. </div>
  51. <div th:if="${landApply.apply_time == null || landApply.apply_time == ''}" class=" col-xs-8 col-sm-4 underline">
  52. /
  53. </div>
  54. </div>
  55. <div class="ml-40 row cl">
  56. <label class="form-label col-xs-4 col-sm-2"> 申请类别:</label>
  57. <div th:if="${landApply.apply_type_str != null && landApply.apply_type_str != ''}"
  58. class=" col-xs-8 col-sm-4 underline">
  59. [[${landApply.apply_type_str}]]
  60. </div>
  61. <div th:if="${landApply.apply_type_str == null || landApply.apply_type_str == ''}"
  62. class=" col-xs-8 col-sm-4 underline">
  63. /
  64. </div>
  65. <label class="form-label col-xs-4 col-sm-2"> 简易程序类别:</label>
  66. <div th:if="${landApply.summary_procedure_str!=null && landApply.summary_procedure_str!='' }"
  67. class=" col-xs-8 col-sm-4 underline">
  68. [[${landApply.summary_procedure_str}]]
  69. </div>
  70. <div th:if="${landApply.summary_procedure_str==null || landApply.summary_procedure_str=='' }"
  71. class=" col-xs-8 col-sm-4 underline">
  72. /
  73. </div>
  74. </div>
  75. <div class="ml-40 row cl">
  76. <label class="form-label col-xs-4 col-sm-2"> 重大投资项目:</label>
  77. <div th:if="${landApply.is_zdxm == 1}" class=" col-xs-8 col-sm-4 underline">
  78. </div>
  79. <div th:if="${landApply.is_zdxm == 2}" class=" col-xs-8 col-sm-4 underline">
  80. </div>
  81. <div th:if="${landApply.is_zdxm == null || landApply.is_zdxm == ''}" class=" col-xs-8 col-sm-4 underline">
  82. /
  83. </div>
  84. </div>
  85. <div class="ml-40 row cl">
  86. <label class="form-label col-xs-4 col-sm-2"> 企业名称:</label>
  87. <div th:if="${companyInfo.company_name != null && companyInfo.company_name != ''}"
  88. class=" col-xs-8 col-sm-4 underline">
  89. [[${companyInfo.company_name}]]
  90. </div>
  91. <div th:if="${companyInfo.company_name == null || companyInfo.company_name == ''}"
  92. class=" col-xs-8 col-sm-4 underline">
  93. /
  94. </div>
  95. <label class="form-label col-xs-4 col-sm-2"> 统一社会信用代码:</label>
  96. <div th:if="${companyInfo.uscc != null && companyInfo.uscc != ''}" class=" col-xs-8 col-sm-4 underline">
  97. [[${companyInfo.uscc}]]
  98. </div>
  99. <div th:if="${companyInfo.uscc == null || companyInfo.uscc == ''}" class=" col-xs-8 col-sm-4 underline">
  100. /
  101. </div>
  102. </div>
  103. <div class="ml-40 row cl">
  104. <label class="form-label col-xs-4 col-sm-2"> 法定代表人:</label>
  105. <div th:if="${companyInfo.legal_representative != null && companyInfo.legal_representative != ''}"
  106. class=" col-xs-8 col-sm-4 underline">
  107. [[${companyInfo.legal_representative}]]
  108. </div>
  109. <div th:if="${companyInfo.legal_representative == null || companyInfo.legal_representative == ''}"
  110. class=" col-xs-8 col-sm-4 underline">
  111. /
  112. </div>
  113. <label class="form-label col-xs-4 col-sm-2"> 组织机构代码:</label>
  114. <div th:if="${companyInfo.organization_code != null && companyInfo.organization_code != ''}"
  115. class=" col-xs-8 col-sm-4 underline">
  116. [[${companyInfo.organization_code}]]
  117. </div>
  118. <div th:if="${companyInfo.organization_code == null || companyInfo.organization_code == ''}"
  119. class=" col-xs-8 col-sm-4 underline">
  120. /
  121. </div>
  122. </div>
  123. <div class="ml-40 row cl">
  124. <label class="form-label col-xs-4 col-sm-2"> 地址:</label>
  125. <div th:if="${companyInfo.registration_address != null && companyInfo.registration_address != ''}"
  126. class=" col-xs-8 col-sm-4 underline">
  127. [[${companyInfo.registration_address}]]
  128. </div>
  129. <div th:if="${companyInfo.registration_address == null || companyInfo.registration_address == ''}"
  130. class=" col-xs-8 col-sm-4 underline">
  131. /
  132. </div>
  133. <label class="form-label col-xs-4 col-sm-2"> 厂房所在属地:</label>
  134. <div th:if="${landApply.building_street_name != null && landApply.building_street_name != ''}"
  135. class=" col-xs-8 col-sm-4 underline">
  136. [[${landApply.building_street_name}]]
  137. </div>
  138. <div th:if="${landApply.building_street_name == null || landApply.building_street_name == ''}"
  139. class=" col-xs-8 col-sm-4 underline">
  140. /
  141. </div>
  142. </div>
  143. <div class="ml-40 row cl">
  144. <label class="form-label col-xs-4 col-sm-2"> 联系人:</label>
  145. <div th:if="${contact.contact != null && contact.contact != ''}" class=" col-xs-8 col-sm-4 underline">
  146. [[${contact.contact}]]
  147. </div>
  148. <div th:if="${contact.contact == null || contact.contact == ''}" class=" col-xs-8 col-sm-4 underline">
  149. /
  150. </div>
  151. <label class="form-label col-xs-4 col-sm-2"> 联系电话:</label>
  152. <div th:if="${contact.phone != null && contact.phone != ''}" class=" col-xs-8 col-sm-4 underline">
  153. [[${contact.phone}]]
  154. </div>
  155. <div th:if="${contact.phone == null || contact.phone == ''}" class=" col-xs-8 col-sm-4 underline">
  156. /
  157. </div>
  158. </div>
  159. <div class="ml-40 row cl">
  160. <label class="form-label col-xs-4 col-sm-2"> 流程信息:</label>
  161. </div>
  162. <div class="ml-40 row cl" style="padding-top: 10px">
  163. <table border="1" cellspacing="0" cellpadding="0" style="border:none;">
  164. <tr class="text-c">
  165. <th style="text-align:center;width:15%;">时间</th>
  166. <th style="text-align:center;width:15%;">审核状态</th>
  167. <th style="text-align:center;width:10%;">部门</th>
  168. <th style="text-align:center;width:10%;">操作人</th>
  169. <th style="text-align:center;width:30%;">审核意见</th>
  170. <!-- <th style="text-align:center;width:10%;">操作</th> -->
  171. </tr>
  172. <tr class="text-c" th:each="model,iterStat:${approvalList}" th:object="${model}">
  173. <td th:text="*{create_time}"></td>
  174. <td th:text="*{before_approvalstatus_str}"></td>
  175. <td th:text="*{department}"></td>
  176. <td th:text="*{create_name}"></td>
  177. <td th:text="*{approval_comment}"></td>
  178. <!-- <td th:text="*{oper_type}"></td> -->
  179. </tr>
  180. </table>
  181. </br>
  182. </div>
  183. <div class="row cl" id="manageRow">
  184. <div style="text-align: center">
  185. <button class="btn btn-primary radius " onclick="submitPrint()" type="button">确认</button>
  186. <button onClick="removeIframe();" class="btn btn-default radius" type="button">取消</button>
  187. </div>
  188. </div>
  189. <article class="page-container">
  190. </article>
  191. <script th:inline="javascript">
  192. /**
  193. * 取消
  194. */
  195. function removeIframe() {
  196. var index = parent.layer.getFrameIndex(window.name);
  197. parent.layer.close(index);
  198. }
  199. function submitPrint() {
  200. $("#manageRow").hide();
  201. print();
  202. $("#manageRow").show();
  203. }
  204. </script>
  205. </body>
  206. </html>