...
|
...
|
@@ -90,9 +90,11 @@ $('.invoice').on('touchend', '.checkbox', function() { |
|
|
|
|
|
function orderCompute(firstEnter) {
|
|
|
var yohoCoin = orderInfo('yohoCoin');
|
|
|
|
|
|
if (firstEnter) {
|
|
|
yohoCoin = 0;
|
|
|
}
|
|
|
|
|
|
$.ajax({
|
|
|
method: 'POST',
|
|
|
url: '/cart/index/orderCompute',
|
...
|
...
|
@@ -183,7 +185,7 @@ function submitOrder() { |
|
|
var url;
|
|
|
|
|
|
if (!res) {
|
|
|
tip.show('网络出错');
|
|
|
tip.show('系统繁忙,请稍后再试!');
|
|
|
return;
|
|
|
}
|
|
|
if (res.code === 200) {
|
...
|
...
|
@@ -200,7 +202,7 @@ function submitOrder() { |
|
|
tip.show(res.message);
|
|
|
}
|
|
|
}).fail(function() {
|
|
|
tip.show('网络出错');
|
|
|
tip.show('系统繁忙,请稍后再试!');
|
|
|
}).always(function() {
|
|
|
isSubmiting = false;
|
|
|
loading.hideLoadingMask();
|
...
|
...
|
|