Authored by 张丽霞

电子发票

... ... @@ -411,6 +411,7 @@
<div class="receipt-container receipt-margin">
<div class="e-receipt-desc">
<a href="{{invoiceUrl}}"></a>
</div>
<div class="invoice-list invoice-title invoice-title-personal-hight">
... ...
... ... @@ -932,7 +932,9 @@ function saveReceiptInfo() {
} else {
$('.invoice-title .enpty-input').addClass('hide');
$('.invoice-phone .enpty-input').addClass('hide');
receiptTitle = $('#input-organization-name').val();
if (receiptTitle === "单位") {
receiptTitle = $('#input-organization-name').val();
}
}
receiptContent = $('input[name="content"]:checked').val();
... ... @@ -993,3 +995,15 @@ $('.invoice-title').change(function(){
$('.invoice-title .input-line').removeClass('hide');
}
})
$('#input-organization-name').bind('input propertychange', function() {
if ($(this).val().length >= 1) {
$('.invoice-title .enpty-input').addClass('hide');
}
});
$('#input-mobile').bind('input propertychange', function() {
if ($(this).val().length >= 1) {
$('.invoice-phone .enpty-input').addClass('hide');
}
});
... ...
... ... @@ -660,9 +660,18 @@
}
.e-receipt-desc {
position: relative;
background: url(/order/invoice-desc.png);
width: 100%;
height: 108px;
a {
position: absolute;
left: 0;
bottom: 0;
width: 150px;
height: 40px;
}
}
.receipt-margin {
margin-left: 55px;
... ...