Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
f07c0ce5
Commit
f07c0ce5
authored
Aug 28, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2c516a5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+2
-2
No files found.
src/components/SalesModule/addPassenger.vue
View file @
f07c0ce5
...
...
@@ -1514,7 +1514,7 @@
isValidPassport
:
function
()
{
var
isCheck
=
true
;
if
(
this
.
addMsg
.
Nationality
===
this
.
NationalityId
){
if
(
this
.
addMsg
.
Nationality
===
2
){
if
(
this
.
addMsg
.
PassportNo
.
length
!==
9
)
{
this
.
$message
.
error
(
"请输入9位护照号"
)
isCheck
=
false
;
...
...
@@ -1536,7 +1536,7 @@
//中国护照验证逻辑
isValidPassport
:
function
()
{
var
isCheck
=
true
;
if
(
this
.
addMsg
.
Nationality
===
this
.
NationalityId
){
if
(
this
.
addMsg
.
Nationality
===
2
){
if
(
this
.
addMsg
.
PassportNo
.
length
!==
9
)
{
this
.
$message
.
error
(
"请输入9位护照号"
)
isCheck
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment