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
55ac818c
Commit
55ac818c
authored
Apr 24, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
8c69c621
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
20 deletions
+17
-20
detail.vue
pages/hotel/detail.vue
+17
-20
No files found.
pages/hotel/detail.vue
View file @
55ac818c
...
@@ -530,19 +530,7 @@
...
@@ -530,19 +530,7 @@
if
(
options
.
searchObj
)
{
if
(
options
.
searchObj
)
{
this
.
searchObj
=
JSON
.
parse
(
options
.
searchObj
);
this
.
searchObj
=
JSON
.
parse
(
options
.
searchObj
);
}
}
uni
.
getStorage
({
key
:
"Time"
,
success
:
(
res
)
=>
{
let
obj
=
JSON
.
parse
(
res
.
data
);
this
.
roomMsg
.
StartDate
=
obj
.
start
;
this
.
roomMsg
.
EndDate
=
obj
.
end
;
this
.
startDay
=
obj
.
startDay
;
this
.
endDay
=
obj
.
endDay
;
this
.
day
=
obj
.
day
;
this
.
dayObj
=
obj
;
this
.
getHotelPrices
()
},
});
this
.
getdidaMealType
()
this
.
getdidaMealType
()
},
},
onShow
()
{
onShow
()
{
...
@@ -568,6 +556,21 @@
...
@@ -568,6 +556,21 @@
}
}
this
.
getSale
()
this
.
getSale
()
},
},
mounted
()
{
uni
.
getStorage
({
key
:
"Time"
,
success
:
(
res
)
=>
{
let
obj
=
JSON
.
parse
(
res
.
data
);
this
.
roomMsg
.
StartDate
=
obj
.
start
;
this
.
roomMsg
.
EndDate
=
obj
.
end
;
this
.
startDay
=
obj
.
startDay
;
this
.
endDay
=
obj
.
endDay
;
this
.
day
=
obj
.
day
;
this
.
dayObj
=
obj
;
this
.
getHotelPrices
()
},
});
},
methods
:
{
methods
:
{
getSale
(){
getSale
(){
if
(
!
this
.
b2bUser
.
customerId
)
return
if
(
!
this
.
b2bUser
.
customerId
)
return
...
@@ -630,19 +633,13 @@
...
@@ -630,19 +633,13 @@
},
},
// 获取房间价格
// 获取房间价格
getHotelPrices
()
{
getHotelPrices
()
{
let
that
=
this
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'dmc_post_GetDiDaPriceSearchList'
,
{
this
.
apipost
(
'dmc_post_GetDiDaPriceSearchList'
,
{
hotelId
:
this
.
roomMsg
.
hotelid
,
hotelId
:
this
.
roomMsg
.
hotelid
,
sort
:
0
,
sort
:
0
,
displayFrom
:
1
,
displayFrom
:
1
,
roomOptionCd
:
""
,
roomOptionCd
:
""
,
searchroomGroup
:
[{
searchroomGroup
:
this
.
searchObj
.
searchroomGroup
,
roomNum
:
1
,
numberOfAdults
:
2
,
numberOfChildren
:
0
,
ChildAgeDetails
:
""
}],
auditNum
:
this
.
searchObj
.
adultsNumber
,
auditNum
:
this
.
searchObj
.
adultsNumber
,
childNum
:
this
.
searchObj
.
childrenNumberZC
,
childNum
:
this
.
searchObj
.
childrenNumberZC
,
CheckInDate
:
this
.
dayObj
.
startTime
,
CheckInDate
:
this
.
dayObj
.
startTime
,
...
...
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