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 @@
...
@@ -155,21 +155,32 @@
<el-input
v-model=
'addMsg.EName'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请输入英文"
></el-input>
<el-input
v-model=
'addMsg.EName'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请输入英文"
></el-input>
</el-form-item>
</el-form-item>
</li>
</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>
<li>
<el-form-item
label=
"出生日期"
prop=
"Birthday"
>
<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-date-picker
v-model=
'addMsg.Birthday'
class=
"w230"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
</el-form-item>
</el-form-item>
</li>
</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>
<li>
<el-form-item
label=
"护照号"
prop=
"PassportNo"
>
<el-form-item
label=
"护照号"
prop=
"PassportNo"
>
<el-input
v-model=
'addMsg.PassportNo'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写护照号"
></el-input>
<el-input
v-model=
'addMsg.PassportNo'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"20"
placeholder=
"请填写护照号"
></el-input>
</el-form-item>
</el-form-item>
</li>
</li>
<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
label=
"护照签发地"
prop=
"PassportAddress"
>
<el-input
v-model=
'addMsg.PassportAddress'
type=
"text"
size=
mini
class=
"w230"
maxlength=
"100"
placeholder=
"请填写"
></el-input>
</el-form-item>
</el-form-item>
</li>
</li>
<li>
<li>
<el-form-item
label=
"护照签发日期"
prop=
"PassportIssued"
>
<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>
<el-date-picker
v-model=
'addMsg.PassportIssued'
class=
"w230"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
...
@@ -192,17 +203,6 @@
...
@@ -192,17 +203,6 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</li>
</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>
<li>
<el-form-item
label=
"婚姻"
prop=
"Marriage"
>
<el-form-item
label=
"婚姻"
prop=
"Marriage"
>
<el-select
v-model=
"addMsg.Marriage"
filterable
size=
mini
class=
"w230"
>
<el-select
v-model=
"addMsg.Marriage"
filterable
size=
mini
class=
"w230"
>
...
@@ -745,7 +745,7 @@ export default {
...
@@ -745,7 +745,7 @@ export default {
PassportAddress
:
""
,
PassportAddress
:
""
,
PassportExpiry
:
""
,
PassportExpiry
:
""
,
PassportNo
:
""
,
PassportNo
:
""
,
Nationality
:
""
,
Nationality
:
2
,
Marriage
:
""
,
Marriage
:
""
,
Address
:
""
,
Address
:
""
,
AddressDetail
:
""
,
AddressDetail
:
""
,
...
@@ -768,14 +768,14 @@ export default {
...
@@ -768,14 +768,14 @@ export default {
UnitName
:
""
,
UnitName
:
""
,
UnitPhone
:
""
,
UnitPhone
:
""
,
UnitPost
:
""
,
UnitPost
:
""
,
Purpose
:
""
,
Purpose
:
"
观光
"
,
IsDepartureRecord
:
"2"
,
IsDepartureRecord
:
"2"
,
LastTime
:
""
,
LastTime
:
""
,
DeadlineTime
:
""
,
DeadlineTime
:
""
,
NCNationality
:
""
,
NCNationality
:
""
,
HotelTel
:
""
,
HotelTel
:
""
,
HotelAddress
:
""
,
HotelAddress
:
""
,
HotelName
:
""
,
HotelName
:
"
参照
\"
赴日予定表
\"
"
,
EmergencyContact
:
""
,
EmergencyContact
:
""
,
EmergencyAddress
:
""
,
EmergencyAddress
:
""
,
EmergencyTel
:
""
,
EmergencyTel
:
""
,
...
@@ -1964,7 +1964,7 @@ export default {
...
@@ -1964,7 +1964,7 @@ export default {
this
.
addMsg
.
PassportAddress
=
""
;
this
.
addMsg
.
PassportAddress
=
""
;
this
.
addMsg
.
PassportExpiry
=
""
;
this
.
addMsg
.
PassportExpiry
=
""
;
this
.
addMsg
.
PassportNo
=
""
;
this
.
addMsg
.
PassportNo
=
""
;
this
.
addMsg
.
Nationality
=
""
;
this
.
addMsg
.
Nationality
=
2
;
this
.
addMsg
.
Marriage
=
""
;
this
.
addMsg
.
Marriage
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
AddressDetail
=
""
;
this
.
addMsg
.
AddressDetail
=
""
;
...
@@ -1987,14 +1987,14 @@ export default {
...
@@ -1987,14 +1987,14 @@ export default {
this
.
addMsg
.
UnitName
=
""
;
this
.
addMsg
.
UnitName
=
""
;
this
.
addMsg
.
UnitPhone
=
""
;
this
.
addMsg
.
UnitPhone
=
""
;
this
.
addMsg
.
UnitPost
=
""
;
this
.
addMsg
.
UnitPost
=
""
;
this
.
addMsg
.
Purpose
=
""
;
this
.
addMsg
.
Purpose
=
"
观光
"
;
this
.
addMsg
.
IsDepartureRecord
=
"2"
;
this
.
addMsg
.
IsDepartureRecord
=
"2"
;
this
.
addMsg
.
LastTime
=
""
;
this
.
addMsg
.
LastTime
=
""
;
this
.
addMsg
.
DeadlineTime
=
""
;
this
.
addMsg
.
DeadlineTime
=
""
;
this
.
addMsg
.
NCNationality
=
""
;
this
.
addMsg
.
NCNationality
=
""
;
this
.
addMsg
.
HotelTel
=
""
;
this
.
addMsg
.
HotelTel
=
""
;
this
.
addMsg
.
HotelAddress
=
""
;
this
.
addMsg
.
HotelAddress
=
""
;
this
.
addMsg
.
HotelName
=
""
;
this
.
addMsg
.
HotelName
=
"
参照
\"
赴日予定表
\"
"
;
this
.
addMsg
.
EmergencyContact
=
""
;
this
.
addMsg
.
EmergencyContact
=
""
;
this
.
addMsg
.
EmergencyAddress
=
""
;
this
.
addMsg
.
EmergencyAddress
=
""
;
this
.
addMsg
.
EmergencyTel
=
""
;
this
.
addMsg
.
EmergencyTel
=
""
;
...
@@ -2012,6 +2012,19 @@ export default {
...
@@ -2012,6 +2012,19 @@ export default {
this
.
addMsg
.
SafeReplaceId
=
"0"
;
this
.
addMsg
.
SafeReplaceId
=
"0"
;
this
.
GetGuestMustVisaAir
();
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
()
{
mounted
()
{
...
@@ -2029,6 +2042,19 @@ export default {
...
@@ -2029,6 +2042,19 @@ export default {
this
.
getAccessToken
();
this
.
getAccessToken
();
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
orderId
;
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
>
</
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