Commit efcdd01c authored by youjie's avatar youjie

no message

parent d50d2bdb
...@@ -560,8 +560,10 @@ export default defineComponent({ ...@@ -560,8 +560,10 @@ export default defineComponent({
guestFlightNumber.value.validate() guestFlightNumber.value.validate()
guestFlightTime.value.validate() guestFlightTime.value.validate()
} }
guestGetonAddress.value.validate() if(data.detailsObj.CarType!=1){
guestGetonAddress.value.validate()
}
if(data.detailsObj.CarType!=2){ if(data.detailsObj.CarType!=2){
guestGetoffAddress.value.validate() guestGetoffAddress.value.validate()
} }
...@@ -578,7 +580,8 @@ export default defineComponent({ ...@@ -578,7 +580,8 @@ export default defineComponent({
return return
} }
if(data.detailsObj.CarType==1){ if(data.detailsObj.CarType==1){
flag = !guestAirportTerminal.value.hasError && !guestAirLine.value.hasError && !guestFlightNumber.value.hasError && !guestFlightTime.value.hasError && !guestGetonAddress.value.hasError && !guestGetoffAddress.value.hasError && !guestTimeData.value.hasError && !guestManNum.value.hasError && !guestSurName.value.hasError && !guestName.value.hasError && !guestMobile.value.hasError // && !guestGetonAddress.value.hasError
flag = !guestAirportTerminal.value.hasError && !guestAirLine.value.hasError && !guestFlightNumber.value.hasError && !guestFlightTime.value.hasError && !guestGetoffAddress.value.hasError && !guestTimeData.value.hasError && !guestManNum.value.hasError && !guestSurName.value.hasError && !guestName.value.hasError && !guestMobile.value.hasError
// && !guestContactWay.value.hasError // && !guestContactWay.value.hasError
}else{ }else{
flag = !guestAirportTerminal.value.hasError && !guestAirLine.value.hasError && !guestFlightNumber.value.hasError && !guestFlightTime.value.hasError && !guestGetonAddress.value.hasError && !guestTimeData.value.hasError && !guestManNum.value.hasError && !guestSurName.value.hasError && !guestName.value.hasError && !guestMobile.value.hasError flag = !guestAirportTerminal.value.hasError && !guestAirLine.value.hasError && !guestFlightNumber.value.hasError && !guestFlightTime.value.hasError && !guestGetonAddress.value.hasError && !guestTimeData.value.hasError && !guestManNum.value.hasError && !guestSurName.value.hasError && !guestName.value.hasError && !guestMobile.value.hasError
......
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