bt3Add.jsp 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961
  1. <%-- 年审补贴申请表外来务工--%>
  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. </style>
  6. <script type="text/javascript">
  7. var isDivorceAgreement = "";
  8. var divorceType = ""
  9. var btAnnualReview_load = function(id,name,idCard){
  10. $("#securityPersonId_btAnnualReview").val(id);
  11. $.ajax({
  12. type: "post",//使用get方法访问后台
  13. dataType: "json",//返回json格式的数据
  14. url: "securityPersonAction_findById",//要访问的后台地址
  15. data: "securityPerson.id="+id,//要发送的数据
  16. complete :function(){$("#load").hide();},//AJAX请求完成时隐藏loading提示
  17. success: function(msg){
  18. $("#name_btAnnualReview").val(msg.obj.name);
  19. $("#idCard_btAnnualReview").val(msg.obj.idCard);
  20. $("#nsRegisterUserId_btAnnualReview").val(msg.obj.nsRegisterUserId);
  21. $("#nsRegisterUserName_btAnnualReview").val(msg.obj.nsRegisterUserName);
  22. $("#nsRegisterTime_btAnnualReview").val(msg.obj.nsRegisterTime);
  23. $("#nsRegisterRemark_btAnnualReview").val(msg.obj.nsRegisterRemark);
  24. }
  25. })
  26. $('input:radio[name="securityPersonApply.hk_flag"]').change(function(){
  27. var hk_flag=$('input:radio[name="securityPersonApply.hk_flag"]:checked').val();
  28. if(hk_flag==1){
  29. $("#houseRegister_span").text("户口所在地")
  30. $("#houseRegisterId_select").show();
  31. $("#accountLocation_Input").hide();
  32. $("#area_btAnnualReview").attr("disabled","disabled");
  33. $("#area_btAnnualReview").val("1");
  34. getStreetList("1",0,"street_btAnnualReview");
  35. $("#street_btAnnualReview").children('option').remove();
  36. $("#temporaryDateInfo_tr").hide();
  37. }else{
  38. $("#houseRegister_span").text("暂住证所在地街道办");
  39. $("#area_btAnnualReview").attr("disabled","disabled");
  40. $("#area_btAnnualReview").val("1");
  41. getStreetList("1",0,"street_btAnnualReview");
  42. $("#temporaryDateInfo_tr").show();
  43. }
  44. })
  45. }
  46. var index = 1;
  47. function addSecurityPersonApplyRelative(){
  48. index++;
  49. var $table = $("<table id='mbtb_"+index+"' class='mytable changeLine'></table>");
  50. var $tr1 = $("<tr style='border-top: 2px solid blue;'></tr>");
  51. var $th1_1 = $("<th width='10%'>户号</th>");
  52. var $td1_2 = $("<td width='20%'><input id='residenceNo"+index+"' type='text' style='width: 100px;'></td>");
  53. var $th1_3 = $("<th width='10%'>姓名</th>");
  54. var $td1_4 = $("<td width='25%'><input id='name"+index+"' type='text' style='width: 100px;'></td>");
  55. var $th1_5 = $("<th width='10%'>身份证号</th>");
  56. var $td1_6 = $("<td width='25%'><input id='idCard"+index+"' type='text' style='width: 172px;'></td>");
  57. $tr1.append($th1_1);
  58. $tr1.append($td1_2);
  59. $tr1.append($th1_3);
  60. $tr1.append($td1_4);
  61. $tr1.append($th1_5);
  62. $tr1.append($td1_6);
  63. var $tr2 = $("<tr></tr>");
  64. var $th2_1 = $("<th>与户主关系</th>");
  65. var $td2_2 = $("<td></td>");
  66. var $select_relative=$("<select id='relative" + index + "' style='width: 100px;'><option value=''>选择</option></select>")
  67. $select_relative.append(relative_array);
  68. $td2_2.append($select_relative);
  69. var $th2_3 = $("<th>婚姻状况</th>");
  70. var $td2_4 = $("<td></td>");
  71. var $select_maritalStatus=$("<select id='maritalStatus" + index + "' style='width: 120px;height: 20px;vertical-align: middle;'><option value=''>选择</option></select>")
  72. $select_maritalStatus.append(maritalStatus_array);
  73. var $maritalDate = $("<input type='text' style='width: 100px;' id='maritalDate" + index + "' class='easyui-datebox' editable='fasle'/>");
  74. $td2_4.append($select_maritalStatus);
  75. $td2_4.append($maritalDate);
  76. $.parser.parse($td2_4);
  77. var $th2_5 = $("<th>是否持居住证</th>");
  78. var $td2_6 = $("<td>" +
  79. "<input value='1' type='radio' name='isResidencePermit_"+index+"' id='isResidencePermit_"+index+"-1' checked='checked'>"+
  80. "<label for='isResidencePermit_"+index+"-1' style='cursor: pointer;'>是&nbsp;</label>"+
  81. "<input value='2' type='radio' name='isResidencePermit_"+index+"' id='isResidencePermit_"+index+"-2'>"+
  82. "<label for='isResidencePermit_"+index+"-2' style='cursor: pointer;'>否&nbsp;</label>"+
  83. "</td>");
  84. $tr2.append($th2_1);
  85. $tr2.append($td2_2);
  86. $tr2.append($th2_3);
  87. $tr2.append($td2_4);
  88. $tr2.append($th2_5);
  89. $tr2.append($td2_6);
  90. var $tr3 = $("<tr></tr>");
  91. var $th3_1 = $("<th>工作单位</th>");
  92. var $td3_2 = $("<td><input id='company"+index+"' type='text' style='width: 172px;'></td>");
  93. var $th3_3 = $("<th>资产信息</th>");
  94. var $td3_4 = $("<td></td>");
  95. var $button1 =$("<input id='carInfo"+index+"' type='button' value='车辆信息' onclick='carInfo_btAnnualReview("+index+")' style='margin: 0 0 0 6px;'/>");
  96. var $button2 =$("<input id='businessInfo"+index+"' type='button' value='工商信息' onclick='businessInfo_btAnnualReview("+index+")' style='margin: 0 0 0 6px;'/>");
  97. var $button3 =$("<input id='securitiesInfo"+index+"' type='button' value='证券信息' onclick='securitiesInfo_btAnnualReview("+index+")' style='margin: 0 0 0 6px;'/>");
  98. var $button4 =$("<input id='bankInfo"+index+"' type='button' value='银行信息' onclick='bankInfo_btAnnualReview("+index+")' style='margin: 0 0 0 6px;'/>");
  99. var $button5 =$("<input id='commercialInsuranceInfo"+index+"' type='button' value='商业保险信息' onclick='commercialInsuranceInfo_btAnnualReview("+index+")' style='margin: 0 0 0 6px;'/>");
  100. var $img = $("<img align='right' src='images/remove.png' onclick=remove('mbtb_" + index + "')>");
  101. $td3_4.append($button1);
  102. $td3_4.append($button2);
  103. $td3_4.append($button3);
  104. $td3_4.append($button4);
  105. $td3_4.append($button5);
  106. $td3_4.append($img);
  107. var $th3_5 = $("<th>是否低保</th>");
  108. var $td3_6 = $("<td>"+
  109. "<input value='1' type='radio' name='isSubsistenceAllowances_"+index+"' id='isSubsistenceAllowances_"+index+"-1'>"+
  110. "<label for='isSubsistenceAllowances_"+index+"-1' style='cursor: pointer;'>是&nbsp;</label>"+
  111. "<input value='2' type='radio' name='isSubsistenceAllowances_"+index+"' id='isSubsistenceAllowances_"+index+"-2' checked='checked'>"+
  112. "<label for='isSubsistenceAllowances_"+index+"-2' style='cursor: pointer;'>否&nbsp;</label>"+
  113. "</td>"
  114. );
  115. $tr3.append($th3_1);
  116. $tr3.append($td3_2);
  117. $tr3.append($th3_5);
  118. $tr3.append($td3_6);
  119. $tr3.append($th3_3);
  120. $tr3.append($td3_4);
  121. var $tr4 = $("<tr id='tr"+index+"_4' style='display: none;'></tr>");
  122. var $th4_1 = $("<th>资产信息</th>");
  123. var $td4_2 = $("<td id='all_td"+index+"' colspan='5'></td>");
  124. var $carInfo_div = $("<div id='carInfo_span"+index+"'></div>");
  125. var $carInfo_input = $("<input id='carInfo_input"+index+"' type='hidden'/>");
  126. var $businessInfo_div = $("<div id='businessInfo_span"+index+"'></div>");
  127. var $businessInfo_input = $("<input id='businessInfo_input"+index+"' type='hidden'/>");
  128. var $securitiesInfo_span = $("<span id='securitiesInfo_span"+index+"'></span>");
  129. var $securitiesInfo_input = $("<input id='securitiesInfo_input"+index+"' type='hidden' value='0'/>");
  130. var $bankInfo_span = $("<span id='bankInfo_span"+index+"'></span>");
  131. var $bankInfo_input = $("<input id='bankInfo_input"+index+"' type='hidden' value='0'/>");
  132. var $commercialInsuranceInfo_span = $("<span id='commercialInsuranceInfo_span"+index+"'></span>");
  133. var $commercialInsuranceInfo_input = $("<input id='commercialInsuranceInfo_input"+index+"' type='hidden' value='0'/>");
  134. $td4_2.append($carInfo_div);
  135. $td4_2.append($businessInfo_div);
  136. $td4_2.append($carInfo_input);
  137. $td4_2.append($businessInfo_input);
  138. $td4_2.append($securitiesInfo_span);
  139. $td4_2.append($securitiesInfo_input);
  140. $td4_2.append($bankInfo_span);
  141. $td4_2.append($bankInfo_input);
  142. $td4_2.append($commercialInsuranceInfo_span);
  143. $td4_2.append($commercialInsuranceInfo_input);
  144. $tr4.append($th4_1);
  145. $tr4.append($td4_2);
  146. var $tr5 = $("<tr></tr>");
  147. var $th5_1 = $("<th>工薪收入(元/月)</th>");
  148. var $td5_2 = $("<td><input id='wageIncome"+index+"' type='text' style='width: 172px;'></td>");
  149. var $th5_3 = $("<th>经营净收入(元/月)</th>");
  150. var $td5_4 = $("<td><input id='operatingNetIncome"+index+"' type='text' style='width: 172px;'></td>");
  151. var $th5_5 = $("<th>财产性收入(元/月)</th>");
  152. var $td5_6 = $("<td><input id='propertyIncome"+index+"' type='text' style='width: 172px;'></td>");
  153. $tr5.append($th5_1);
  154. $tr5.append($td5_2);
  155. $tr5.append($th5_3);
  156. $tr5.append($td5_4);
  157. $tr5.append($th5_5);
  158. $tr5.append($td5_6);
  159. var $tr6 = $("<tr></tr>");
  160. var $th6_1 = $("<th>其他收入(元/月)</th>");
  161. var $td6_2 = $("<td><input id='otherIncome"+index+"' type='text' style='width: 172px;'></td>");
  162. var $th6_3 = $("<th>其他收入备注</th>");
  163. var $td6_4 = $("<td><input id='otherIncomeRemark"+index+"' type='text'></td>");
  164. var $th6_5 = $("<th>联系电话</th>");
  165. var $td6_6 = $("<td><input id='phone"+index+"' type='text'/></td>");
  166. $tr6.append($th6_1);
  167. $tr6.append($td6_2);
  168. $tr6.append($th6_3);
  169. $tr6.append($td6_4);
  170. $tr6.append($th6_5);
  171. $tr6.append($td6_6);
  172. var type = $("#type_add").val();
  173. if(type=="3"){
  174. $table.append($tr1);
  175. $table.append($tr2);
  176. $table.append($tr3);
  177. $table.append($tr4);
  178. }else{
  179. $table.append($tr1);
  180. $table.append($tr2);
  181. $table.append($tr5);
  182. $table.append($tr6);
  183. $table.append($tr3);
  184. $table.append($tr4);
  185. }
  186. $("#mbtb_1").after($table);
  187. }
  188. var issubmit=false;
  189. var btAnnualReview_submit = function(){
  190. var type=$("#type_btAnnualReview").val();
  191. //申请类别验证
  192. if($("#type_btAnnualReview").val()==''){
  193. $.messager.alert('提醒','请选择申请类别');
  194. return false;
  195. }
  196. //姓名验证
  197. if($("#name_btAnnualReview").val()==''){
  198. $.messager.alert('提醒','请输入姓名');
  199. return false;
  200. }
  201. //身份证验证
  202. if($("#idCard_btAnnualReview").val()==''){
  203. $.messager.alert('提醒','请输入身份证号');
  204. return false;
  205. }else{
  206. if(!idCard1($("#idCard_btAnnualReview").val())){
  207. $.messager.alert('提醒','请检查输入的身份证号是否正确');
  208. return false;
  209. }
  210. }
  211. //婚姻状况验证
  212. if($("#maritalStatus_btAnnualReview").val()==''){
  213. $.messager.alert('提醒','请选择现婚姻状况');
  214. return false;
  215. }
  216. //手机号码验证
  217. if($("#phone_btAnnualReview").val()==''){
  218. $.messager.alert('提醒','请输入手机号码');
  219. return false;
  220. }
  221. //离婚协议验证
  222. isDivorceAgreement=$('input:radio[name="securityPersonApply.isDivorceAgreement"]:checked').val();
  223. divorceType = $('input:radio[name="securityPersonApply.divorceType"]:checked').val();
  224. if(typeof(isDivorceAgreement)=="undefined"){
  225. $.messager.alert('提醒','请选择是否有离婚协议');
  226. return false;
  227. }else{
  228. if(isDivorceAgreement=="2"){
  229. if(typeof(divorceType)=="undefined"){
  230. $.messager.alert('提醒','请选择离婚方式');
  231. return false;
  232. }
  233. }
  234. }
  235. if(type=="1"){
  236. //默认是本地户口
  237. $("#hk_flag-1").attr("checked","checked");
  238. //户口所在地
  239. if($("#neighborhood_add").val()==''){
  240. $.messager.alert('提醒','请选择户口所在地');
  241. return false;
  242. }
  243. if($("#community_add").val()==''){
  244. $.messager.alert('提醒','请选择户口所在地社区');
  245. return false;
  246. }
  247. //现住房情况
  248. if(verifyCurrentHouseSituation()==false){
  249. return false;
  250. };
  251. }
  252. //验证家庭成员信息
  253. var isCar=2;
  254. var isBusiness=2;
  255. for(var i=1;i<=index;i++){
  256. var mbtb = $("#mbtb_"+i);
  257. //如果被删除,直接跳过
  258. if(mbtb.length > 0){
  259. var residenceNo=$("#residenceNo"+i).val()
  260. var idCard=$("#idCard"+i).val();
  261. var name=$("#name"+i).val();
  262. var relative=$("#relative"+i).val();
  263. var maritalStatus=$("#maritalStatus"+i).val();
  264. var wageIncome=$("#wageIncome"+i).val();
  265. var maritalDate = $("#maritalDate"+i).datebox('getValue');
  266. var phone=$("#phone"+i).val();
  267. var carInfo =$("#carInfo_input"+i).val();
  268. var businessesInfo =$("#businessInfo_input"+i).val();
  269. //户号
  270. if(residenceNo==''){
  271. $.messager.alert('提醒','请填户号');
  272. return false;
  273. }
  274. //验证姓名
  275. if(name==''){
  276. $.messager.alert('提醒','请填写姓名');
  277. return false;
  278. }
  279. //验证身份证号
  280. if(idCard!=''){
  281. if(!idCard1(idCard)){
  282. $.messager.alert('提醒','请填正确身份证号');
  283. return false;
  284. }
  285. }else{
  286. $.messager.alert('提醒','请填身份证号');
  287. return false;
  288. }
  289. //验证户籍关系
  290. if(relative==''){
  291. $.messager.alert('提醒','请填与户主关系');
  292. return false;
  293. }
  294. //验证婚姻关系
  295. if(maritalStatus==''){
  296. $.messager.alert('提醒','请填婚姻状况');
  297. return false;
  298. }
  299. //除未成年、未婚都要填写登记时间
  300. if(maritalStatus !="6"&&maritalStatus !="5"){
  301. if(maritalDate ==''){
  302. $.messager.alert('提醒','请填婚姻登记日期');
  303. }
  304. }
  305. if(phone==''){
  306. $.messager.alert('提醒','请填联系电话');
  307. return false;
  308. }
  309. //验证是否有车与工商信息
  310. if(carInfo!=''){
  311. isCar = 1;
  312. }
  313. if(businessesInfo!=''){
  314. isBusiness = 1;
  315. }
  316. }
  317. }
  318. $("#isCar_btAnnualReview").val(isCar);
  319. $("#isBusiness_btAnnualReview").val(isBusiness);
  320. //计算家庭人均收入
  321. if($("#avgIncome_btAnnualReview").val()==""||$("#avgIncome_btAnnualReview").val()==null){
  322. countAvgIncome();
  323. }
  324. //家庭人口数量
  325. var mbtbNum = $(".mbtb > table").size();
  326. $("#familyNum_btAnnualReview").val(mbtbNum);
  327. if(issubmit==false){
  328. issubmit=true;
  329. $.ajax({
  330. type: "POST",
  331. url:"securityPersonApply2Action_addSecurityPersonApply",
  332. data:$('#addSecurityPersonApplyForm').serialize(),// 你的formid
  333. async: false,
  334. error: function(data) {
  335. $.messager.alert("提示","提交失败");
  336. },
  337. success: function(result) {
  338. var parseResult = $.parseJSON(result);
  339. if(parseResult.success){
  340. $('#bt3AnnualReviewDialog').dialog("close");
  341. var securityPersonApplyId = parseResult.obj.id;
  342. var fileNum = parseResult.obj.fileNum;
  343. for(var i=1;i<=index;i++){
  344. if($("#mbtb_" + i).length > 0 ){
  345. var url = whzl.basePath+'/securityPersonApply2Action_addSecurityPersonApplyRelative';
  346. $.ajax({
  347. type: "post",//使用post方法访问后台
  348. dataType: "json",//返回json格式的数据
  349. url: url,//要访问的后台地址
  350. async: false,
  351. data:{"securityPersonApplyRelative.securityPersonApplyId":securityPersonApplyId ,
  352. "securityPersonApplyRelative.fileNum":fileNum ,
  353. "securityPersonApplyRelative.name":$("#name" + i ).val() ,
  354. "securityPersonApplyRelative.relative":$("#relative" + i ).val() ,
  355. "securityPersonApplyRelative.idCard":$("#idCard" + i ).val() ,
  356. "securityPersonApplyRelative.maritalStatus":$("#maritalStatus" + i ).val() ,
  357. "securityPersonApplyRelative.maritalDate":$("#maritalDate" + i ).datebox('getValue') ,
  358. "securityPersonApplyRelative.company":$("#company" + i ).val() ,
  359. "securityPersonApplyRelative.residenceNo":$("#residenceNo" + i ).val() ,
  360. "securityPersonApplyRelative.wageIncome":$("#wageIncome" + i ).val() ,
  361. "securityPersonApplyRelative.operatingNetIncome":$("#operatingNetIncome" + i ).val() ,
  362. "securityPersonApplyRelative.propertyIncome":$("#propertyIncome" + i ).val() ,
  363. "securityPersonApplyRelative.otherIncome":$("#otherIncome" + i ).val() ,
  364. "securityPersonApplyRelative.otherIncomeRemark":$("#otherIncomeRemark" + i ).val() ,
  365. "securityPersonApplyRelative.securitiesTotal":$("#securitiesInfo_input" + i ).val() ,
  366. "securityPersonApplyRelative.bankTotal":$("#bankInfo_input" + i ).val() ,
  367. "securityPersonApplyRelative.isResidencePermit":$("input:radio[name='isResidencePermit_"+i+"']:checked").val() ,
  368. "securityPersonApplyRelative.isSubsistenceAllowances":$("input:radio[name='isSubsistenceAllowances_"+i+"']:checked").val(),
  369. "securityPersonApplyRelative.commercialInsurance":$("#commercialInsuranceInfo_input" + i ).val(),
  370. "securityPersonApplyRelative.phone":$("#phone" + i ).val(),
  371. "securityPersonApplyRelative.isDivorceAgreement":isDivorceAgreement,
  372. "securityPersonApplyRelative.divorceType":divorceType
  373. },
  374. success : function(result){
  375. $.ajax({
  376. type: "post",//使用post方法访问后台
  377. dataType: "json",//返回json格式的数据
  378. url: whzl.basePath+'/securityPersonApply2Action_addAssets',//要访问的后台地址
  379. async: false,
  380. data:{"securityPersonApplyRelative.id":result.obj.id ,
  381. "cars":$("#carInfo_input"+i).val() ,
  382. "businesses": $("#businessInfo_input"+i).val() ,
  383. },
  384. });
  385. $("#securityPersonInfoDataGrid").datagrid("reload");
  386. $("#securityPersonInfoDataGrid").datagrid('clearSelections');
  387. }
  388. });
  389. }
  390. }
  391. }
  392. }
  393. })
  394. }
  395. }
  396. //验证家庭住房情况
  397. function verifyCurrentHouseSituation(){
  398. var flag = true;
  399. var currentHouseSituation=$('input:radio[name="securityPersonApply.currentHouseSituation"]:checked').val();
  400. if(typeof(currentHouseSituation)=="undefined"){
  401. /*$.messager.alert('提醒','请选择家庭住房情况');
  402. flag = false;*/
  403. }else{
  404. if("1" == currentHouseSituation){
  405. var propertyPerson=$('#propertyPerson_btAnnualReview').val();
  406. if(typeof(propertyPerson)=="undefined" || propertyPerson == ''){
  407. $.messager.alert('提醒','请输入产权人');
  408. flag = false;
  409. }
  410. var existArea=$('#existArea_btAnnualReview').val();
  411. if(typeof(existArea)=="undefined" || existArea == ''){
  412. $.messager.alert('提醒','请输房屋面积');
  413. flag = false;
  414. }
  415. var existReal=$('#existReal_btAnnualReview').val();
  416. if(typeof(existReal)=="undefined" || existReal == ''){
  417. $.messager.alert('提醒','请输房屋地址');
  418. flag = false;
  419. }
  420. }
  421. }
  422. return flag;
  423. }
  424. function countAvgIncome(){
  425. var wageIncomeTotal = 0;
  426. var operatingNetIncomeTotal = 0;
  427. var propertyIncomeTotal = 0;
  428. var otherIncomeTotal = 0
  429. var avgIncome = 0;
  430. var avgArea = 0;
  431. var areaTotal = 0;
  432. var mbtbNum = $(".mbtb > table").size();
  433. for(var i=1;i<=index;i++){
  434. if($("#wageIncome"+i).val()==''||$("#wageIncome"+i).val()==undefined){
  435. $("#wageIncome"+i).val(0);
  436. }else{
  437. wageIncomeTotal+=parseInt($("#wageIncome"+i).val());
  438. }
  439. if($("#operatingNetIncome"+i).val()==''||$("#operatingNetIncome"+i).val()==undefined){
  440. $("#operatingNetIncome"+i).val(0);
  441. }else{
  442. operatingNetIncomeTotal+=parseInt($("#operatingNetIncome"+i).val());
  443. }
  444. if($("#propertyIncome"+i).val()==''||$("#propertyIncome"+i).val()==undefined){
  445. $("#propertyIncome"+i).val(0);
  446. }else{
  447. propertyIncomeTotal+=parseInt($("#propertyIncome"+i).val());
  448. }
  449. if($("#otherIncome"+i).val()==''||$("#otherIncome"+i).val()==undefined){
  450. $("#otherIncome"+i).val(0);
  451. }else{
  452. otherIncomeTotal+=parseInt($("#otherIncome"+i).val());
  453. }
  454. }
  455. avgIncome = Number((wageIncomeTotal+operatingNetIncomeTotal+propertyIncomeTotal+otherIncomeTotal)/mbtbNum).toFixed(2);
  456. $("#avgIncome_btAnnualReview").val(avgIncome);
  457. $("#avgIncome_span").text("家庭平均月收入=( "+wageIncomeTotal+"【工资收入】+"+operatingNetIncomeTotal+"【经营净收入】+"+propertyIncomeTotal+"【财产性收入】+"+otherIncomeTotal+"【其他收入】"+")/"+mbtbNum+"【人数】 = " + avgIncome + "元");
  458. //平均面积
  459. if($("#existArea_btAnnualReview").val()!=''||$("#existArea_btAnnualReview").val()!=undefined){
  460. areaTotal = $("#existArea_btAnnualReview").val();
  461. avgArea = Number(areaTotal/mbtbNum).toFixed(2);
  462. $("#avgArea_add").val(avgArea);
  463. }
  464. }
  465. function carInfo_btAnnualReview(index){
  466. $("#addAssetsInfoDialog").dialog({
  467. buttons:[{
  468. text:"确认",
  469. iconCls : 'icon-ok',
  470. handler : function(){
  471. $("#car_id").val(index);
  472. var id = "car_index_" + (new Date()).valueOf();
  473. var indexCar = $("#car_id").val();
  474. var vehicleBrand = "车辆品牌:" + $("#vehicleBrand1").val();
  475. var vehicleModel = "车辆型号:" + $("#vehicleModel1").val();
  476. var buyFirstTime = "初次购买日期:" + $("#buyFirstTime1").datebox("getValue");
  477. var estimatePrice = "车辆价值(元):" + $("#estimatePrice1").val();
  478. if($("#estimatePrice1").val()==''){
  479. $.messager.alert('提醒','请输入车辆价值');
  480. return ;
  481. }
  482. var spanText = vehicleBrand + "," + vehicleModel + "," + buyFirstTime + "," + estimatePrice;
  483. var delBtn = "<img src='images/i_de.png' style='float:left; margin-left:10px;cursor:pointer' onclick=delCar('"+id+"','"+spanText+"','"+indexCar+"')>";
  484. var html = "<div id='"+id+"' style='height:20px;'><span style='float:left;margin-left:10px;'>"+spanText+"</span>"+ delBtn + "</div>";
  485. var pText = $('#carInfo_span'+indexCar).html();
  486. $("#carInfo_span"+indexCar).html(pText + html);
  487. var cars_hidden_text_id = '#carInfo_input' + indexCar;
  488. $(cars_hidden_text_id).val($(cars_hidden_text_id).val() + "###" + spanText);
  489. $("#tr"+index+"_4").show();
  490. $("#addAssetsInfoDialog").dialog("close");
  491. }
  492. },{
  493. text:"取消",
  494. iconCls : 'icon-cancel',
  495. handler : function(){
  496. $("#addAssetsInfoDialog").dialog("close");
  497. }
  498. }],
  499. onLoad : function(){
  500. $("#carInfo_tb").show();
  501. }
  502. })
  503. }
  504. function delCar(id,spanText,indexCar){
  505. //删除该车辆
  506. $("#"+id).remove();
  507. //删除车辆信息
  508. $("#carInfo_input"+indexCar).val($("#carInfo_input"+indexCar).val().replace('###'+spanText,''));
  509. }
  510. function businessInfo_btAnnualReview(index){
  511. $("#addAssetsInfoDialog").dialog({
  512. buttons:[{
  513. text:"确认",
  514. iconCls : 'icon-ok',
  515. handler : function(){
  516. $("#business_id").val(index)
  517. var id = "business_index_" + (new Date()).valueOf();
  518. var indexbusiness = $("#business_id").val();
  519. var businessName = "企业名称:" + $("#businessName1").val();
  520. var businessAddress = "地址:" + $("#businessAddress1").val();
  521. var shareholderName = "股东名称:" + $("#shareholderName1").val();
  522. var investmentAmount = "出资金额:" + $("#investmentAmount1").val();
  523. var spanText = businessName + "," + businessAddress + "," + shareholderName + "," + investmentAmount;
  524. var delBtn = "<img src='images/i_de.png' style='float:left; margin-left:10px;cursor:pointer' onclick=delBusiness('"+id+"','"+spanText+"','"+indexbusiness+"')>";
  525. var html = "<div id='"+id+"' style='height:20px;'><span style='float:left;margin-left:10px;'>"+spanText+"</span>"+ delBtn + "</div>";
  526. var pText = $('#businessInfo_span'+indexbusiness).html();
  527. $("#businessInfo_span"+indexbusiness).html(pText + html);
  528. var businesss_hidden_text_id = '#businessInfo_input' + indexbusiness;
  529. $(businesss_hidden_text_id).val($(businesss_hidden_text_id).val() + "###" + spanText);
  530. $("#tr"+index+"_4").show();
  531. $("#addAssetsInfoDialog").dialog("close");
  532. }
  533. },{
  534. text:"取消",
  535. iconCls : 'icon-cancel',
  536. handler : function(){
  537. $("#addAssetsInfoDialog").dialog("close");
  538. }
  539. }],
  540. onLoad : function(){
  541. $("#businessInfo_tb").show();
  542. }
  543. })
  544. }
  545. function delBusiness(id,spanText,indexBusiness){
  546. //删除该车辆
  547. $("#"+id).remove();
  548. //删除车辆信息
  549. $("#businessInfo_input"+indexBusiness).val($("#businessInfo_input"+indexBusiness).val().replace('###'+spanText,''));
  550. }
  551. //股票信息添加
  552. function securitiesInfo_btAnnualReview(index){
  553. $("#addAssetsInfoDialog").dialog({
  554. buttons:[{
  555. text:"确认",
  556. iconCls : 'icon-ok',
  557. handler : function(){
  558. $("#addAssetsInfoDialog").dialog("close");
  559. var securitiesTotal=$("#securitiesTotal1").val()
  560. $("#securitiesInfo_span"+index).html("证券总额为:"+securitiesTotal+"</br>");
  561. $("#securitiesInfo_input"+index).val(securitiesTotal);
  562. $("#tr"+index+"_4").show();
  563. }
  564. },{
  565. text:"取消",
  566. iconCls : 'icon-cancel',
  567. handler : function(){
  568. $("#addAssetsInfoDialog").dialog("close");
  569. }
  570. }],
  571. onLoad : function(){
  572. $("#securitiesInfo_tb").show();
  573. }
  574. })
  575. }
  576. //银行存款信息添加
  577. function bankInfo_btAnnualReview(index){
  578. $("#addAssetsInfoDialog").dialog({
  579. buttons:[{
  580. text:"确认",
  581. iconCls : 'icon-ok',
  582. handler : function(){
  583. $("#addAssetsInfoDialog").dialog("close");
  584. var bankTotal=$("#bankTotal1").val()
  585. $("#bankInfo_span"+index).html("银行存款总额为:"+bankTotal+"</br>");
  586. $("#bankInfo_input"+index).val(bankTotal);
  587. $("#tr"+index+"_4").show();
  588. }
  589. },{
  590. text:"取消",
  591. iconCls : 'icon-cancel',
  592. handler : function(){
  593. $("#addAssetsInfoDialog").dialog("close");
  594. }
  595. }],
  596. onLoad : function(){
  597. $("#bankInfo_tb").show();
  598. }
  599. })
  600. }
  601. //商业保险添加
  602. function commercialInsuranceInfo_btAnnualReview(index){
  603. $("#addAssetsInfoDialog").dialog({
  604. buttons:[{
  605. text:"确认",
  606. iconCls : 'icon-ok',
  607. handler : function(){
  608. $("#addAssetsInfoDialog").dialog("close");
  609. var commercialInsuranceInfo=$("#commercialInsuranceTotal1").val();
  610. $("#commercialInsuranceInfo_span"+index).html("商业保险总额为:"+commercialInsuranceInfo+"</br>");
  611. $("#commercialInsuranceInfo_input"+index).val(commercialInsuranceInfo);
  612. $("#tr"+index+"_4").show();
  613. }
  614. },{
  615. text:"取消",
  616. iconCls : 'icon-cancel',
  617. handler : function(){
  618. $("#addAssetsInfoDialog").dialog("close");
  619. }
  620. }],
  621. onLoad : function(){
  622. $("#commercialInsuranceInfo_tb").show();
  623. }
  624. })
  625. }
  626. //删除家庭成员表格
  627. function remove(id){
  628. $("#" + id).remove();
  629. //index--;
  630. }
  631. function addCar(){
  632. carCount++;
  633. $tr1 = $("<tr></tr>");
  634. $th1_1 = $("<th>车辆品牌</th>");
  635. $td1_2 = $("<td><input id='vehicleBrand"+carCount+"' type='text'/></td>");
  636. $th1_3 = $("<th>车辆型号</th>");
  637. $td1_4 = $("<td><input id='vehicleModel"+carCount+"' type='text'/></td>");
  638. $tr1.append($th1_1);
  639. $tr1.append($td1_2);
  640. $tr1.append($th1_3);
  641. $tr1.append($td1_4);
  642. $tr2 = $("<tr></tr>");
  643. $th2_1 = $("<th>是否是一手车</th>");
  644. $td2_2 = $("<td></td>")
  645. $input1 = $("<input value='1' type='radio' id='usedCar-1_"+carCount+"' name='usedCar"+carCount+"'>")
  646. $label1 =$("<label for='usedCar-1_"+carCount+"'>是&nbsp;</label>");
  647. $input2 = $("<input value='2' type='radio' id='usedCar-2_"+carCount+"' name='usedCar"+carCount+"'>")
  648. $label2 =$("<label for='usedCar-2_"+carCount+"'>否&nbsp;</label>");
  649. $td2_2.append($input1);
  650. $td2_2.append($label1);
  651. $td2_2.append($input2);
  652. $td2_2.append($label2);
  653. $th2_3 = $("<th>初始购买日期</th>");
  654. $td2_4 = $("<td><input id='buyFirstTime"+carCount+"' type='text' class='easyui-datebox'/></td>")
  655. $.parser.parse($td2_4);
  656. $tr2.append($th2_1);
  657. $tr2.append($td2_2);
  658. $tr2.append($th2_3);
  659. $tr2.append($td2_4);
  660. $("#carInfo_tb").append($tr1);
  661. $("#carInfo_tb").append($tr2);
  662. }
  663. function addBusiness(){
  664. businessCount++;
  665. $tr1 = $("<tr></tr>");
  666. $th1_1 = $("<th>单位名称</th>");
  667. $td1_2 = $("<td><input id='businseeName"+businessCount+"' type='text'/></td>");
  668. $th1_3 = $("<th>地址</th>");
  669. $td1_4 = $("<td><input id='businessAddress"+businessCount+"' type='text'/></td>");
  670. $tr1.append($th1_1);
  671. $tr1.append($td1_2);
  672. $tr1.append($th1_3);
  673. $tr1.append($td1_4);
  674. $tr2 = $("<tr></tr>");
  675. $th2_1 = $("<th>股东名称</th>");
  676. $td2_2 = $("<td><input id='shareholderName"+businessCount+"' type='text'/></td>");
  677. $th2_3 = $("<th>出资金额</th>");
  678. $td2_4 = $("<td><input id='investmentAmount"+businessCount+"' type='text'/></td>");
  679. $tr2.append($th2_1);
  680. $tr2.append($td2_2);
  681. $tr2.append($th2_3);
  682. $tr2.append($td2_4);
  683. $("#businessInfo_tb").append($tr1);
  684. $("#businessInfo_tb").append($tr2);
  685. }
  686. </script>
  687. <form id="addSecurityPersonApplyForm" action="securityPersonApplyAction_addSecurityPersonApply" method="post" >
  688. <input type="hidden" id="familyNum_btAnnualReview" name="securityPersonApply.familyNum"/>
  689. <input type="hidden" id="securityNum_btAnnualReview" name="securityPersonApply.securityNum"/>
  690. <table id="securityPersonInfo" class="mytable">
  691. <tr>
  692. <th colspan="4">户主基本信息</th>
  693. </tr>
  694. <tr>
  695. <th width="15%"><em>*</em>户主姓名</th>
  696. <td width="35%">
  697. <input type="text" name="securityPersonApply.securityPersonName" id="name_btAnnualReview"/>
  698. <input type="hidden" name="securityPersonApply.securityPersonId" id="securityPersonId_btAnnualReview"/>
  699. <input type="hidden" name="securityPersonApply.type" id="type_btAnnualReview" value="12"/>
  700. <input type="hidden" name="securityPersonApply.flow" id="flow_swpzAnnualReview" value="3"/>
  701. <input type="hidden" name="securityPersonApply.addType" id="addType_btAnnualReview" value="2"/>
  702. <input type="hidden" name="securityPersonApply.applyType" id="applyType_btAnnualReview" value="1"/>
  703. <input type="hidden" name="securityPersonApply.isCar" id="isCar_btAnnualReview" value="2"/>
  704. <input type="hidden" name="securityPersonApply.isBusiness" id="isBusiness_btAnnualReview" value="2"/>
  705. <input type="hidden" name="securityPersonApply.nsRegisterUserId" id="nsRegisterUserId_btAnnualReview"/>
  706. <input type="hidden" name="securityPersonApply.nsRegisterUserName" id="nsRegisterUserName_btAnnualReview"/>
  707. <input type="hidden" name="securityPersonApply.nsRegisterTime" id="nsRegisterTime_btAnnualReview"/>
  708. <input type="hidden" name="securityPersonApply.nsRegisterRemark" id="nsRegisterRemark_btAnnualReview"/>
  709. </td>
  710. <th width="13%"><em>*</em>身份证号码</th>
  711. <td><input type="text" name="securityPersonApply.securityPersonIdCard" id="idCard_btAnnualReview"/></td>
  712. </tr>
  713. <tr>
  714. <th><em>*</em>现婚姻状况</th>
  715. <td>
  716. <select name="securityPersonApply.maritalStatus" id="maritalStatus_btAnnualReview" style="width:172px">
  717. <option value="">请选择</option>
  718. </select>
  719. </td>
  720. <th><em>*</em>手机号码</th>
  721. <td><input type="text" name="securityPersonApply.phone" id="phone_btAnnualReview"/></td>
  722. </tr>
  723. <tr>
  724. <th><em>*</em>申请所在地<span style="color:red">社区(《居住证》对应的社区)</span></th>
  725. <td>
  726. <select id="area_btAnnualReview">
  727. <option value="">请选择</option>
  728. </select>
  729. <select id="street_btAnnualReview" style="width: 80px">
  730. <option value="">请选择</option>
  731. </select>
  732. <select id="neighborhood_btAnnualReview" name="securityPersonApply.applyDepartmentId" style="width: 130px">
  733. <option value="">请选择</option>
  734. </select>
  735. <select id="communityId_btAnnualReview" name="securityPersonApply.applyDepartmentCommunityId" style="width: 100px">
  736. <option value="">请选择</option>
  737. </select>
  738. <input type="hidden" id="community_btAnnualReview" name="securityPersonApply.applyDepartmentCommunity"/>
  739. </td>
  740. <th><em>*</em>户口本住址</th>
  741. <td>
  742. <input type="text" id="accountAddress_btAnnualReview" name="securityPersonApply.accountAddress" style="width:80%"/>
  743. </td>
  744. </tr>
  745. <tr>
  746. <th><em>*</em>离婚协议</th>
  747. <td>
  748. <input value="1" type="radio" name="securityPersonApply.isDivorceAgreement" id="isDivorceAgreement-1">
  749. <label for="isDivorceAgreement-1" style="cursor: pointer;">无&nbsp;</label>
  750. <input value="2" type="radio" name="securityPersonApply.isDivorceAgreement" id="isDivorceAgreement-2">
  751. <label for="isDivorceAgreement-2" style="cursor: pointer;">有&nbsp;</label>
  752. <span>(</span><input value="1" type="radio" name="securityPersonApply.divorceType" id="divorceType-1">
  753. <label for="divorceType-1" style="cursor: pointer;">法院判决&nbsp;</label>
  754. <input value="2" type="radio" name="securityPersonApply.divorceType" id="divorceType-2">
  755. <label for="divorceType-2" style="cursor: pointer;">民政&nbsp;</label><span>)</span>
  756. </td>
  757. <th><em>*</em>居住证地址</th>
  758. <td>
  759. <input type="text" id="liveLocation_btAnnualReview" name="securityPersonApply.liveLocation" style="width:80%"/>
  760. </td>
  761. </tr>
  762. <tr id="companyInfo_tr">
  763. <th><em>*</em>工作单位名称</th>
  764. <td><input type="text" id="company_btAnnualReview" name="securityPersonApply.company"/></td>
  765. <th><em>*</em>工作单位地址</th>
  766. <td><input type="text" id="workPlace_btAnnualReview" name="securityPersonApply.workPlace"/></td>
  767. </tr>
  768. <tr id="pensionInfo_tr">
  769. <th><em>*</em>社保连续缴纳是否满两年</th>
  770. <td>
  771. <input value="1" type="radio" name="securityPersonApply.pension" id="pension-1">
  772. <label for="pension-1" style="cursor: pointer;">是&nbsp;</label>
  773. <input value="2" type="radio" name="securityPersonApply.pension" id="pension-2">
  774. <label for="pension-2" style="cursor: pointer;">否&nbsp;</label>
  775. </td>
  776. <th><em>*</em>缴纳时间</th>
  777. <td>
  778. <input type="text" id="pensionDate_btAnnualReview" name="securityPersonApply.pensionDate" class="easyui-datebox"/>至
  779. <input type="text" id="pensionEndDate_btAnnualReview" name="securityPersonApply.pensionEndDate" class="easyui-datebox"/>
  780. </td>
  781. </tr>
  782. <tr id="laborContractInfo_tr">
  783. <th><em>*</em>劳动合同签订起止时间</th>
  784. <td colspan="3">
  785. <input type="text" id="laborContractDate_btAnnualReview" name="securityPersonApply.laborContractDate" class="easyui-datebox"/>至
  786. <input type="text" id="laborContractEndDate_btAnnualReview" name="securityPersonApply.laborContractEndDate" class="easyui-datebox"/>
  787. </td>
  788. </tr>
  789. </table>
  790. <div id="mbtb_div" class="mbtb">
  791. <table class="mytable" id="mbtb_1">
  792. <tr>
  793. <th colspan="8">家庭成员基本信息
  794. <input id="" type="button" value="新增家庭成员" onclick="addSecurityPersonApplyRelative();" style="margin-left: 30px"/>
  795. <input type="button" value="计算家庭平均收入" onclick="countAvgIncome()"/>
  796. <span id="avgIncome_span"></span>
  797. <input id="avgIncome_btAnnualReview" name="securityPersonApply.avgIncome" type="hidden"/>
  798. </th>
  799. </tr>
  800. <tr id="tr1_1" style="border-top: 2px solid blue;">
  801. <th width="10%">户号</th>
  802. <td width="20%"><input id='residenceNo1' type='text' style="width: 100px;"></td>
  803. <th width="10%">姓名</th>
  804. <td width="25%"><input id='name1' type='text' style="width: 100px;"></td>
  805. <th width="10%">身份证号码</th>
  806. <td width="25%"><input id='idCard1' type='text' style="width: 172px;"></td>
  807. </tr>
  808. <tr id="tr1_2">
  809. <th>与户主关系</th>
  810. <td>
  811. <select id='relative1' style='width: 100px;'>
  812. <option value='0'>户主</option>
  813. </select>
  814. </td>
  815. <th>婚姻状况</th>
  816. <td>
  817. <select name='#' id='maritalStatus1' style='width: 120px;height: 20px;vertical-align: middle;'>
  818. <option value=''>选择</option>
  819. </select>
  820. <input type="text" style="width: 100px;" id="maritalDate1" class="easyui-datebox" name="securityPersonApplyRelative.maritalDate" editable="fasle"/>
  821. </td>
  822. <th>是否持居住证</th>
  823. <td>
  824. <input value="1" type="radio" name="isResidencePermit_1" id="isResidencePermit_1-1" checked="checked">
  825. <label for="isResidencePermit_1-1" style="cursor: pointer;">是&nbsp;</label>
  826. <input value="2" type="radio" name="isResidencePermit_1" id="isResidencePermit_1-2">
  827. <label for="isResidencePermit_1-2" style="cursor: pointer;">否&nbsp;</label>
  828. </td>
  829. </tr>
  830. <tr id="tr1_5">
  831. <th>工薪收入(元/月)</th>
  832. <td><input id="wageIncome1" name="securityPersonApplyRelative.wageIncome"/></td>
  833. <th>经营净收入(元/月)</th>
  834. <td><input id="operatingNetIncome1" name="securityPersonApplyRelative.operatingNetIncome"/></td>
  835. <th>财产性收入(元/月)</th>
  836. <td><input id="propertyIncome1" name="securityPersonApplyRelative.propertyIncome"/></td>
  837. </tr>
  838. <tr id="tr1_6">
  839. <th>其他收入(元/月)</th>
  840. <td><input id="otherIncome1" name="securityPersonApplyRelative.otherIncome"/></td>
  841. <th>其他收入备注</th>
  842. <td><input id="otherIncomeRemark1" name="securityPersonApplyRelative.otherIncomeRemark"/></td>
  843. <th>联系电话</th>
  844. <td><input id="phone1" name="securityPersonApplyRelative.phone"/></td>
  845. </tr>
  846. <tr id="tr1_3">
  847. <th>工作单位</th>
  848. <td><input id='company1' type='text' style="width: 172px;"></td>
  849. <th>是否低保</th>
  850. <td>
  851. <input value="1" type="radio" name="isSubsistenceAllowances_1" id="isSubsistenceAllowances_1-1">
  852. <label for="isSubsistenceAllowances_1-1" style="cursor: pointer;">是&nbsp;</label>
  853. <input value="2" type="radio" name="isSubsistenceAllowances_1" id="isSubsistenceAllowances_1-2" checked="checked">
  854. <label for="isSubsistenceAllowances_1-2" style="cursor: pointer;">否&nbsp;</label>
  855. </td>
  856. <th>资产信息</th>
  857. <td>
  858. <input id="carInfo1" type="button" value="车辆信息" onclick="carInfo_btAnnualReview(1)"/>
  859. <input id="businessInfo1" type="button" value="工商信息" onclick="businessInfo_btAnnualReview(1)"/>
  860. <input id="securitiesInfo1" type="button" value="证券信息" onclick="securitiesInfo_btAnnualReview(1)"/>
  861. <input id="bankInfo1" type="button" value="银行信息" onclick="bankInfo_btAnnualReview(1)"/>
  862. <input id="commercialInsuranceInfo1" type="button" value="商业保险信息" onclick="commercialInsuranceInfo_btAnnualReview(1)"/>
  863. </td>
  864. </tr>
  865. <tr id="tr1_4" style="display: none;">
  866. <th>资产信息</th>
  867. <td id="all_td1" colspan="5">
  868. <!-- 车辆 -->
  869. <div id="carInfo_span1"></div>
  870. <input id="carInfo_input1" type="hidden"/>
  871. <!-- 工商 -->
  872. <div id="businessInfo_span1"></div>
  873. <input id="businessInfo_input1" type="hidden"/>
  874. <!-- 证券 -->
  875. <span id="securitiesInfo_span1"></span>
  876. <input id="securitiesInfo_input1" name="securityPersonApplyRelative.securitiesTotal" type="hidden" value="0"/>
  877. <!-- 银行 -->
  878. <span id="bankInfo_span1"></span>
  879. <input id="bankInfo_input1" name="securityPersonApplyRelative.bankTotal" type="hidden" value="0"/>
  880. <!-- 商业保险 -->
  881. <span id="commercialInsuranceInfo_span1"></span>
  882. <input id="commercialInsuranceInfo_input1" name="securityPersonApplyRelative.commercialInsurance" type="hidden" value="0"/>
  883. </td>
  884. </tr>
  885. </table></div>
  886. <table class="mytable">
  887. <tr>
  888. <th colspan="4">现住房信息</th>
  889. </tr>
  890. <tr>
  891. <th width="20%">现住房信息情况:</th>
  892. <td colspan="3">
  893. <input value="1" type="radio" name="securityPersonApply.currentHouseSituation" id=currentHouseSituation-1>
  894. <label for="currentHouseSituation-1" style="cursor: pointer;">自有房产&nbsp;</label>
  895. <input value="4" type="radio" name="securityPersonApply.currentHouseSituation" id="currentHouseSituation-4"/>
  896. <label for="currentHouseSituation-4" style="cursor: pointer;">租住公房&nbsp;</label></br>
  897. <span style="color:#000">房屋坐落:</span><input id="existReal_btAnnualReview" name="securityPersonApply.existReal" type="text" class="form-control" style="width: 300px;display: inline"/>
  898. <span style="color:#000">,面积:</span><input id="existArea_btAnnualReview" name="securityPersonApply.existArea" type="text" class="form-control" style="width: 100px;display: inline"/>
  899. <span style="color:#000">平方米,产权人:</span><input id="propertyPerson_btAnnualReview" name="securityPersonApply.propertyPerson" type="text" class="form-control" style="width: 100px;display: inline"/>
  900. <!-- 平均面积 -->
  901. <input type="hidden" id="avgArea_btAnnualReview" name="securityPersonApply.avgArea">
  902. </td>
  903. </tr>
  904. <tr>
  905. <th>是否存在转让房产、取得拆迁安置补偿不满两年的情况:</th>
  906. <td colspan="3">
  907. <input value="1" type="radio" name="securityPersonApply.isAssignmentHouse" id="isAssignmentHouse-1" />
  908. <label for="isAssignmentHouse-1" style="cursor: pointer;">是&nbsp;</label>
  909. <input value="2" type="radio"name="securityPersonApply.isAssignmentHouse" id="isAssignmentHouse-2" checked="checked"/>
  910. <label for="isAssignmentHouse-2" style="cursor: pointer;">否&nbsp;</label>
  911. </td>
  912. </tr>
  913. <tr>
  914. <th>申请之日前两年是否享受过房改房、政策性商品房或其他住房保障政策:</th>
  915. <td colspan="3">
  916. <input value="1" type="radio" name="securityPersonApply.hasUsed" id="hasUsed-1" />
  917. <label for="hasUsed-1" style="cursor: pointer;">是&nbsp;</label>
  918. <input value="2" type="radio"name="securityPersonApply.hasUsed" id="hasUsed-2" />
  919. <label for="hasUsed-2" style="cursor: pointer;">否&nbsp;</label>
  920. </td>
  921. </tr>
  922. </table>
  923. </form>