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
ee797370
Commit
ee797370
authored
May 09, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
bd56b369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
orderdetails.vue
pages/hotel/orderdetails.vue
+18
-3
No files found.
pages/hotel/orderdetails.vue
View file @
ee797370
...
...
@@ -140,9 +140,7 @@
</template>
<
template
v-else
>
<template>
{{
getformatDateStr
(
itemCancella
.
FromDate
)
}}
<template
v-if=
"index1!=(roomRateDetails.CancellationPolicyList.length-1)"
>
-
{{
getformatDateStr
(
roomRateDetails
.
CancellationPolicyList
[
index1
+
1
].
FromDate
)
}}
之间
</
template
>
<template
v-if=
"index1!=(roomRateDetails.CancellationPolicyList.length-1)"
>
-
{{
getformatDateStr
(
roomRateDetails
.
CancellationPolicyList
[
index1
+
1
].
FromDate
)
}}
之间
</
template
>
取消,收费 {{DanWei}}{{getPrice(itemCancella.Amount)}};
</template>
</template>
</template>
...
...
@@ -307,6 +305,9 @@
RatePlanList
:
null
,
HotelMealTypes
:
[],
customer
:
{},
remainingTime
:
10
,
// 初始倒计时时间(秒)
timerId
:
null
,
// 定时器ID
isRunning
:
false
,
// 状态标识(防止重复启动)
};
},
created
()
{
...
...
@@ -519,6 +520,8 @@
uni
.
hideLoading
();
var
tempData
=
res
.
data
this
.
orderData
=
tempData
;
this
.
orderData
.
directOrder
.
CreateTime
=
this
.
$utils
.
formatDate
(
new
Date
(
tempData
.
directOrder
.
CreateTime
),
'yyyy-MM-dd hh:mm'
)
if
(
tempData
.
parmResult
&&
tempData
.
parmResult
.
Success
)
{
this
.
RatePlanList
=
tempData
.
parmResult
.
Success
.
BookingDetails
.
Hotel
.
RatePlanList
this
.
DanWei
=
tempData
.
parmResult
.
Success
.
BookingDetails
.
Hotel
.
RatePlanList
[
0
].
Currency
...
...
@@ -539,6 +542,18 @@
}
);
},
startCountdown
()
{
if
(
this
.
isRunning
)
return
;
this
.
isRunning
=
true
;
this
.
timerId
=
setInterval
(()
=>
{
this
.
remainingTime
--
;
if
(
this
.
remainingTime
<=
0
)
{
clearInterval
(
this
.
timerId
);
this
.
isRunning
=
false
;
this
.
submitCancel
=
false
;
// 时间耗尽回调
}
},
1000
);
},
//未付款是初始化预定房型,餐型等,
initBookHotel
()
{
var
cMsg
=
{
...
...
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