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
c7f58df8
Commit
c7f58df8
authored
May 08, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
bdeba5e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
orderdetails.vue
pages/hotel/orderdetails.vue
+15
-12
No files found.
pages/hotel/orderdetails.vue
View file @
c7f58df8
...
...
@@ -68,7 +68,8 @@
</view>
<view
class=
"ReservationInforBox"
>
<view
class=
"ReservationInforTitle"
>
预定信息
</view>
<view
class=
"ResInforText row-sb-n"
v-if=
"orderData.model&&orderData.model.ThirdOrderNo!=''&&orderData.model.OrderStatus==5"
>
<view
class=
"ResInforText row-sb-n"
v-if=
"orderData.model&&orderData.model.ThirdOrderNo!=''&&orderData.model.OrderStatus==5"
>
<view
class=
"ResInforL"
>
订单号
</view>
<view
class=
"ResInforR"
style=
"color: #ff3166;"
>
{{
orderData
.
model
.
ThirdOrderNo
}}
...
...
@@ -121,7 +122,8 @@
</text>
</view>
</view>
<view
class=
"ResInforText row-sb-n"
v-if=
"orderData&&orderData.model&&orderData.model.ThirdOrderStatus==3"
>
<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;"
>
...
...
@@ -363,7 +365,7 @@
ErpOrderId
:
this
.
orderData
.
model
.
OrderID
,
OrderTypeStr
:
"Hotel"
,
//订单类型为酒店
ConfirmID
:
""
,
Amount
:
0
,
Amount
:
0
,
};
wx
.
showModal
({
title
:
'提示'
,
...
...
@@ -385,7 +387,7 @@
var
tempData
=
res
.
data
;
if
(
tempData
)
{
cancelMsg
.
ConfirmID
=
tempData
.
ConfirmID
;
cancelMsg
.
Amount
=
tempData
.
Amount
;
cancelMsg
.
Amount
=
tempData
.
Amount
;
//有取消费用
if
(
tempData
.
Amount
&&
tempData
.
Amount
>
0
)
{
var
tipmsg
=
"取消订单将收取【"
+
tempData
.
Amount
+
...
...
@@ -441,23 +443,24 @@
}
);
},
formatStatus
(
status
)
{
console
.
log
(
"formatStatus"
,
status
)
formatStatus
(
directOrder
)
{
var
status
=
directOrder
.
OrderStatus
;
console
.
log
(
"formatStatus"
,
status
)
if
(
status
==
1
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"待付款"
;
}
else
if
(
status
==
2
)
{
this
.
orderStatus
.
code
=
1
;
this
.
orderStatus
.
text
=
"已取消"
;
this
.
orderStatus
.
text
=
directOrder
.
ThirdOrderExtStatusStr
;
}
else
if
(
status
==
3
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"
退款中
"
;
this
.
orderStatus
.
text
=
"
已完成
"
;
}
else
if
(
status
==
4
)
{
this
.
orderStatus
.
code
=
-
1
;
this
.
orderStatus
.
text
=
"已取消"
;
}
else
if
(
status
==
5
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"
正常
"
;
this
.
orderStatus
.
text
=
"
售后
"
;
}
},
scroll
(
e
)
{
...
...
@@ -503,7 +506,7 @@
this
.
peopleNum
++
})
})
this
.
formatStatus
(
res
.
data
.
model
.
OrderStatus
);
this
.
formatStatus
(
res
.
data
.
directOrder
);
}
},
err
=>
{
uni
.
hideLoading
();
...
...
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