...
|
...
|
@@ -14227,6 +14227,7 @@ function init() { |
|
|
invoiceType: null,
|
|
|
invoiceTitle: null,
|
|
|
receiverMobile: null,
|
|
|
isModifyTel: false,
|
|
|
invoicesType: null,
|
|
|
msg: null,
|
|
|
cartType: 'ordinary'
|
...
|
...
|
@@ -14276,7 +14277,9 @@ var $invoiceNotice = $('.invoice-notice'), |
|
|
$company = $('.company'),
|
|
|
$telArea = $('.tel-area'),
|
|
|
orderInfo = order.orderInfo,
|
|
|
$chooseContLi = $('.invoice-cont').find('.icon-cb-radio').parent();
|
|
|
$chooseContLi = $('.invoice-cont').find('.icon-cb-radio').parent(),
|
|
|
$copyTel = $('.copy-tel'),
|
|
|
isModifyTel = false;
|
|
|
|
|
|
var myreg = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/,
|
|
|
linkUrl = '/cart/index/orderEnsure?cartType=ordinary';
|
...
|
...
|
@@ -14336,6 +14339,12 @@ function confirmAction() { |
|
|
orderInfo('invoicesType', type);
|
|
|
orderInfo('invoiceTitle', title);
|
|
|
|
|
|
if (isModifyTel && $copyTel !== tel) {
|
|
|
orderInfo('isModifyTel', true);
|
|
|
} else {
|
|
|
orderInfo('isModifyTel', false);
|
|
|
}
|
|
|
|
|
|
dialog.showDialog({
|
|
|
dialogText: '保存成功',
|
|
|
autoHide: true,
|
...
|
...
|
@@ -14406,6 +14415,7 @@ $('.istel').one('input', function() { |
|
|
$tel.on('input', function() {
|
|
|
$(this).attr('data-tel', $(this).val());
|
|
|
$editFlag.val('true');
|
|
|
isModifyTel = true;
|
|
|
});
|
|
|
|
|
|
$company.on('input', function() {
|
...
|
...
|
|