Commit 7fb8d857 authored by zhengke's avatar zhengke

no message

parent 429881f0
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
let Passport = $(`#PassportFormT`).val() let Passport = $(`#PassportFormT`).val()
let objPassport = $(`#PassportB`) let objPassport = $(`#PassportB`)
//电话验证 //电话验证
if (!phoneReg.test(Passport)) { if (!IsNumEn.test(Passport)) {
objPassport.attr('disabled', true); objPassport.attr('disabled', true);
return layer.msg('请输入有效的护照号!'); return layer.msg('请输入有效的护照号!');
}else { }else {
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
success: function (res) { success: function (res) {
if (res.resultCode === 1) { if (res.resultCode === 1) {
var tempData = res.data var tempData = res.data
if(tempData&&tempData.length>0){
var datas = { var datas = {
TCID: msg.TCID, TCID: msg.TCID,
GuestId:tempData[0].Id, GuestId:tempData[0].Id,
...@@ -132,9 +132,9 @@ ...@@ -132,9 +132,9 @@
Sex:tempData[0].Sex, Sex:tempData[0].Sex,
OrderId:tempData[0].OrderId, OrderId:tempData[0].OrderId,
} }
// ?TCID='+datas.TCID+'&GuestId='+datas.GuestId+'&SurName='+datas.SurName+'&Sex='+datas.Sex+'&OrderId='+datas.OrderId+'&phone='+msg.guestMobile
if(msg.type==1) window.location.href='MobileVerification.html?TCID='+datas.TCID+'&GuestId='+datas.GuestId+'&SurName='+datas.SurName+'&Sex='+datas.Sex+'&OrderId='+datas.OrderId+'&phone='+msg.guestMobile if(msg.type==1) window.location.href='MobileVerification.html?TCID='+datas.TCID+'&GuestId='+datas.GuestId+'&SurName='+datas.SurName+'&Sex='+datas.Sex+'&OrderId='+datas.OrderId+'&phone='+msg.guestMobile
if(msg.type==2) window.location.href='guestSign.html?TCID='+datas.TCID+'&GuestId='+datas.GuestId+'&SurName='+datas.SurName+'&Sex='+datas.Sex+'&OrderId='+datas.OrderId+'&phone='+msg.guestMobile if(msg.type==2) window.location.href='guestSign.html?TCID='+datas.TCID+'&GuestId='+datas.GuestId+'&SurName='+datas.SurName+'&Sex='+datas.Sex+'&OrderId='+datas.OrderId+'&phone='+msg.guestMobile
}
} else { } else {
layer.msg(res.message) layer.msg(res.message)
} }
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
let Passport = $(`#PassportFormT`).val() let Passport = $(`#PassportFormT`).val()
let objPassport = $(`#PassportB`) let objPassport = $(`#PassportB`)
//电话验证 //电话验证
if (!phoneReg.test(Passport)) { if (!IsNumEn.test(Passport)) {
objPassport.attr('disabled', true); objPassport.attr('disabled', true);
return layer.msg('请输入有效的护照号!'); return layer.msg('请输入有效的护照号!');
}else { }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment