...
|
...
|
@@ -117,8 +117,11 @@ $invoice.on('touchend', '.checkbox', function() { |
|
|
function updateDeliverId(id) {
|
|
|
var $moreJit = $('.more-jit a').get(0),
|
|
|
url = $moreJit.href;
|
|
|
|
|
|
$moreJit.href = url.replace(/deliveryId=(\d)/, 'deliveryId=' + id);
|
|
|
if (url.indexOf('deliveryId') <0 ) {
|
|
|
$moreJit.href = url + '&deliveryId=' + id;
|
|
|
} else {
|
|
|
$moreJit.href = url.replace(/deliveryId=(\d)/, 'deliveryId=' + id);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
function orderCompute() {
|
...
|
...
|
@@ -163,7 +166,7 @@ function orderCompute() { |
|
|
$('.bill span').html('¥' + res.last_order_amount);
|
|
|
$('.total').html(total);
|
|
|
}
|
|
|
|
|
|
|
|
|
updateDeliverId(deliverId);
|
|
|
}
|
|
|
}).fail(function() {
|
...
|
...
|
|