Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
a6c7363f
Commit
a6c7363f
authored
May 15, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断优化
parent
4b07f548
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
applyAfterSale.vue
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
+9
-0
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+7
-0
No files found.
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
View file @
a6c7363f
...
...
@@ -287,8 +287,10 @@ export default {
// }
this
.
orderRefundRuleListShowMessage
=
this
.
orderInfo
.
orderRefundRuleList
//判断是否在退票时间内
var
orderRefundRuleListShowType
=
false
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
refundVisitorApply
==
1
){
orderRefundRuleListShowType
=
true
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
var
playdateTimer
=
''
//获取游玩时间开始
if
(
item
.
refundDay
!=
undefined
&&
item
.
refundDay
!=
0
){
...
...
@@ -339,6 +341,13 @@ export default {
}
}
})
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
!=
0
&&
this
.
orderInfo
.
orderStatus
==
2
||
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
!=
0
&&
this
.
orderInfo
.
orderStatus
==
7
){
this
.
isRefund
=
true
this
.
orderRefundRuleListShowBtn
=
true
}
else
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
==
0
){
this
.
orderRefundRuleListShowBtn
=
false
this
.
isRefund
=
false
}
}
else
{
uni
.
showToast
({
title
:
res
.
message
,
...
...
pages/my/order/electronicTicket/electronicTicket.vue
View file @
a6c7363f
...
...
@@ -845,8 +845,10 @@ export default {
}
}
//判断是否在退票时间内
var
orderRefundRuleListShowType
=
false
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
refundVisitorApply
==
1
){
orderRefundRuleListShowType
=
true
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
var
playdateTimer
=
''
//获取游玩时间开始
if
(
item
.
refundDay
!=
undefined
&&
item
.
refundDay
!=
0
){
...
...
@@ -885,6 +887,11 @@ export default {
}
}
})
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
!=
0
&&
this
.
orderInfo
.
orderStatus
==
2
||
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
!=
0
&&
this
.
orderInfo
.
orderStatus
==
7
){
this
.
orderRefundRuleListShowBtn
=
true
}
else
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
.
isRefund
==
0
){
this
.
orderRefundRuleListShowBtn
=
false
}
this
.
findCouponListFun
()
}
else
{
uni
.
showToast
({
...
...
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