Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
fc6be58c
Commit
fc6be58c
authored
Oct 12, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/zk123/jz_travel
into master
parents
0805e3de
c14b853c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+19
-5
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+3
-3
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
fc6be58c
...
...
@@ -1255,14 +1255,28 @@ export default {
},
//立即预定
goReserce
()
{
let
myCurrentInfo
=
this
.
currentPrice
;
myCurrentInfo
.
startCityName
=
this
.
dataList
.
startCityName
;
let
myObj
=
{};
// let myCurrentInfo = this.currentPrice;
// myCurrentInfo.startCityName = this.dataList.startCityName;
myObj
.
startCityName
=
this
.
dataList
.
startCityName
myObj
.
startDate
=
this
.
currentPrice
.
startDate
;
myObj
.
dayNum
=
this
.
currentPrice
.
dayNum
;
myObj
.
title
=
this
.
currentPrice
.
title
;
myObj
.
b2BPrice
=
this
.
currentPrice
.
b2BPrice
;
myObj
.
b2CPrice
=
this
.
currentPrice
.
b2CPrice
;
myObj
.
childNeedPrice
=
this
.
currentPrice
.
childNeedPrice
;
myObj
.
childNoNeedPrice
=
this
.
currentPrice
.
childNoNeedPrice
;
myObj
.
babyPrice
=
this
.
currentPrice
.
babyPrice
;
myObj
.
babyChargePrice
=
this
.
currentPrice
.
babyChargePrice
;
myObj
.
b2BMemberPrice
=
this
.
currentPrice
.
b2BMemberPrice
;
let
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
if
(
imgCover
.
length
>
0
)
{
myCurrentInfo
.
CoverImg
=
imgCover
[
0
].
Url
;
// myCurrentInfo.CoverImg = imgCover[0].Url;
myObj
.
CoverImg
=
imgCover
[
0
].
Url
}
let
myCurr
=
JSON
.
stringify
(
my
CurrentInfo
);
console
.
log
(
myCurrentInfo
,
"myCurrentInfo"
);
let
myCurr
=
JSON
.
stringify
(
my
Obj
);
let
ren
=
{
crCount
:
this
.
crCount
,
etCount
:
this
.
etCount
,
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
fc6be58c
...
...
@@ -506,7 +506,7 @@ export default {
this
.
currentPriceInfo
=
JSON
.
parse
(
decodeURIComponent
(
option
.
currentPriceInfo
)
);
let
t
=
JSON
.
parse
(
option
.
seat
);
let
t
=
JSON
.
parse
(
decodeURIComponent
(
option
.
seat
)
);
this
.
orderMsg
.
ManNum
=
t
.
crCount
;
this
.
orderMsg
.
ChirdNeedBedNum
=
t
.
etCount
;
this
.
orderMsg
.
ChirdNoBedNum
=
t
.
etbCount
;
...
...
@@ -572,9 +572,9 @@ export default {
calcMoney
()
{
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
())
{
price
=
this
.
currentPriceInfo
.
b2B
Member
Price
;
price
=
this
.
currentPriceInfo
.
b2BPrice
;
}
else
{
price
=
this
.
currentPriceInfo
.
b2C
Member
Price
;
price
=
this
.
currentPriceInfo
.
b2CPrice
;
}
this
.
orderMsg
.
ChirdNum
=
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
...
...
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