apply_add.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. <style>
  8. .line {
  9. display: block;
  10. text-align: left;
  11. background-color: #fff;
  12. color: #333;
  13. border-bottom: 1px solid #0a6999;
  14. border-color: #fff;
  15. border-bottom: 1px solid #0a6999;
  16. margin-top: 10px;
  17. vertical-align: middle;
  18. padding: 4px 12px;
  19. height: 31px;
  20. line-height: 31px;
  21. font-size: 14px;
  22. font-weight: bold;
  23. }
  24. .industry_name_show {
  25. display: block;
  26. }
  27. .industry_name_hide {
  28. display: none;
  29. }
  30. </style>
  31. </head>
  32. <body layout:fragment="content">
  33. <article class="page-container">
  34. <form class="form form-horizontal" id="form-projectFilling-add">
  35. <input type="hidden" th:name="company_id" th:id="companyId" th:value="${companyId}"/>
  36. <input type="hidden" th:name="declaration_id" th:id="declaration_id" th:value="${declaration_id}"/>
  37. <input type="hidden" th:name="isDraft" th:id="isDraft" th:value="0"/>
  38. <div class="line">企业基本情况</div>
  39. <div id="companyInfo">
  40. <div class="row cl">
  41. <label class="form-label col-xs-4 col-sm-2"> 企业名称:</label>
  42. <div class="formControls col-xs-8 col-sm-4">
  43. <input type="text" class="input-text" th:value="${companyInfo.company_name}" th:name="companyInfo.company_name" />
  44. <input type="hidden" th:value="${companyInfo.id}" th:name="companyInfo.id" />
  45. </div>
  46. <label class="form-label col-xs-4 col-sm-2"> 统一社会信用代码:</label>
  47. <div class="formControls col-xs-8 col-sm-4">
  48. <input type="text" class="input-text" th:name="companyInfo.uscc" th:value="${companyInfo.uscc}" hidden/>
  49. <span>[[${companyInfo.uscc}]]</span>
  50. </div>
  51. </div>
  52. <div class="row cl">
  53. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>所属行业:</label>
  54. <div class="formControls col-xs-8 col-sm-4">
  55. <span class="select-box">
  56. <select class="select" th:name="companyInfo.industry_code" id="industryTypeList">
  57. <option value="">--请选择--</option>
  58. <option value="" th:each="item : ${industryTypeList}" th:value="${item.value}"
  59. th:selected="${companyInfo.industry_code==item.value}"
  60. th:text="${item.name}">
  61. </option>
  62. </select>
  63. </span>
  64. </div>
  65. <label class="form-label col-xs-4 col-sm-2"> 组织机构代码:</label>
  66. <div class="formControls col-xs-8 col-sm-4">
  67. <input type="hidden" th:name="companyInfo.organization_code" th:value="${companyInfo.organization_code}" />
  68. <span th:value="${companyInfo.organization_code}" >[[${companyInfo.organization_code}]]</span>
  69. </div>
  70. </div>
  71. <div class="row cl" id="industry"
  72. th:class="${companyInfo.industry_name!=null&&companyInfo.industry_name!=''&&companyInfo.industry_code=='Empty'}?'industry_name_show row cl':'industry_name_hide row cl'">
  73. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>其它行业:</label>
  74. <div class="formControls col-xs-8 col-sm-3">
  75. <input type="text" class="input-text" value="" th:id="industry_name" th:name="companyInfo.industry_name"
  76. th:value="${companyInfo.industry_name}"
  77. placeholder="请输入所属行业"/>
  78. </div>
  79. </div>
  80. <div class="row cl">
  81. <label class="form-label col-xs-4 col-sm-2"> 注册地点:</label>
  82. <div class="formControls col-xs-8 col-sm-4">
  83. <input type="text" class="input-text"th:value="${companyInfo.registration_address}" th:name="companyInfo.registration_address" />
  84. </div>
  85. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>注册资金:</label>
  86. <div class="formControls col-xs-4 col-sm-1">
  87. <span class="select-box">
  88. <select class="select" th:name="companyInfo.currency_unit" id="currency_unit" >
  89. <!-- <option value="">--请选择货币单位--</option> -->
  90. <option th:selected="${companyInfo.currency_unit==item.id}" th:each="item : ${currencyList}"
  91. th:value="${item.id}" th:text="${item.name}"/>
  92. </select>
  93. </span>
  94. </div>
  95. <div class="formControls col-xs-6 col-sm-2" >
  96. <input type="text" class="input-text" th:id="registration_capital" th:name="companyInfo.registration_capital" th:value="${companyInfo.registration_capital}"/>
  97. </div>
  98. <div class="col-xs-4 col-sm-1">(万元)</div>
  99. </div>
  100. <div class="row cl">
  101. <label class="form-label col-xs-4 col-sm-2"> 法人代表姓名:</label>
  102. <div class="formControls col-xs-8 col-sm-4">
  103. <input type="text" class="input-text" th:value="${companyInfo.legal_representative}" th:name="companyInfo.legal_representative" />
  104. </div>
  105. <label class="form-label col-xs-4 col-sm-2"> 联系人姓名:</label>
  106. <div class="formControls col-xs-8 col-sm-4">
  107. <input type="text" class="input-text" th:value="${companyInfo.contact}" th:name="companyInfo.contact"/>
  108. </div>
  109. </div>
  110. <div class="row cl">
  111. <label class="form-label col-xs-4 col-sm-2"> 法人代表职务:</label>
  112. <div class="formControls col-xs-8 col-sm-4">
  113. <input type="text" class="input-text" th:value="${companyInfo.lr_position}" th:name="companyInfo.lr_position" />
  114. </div>
  115. <label class="form-label col-xs-4 col-sm-2"> 联系人职务:</label>
  116. <div class="formControls col-xs-8 col-sm-4">
  117. <input type="text" class="input-text" th:value="${companyInfo.contact_position}" th:name="companyInfo.contact_position" />
  118. </div>
  119. </div>
  120. <div class="row cl">
  121. <label class="form-label col-xs-4 col-sm-2"> 法人代表手机:</label>
  122. <div class="formControls col-xs-8 col-sm-4">
  123. <input type="text" class="input-text" th:value="${companyInfo.lr_phone}" th:name="companyInfo.lr_phone" />
  124. </div>
  125. <label class="form-label col-xs-4 col-sm-2"> 联系人手机:</label>
  126. <div class="formControls col-xs-8 col-sm-4">
  127. <input type="text" class="input-text" th:value="${companyInfo.contact_phone}" th:name="companyInfo.contact_phone" />
  128. </div>
  129. </div>
  130. <div class="row cl">
  131. <label class="form-label col-xs-4 col-sm-2"> 总资产:</label>
  132. <div class="formControls col-xs-4 col-sm-1" >
  133. <!--<input type="hidden" class="input-text" th:value="${companyInfo.total_assets_currency_unit}" name="companyInfo.total_assets_currency_unit" id="total_assets_currency_unit"/>-->
  134. <span class="select-box">
  135. <select class="select" th:name="total_assets_currency_unit" >
  136. <!-- <option value="">--请选择货币单位--</option> -->
  137. <option th:selected="${companyInfo.total_assets_currency_unit==item.id}" th:each="item : ${currencyList}"
  138. th:value="${item.id}" th:text="${item.name}"/>
  139. </select>
  140. </span>
  141. </div>
  142. <div class="formControls col-xs-6 col-sm-2" >
  143. <input type="text" class="input-text" th:id="total_assets" th:value="${companyInfo.total_assets}" th:name="companyInfo.total_assets" />
  144. </div>
  145. <div class="col-xs-4 col-sm-1">(万元)</div>
  146. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>固定资产净值:</label>
  147. <div class="formControls col-xs-4 col-sm-1" >
  148. <span class="select-box">
  149. <select class="select" th:name="companyInfo.fixed_assets_currency_unit" >
  150. <!-- <option value="">--请选择货币单位--</option> -->
  151. <option th:selected="${companyInfo.fixed_assets_currency_unit==item.id}" th:each="item : ${currencyList}" th:value="${item.id}" th:text="${item.name}"/>
  152. </select>
  153. </span>
  154. </div>
  155. <div class="formControls col-xs-6 col-sm-2" >
  156. <input type="text" class="input-text" th:id="fixed_assets" th:value="${companyInfo.fixed_assets}" th:name="companyInfo.fixed_assets" />
  157. </div>
  158. <div class="col-xs-4 col-sm-1">(万元)</div>
  159. </div>
  160. </div>
  161. <!--<div class="line">项目申报种类</div>
  162. <div class="row cl">
  163. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>项目大类:</label>
  164. <div class="formControls col-xs-8 col-sm-4">
  165. <input type="hidden" th:name="super_type_name" th:id="super_type_name" th:value="${projectApply.super_type_name}"/>
  166. [[${projectApply.super_type_name}]]
  167. </div>
  168. <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>服务事项:</label>
  169. <div class="formControls col-xs-8 col-sm-4">
  170. <input type="hidden" th:name="service_type_name" th:id="service_type_name" th:value="${projectApply.service_type_name}"/>
  171. [[${projectApply.service_type_name}]]
  172. </div>
  173. </div>-->
  174. <div class="line">申报材料</div>
  175. <div class="row cl" id="applyMaterials">
  176. <label class="form-label col-xs-4 col-sm-2">上传材料:</label>
  177. <div class="formControls col-xs-8 col-sm-9">
  178. <div class="uploader-thum-container">
  179. <div id="fileListPre" class="uploader-list">
  180. </div>
  181. <div id="filePicker">选择文件</div>
  182. </div>
  183. </div>
  184. </div>
  185. <div class="row cl">
  186. <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
  187. <a class="btn btn-primary radius" onclick="saveDraft(1);" >&nbsp;&nbsp;保存草稿&nbsp;&nbsp;</a>
  188. <a class="btn btn-primary radius" onclick="saveDraft(0)" >&nbsp;&nbsp;提交&nbsp;&nbsp;</a>
  189. <button onClick="removeIframe();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
  190. </div>
  191. </div>
  192. </form>
  193. </article>
  194. <script type="text/javascript" th:src="@{/js/company/project_filling/apply_add.js}"></script>
  195. <script th:inline="javascript">
  196. /**
  197. * 初始化上传控件
  198. */
  199. var options = {
  200. uploadBtnId: '#filePicker',
  201. picturePreId: 'fileListPre',
  202. hiddenPictureUrl: 'img',
  203. hiddenPictureName: 'imgName',
  204. // accept : {
  205. // title : 'Images',
  206. // extensions : 'gif,jpg,jpeg,bmp,png',
  207. // mimeTypes : 'image/gif,image/jpg,image/jpeg,image/bmp,image/png'
  208. // },
  209. width: 81,
  210. height: 81,
  211. fileSizeLimit: 100 * 1024 * 1024,
  212. fileSingleSizeLimit: 100 * 1024 * 1024,
  213. // fileNumLimit: 1,
  214. append : false
  215. };
  216. var webUploadDoc = new $WebUploadDoc(options);
  217. webUploadDoc.init();
  218. /**
  219. * 取消
  220. */
  221. function removeIframe(){
  222. var index = parent.layer.getFrameIndex(window.name);
  223. if(index){
  224. parent.layer.close(index);
  225. }else{
  226. //返回门户申报页面
  227. window.location.href = pagePath+"/home/informList/77";
  228. //history.back(-2);
  229. }
  230. }
  231. function saveDraft(isDraft){
  232. $("#isDraft").val(isDraft);
  233. submit();
  234. }
  235. </script>
  236. </body>
  237. </html>