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
Plain Diff
Browse Files
Authored by
毕凯
8 years ago
Commit
922d7ee77bd836dc3f944fe50db2911732a8cd86
2 parents
5ca1072e
a10787e2
Merge branch 'fetaure/delivery' into 'release/6.0'
货到付款提示 See merge request
!739
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
public/js/buynow/order-ensure.page.js
public/js/cart/order-ensure.js
public/js/buynow/order-ensure.page.js
View file @
922d7ee
...
...
@@ -35,7 +35,8 @@ let $invoice = $('.invoice'),
isYohoCoinClick
=
$coinLi
.
data
(
'yoho-coin-click'
)
*
1
,
// 判断有货币是否可以单击
addressTop
=
$
(
'.address-wrap'
).
outerHeight
(),
$message
=
$
(
'#msg'
),
$noPrintPrice
=
$
(
'.no-print-price'
);
$noPrintPrice
=
$
(
'.no-print-price'
),
delivery
=
0
;
require
(
'common'
);
...
...
@@ -447,6 +448,17 @@ $subBlock.on('touchstart', 'li', function() {
});
let
self
=
$
(
this
);
if
(
self
.
find
(
'i'
).
data
(
'payment-type'
)
===
2
&&
delivery
===
0
)
{
dialog
.
showDialog
({
dialogText
:
'货到付款订单是否支持刷卡以当地快递公司为准'
,
hasFooter
:
{
centerBtnText
:
'我知道了'
}
});
delivery
=
1
;
}
setTimeout
(
function
()
{
self
.
parents
(
'ul'
).
hide
();
},
300
);
...
...
public/js/cart/order-ensure.js
View file @
922d7ee
...
...
@@ -34,7 +34,8 @@ let $invoice = $('.invoice'),
isYohoCoinClick
=
$coinLi
.
data
(
'yoho-coin-click'
)
*
1
,
// 判断有货币是否可以单击
addressTop
=
$
(
'.address-wrap'
).
outerHeight
(),
$message
=
$
(
'#msg'
),
$noPrintPrice
=
$
(
'.no-print-price'
);
$noPrintPrice
=
$
(
'.no-print-price'
),
delivery
=
0
;
require
(
'common'
);
...
...
@@ -425,6 +426,17 @@ $subBlock.on('touchstart', 'li', function() {
});
let
self
=
$
(
this
);
if
(
self
.
find
(
'i'
).
data
(
'payment-type'
)
===
2
&&
delivery
===
0
)
{
dialog
.
showDialog
({
dialogText
:
'货到付款订单是否支持刷卡以当地快递公司为准'
,
hasFooter
:
{
centerBtnText
:
'我知道了'
}
});
delivery
=
1
;
}
setTimeout
(
function
()
{
self
.
parents
(
'ul'
).
hide
();
},
300
);
...
...
Please
register
or
login
to post a comment