swpzAdd.jsp 52 KB

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