Authored by biao

update for fix interface bug

... ... @@ -284,7 +284,7 @@ function bindConfirmEvent() {
changeData.consignee_name = $('#user').val();
changeData.address = $('#addr').val();
changeData.mobile = $('#mob').val();
changeData.delivery_type = $('.change-type .type.active').data('type');
changeData.delivery_tpye = $('.change-type .type.active').data('type');
submitChange(changeData);
});
... ... @@ -297,9 +297,11 @@ function initAddr() {
});
}
getProductInfo();
bindSelectEvent();
bindTypeEvent();
bindCheckboxEvent();
bindConfirmEvent();
initAddr();
$(document).on('ready', function() {
getProductInfo();
bindSelectEvent();
bindTypeEvent();
bindCheckboxEvent();
bindConfirmEvent();
initAddr();
});
... ...