annuaReviewAdd.jsp 42 KB

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