swpz3Add.jsp 51 KB

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