Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
毕凯
9 years ago
Commit
adfb5e4c20f89641b9f85c814103f67062ceb075
1 parent
57833dbf
增加购物车类型
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
static/js/cart/order-ensure.js
static/js/cart/order-ensure.js
View file @
adfb5e4
...
...
@@ -17,7 +17,8 @@ var dispatchModeHammer,
$invoice
=
$
(
'.invoice'
),
$price
=
$
(
'.price-cal'
),
payType
,
priceTmpl
=
Handlebars
.
compile
(
$
(
'#tmpl-price'
).
html
());
priceTmpl
=
Handlebars
.
compile
(
$
(
'#tmpl-price'
).
html
()),
queryString
=
$
.
queryString
();
lazyLoad
();
...
...
@@ -101,7 +102,7 @@ function submitOrder() {
url
:
'/cart/index/orderSub'
,
data
:
{
addressId
:
orderInfo
(
'addressId'
),
cartType
:
orderInfo
(
'cartType'
)
,
cartType
:
queryString
.
cartType
||
queryString
.
carttype
||
'ordinary'
,
deliveryId
:
orderInfo
(
'deliveryId'
),
deliveryTimeId
:
orderInfo
(
'deliveryTimeId'
),
invoiceText
:
$invoice
.
find
(
'[name="invoice-title"]'
).
val
()
||
orderInfo
(
'invoiceText'
),
...
...
@@ -132,7 +133,7 @@ function submitOrder() {
window
.
location
.
href
=
url
;
}
else
{
loading
.
hideLoadingMask
();
tip
.
show
(
res
.
mess
e
ge
||
'网络出错'
);
tip
.
show
(
res
.
mess
a
ge
||
'网络出错'
);
}
}).
fail
(
function
()
{
loading
.
hideLoadingMask
();
...
...
Please
register
or
login
to post a comment