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
e1a851de
Commit
e1a851de
authored
Jun 03, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8f8775f0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
order.vue
pages/hotel/order.vue
+10
-8
No files found.
pages/hotel/order.vue
View file @
e1a851de
...
...
@@ -159,9 +159,7 @@
}
},
created
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
HotelInfo
.
HotelName
});
},
onLoad
(
options
)
{
if
(
options
.
RoomInfo
){
...
...
@@ -173,9 +171,6 @@
if
(
options
.
dayObj
){
this
.
dayObj
=
JSON
.
parse
(
options
.
dayObj
)
}
console
.
log
(
this
.
RoomInfo
,
'RoomInfo'
);
console
.
log
(
this
.
HotelInfo
,
'HotelInfo'
);
console
.
log
(
this
.
dayObj
,
'dayObj'
);
this
.
rMsg
.
HotelId
=
this
.
HotelInfo
.
HotelId
;
this
.
rMsg
.
productId
=
this
.
RoomInfo
.
ID
;
this
.
rMsg
.
StartDate
=
this
.
dayObj
.
start
;
...
...
@@ -184,7 +179,9 @@
this
.
orderMsg
.
Unit_Price
=
this
.
RoomInfo
.
B2BPrice
;
this
.
orderMsg
.
StartDate
=
this
.
dayObj
.
start
;
this
.
orderMsg
.
EndDate
=
this
.
dayObj
.
end
;
uni
.
setNavigationBarTitle
({
title
:
this
.
HotelInfo
.
HotelName
});
this
.
CalTotalPrice
();
this
.
getRoomPrice
();
},
...
...
@@ -313,7 +310,7 @@
})
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
url
:
'/pages/jiuzhai/paysuccess?PreferPrice='
+
that
.
orderMsg
.
Final_Price
});
},
100
)
},
...
...
@@ -322,6 +319,11 @@
uni
.
showToast
({
title
:
"支付失败"
})
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
},
100
)
}
});
},
...
...
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