Authored by 514335620@qq.com

发票js修改

... ... @@ -881,9 +881,10 @@ function saveReceiptInfo() {
receiptType,
receiptContent,
receiptMobile,
verifymobile;
verifymobile,
invoiceType;
invoiceType = '个人';
if ($eReceiptBtn.hasClass('receipt-type-selected')) {
receiptType = "电子发票";
} else {
... ... @@ -891,6 +892,7 @@ function saveReceiptInfo() {
}
if (receiptTitle !== "个人") {
invoiceType = '单位';
$('.input-line').each(function(){
if ($(this).find('input').val() === '') {
$(this).find('.enpty-input').removeClass('hide');
... ... @@ -912,6 +914,10 @@ function saveReceiptInfo() {
receiptContent = $('input[name="content"]:checked').val();
$('.invoice-type').html(receiptType);
$('.invoice-partment').html(invoiceType);
$('.invoice-kind').html(receiptContent);
$receiptInfo.addClass('hide');
$('.invoice-content').removeClass('hide');
}
... ...