var name = getPar("name"); var go_person_id = getPar("go_person_id"); var idcard = getPar("idcard"); window.onload = function() { $("#travel_name").val(name); $("#travel_id").val(idcard); $("#loading_html").show(); } function submit_info() { var id = $("#travel_id").val(); var name = $("#travel_name").val(); if(id != '' && name != '') { var answer = isCardID(id); if(answer != true) { alert(answer); //身份证非法 return; } else { var param = { customer_id:go_person_id, customer_id_card: id, customer_name: name, } ZZLog(base_api + "order/order/uptCustomer&" + JSON.stringify(param)); $.ajax({ type: "post", url: base_api + "order/order/uptCustomer", data: param, dataType: 'json', success: function(res_data) { ZZLog(res_data); if(res_data.flag == true) { var data = getStorJson("trave_around_fill_order"); var go_person_arr=data.go_person; //判断是否是改的已选定的联系人 更新信息 for(var i=0;i