...
|
...
|
@@ -432,7 +432,8 @@ var Order = { |
|
|
e.$selectExpress.click(function() {
|
|
|
|
|
|
var expressId = $(this).val();
|
|
|
|
|
|
//订单金额发生变化,使用有货币重置
|
|
|
$('#biprice').removeClass('is-select');
|
|
|
e.$loading.show();
|
|
|
|
|
|
getSelectData(function(d) {
|
...
|
...
|
@@ -455,6 +456,7 @@ var Order = { |
|
|
} else if (expressId === '2') {
|
|
|
$('.express-list.sf').removeClass('hide');
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
new dialog.Alert(data.message).show();
|
|
|
}
|
...
|
...
|
@@ -473,7 +475,8 @@ var Order = { |
|
|
var juanText = '';
|
|
|
|
|
|
$('.play-juan').addClass('is-select');
|
|
|
|
|
|
//订单金额发生变化,使用有货币重置
|
|
|
$('#biprice').removeClass('is-select');
|
|
|
getSelectData(function(d) {
|
|
|
|
|
|
var code = d.couponCode;
|
...
|
...
|
@@ -484,10 +487,9 @@ var Order = { |
|
|
$('.play-juan').removeClass('is-select');
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
e.$loading.show();
|
|
|
|
|
|
|
|
|
options = {
|
|
|
type: 'POST',
|
|
|
url: '/cart/index/orderCompute',
|
...
|
...
|
@@ -634,7 +636,8 @@ var Order = { |
|
|
var $pan = $('.play-juan-pan');
|
|
|
|
|
|
if ($('.play-juan').hasClass('is-select')) {
|
|
|
|
|
|
//订单金额发生变化,使用有货币重置
|
|
|
$('#biprice').removeClass('is-select');
|
|
|
e.$loading.show();
|
|
|
|
|
|
getSelectData(function(d) {
|
...
|
...
|
@@ -660,7 +663,6 @@ var Order = { |
|
|
|
|
|
// $('.use-envelopes input').attr('checked', 'checked');
|
|
|
// $('.red-envelopes').addClass('active');
|
|
|
|
|
|
} else {
|
|
|
e.$juantip.html(data.message);
|
|
|
}
|
...
|
...
|
@@ -683,6 +685,8 @@ var Order = { |
|
|
var $this = $(this),
|
|
|
juanText;
|
|
|
|
|
|
//订单金额发生变化,使用有货币重置
|
|
|
$('#biprice').removeClass('is-select');
|
|
|
e.$loading.show();
|
|
|
|
|
|
$this.attr('disabled', 'disabled');
|
...
|
...
|
@@ -700,7 +704,6 @@ var Order = { |
|
|
}
|
|
|
|
|
|
juanText = $('.play-juan input[value="' + d.couponCode + '"]').next().text();
|
|
|
|
|
|
options = {
|
|
|
type: 'POST',
|
|
|
url: '/cart/index/orderCompute',
|
...
|
...
|
|