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
a3d260a5
Commit
a3d260a5
authored
Oct 12, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0d554e42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
7 deletions
+21
-7
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+19
-5
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+2
-2
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
a3d260a5
...
@@ -1255,14 +1255,28 @@ export default {
...
@@ -1255,14 +1255,28 @@ export default {
},
},
//立即预定
//立即预定
goReserce
()
{
goReserce
()
{
let
myCurrentInfo
=
this
.
currentPrice
;
let
myObj
=
{};
myCurrentInfo
.
startCityName
=
this
.
dataList
.
startCityName
;
// 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
);
let
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
if
(
imgCover
.
length
>
0
)
{
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
);
let
myCurr
=
JSON
.
stringify
(
my
Obj
);
console
.
log
(
myCurrentInfo
,
"myCurrentInfo"
);
let
ren
=
{
let
ren
=
{
crCount
:
this
.
crCount
,
crCount
:
this
.
crCount
,
etCount
:
this
.
etCount
,
etCount
:
this
.
etCount
,
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
a3d260a5
...
@@ -556,9 +556,9 @@ export default {
...
@@ -556,9 +556,9 @@ export default {
calcMoney
()
{
calcMoney
()
{
var
price
=
0
;
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
())
{
if
(
this
.
$utils
.
getretailer
())
{
price
=
this
.
currentPriceInfo
.
b2B
Member
Price
;
price
=
this
.
currentPriceInfo
.
b2BPrice
;
}
else
{
}
else
{
price
=
this
.
currentPriceInfo
.
b2C
Member
Price
;
price
=
this
.
currentPriceInfo
.
b2CPrice
;
}
}
this
.
orderMsg
.
ChirdNum
=
this
.
orderMsg
.
ChirdNum
=
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
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