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
4e1112cb
Commit
4e1112cb
authored
Jul 31, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ad1aeb8d
4c24db49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+21
-6
No files found.
src/components/SalesModule/addPassenger.vue
View file @
4e1112cb
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</li>
</li>
<li
v-if=
"addMsg.Nationality==
2
"
>
<li
v-if=
"addMsg.Nationality==
NationalityId
"
>
<el-form-item
:label=
"$t('visaT.Chinesesurname')"
prop=
"SurNameID"
>
<el-form-item
:label=
"$t('visaT.Chinesesurname')"
prop=
"SurNameID"
>
<el-select
class=
"w230"
ref=
"options"
v-model=
"addMsg.SurNameID"
filterable
remote
reserve-keyword
<el-select
class=
"w230"
ref=
"options"
v-model=
"addMsg.SurNameID"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"(query)=>remoteMethod(query,1)"
@
change=
"(e)=>getName(e,1)"
>
placeholder=
"请输入关键词"
:remote-method=
"(query)=>remoteMethod(query,1)"
@
change=
"(e)=>getName(e,1)"
>
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</li>
</li>
<li
v-if=
"addMsg.Nationality==
2
"
>
<li
v-if=
"addMsg.Nationality==
NationalityId
"
>
<el-form-item
:label=
"$t('admin.admin_Surname')"
prop=
"NameID"
>
<el-form-item
:label=
"$t('admin.admin_Surname')"
prop=
"NameID"
>
<el-select
class=
"w230"
ref=
"optionsNames"
v-model=
"addMsg.NameID"
filterable
remote
reserve-keyword
<el-select
class=
"w230"
ref=
"optionsNames"
v-model=
"addMsg.NameID"
filterable
remote
reserve-keyword
:placeholder=
"$t('rule.qsrzwm')"
:remote-method=
"(query)=>remoteMethod(query)"
:placeholder=
"$t('rule.qsrzwm')"
:remote-method=
"(query)=>remoteMethod(query)"
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
</li>
</li>
<li>
<li>
<!--国内线且国籍是中国的才验证身份证-->
<!--国内线且国籍是中国的才验证身份证-->
<el-form-item
:label=
"$t('admin.admin_IDcard')"
prop=
"IdCard"
v-if=
"LineId==90&&addMsg.Nationality==
2
"
>
<el-form-item
:label=
"$t('admin.admin_IDcard')"
prop=
"IdCard"
v-if=
"LineId==90&&addMsg.Nationality==
NationalityId
"
>
<el-input
v-model=
"addMsg.IdCard"
type=
"text"
:class=
" IdCardSure ? '' : 'colorRed'"
size=
mini
<el-input
v-model=
"addMsg.IdCard"
type=
"text"
:class=
" IdCardSure ? '' : 'colorRed'"
size=
mini
class=
"w230"
:placeholder=
"$t('visaT.Pleasefillin')"
@
blur
.
prevent=
"authentication()"
>
class=
"w230"
:placeholder=
"$t('visaT.Pleasefillin')"
@
blur
.
prevent=
"authentication()"
>
</el-input>
</el-input>
...
@@ -675,6 +675,7 @@
...
@@ -675,6 +675,7 @@
TravelTypeList
:
[],
TravelTypeList
:
[],
UnitTypeList
:
[],
UnitTypeList
:
[],
DutyTypeList
:
[],
DutyTypeList
:
[],
NationalityId
:
0
,
ppAge
:
0
,
ppAge
:
0
,
loading
:
false
,
loading
:
false
,
PassportNoSure
:
true
,
PassportNoSure
:
true
,
...
@@ -945,6 +946,18 @@
...
@@ -945,6 +946,18 @@
},
},
err
=>
{}
err
=>
{}
);
);
},
GetDefaultCountryList
()
{
this
.
apipost
(
"dict_get_GetDefaultCountryList"
,
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
NationalityId
=
res
.
data
.
data
.
ID
}
else
{}
},
err
=>
{}
);
},
},
getUnitType
()
{
getUnitType
()
{
this
.
apipost
(
this
.
apipost
(
...
@@ -1505,7 +1518,7 @@
...
@@ -1505,7 +1518,7 @@
return
;
return
;
}
}
if
(
this
.
addMsg
.
Nationality
===
2
){
if
(
this
.
addMsg
.
Nationality
===
this
.
NationalityId
){
// 单个字母开头(E或G)后跟8位数字
// 单个字母开头(E或G)后跟8位数字
const
pattern1
=
/^
[
EGH
][
0-9
]{8}
$/
;
const
pattern1
=
/^
[
EGH
][
0-9
]{8}
$/
;
// 两个字母开头(E开头,第二个字母不能是I或O)后跟7位数字
// 两个字母开头(E开头,第二个字母不能是I或O)后跟7位数字
...
@@ -1690,7 +1703,7 @@
...
@@ -1690,7 +1703,7 @@
this
.
addMsg
.
PassportAddress
=
""
;
this
.
addMsg
.
PassportAddress
=
""
;
this
.
addMsg
.
PassportExpiry
=
""
;
this
.
addMsg
.
PassportExpiry
=
""
;
this
.
addMsg
.
PassportNo
=
""
;
this
.
addMsg
.
PassportNo
=
""
;
this
.
addMsg
.
Nationality
=
2
;
this
.
addMsg
.
Nationality
=
this
.
NationalityId
;
this
.
addMsg
.
Marriage
=
""
;
this
.
addMsg
.
Marriage
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
AddressDetail
=
""
;
this
.
addMsg
.
AddressDetail
=
""
;
...
@@ -1855,7 +1868,8 @@
...
@@ -1855,7 +1868,8 @@
this
.
Roominformation
()
//调取下房间信息
this
.
Roominformation
()
//调取下房间信息
this
.
Transformation
(
this
.
addMsg
.
SurName
,
'SurName'
,
1
)
this
.
Transformation
(
this
.
addMsg
.
SurName
,
'SurName'
,
1
)
this
.
Transformation
(
this
.
addMsg
.
Name
,
'Name'
,
2
)
this
.
Transformation
(
this
.
addMsg
.
Name
,
'Name'
,
2
)
if
(
this
.
LineId
==
90
&&
this
.
addMsg
.
Nationality
==
2
)
{
//this.LineId == 90 &&
if
(
this
.
addMsg
.
Nationality
==
this
.
NationalityId
)
{
this
.
addMsg
.
Birthday
=
this
.
getBirthdayFromIdCard
(
IdCard
);
this
.
addMsg
.
Birthday
=
this
.
getBirthdayFromIdCard
(
IdCard
);
}
}
}
}
...
@@ -1922,6 +1936,7 @@
...
@@ -1922,6 +1936,7 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
GetDefaultCountryList
();
this
.
getTravelType
();
this
.
getTravelType
();
this
.
getDutyType
();
this
.
getDutyType
();
this
.
getUnitType
();
this
.
getUnitType
();
...
...
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