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
89fb94f7
Commit
89fb94f7
authored
May 08, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
08292bd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
orderdetails.vue
pages/hotel/orderdetails.vue
+12
-2
No files found.
pages/hotel/orderdetails.vue
View file @
89fb94f7
...
...
@@ -106,7 +106,7 @@
roomRateDetails.CancellationPolicyList.length > 0"
style=
"color: #ff3166;"
>
<
template
v-for=
"(itemCancella, index1) in roomRateDetails.CancellationPolicyList"
>
<template
v-if=
"index1==0"
>
{{
getformatDateStr
(
itemCancella
.
FromDate
)
}}
之前免费取消
</
template
>
v-if=
"index1==0"
>
{{
getformatDateStr
(
itemCancella
.
FromDate
)
}}
之前免费取消
,
</
template
>
<
template
v-if=
"itemCancella.Amount==roomRateDetails.TotalPrice"
>
<template>
{{
getformatDateStr
(
itemCancella
.
FromDate
)
}}
起不可取消,取消将收取订单全额费用;
</
template
>
</template>
...
...
@@ -121,6 +121,14 @@
</text>
</view>
</view>
<view
class=
"ResInforText row-sb-n"
v-if=
"orderData&&orderData.model&&orderData.model.ThirdOrderStatus==3"
>
<view
class=
"ResInforL"
>
退款信息
</view>
<view
class=
"ResInforR"
>
<text
style=
"color: #ff3166;"
>
取消手续费{{orderData.model.CancelFee}}元,实际退款金额{{orderData.model.CancelPrice}}元.
</text>
</view>
</view>
</view>
<view
class=
"ReservationInforBox"
>
<view
class=
"ReservationInforTitle"
>
订房信息
</view>
...
...
@@ -434,6 +442,7 @@
);
},
formatStatus
(
status
)
{
console
.
log
(
"formatStatus"
,
status
)
if
(
status
==
1
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"待付款"
;
...
...
@@ -445,7 +454,7 @@
this
.
orderStatus
.
text
=
"退款中"
;
}
else
if
(
status
==
4
)
{
this
.
orderStatus
.
code
=
-
1
;
this
.
orderStatus
.
text
=
"已
退款
"
;
this
.
orderStatus
.
text
=
"已
取消
"
;
}
else
if
(
status
==
5
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"正常"
;
...
...
@@ -551,6 +560,7 @@
if
(
tempData
&&
tempData
.
PriceDetails
&&
tempData
.
PriceDetails
.
HotelList
&&
tempData
.
PriceDetails
.
HotelList
.
length
>
0
)
{
this
.
RatePlanList
=
tempData
.
PriceDetails
.
HotelList
[
0
].
RatePlanList
;
this
.
roomRateDetails
=
tempData
.
PriceDetails
.
HotelList
[
0
];
}
}
},
failed
=>
{
...
...
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