Authored by liangxs

地址修改参数修正

... ... @@ -16,7 +16,7 @@ require('../common');
$('.address-item').on('touchend', function() {
selectId = $(this).data('addressId');
console.log($modifyAdd.data('rel'));
if ($modifyAdd.data('rel') === true) {
$confimMod.find('.content').text('关联订单的收货地址将会一起修改且不可修改第二次,请确认是否修改?');
$confimMod.fadeIn();
... ... @@ -35,10 +35,10 @@ $confimMod.on('touchend', '.cancel', function(e) {
return false;
}).on('touchend', '.confim', function() {
$.ajax({
method: 'POST',
method: 'GET',
url: '/home/chooseAddress',
data: {
id: selectId,
addressId: selectId,
orderCode: orderCode
}
}).then(function(res) {
... ...