Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
972aa7b40566d94d6d83ba9662c7f0148b68d9a4
1 parent
32f142e0
conpon-code-yoho-coin-handle
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
public/js/cart/order-ensure.js
public/js/cart/order-info.js
public/js/cart/order-ensure.js
View file @
972aa7b
...
...
@@ -14,7 +14,6 @@ let tip = require('plugin/tip'),
richTip
=
require
(
'plugin/rich-tip'
);
let
$invoice
=
$
(
'.invoice'
),
$couponUse
=
$
(
'.coupon-use.used'
),
$addressWrap
=
$
(
'.address-wrap'
),
$coinCheck
=
$
(
'.coin-check'
),
$coinLi
=
$
(
'li.coin'
),
...
...
@@ -64,15 +63,11 @@ if (window.getUid() !== orderInfo('uid')) {
window
.
location
.
reload
();
}
if
(
$couponUse
.
data
(
'name'
)
!==
orderInfo
(
'couponName'
))
{
orderInfo
(
'couponCode'
,
null
);
orderInfo
(
'couponName'
,
null
);
}
// 来自购物车的链接默认不使用优惠券
if
(
document
.
referrer
&&
document
.
referrer
.
indexOf
(
'/cart/index/index'
)
!==
-
1
)
{
orderInfo
(
'couponCode'
,
null
);
orderInfo
(
'couponName'
,
null
);
orderInfo
(
'usable_usual_code'
,
null
);
orderInfo
(
'usable_free_code'
,
null
);
}
isLimitGood
()
&&
(
function
()
{
...
...
public/js/cart/order-info.js
View file @
972aa7b
...
...
@@ -20,7 +20,6 @@ function init() {
yohoCoin
:
0
,
addressId
:
null
,
couponCode
:
null
,
couponName
:
null
,
invoice
:
null
,
invoices_title
:
null
,
invoices_type
:
null
,
...
...
Please
register
or
login
to post a comment