addGY6.jsp 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. <%-- 补贴申请表18--各类人才--%>
  2. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  3. <style type="text/css">
  4. em {color:red;font-size:13px;font-style:normal}
  5. .changeLine th{
  6. white-space: NOWRAP;
  7. }
  8. </style>
  9. <script type="text/javascript">
  10. function addGY6_load(){
  11. //婚姻
  12. $("#maritalStatus_add").append(maritalStatus_array);
  13. $("#maritalStatus1").append(maritalStatus_array);
  14. $("#nationality1").append(nationality_array);
  15. $("#education_add").append(education_array);
  16. $("#education1").append(education_array);
  17. $('input:radio[name="securityPersonApply.isPersonnel"]').change(function(){
  18. var currentHouseSituation=$('input:radio[name="securityPersonApply.isPersonnel"]:checked').val();
  19. if(currentHouseSituation==1){
  20. $.messager.alert("提示","需要上传人社部门认定材料附件");
  21. $("#education_info").hide();
  22. }else{
  23. $("#education_info").show();
  24. }
  25. });
  26. }
  27. function addGY6_submit(){
  28. var flag= true;
  29. var flag1 = verifyCurrentHouseSituation();
  30. var flag2 = checkData();
  31. if(flag1&&flag2&&flag){
  32. $.ajax({
  33. type: "POST",
  34. url:"securityPersonApply2Action_addSecurityPersonApply",
  35. data:$('#gy6Form').serialize(),// 你的formid
  36. async: false,
  37. error: function(data) {
  38. $.messager.alert("提示","提交失败");
  39. },
  40. success: function(result) {
  41. var parseResult = $.parseJSON(result);
  42. if(parseResult.success){
  43. $('#addGY6Dialog').dialog("close");
  44. var securityPersonApplyId = parseResult.obj.id;
  45. var fileNum = parseResult.obj.fileNum;
  46. for(var i=1;i<=index;i++){
  47. if($("#mbtb_" + i).length > 0 ){
  48. var url = whzl.basePath+'/securityPersonApply2Action_addSecurityPersonApplyRelative';
  49. $.ajax({
  50. type: "post",//使用post方法访问后台
  51. dataType: "json",//返回json格式的数据
  52. url: url,//要访问的后台地址
  53. async: false,
  54. data:{"securityPersonApplyRelative.securityPersonApplyId":securityPersonApplyId ,
  55. "securityPersonApplyRelative.fileNum":fileNum ,
  56. "securityPersonApplyRelative.name":$("#name" + i ).val() ,
  57. "securityPersonApplyRelative.relative":$("#relative" + i ).val() ,
  58. "securityPersonApplyRelative.idCard":$("#idCard" + i ).val() ,
  59. "securityPersonApplyRelative.maritalStatus":$("#maritalStatus" + i ).val() ,
  60. "securityPersonApplyRelative.maritalDate":$("#maritalDate" + i ).datebox('getValue') ,
  61. "securityPersonApplyRelative.company":$("#company" + i ).val() ,
  62. "securityPersonApplyRelative.residenceNo":$("#residenceNo" + i ).val() ,
  63. "securityPersonApplyRelative.phone":$("#phone" + i ).val(),
  64. "securityPersonApplyRelative.nationality":$("#nationality" + i ).val() ,
  65. "securityPersonApplyRelative.education":$("#education" + i ).val() ,
  66. "securityPersonApplyRelative.graduationDate":$("#graduationDate" + i ).datebox('getValue') ,
  67. "securityPersonApplyRelative.isPension":$("input:radio[name='isPension_"+i+"']:checked").val(),
  68. "securityPersonApplyRelative.isLaborContract":$("input:radio[name='isLaborContract_"+i+"']:checked").val()
  69. },
  70. success : function(result){
  71. $.ajax({
  72. type: "post",//使用post方法访问后台
  73. dataType: "json",//返回json格式的数据
  74. url: whzl.basePath+'/securityPersonApply2Action_addAssets',//要访问的后台地址
  75. async: false,
  76. data:{"securityPersonApplyRelative.id":result.obj.id ,
  77. "cars":$("#carInfo_input"+i).val() ,
  78. "businesses": $("#businessInfo_input"+i).val() ,
  79. },
  80. });
  81. $("#securityPersonApplyDataGrid").datagrid("reload");
  82. }
  83. });
  84. }
  85. }
  86. }
  87. }
  88. })
  89. }
  90. }
  91. function checkData(){
  92. var flag= true;
  93. //姓名验证
  94. if($("#name_add").val()==''){
  95. $.messager.alert('提醒','请输入姓名');
  96. flag = false;
  97. }
  98. //身份证验证
  99. if($("#idCard_add").val()==''){
  100. $.messager.alert('提醒','请输入身份证号');
  101. flag = false;
  102. }else{
  103. if(!idCard1($("#idCard_add").val())){
  104. $.messager.alert('提醒','请检查输入的身份证号是否正确');
  105. flag = false;
  106. }
  107. }
  108. //婚姻状况验证
  109. if($("#maritalStatus_add").val()==''){
  110. $.messager.alert('提醒','请选择现婚姻状况');
  111. flag = false;
  112. }
  113. //手机号码验证
  114. if($("#phone_add").val()==''){
  115. $.messager.alert('提醒','请输入手机号码');
  116. flag = false;
  117. }
  118. //单位名称
  119. if($("#company_add").val()==''){
  120. $.messager.alert('提醒','请输入单位名称');
  121. flag = false;
  122. }
  123. //验证家庭成员信息
  124. var isCar=2;
  125. var isBusiness=2;
  126. for(var i=1;i<=index;i++){
  127. var mbtb = $("#mbtb_"+i);
  128. //如果被删除,直接跳过
  129. if(mbtb.length > 0){
  130. var residenceNo=$("#residenceNo"+i).val()
  131. var idCard=$("#idCard"+i).val();
  132. var name=$("#name"+i).val();
  133. var relative=$("#relative"+i).val();
  134. var maritalStatus=$("#maritalStatus"+i).val();
  135. var maritalDate = $("#maritalDate"+i).datebox('getValue');
  136. var phone=$("#phone"+i).val();
  137. var nationality=$("#nationality"+i).val();
  138. var education=$("#education"+i).val();
  139. //户号
  140. if(residenceNo==''){
  141. $.messager.alert('提醒','请填户号');
  142. flag = false;
  143. }
  144. //验证姓名
  145. if(name==''){
  146. $.messager.alert('提醒','请填写姓名');
  147. flag = false;
  148. }
  149. //验证身份证号
  150. if(idCard!=''){
  151. if(!idCard1(idCard)){
  152. $.messager.alert('提醒','请填正确身份证号');
  153. flag = false;
  154. }
  155. }else{
  156. $.messager.alert('提醒','请填身份证号');
  157. flag = false;
  158. }
  159. //验证户籍关系
  160. if(relative==''){
  161. $.messager.alert('提醒','请填与申请人关系');
  162. flag = false;
  163. }
  164. //验证婚姻关系
  165. if(maritalStatus==''){
  166. $.messager.alert('提醒','请填婚姻状况');
  167. flag = false;
  168. }
  169. //除未成年、未婚都要填写登记时间
  170. if(maritalStatus !="6"&&maritalStatus !="5"){
  171. if(maritalDate ==''){
  172. $.messager.alert('提醒','请填婚姻登记日期');
  173. flag = false;
  174. }
  175. }
  176. //验证民族
  177. if(nationality==''){
  178. $.messager.alert('提醒','请选择民族');
  179. flag = false;
  180. }
  181. //验证文化
  182. if(education==''){
  183. $.messager.alert('提醒','请选择文化程度');
  184. flag = false;
  185. }
  186. //验证电话
  187. if(phone==''){
  188. $.messager.alert('提醒','请填联系电话');
  189. flag = false;
  190. }
  191. }
  192. }
  193. //家庭人口数量
  194. var mbtbNum = $(".mbtb > table").size();
  195. $("#familyNum_add").val(mbtbNum);
  196. return flag;
  197. }
  198. //计算人均收入
  199. function countAvgIncome(){
  200. var wageIncomeTotal = 0;
  201. var operatingNetIncomeTotal = 0;
  202. var propertyIncomeTotal = 0;
  203. var otherIncomeTotal = 0
  204. var avgIncome = 0;
  205. var avgArea = 0;
  206. var areaTotal = 0;
  207. var mbtbNum = $(".mbtb > table").size();
  208. for(var i=1;i<=index;i++){
  209. if($("#wageIncome"+i).val()==''||$("#wageIncome"+i).val()==undefined){
  210. $("#wageIncome"+i).val(0);
  211. }else{
  212. wageIncomeTotal+=parseInt($("#wageIncome"+i).val());
  213. }
  214. if($("#operatingNetIncome"+i).val()==''||$("#operatingNetIncome"+i).val()==undefined){
  215. $("#operatingNetIncome"+i).val(0);
  216. }else{
  217. operatingNetIncomeTotal+=parseInt($("#operatingNetIncome"+i).val());
  218. }
  219. if($("#propertyIncome"+i).val()==''||$("#propertyIncome"+i).val()==undefined){
  220. $("#propertyIncome"+i).val(0);
  221. }else{
  222. propertyIncomeTotal+=parseInt($("#propertyIncome"+i).val());
  223. }
  224. if($("#otherIncome"+i).val()==''||$("#otherIncome"+i).val()==undefined){
  225. $("#otherIncome"+i).val(0);
  226. }else{
  227. otherIncomeTotal+=parseInt($("#otherIncome"+i).val());
  228. }
  229. }
  230. avgIncome = Number((wageIncomeTotal+operatingNetIncomeTotal+propertyIncomeTotal+otherIncomeTotal)/mbtbNum).toFixed(2);
  231. $("#avgIncome_add").val(avgIncome);
  232. $("#avgIncome_span").text("家庭平均月收入=( "+wageIncomeTotal+"【工资收入】+"+operatingNetIncomeTotal+"【经营净收入】+"+propertyIncomeTotal+"【财产性收入】+"+otherIncomeTotal+"【其他收入】"+")/"+mbtbNum+"【人数】 = " + avgIncome + "元");
  233. }
  234. //验证家庭住房情况
  235. function verifyCurrentHouseSituation(){
  236. var flag = true;
  237. var currentHouseSituation=$('input:radio[name="securityPersonApply.currentHouseSituation"]:checked').val();
  238. var propertyCompany=$('#propertyCompany_add').val();
  239. if(typeof(propertyCompany)=="undefined" || propertyCompany == ''){
  240. $.messager.alert('提醒','请输入产权单位');
  241. flag = false;
  242. }
  243. var existArea=$('#existArea_add').val();
  244. if(typeof(existArea)=="undefined" || existArea == ''){
  245. $.messager.alert('提醒','请输房屋面积');
  246. flag = false;
  247. }
  248. var existReal=$('#existReal_add').val();
  249. if(typeof(existReal)=="undefined" || existReal == ''){
  250. $.messager.alert('提醒','请输房屋地址');
  251. flag = false;
  252. }
  253. return flag;
  254. }
  255. var index = 1;
  256. function addSecurityPersonApplyRelative(){
  257. index++;
  258. var $table = $("<table id='mbtb_"+index+"' class='mytable changeLine'></table>");
  259. var $tr1 = $("<tr style='border-top: 2px solid blue;'></tr>");
  260. var $th1_1 = $("<th width='11%'>户号</th>");
  261. var $td1_2 = $("<td width='20%'><input id='residenceNo"+index+"' type='text' style='width: 100px;'></td>");
  262. var $th1_3 = $("<th width='11%'>姓名</th>");
  263. var $td1_4 = $("<td width='22%'><input id='name"+index+"' type='text' style='width: 100px;'></td>");
  264. var $th1_5 = $("<th width='11%'>身份证号</th>");
  265. var $td1_6 = $("<td><input id='idCard"+index+"' type='text' style='width: 172px;'></td>");
  266. $tr1.append($th1_1);
  267. $tr1.append($td1_2);
  268. $tr1.append($th1_3);
  269. $tr1.append($td1_4);
  270. $tr1.append($th1_5);
  271. $tr1.append($td1_6);
  272. var $tr2 = $("<tr></tr>");
  273. var $th2_1 = $("<th>与申请人关系</th>");
  274. var $td2_2 = $("<td></td>");
  275. var $select_relative=$("<select id='relative" + index + "' style='width: 120px;'><option value=''>选择</option></select>")
  276. $select_relative.append(relative_array);
  277. $td2_2.append($select_relative);
  278. var $th2_3 = $("<th>婚姻状况</th>");
  279. var $td2_4 = $("<td></td>");
  280. var $select_maritalStatus=$("<select id='maritalStatus" + index + "' style='width: 120px;height: 20px;vertical-align: middle;'><option value=''>选择</option></select>")
  281. $select_maritalStatus.append(maritalStatus_array);
  282. var $maritalDate = $("<input type='text' style='width: 100px;' id='maritalDate" + index + "' class='easyui-datebox' editable='fasle'/>");
  283. $td2_4.append($select_maritalStatus);
  284. $td2_4.append($maritalDate);
  285. $.parser.parse($td2_4);
  286. var $th2_5 = $("<th>民族</th>");
  287. var $td2_6 = $("<td></td>");
  288. var $select_nationality=$("<select id='nationality" + index + "' style='width: 120px;'><option value=''>选择</option></select>")
  289. $select_nationality.append(nationality_array);
  290. $td2_6.append($select_nationality);
  291. $tr2.append($th2_1);
  292. $tr2.append($td2_2);
  293. $tr2.append($th2_3);
  294. $tr2.append($td2_4);
  295. $tr2.append($th2_5);
  296. $tr2.append($td2_6);
  297. var $tr3 = $("<tr></tr>");
  298. var $th3_1 = $("<th>联系电话</th>");
  299. var $td3_2 = $("<td><input id='phone"+index+"' type='text'/></td>");
  300. var $th3_3 = $("<th>工作单位</th>");
  301. var $td3_4 = $("<td><input id='company"+index+"' type='text'></td>");
  302. var $th3_5 = $("<th>文化程度</th>");
  303. var $td3_6 = $("<td></td>");
  304. var $select_education=$("<select id='education" + index + "' style='width: 120px;'><option value=''>选择</option></select>")
  305. $select_education.append(education_array);
  306. $td3_6.append($select_education);
  307. var $graduationDate = $("<input type='text' style='width: 100px;' id='graduationDate" + index + "' class='easyui-datebox' editable='fasle'/>");
  308. $td3_6.append($graduationDate);
  309. $.parser.parse($td3_6);
  310. $tr3.append($th3_1);
  311. $tr3.append($td3_2);
  312. $tr3.append($th3_3);
  313. $tr3.append($td3_4);
  314. $tr3.append($th3_5);
  315. $tr3.append($td3_6);
  316. var $tr6 = $("<tr></tr>");
  317. var $th6_1 = $("<th>是否交纳社保</th>");
  318. var $td6_2 = $("<td>"+
  319. "<input value='1' type='radio' name='isPension_"+index+"' id='isPension_"+index+"-1' checked='checked' />"+
  320. "<label for='isPension_"+index+"-1' style='cursor: pointer;'>是&nbsp;</label>"+
  321. "<input value='2' type='radio' name='isPension_"+index+"' id='isPension_"+index+"-2' />"+
  322. "<label for='isPension_"+index+"-2' style='cursor: pointer;'>否&nbsp;</label>"+
  323. "</td>"
  324. );
  325. var $th6_3 = $("<th>是否签订劳动合同(聘用合同)</th>");
  326. var $td6_4 = $("<td>"+
  327. "<input value='1' type='radio' name='isLaborContract_"+index+"' id='isLaborContract_"+index+"-1' checked='checked' />"+
  328. "<label for='isLaborContract_"+index+"-1' style='cursor: pointer;'>是&nbsp;</label>"+
  329. "<input value='2' type='radio' name='isLaborContract_"+index+"' id='isLaborContract_"+index+"-2' />"+
  330. "<label for='isLaborContract_"+index+"-2' style='cursor: pointer;'>否&nbsp;</label>"+
  331. "</td>"
  332. );
  333. $tr6.append($th6_1);
  334. $tr6.append($td6_2);
  335. $tr6.append($th6_3);
  336. $tr6.append($td6_4);
  337. var $tr8 = $("<tr></tr>");
  338. var $th8_1 = $("<th>资产信息</th>");
  339. var $td8_2 = $("<td colspan='5'></td>");
  340. var $button1 =$("<input id='carInfo"+index+"' type='button' value='车辆信息' onclick='carInfo_add("+index+")' style='margin: 0 0 0 6px;'/>");
  341. var $button2 =$("<input id='businessInfo"+index+"' type='button' value='工商信息' onclick='businessInfo_add("+index+")' style='margin: 0 0 0 6px;'/>");
  342. var $button3 =$("<input id='securitiesInfo"+index+"' type='button' value='证券信息' onclick='securitiesInfo_add("+index+")' style='margin: 0 0 0 6px;'/>");
  343. var $button4 =$("<input id='bankInfo"+index+"' type='button' value='银行信息' onclick='bankInfo_add("+index+")' style='margin: 0 0 0 6px;'/>");
  344. var $button5 =$("<input id='commercialInsuranceInfo"+index+"' type='button' value='商业保险信息' onclick='commercialInsuranceInfo_add("+index+")' style='margin: 0 0 0 6px;'/>");
  345. var $img = $("<img align='right' src='images/remove.png' onclick=remove('mbtb_" + index + "')>");
  346. $td8_2.append($button1);
  347. $td8_2.append($button2);
  348. $td8_2.append($button3);
  349. $td8_2.append($button4);
  350. $td8_2.append($button5);
  351. $td8_2.append($img);
  352. $tr8.append($th8_1);
  353. $tr8.append($td8_2);
  354. var $tr9 = $("<tr id='tr"+index+"_9' style='display: none;'></tr>");
  355. var $th9_1 = $("<th>资产信息</th>");
  356. var $td9_2 = $("<td id='all_td"+index+"' colspan='5'></td>");
  357. var $carInfo_div = $("<div id='carInfo_span"+index+"'></div>");
  358. var $carInfo_input = $("<input id='carInfo_input"+index+"' type='hidden'/>");
  359. var $businessInfo_div = $("<div id='businessInfo_span"+index+"'></div>");
  360. var $businessInfo_input = $("<input id='businessInfo_input"+index+"' type='hidden'/>");
  361. var $securitiesInfo_span = $("<span id='securitiesInfo_span"+index+"'></span>");
  362. var $securitiesInfo_input = $("<input id='securitiesInfo_input"+index+"' type='hidden' value='0'/>");
  363. var $bankInfo_span = $("<span id='bankInfo_span"+index+"'></span>");
  364. var $bankInfo_input = $("<input id='bankInfo_input"+index+"' type='hidden' value='0'/>");
  365. var $commercialInsuranceInfo_span = $("<span id='commercialInsuranceInfo_span"+index+"'></span>");
  366. var $commercialInsuranceInfo_input = $("<input id='commercialInsuranceInfo_input"+index+"' type='hidden' value='0'/>");
  367. $td9_2.append($carInfo_div);
  368. $td9_2.append($businessInfo_div);
  369. $td9_2.append($carInfo_input);
  370. $td9_2.append($businessInfo_input);
  371. $td9_2.append($securitiesInfo_span);
  372. $td9_2.append($securitiesInfo_input);
  373. $td9_2.append($bankInfo_span);
  374. $td9_2.append($bankInfo_input);
  375. $td9_2.append($commercialInsuranceInfo_span);
  376. $td9_2.append($commercialInsuranceInfo_input);
  377. $tr9.append($th9_1);
  378. $tr9.append($td9_2);
  379. $table.append($tr1);
  380. $table.append($tr2);
  381. $table.append($tr3);
  382. $table.append($tr6);
  383. $table.append($tr8);
  384. $table.append($tr9);
  385. $("#mbtb_1").after($table);
  386. }
  387. //删除家庭成员表格
  388. function remove(id){
  389. $("#" + id).remove();
  390. }
  391. </script>
  392. <form id="gy6Form" action="securityPersonApplyAction_addSecurityPersonApply" method="post" >
  393. <input type="hidden" id="familyNum_add" name="securityPersonApply.familyNum"/>
  394. <input type="hidden" id="addType_add" name="securityPersonApply.addType" value="1"/>
  395. <input type="hidden" id="type_add" name="securityPersonApply.type" value="18"/>
  396. <input type="hidden" id="flow_add" name="securityPersonApply.flow" value="6"/>
  397. <input type="hidden" name="securityPersonApply.isCar" id="isCar_add" value="2"/>
  398. <input type="hidden" name="securityPersonApply.isBusiness" id="isBusiness_add" value="2"/>
  399. <table id="securityPersonInfo" class="mytable">
  400. <tr>
  401. <th colspan="4"><span style="font-weight: bolder;">淮安市市区共有产权房--各类人才</span></th>
  402. </tr>
  403. <tr>
  404. <th colspan="4">申请人基本信息</th>
  405. </tr>
  406. <tr>
  407. <th width="11%"><em>*</em>申请人姓名</th>
  408. <td width="38%"><input type="text" name="securityPersonApply.securityPersonName" id="name_add"/></td>
  409. <th width="11%"><em>*</em>身份证号码</th>
  410. <td><input type="text" name="securityPersonApply.securityPersonIdCard" id="idCard_add" onchange="check(this.value)"/></td>
  411. </tr>
  412. <tr>
  413. <th><em>*</em>现婚姻状况</th>
  414. <td>
  415. <select name="securityPersonApply.maritalStatus" id="maritalStatus_add" style="width:172px">
  416. <option value="">请选择</option>
  417. </select>
  418. </td>
  419. <th><em>*</em>手机号码</th>
  420. <td><input type="text" name="securityPersonApply.phone" id="phone_add"/></td>
  421. </tr>
  422. <tr>
  423. <th><em>*</em>工作单位名称</th>
  424. <td><input type="text" id="company_add" name="securityPersonApply.company"/></td>
  425. <th><em>*</em>工作单位地址</th>
  426. <td><input type="text" id="workPlace_add" name="securityPersonApply.workPlace"/></td>
  427. </tr>
  428. <tr>
  429. <th><em>*</em>是否是人社部门认定的人才</th>
  430. <td><input value="1" type="radio" name="securityPersonApply.isPersonnel" id="isPersonnel-1" checked="checked">
  431. <label for="isPersonnel-1" style="cursor: pointer;">是&nbsp;</label>
  432. <input value="2" type="radio" name="securityPersonApply.isPersonnel" id="isPersonnel-2">
  433. <label for="isPersonnel-2" style="cursor: pointer;">否&nbsp;</label>
  434. </td>
  435. <th>认定时间</th>
  436. <td><input type="text" id="personnelDate_add" name="securityPersonApply.personnelDate" class="easyui-datebox"/></td>
  437. </tr>
  438. <tr id="education_info" style="display: none">
  439. <th><em>*</em>文化程度</th>
  440. <td>
  441. <select name="securityPersonApply.education" id="education_add" style="width:172px">
  442. <option value="">请选择</option>
  443. </select>
  444. </td>
  445. <th><em>*</em>毕业时间</th>
  446. <td>
  447. <input class="easyui-datebox" type="text" id="graduationDate_add" name="securityPersonApply.graduationDate" />
  448. </td>
  449. </tr>
  450. <tr>
  451. <th><em>*</em><span>是否交纳社保</span></th>
  452. <td>
  453. <input value="1" type="radio" name="securityPersonApply.pension" id="pension-1" checked="checked">
  454. <label for="pension-1" style="cursor: pointer;">是&nbsp;</label>
  455. <input value="2" type="radio" name="securityPersonApply.pension" id="pension-2">
  456. <label for="pension-2" style="cursor: pointer;">否&nbsp;</label>
  457. </td>
  458. <th><em>*</em>缴纳时间</th>
  459. <td>
  460. <input type="text" id="pensionDate_add" name="securityPersonApply.pensionDate" class="easyui-datebox"/>至
  461. <input type="text" id="pensionEndDate_add" name="securityPersonApply.pensionEndDate" class="easyui-datebox"/>
  462. </td>
  463. </tr>
  464. <tr>
  465. <th><em>*</em><span>是否签订劳动合同(聘用合同)</span></th>
  466. <td>
  467. <input value="1" type="radio" name="securityPersonApply.laborContract" id="laborContract-1" checked="checked">
  468. <label for="laborContract-1" style="cursor: pointer;">是&nbsp;</label>
  469. <input value="2" type="radio" name="securityPersonApply.laborContract" id="laborContract-2">
  470. <label for="laborContract-2" style="cursor: pointer;">否&nbsp;</label>
  471. </td>
  472. </tr>
  473. </table>
  474. <div id="mbtb_div" class="mbtb">
  475. <table class="mytable changeLine" id="mbtb_1">
  476. <tr>
  477. <th colspan="8">家庭成员基本信息
  478. <input id="" type="button" value="新增家庭成员" onclick="addSecurityPersonApplyRelative();" style="margin-left: 30px"/>
  479. <input type="button" value="计算家庭平均收入" onclick="countAvgIncome()"/>
  480. <span id="avgIncome_span"></span>
  481. <input id="avgIncome_add" name="securityPersonApply.avgIncome" type="hidden"/>
  482. </th>
  483. </tr>
  484. <tr style="border-top: 2px solid blue;">
  485. <th width="11%">户号</th>
  486. <td width="20%"><input id='residenceNo1' type='text' style="width: 100px;"></td>
  487. <th width="11%">姓名</th>
  488. <td width="22%"><input id='name1' type='text' style="width: 100px;"></td>
  489. <th width="11%">身份证号码</th>
  490. <td><input id='idCard1' type='text' style="width: 172px;"></td>
  491. </tr>
  492. <tr>
  493. <th>与申请人关系</th>
  494. <td>
  495. <select id='relative1' style='width: 120px;'>
  496. <option value='0'>申请人</option>
  497. </select>
  498. </td>
  499. <th>婚姻状况</th>
  500. <td>
  501. <select id='maritalStatus1' style='width: 120px;height: 20px;vertical-align: middle;'>
  502. <option value=''>选择</option>
  503. </select>
  504. <input type="text" style="width: 100px;" id='maritalDate1' class="easyui-datebox" editable="fasle"/>
  505. </td>
  506. <th>民族</th>
  507. <td>
  508. <select id='nationality1' style='width: 120px;'>
  509. <option value=''>选择</option>
  510. </select>
  511. </td>
  512. </tr>
  513. <tr>
  514. <th>联系电话</th>
  515. <td><input id="phone1"/></td>
  516. <th>工作单位</th>
  517. <td><input id='company1' type='text' style="width: 172px;"></td>
  518. <th>文化程度</th>
  519. <td>
  520. <select id='education1' style='width: 120px;'>
  521. <option value=''>选择</option>
  522. </select>
  523. <input type="text" style="width: 100px;" id='graduationDate1' class="easyui-datebox" editable="fasle"/>
  524. </td>
  525. </tr>
  526. <tr>
  527. <th>是否交纳社保</th>
  528. <td>
  529. <input value="1" type="radio" name="isPension_1" id="isPension_1-1" checked="checked">
  530. <label for="isPension_1-1" style="cursor: pointer;">是&nbsp;</label>
  531. <input value="2" type="radio" name="isPension_1" id="isPension_1-2">
  532. <label for="isPension_1-2" style="cursor: pointer;">否&nbsp;</label>
  533. </td>
  534. <th>是否签订劳动合同(聘用合同)</th>
  535. <td>
  536. <input value="1" type="radio" name="isLaborContract_1" id="isLaborContract_1-1" checked="checked">
  537. <label for="isLaborContract_1-1" style="cursor: pointer;">是&nbsp;</label>
  538. <input value="2" type="radio" name="isLaborContract_1" id="isLaborContract_1-2">
  539. <label for="isLaborContract_1-2" style="cursor: pointer;">否&nbsp;</label>
  540. </td>
  541. </tr>
  542. <tr>
  543. <th>资产信息</th>
  544. <td colspan="5">
  545. <input id="carInfo1" type="button" value="车辆信息" onclick="carInfo_add(1)"/>
  546. <input id="businessInfo1" type="button" value="工商信息" onclick="businessInfo_add(1)"/>
  547. <input id="securitiesInfo1" type="button" value="证券信息" onclick="securitiesInfo_add(1)"/>
  548. <input id="bankInfo1" type="button" value="银行信息" onclick="bankInfo_add(1)"/>
  549. <input id="commercialInsuranceInfo1" type="button" value="商业保险信息" onclick="commercialInsuranceInfo_add(1)"/>
  550. </td>
  551. </tr>
  552. <tr id="tr1_9" style="display: none;">
  553. <th>资产信息</th>
  554. <td id="all_td1" colspan="5">
  555. <!-- 车辆 -->
  556. <div id="carInfo_span1"></div>
  557. <input id="carInfo_input1" type="hidden"/>
  558. <!-- 工商 -->
  559. <div id="businessInfo_span1"></div>
  560. <input id="businessInfo_input1" type="hidden"/>
  561. <!-- 证券 -->
  562. <span id="securitiesInfo_span1"></span>
  563. <input id="securitiesInfo_input1" name="securityPersonApplyRelative.securitiesTotal" type="hidden" value="0"/>
  564. <!-- 银行 -->
  565. <span id="bankInfo_span1"></span>
  566. <input id="bankInfo_input1" name="securityPersonApplyRelative.bankTotal" type="hidden" value="0"/>
  567. <!-- 商业保险 -->
  568. <span id="commercialInsuranceInfo_span1"></span>
  569. <input id="commercialInsuranceInfo_input1" name="securityPersonApplyRelative.commercialInsurance" type="hidden" value="0"/>
  570. </td>
  571. </tr>
  572. </table>
  573. </div>
  574. <table class="mytable">
  575. <tr>
  576. <th colspan="2">现住房信息</th>
  577. </tr>
  578. <tr>
  579. <th width="20%"><em>*</em>家庭住房困难类型:</th>
  580. <td>
  581. <input value="1" type="radio" name="securityPersonApply.currentHouseSituation" id="currentHouseSituation-1">
  582. <label for="currentHouseSituation-1" style="cursor: pointer;">自有房产&nbsp;</label>
  583. <input value="2" type="radio" name="securityPersonApply.currentHouseSituation" id="currentHouseSituation-2">
  584. <label for="currentHouseSituation-2" style="cursor: pointer;">租住私房&nbsp;</label>
  585. <input value="3" type="radio" name="securityPersonApply.currentHouseSituation" id="currentHouseSituation-3">
  586. <label for="currentHouseSituation-3" style="cursor: pointer;">借住私房&nbsp;</label>
  587. <input value="4" type="radio" name="securityPersonApply.currentHouseSituation" id="currentHouseSituation-4">
  588. <label for="currentHouseSituation-4" style="cursor: pointer;">租住公房&nbsp;</label></br>
  589. <span style="color:#000;">房屋坐落:</span><input id="existReal_add" name="securityPersonApply.existReal" type="text" class="form-control" style="width: 300px;display: inline;"/>
  590. <span style="color:#000;">,面积:</span><input id="existArea_add" name="securityPersonApply.existArea" type="text" class="form-control" style="width: 100px;display: inline;"/>
  591. <span style="color:#000;">平方米,产权人:</span><input type="text" id="propertyCompany_add" name="securityPersonApply.propertyCompany" style="width: 100px;display: inline;">
  592. </td>
  593. </tr>
  594. <tr>
  595. <th>是否存在转让房产、取得拆迁安置补偿不满两年的情况:</th>
  596. <td>
  597. <input value="1" type="radio" name="securityPersonApply.isAssignmentHouse" id="isAssignmentHouse-1" />
  598. <label for="isAssignmentHouse-1" style="cursor: pointer;">是&nbsp;</label>
  599. <input value="2" type="radio"name="securityPersonApply.isAssignmentHouse" checked="checked" id="isAssignmentHouse-2" />
  600. <label for="isAssignmentHouse-2" style="cursor: pointer;">否&nbsp;</label>
  601. </td>
  602. </tr>
  603. <tr>
  604. <th>申请之日前两年是否享受过房改房、政策性商品房或其他住房保障政策:</th>
  605. <td>
  606. <input value="1" type="radio" name="securityPersonApply.hasUsed" id="hasUsed-1" />
  607. <label for="hasUsed-1" style="cursor: pointer;">是&nbsp;</label>
  608. <input value="2" type="radio"name="securityPersonApply.hasUsed" id="hasUsed-2" />
  609. <label for="hasUsed-2" style="cursor: pointer;">否&nbsp;</label>
  610. </td>
  611. </tr>
  612. </table>
  613. </form>