annuaReviewAdd.jsp 42 KB

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