Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
064140aae77c99cbed2a1fcb02218aeb08a384f8
2 parents
8c73ed74
908edce5
Merge branch 'release/5.3' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
static/js/cart/order-ensure.js
static/js/me/pay.js
static/js/cart/order-ensure.js
View file @
064140a
...
...
@@ -46,7 +46,7 @@ var invoiceCont = {
2
:
'电子'
};
var
C_ID
=
window
.
_ChannelVary
[
window
.
cookie
(
'_Channel'
)]
||
1
;
var
C_ID
=
window
.
_ChannelVary
[
window
.
cookie
(
'_Channel'
)]
||
1
;
require
(
'../common'
);
...
...
@@ -174,7 +174,7 @@ $invoice.on('touchend', '.checkbox', function() {
})
},
true
);
}
},
200
)
},
200
)
;
});
...
...
@@ -311,7 +311,9 @@ function submitOrder(times) {
times
:
times
||
1
}
}).
then
(
function
(
res
)
{
var
url
;
var
url
,
PRD_SKN
=
[],
PRD_SKU
=
[];
if
(
!
res
)
{
tip
.
show
(
'系统繁忙,请稍后再试!'
);
...
...
@@ -319,8 +321,6 @@ function submitOrder(times) {
}
if
(
res
.
code
===
200
)
{
var
PRD_SKN
=
[],
PRD_SKU
=
[];
if
(
payType
===
2
)
{
...
...
@@ -330,9 +330,6 @@ function submitOrder(times) {
url
=
'/home/orders/pay?order_code='
+
res
.
data
.
order_code
;
}
var
PRD_SKN
=
[],
PRD_SKU
=
[];
$
(
'.order-good'
).
each
(
function
()
{
PRD_SKN
.
push
(
$
(
this
).
data
(
'id'
));
PRD_SKU
.
push
(
$
(
this
).
data
(
'skn'
));
...
...
@@ -354,8 +351,7 @@ function submitOrder(times) {
})
},
true
);
}
},
200
)
},
300
)
window
.
setCookie
(
'order-info'
,
''
);
window
.
location
.
href
=
url
;
...
...
@@ -507,7 +503,7 @@ $subBlock.on('touchstart', 'li', function() {
$
(
'.bill a'
).
on
(
'touchstart'
,
function
()
{
if
(
isTickets
)
{
ticketsConfirm
();
return
;
return
;
}
orderInfo
(
'paymentTypeId'
,
$
(
'.delivery-id .icon-cb-radio'
).
data
(
'id'
));
...
...
@@ -531,7 +527,7 @@ if (orderInfo('address') && orderInfo('address').is_support === 'N') {
}
//电子票下单
function
ticketsConfirm
()
{
function
ticketsConfirm
()
{
if
(
!
$ticketsMobile
.
val
())
{
tip
.
show
(
'手机号必填'
);
...
...
static/js/me/pay.js
View file @
064140a
...
...
@@ -215,7 +215,7 @@ $('.box').on('touchstart', function() {
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
window
.
_yas
.
sendCustomInfo
({
op
:
'YB_SC_PAYMENT'
,
op
:
'YB_SC_PAYMENT
_TOPAY_CLICK
'
,
param
:
JSON
.
stringify
({
C_ID
:
window
.
_ChannelVary
[
cookie
(
'_Channel'
)],
ORDER_CODE
:
$
(
'.order-code'
).
val
(),
...
...
Please
register
or
login
to post a comment