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
61025961
Commit
61025961
authored
Jan 29, 2019
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
旅客名单格式修改
parent
8221cd4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
21 deletions
+47
-21
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+47
-21
No files found.
src/components/SalesModule/addPassenger.vue
View file @
61025961
...
...
@@ -155,21 +155,32 @@
<el-input
v-model=
'addMsg.EName'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请输入英文"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"手机号码"
prop=
"MobilePhone"
>
<el-input
v-model=
"addMsg.MobilePhone"
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"出生日期"
prop=
"Birthday"
>
<el-date-picker
v-model=
'addMsg.Birthday'
class=
"w230"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
</el-form-item>
</li>
<li>
<el-form-item
label=
"出生地"
prop=
"BirthdayAddress"
>
<el-input
v-model=
"addMsg.BirthdayAddress"
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"护照号"
prop=
"PassportNo"
>
<el-input
v-model=
'addMsg.PassportNo'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写护照号"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"出生地"
prop=
"BirthdayAddress"
>
<el-input
v-model=
"addMsg.BirthdayAddress"
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写"
></el-input>
<li>
<el-form-item
label=
"护照签发地"
prop=
"PassportAddress"
>
<el-input
v-model=
'addMsg.PassportAddress'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"100"
placeholder=
"请填写"
></el-input>
</el-form-item>
</li>
</li>
<li>
<el-form-item
label=
"护照签发日期"
prop=
"PassportIssued"
>
<el-date-picker
v-model=
'addMsg.PassportIssued'
class=
"w230"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
...
...
@@ -192,17 +203,6 @@
</el-select>
</el-form-item>
</li>
<li>
<el-form-item
label=
"护照签发地"
prop=
"PassportAddress"
>
<el-input
v-model=
'addMsg.PassportAddress'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"100"
placeholder=
"请填写"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"手机号码"
prop=
"MobilePhone"
>
<el-input
v-model=
"addMsg.MobilePhone"
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写"
></el-input>
</el-form-item>
</li>
<li>
<el-form-item
label=
"婚姻"
prop=
"Marriage"
>
<el-select
v-model=
"addMsg.Marriage"
filterable
size=
mini
class=
"w230"
>
...
...
@@ -745,7 +745,7 @@ export default {
PassportAddress
:
""
,
PassportExpiry
:
""
,
PassportNo
:
""
,
Nationality
:
""
,
Nationality
:
2
,
Marriage
:
""
,
Address
:
""
,
AddressDetail
:
""
,
...
...
@@ -768,14 +768,14 @@ export default {
UnitName
:
""
,
UnitPhone
:
""
,
UnitPost
:
""
,
Purpose
:
""
,
Purpose
:
"
观光
"
,
IsDepartureRecord
:
"2"
,
LastTime
:
""
,
DeadlineTime
:
""
,
NCNationality
:
""
,
HotelTel
:
""
,
HotelAddress
:
""
,
HotelName
:
""
,
HotelName
:
"
参照
\"
赴日予定表
\"
"
,
EmergencyContact
:
""
,
EmergencyAddress
:
""
,
EmergencyTel
:
""
,
...
...
@@ -1964,7 +1964,7 @@ export default {
this
.
addMsg
.
PassportAddress
=
""
;
this
.
addMsg
.
PassportExpiry
=
""
;
this
.
addMsg
.
PassportNo
=
""
;
this
.
addMsg
.
Nationality
=
""
;
this
.
addMsg
.
Nationality
=
2
;
this
.
addMsg
.
Marriage
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
AddressDetail
=
""
;
...
...
@@ -1987,14 +1987,14 @@ export default {
this
.
addMsg
.
UnitName
=
""
;
this
.
addMsg
.
UnitPhone
=
""
;
this
.
addMsg
.
UnitPost
=
""
;
this
.
addMsg
.
Purpose
=
""
;
this
.
addMsg
.
Purpose
=
"
观光
"
;
this
.
addMsg
.
IsDepartureRecord
=
"2"
;
this
.
addMsg
.
LastTime
=
""
;
this
.
addMsg
.
DeadlineTime
=
""
;
this
.
addMsg
.
NCNationality
=
""
;
this
.
addMsg
.
HotelTel
=
""
;
this
.
addMsg
.
HotelAddress
=
""
;
this
.
addMsg
.
HotelName
=
""
;
this
.
addMsg
.
HotelName
=
"
参照
\"
赴日予定表
\"
"
;
this
.
addMsg
.
EmergencyContact
=
""
;
this
.
addMsg
.
EmergencyAddress
=
""
;
this
.
addMsg
.
EmergencyTel
=
""
;
...
...
@@ -2012,6 +2012,19 @@ export default {
this
.
addMsg
.
SafeReplaceId
=
"0"
;
this
.
GetGuestMustVisaAir
();
let
userInfo
=
this
.
getLocalStorage
();
var
BranchName
=
userInfo
.
BranchName
;
if
(
BranchName
.
search
(
"武汉"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"湖北"
;
this
.
addMsg
.
PassportAddress
=
"湖北"
;
}
else
if
(
BranchName
.
search
(
"西安"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"陕西"
;
this
.
addMsg
.
PassportAddress
=
"陕西"
;
}
else
if
(
BranchName
.
search
(
"长沙"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"湖南"
;
this
.
addMsg
.
PassportAddress
=
"湖南"
;
}
this
.
addMsg
.
IssuingAuthority
=
"公安部出入境管理局"
;
}
},
mounted
()
{
...
...
@@ -2029,6 +2042,19 @@ export default {
this
.
getAccessToken
();
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
orderId
;
let
userInfo
=
this
.
getLocalStorage
();
var
BranchName
=
userInfo
.
BranchName
;
if
(
BranchName
.
search
(
"武汉"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"湖北"
;
this
.
addMsg
.
PassportAddress
=
"湖北"
;
}
else
if
(
BranchName
.
search
(
"西安"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"陕西"
;
this
.
addMsg
.
PassportAddress
=
"陕西"
;
}
else
if
(
BranchName
.
search
(
"长沙"
)
!=-
1
){
this
.
addMsg
.
BirthdayAddress
=
"湖南"
;
this
.
addMsg
.
PassportAddress
=
"湖南"
;
}
this
.
addMsg
.
IssuingAuthority
=
"公安部出入境管理局"
;
}
};
</
script
>
\ No newline at end of file
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