...
|
...
|
@@ -78,7 +78,7 @@ function orderCompute() { |
|
|
method: 'POST',
|
|
|
url: '/cart/index/orderCompute',
|
|
|
data: {
|
|
|
cartType: orderInfo('cartType'),
|
|
|
cartType: queryString.cartType || queryString.carttype || 'ordinary',
|
|
|
deliveryId: orderInfo('deliveryId'),
|
|
|
paymentTypeId: orderInfo('paymentTypeId'),
|
|
|
couponCode: orderInfo('couponCode'),
|
...
|
...
|
@@ -89,6 +89,7 @@ function orderCompute() { |
|
|
|
|
|
if (!res) {
|
|
|
tip.show('网络出错');
|
|
|
window.location.reload();
|
|
|
} else {
|
|
|
/*if (res.order_amount) {
|
|
|
res.order_amount = (+res.order_amount).toFixed(2);
|
...
|
...
|
@@ -108,6 +109,7 @@ function orderCompute() { |
|
|
}
|
|
|
}).fail(function() {
|
|
|
tip.show('网络出错');
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|