Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
6246045b599b05225531dce8747718e5a5d605c5
1 parent
95dd50ba
输入优惠券号码使用
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
static/js/cart/select-coupon.js
static/js/cart/select-coupon.js
View file @
6246045
...
...
@@ -37,7 +37,7 @@ $newCoupon.on('submit', function() {
if
(
res
.
code
===
200
)
{
tip
.
show
(
'优惠券可用'
);
orderInfo
(
'couponCode'
,
res
.
data
.
coupon_code
);
orderInfo
(
'couponName'
,
res
.
data
.
coupon_
nam
e
);
orderInfo
(
'couponName'
,
res
.
data
.
coupon_
titl
e
);
window
.
location
.
href
=
'/cart/index/orderEnsure'
;
}
else
{
tip
.
show
(
res
.
message
||
'网络错误'
);
...
...
Please
register
or
login
to post a comment