Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FuLiMini
Project
Overview
Details
Activity
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
wangjian
FuLiMini
Commits
03fb2306
Commit
03fb2306
authored
Apr 28, 2022
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7f3cd96e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
order.vue
pages/order/order.vue
+1
-1
coupon.vue
pagesA/coupon/coupon.vue
+1
-0
orderDetail.vue
pagesA/orderDetail/orderDetail.vue
+1
-1
No files found.
pages/order/order.vue
View file @
03fb2306
...
...
@@ -103,7 +103,7 @@
this
.
$router
.
push
(
'OrderDetail'
,{
'orderId'
:
item
.
orderSn
})
},
goCoupon
(
item
)
{
this
.
$router
.
push
(
'Coupon'
,
{
'orderId'
:
item
.
orderSn
})
this
.
$router
.
push
(
'Coupon'
,
{
'orderId'
:
item
.
orderSn
,
'cardIsAllUnlock'
:
item
.
cardIsAllUnlock
})
}
},
watch
:
{
...
...
pagesA/coupon/coupon.vue
View file @
03fb2306
...
...
@@ -103,6 +103,7 @@
},
onLoad
(
options
)
{
this
.
orderId
=
options
.
orderId
this
.
type
=
options
.
cardIsAllUnlock
==
10
?
200
:
100
this
.
getCouponData
()
this
.
getList
()
},
...
...
pagesA/orderDetail/orderDetail.vue
View file @
03fb2306
...
...
@@ -135,7 +135,7 @@
if
(
this
.
orderData
.
state
===
100
)
{
this
.
toast
(
'卡券生成中,请稍候…'
)
}
else
if
(
this
.
orderData
.
state
===
200
)
{
this
.
$router
.
push
(
'Coupon'
,
{
'orderId'
:
this
.
orderData
.
orderSn
})
this
.
$router
.
push
(
'Coupon'
,
{
'orderId'
:
this
.
orderData
.
orderSn
,
'cardIsAllUnlock'
:
this
.
orderData
.
cardIsAllUnlock
})
}
else
{
this
.
toast
(
'兑换失败,无法查看'
)
}
...
...
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