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
20ab8013
Commit
20ab8013
authored
May 15, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款BUG修复
parent
9e8f642e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
applyAfterSale.vue
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
+9
-1
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+6
-0
No files found.
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
View file @
20ab8013
...
@@ -287,6 +287,7 @@ export default {
...
@@ -287,6 +287,7 @@ export default {
// }
// }
this
.
orderRefundRuleListShowMessage
=
this
.
orderInfo
.
orderRefundRuleList
this
.
orderRefundRuleListShowMessage
=
this
.
orderInfo
.
orderRefundRuleList
//判断是否在退票时间内
//判断是否在退票时间内
var
orderRefundRuleListShowType
=
false
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
refundVisitorApply
==
1
){
if
(
item
.
refundVisitorApply
==
1
){
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
...
@@ -339,6 +340,13 @@ export default {
...
@@ -339,6 +340,13 @@ export default {
}
}
}
}
})
})
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
!=
0
){
this
.
isRefund
=
true
this
.
orderRefundRuleListShowBtn
=
true
}
else
{
this
.
orderRefundRuleListShowBtn
=
false
this
.
isRefund
=
false
}
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
message
,
title
:
res
.
message
,
...
...
pages/my/order/electronicTicket/electronicTicket.vue
View file @
20ab8013
...
@@ -845,6 +845,7 @@ export default {
...
@@ -845,6 +845,7 @@ export default {
}
}
}
}
//判断是否在退票时间内
//判断是否在退票时间内
var
orderRefundRuleListShowType
=
false
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
this
.
orderRefundRuleListShowMessage
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
refundVisitorApply
==
1
){
if
(
item
.
refundVisitorApply
==
1
){
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
var
todayTimer
=
this
.
$commonjs
.
today
()
+
' '
+
this
.
$commonjs
.
todayTime
()
//获取今天时间
...
@@ -885,6 +886,11 @@ export default {
...
@@ -885,6 +886,11 @@ export default {
}
}
}
}
})
})
if
(
orderRefundRuleListShowType
==
false
&&
this
.
orderInfo
!=
0
){
this
.
orderRefundRuleListShowBtn
=
true
}
else
{
this
.
orderRefundRuleListShowBtn
=
false
}
this
.
findCouponListFun
()
this
.
findCouponListFun
()
}
else
{
}
else
{
uni
.
showToast
({
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