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
a3a3fb49
Commit
a3a3fb49
authored
Jun 17, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改旅客身份证带入信息
parent
7b2f8f9d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
42 deletions
+76
-42
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+73
-42
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+3
-0
No files found.
src/components/SalesModule/addPassenger.vue
View file @
a3a3fb49
...
...
@@ -1860,9 +1860,10 @@
let
OrderId
=
this
.
addMsg
.
OrderId
;
let
IsBed
=
this
.
addMsg
.
IsBed
;
let
Sex
=
this
.
addMsg
.
Sex
;
if
(
Sex
==
1
||
Sex
==
2
)
{
this
.
apipost
(
"sellorder_post_GetHouseDetailsByOrderID"
,
{
TCIDs
:
TCIDs
,
OrderId
:
OrderId
,
Sex
:
Sex
,
IsBed
:
IsBed
},
{
TCIDs
:
TCIDs
,
OrderId
:
OrderId
,
Sex
:
Sex
,
IsBed
:
IsBed
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
roomlist
=
res
.
data
.
data
;
...
...
@@ -1870,8 +1871,10 @@
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
err
=>
{
}
);
}
},
getHouselist
(
Sex
,
TCID
,
OrderId
,
IsBed
){
if
(
Sex
==
1
||
Sex
==
2
){
...
...
@@ -1887,14 +1890,17 @@
},
err
=>
{}
);
}
else
{
this
.
$message
.
error
(
'请选择性别'
);
}
},
addhouse
(){
let
orderId
=
this
.
addMsg
.
OrderId
;
let
sex
=
this
.
addMsg
.
Sex
;
if
(
sex
==
1
||
sex
==
2
)
{
this
.
apipost
(
"sellorder_get_BatchSetOrderHouse_V2"
,
{
orderId
:
orderId
,
sex
:
sex
,},
{
orderId
:
orderId
,
sex
:
sex
,},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Roominformation
()
...
...
@@ -1902,32 +1908,56 @@
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
err
=>
{
}
);
}
},
authentication
()
{
let
IdCard
=
this
.
addMsg
.
IdCard
;
if
(
this
.
$route
.
query
.
guestId
==
0
)
{
if
(
IdCard
.
length
==
18
){
this
.
apipost
(
"sellorder_post_GetGusetByIDCard"
,
{
IdCard
:
this
.
addMsg
.
IdCard
,},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
obj
=
res
.
data
.
data
;
this
.
addMsg
=
obj
;
this
.
addMsg
.
SurName
=
obj
.
SurName
;
this
.
addMsg
.
Name
=
obj
.
Name
;
this
.
addMsg
.
ESurName
=
obj
.
ESurName
;
this
.
addMsg
.
EName
=
obj
.
EName
;
this
.
addMsg
.
Sex
=
obj
.
Sex
.
toString
();
this
.
addMsg
.
MobilePhone
=
obj
.
MobilePhone
;
this
.
addMsg
.
Birthday
=
obj
.
Birthday
;
this
.
addMsg
.
BirthdayAddress
=
obj
.
BirthdayAddress
;
this
.
addMsg
.
PassportNo
=
obj
.
PassportNo
;
this
.
addMsg
.
PassportAddress
=
obj
.
PassportAddress
;
this
.
addMsg
.
PassportIssued
=
obj
.
PassportIssued
;
this
.
addMsg
.
PassportExpiry
=
obj
.
PassportExpiry
;
this
.
addMsg
.
Nationality
=
obj
.
Nationality
;
this
.
addMsg
.
Marriage
=
obj
.
Marriage
.
toString
();
if
(
this
.
addMsg
.
Marriage
==
"0"
)
{
this
.
addMsg
.
Marriage
=
""
;
}
this
.
addMsg
.
IsCriminalRecord
=
obj
.
IsCriminalRecord
===
null
?
''
:
obj
.
IsCriminalRecord
.
toString
();
this
.
addMsg
.
IsDepartureRecord
=
obj
.
IsDepartureRecord
.
toString
();
this
.
addMsg
.
Address
=
obj
.
Address
;
this
.
addMsg
.
AddressDetail
=
obj
.
AddressDetail
;
this
.
addMsg
.
IdentityType
=
obj
.
IdentityType
;
this
.
addMsg
.
HistoryRecord
=
obj
.
HistoryRecord
;
this
.
addMsg
.
Duty
=
obj
.
Duty
;
this
.
addMsg
.
Remarks
=
obj
.
Remarks
;
this
.
addMsg
.
IsHightSchool
=
obj
.
IsHightSchool
;
this
.
addMsg
.
IsRecommend
=
obj
.
IsRecommend
;
this
.
addMsg
.
Id
=
this
.
$route
.
query
.
guestId
;
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
orderId
;
this
.
Roominformation
()
//调取下房间信息
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
//
this.$message.error(res.data.message);
}
},
err
=>
{
...
...
@@ -1935,6 +1965,7 @@
);
}
}
}
},
mounted
()
{
this
.
getCountry
();
...
...
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
a3a3fb49
...
...
@@ -84,6 +84,9 @@
<td>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
设置
</span>
<span
v-else
>
{{
childItem
.
PeoplePrice
}}
</span>
</td>
<td>
{{
(
childItem
.
UsePeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
}}
...
...
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