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
01b636ec
Commit
01b636ec
authored
Apr 23, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
72248ecf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
hotelRoom.vue
pages/hotel/components/hotelRoom.vue
+1
-0
order.vue
pages/hotel/order.vue
+2
-1
No files found.
pages/hotel/components/hotelRoom.vue
View file @
01b636ec
...
...
@@ -414,6 +414,7 @@
}
}
console
.
log
(
"hotelRoom"
,
pHotel
);
console
.
log
(
"searchroomGroup"
,
this
.
searchObj
.
searchroomGroup
);
uni
.
navigateTo
({
url
:
`/pages/hotel/order?searchObj=
${
JSON
.
stringify
(
this
.
searchObj
)}
&dayObj=
${
JSON
.
stringify
(
this
.
dayObj
)}
&HotelInfo=
${
JSON
.
stringify
(
pHotel
)}
&RoomInfo=
${
JSON
.
stringify
(
subItem
)}
&CreateBy=
${
createBy
}
`
,
});
...
...
pages/hotel/order.vue
View file @
01b636ec
...
...
@@ -418,7 +418,7 @@
this
.
orderMsg
.
GuestList
=
[];
this
.
searchObj
.
searchroomGroup
.
forEach
((
item
,
index
)
=>
{
var
guestInfoList
=
[];
let
allprople
=
item
.
numberOfAdults
+
item
.
numberOfChildren
;
let
allprople
=
Number
(
item
.
numberOfAdults
)
+
Number
(
item
.
numberOfChildren
)
for
(
let
i
=
1
;
i
<=
allprople
;
i
++
)
{
let
obj
=
{
LastName
:
""
,
...
...
@@ -427,6 +427,7 @@
}
;
guestInfoList
.
push
(
obj
);
}
console
.
log
(
item
.
ChildAgeDetails
,
'-------'
)
var
obj
=
{
RoomNum
:
index
+
1
,
numberOfAdults
:
item
.
numberOfAdults
,
...
...
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