...
|
...
|
@@ -51,7 +51,7 @@ function switchBtnStatus() { |
|
|
$confirmBtn.removeClass('active');
|
|
|
}
|
|
|
} else {
|
|
|
if ($company.val() && $tel.attr('data-tel')) {
|
|
|
if ($tel.attr('data-tel')) {
|
|
|
$confirmBtn.addClass('active');
|
|
|
} else {
|
|
|
$confirmBtn.removeClass('active');
|
...
|
...
|
@@ -153,10 +153,14 @@ $('.invoice-top span, .invoice-cont li').not('.invoice-cont .cont-title').on('to |
|
|
chooseAction($(this).parent(), $(this).find('.choose'));
|
|
|
|
|
|
if ($(this).text() === '单位') {
|
|
|
$company.val('');
|
|
|
$company.removeAttr('disabled');
|
|
|
$taxNumber.slideDown();
|
|
|
}
|
|
|
|
|
|
if ($(this).text() === '个人') {
|
|
|
$company.val('个人(不可修改)');
|
|
|
$company.attr('disabled', 'true');
|
|
|
$taxNumber.slideUp();
|
|
|
}
|
|
|
switchBtnStatus();
|
...
|
...
|
|