...
|
...
|
@@ -14084,6 +14084,7 @@ var $invoiceNotice = $('.invoice-notice'), |
|
|
$chooseCont = $('.choose-cont'),
|
|
|
$invoiceType = $('.invoice-type'),
|
|
|
$tel = $('.tel'),
|
|
|
$company = $('.company'),
|
|
|
orderInfo = order.orderInfo,
|
|
|
$chooseContLi = $('.invoice-cont').find('.icon-cb-radio').parent();
|
|
|
|
...
|
...
|
@@ -14154,7 +14155,7 @@ function confirmAction() { |
|
|
var type = $invoiceType.find('.on').data('id'),
|
|
|
title = $('.invoice-top').find('.on').text(),
|
|
|
tel = $tel.attr('data-tel'),
|
|
|
company = $('.company').val(),
|
|
|
company = $company.val(),
|
|
|
cont = $chooseCont.data('id');
|
|
|
|
|
|
if ($editFlag.val() === 'true') {
|
...
|
...
|
@@ -14162,6 +14163,10 @@ function confirmAction() { |
|
|
tip.show('请输入正确手机号');
|
|
|
$tel.focus();
|
|
|
return false;
|
|
|
} else if (title === '单位' && company.length === 0) {
|
|
|
tip.show('请填写发票抬头');
|
|
|
$company.focus();
|
|
|
return false;
|
|
|
} else {
|
|
|
dialog.showDialog({
|
|
|
dialogText: '确认保存修改内容?',
|
...
|
...
|
@@ -14241,7 +14246,7 @@ $tel.on('input', function() { |
|
|
$editFlag.val('true');
|
|
|
});
|
|
|
|
|
|
$('.company').on('input', function() {
|
|
|
$company.on('input', function() {
|
|
|
$editFlag.val('true');
|
|
|
});
|
|
|
|
...
|
...
|
|