Merge branch 'release/4.7' of http://git.yoho.cn/fe/yohobuypc into release/4.7
Showing
6 changed files
with
26 additions
and
2 deletions
@@ -282,7 +282,7 @@ | @@ -282,7 +282,7 @@ | ||
282 | <div class="section-play"> | 282 | <div class="section-play"> |
283 | <div class="section-head">发票信息</div> | 283 | <div class="section-head">发票信息</div> |
284 | <div class="play-pan"> | 284 | <div class="play-pan"> |
285 | - <input class="invoice mes" name="invoice" type="radio" id=""/>发票开具 | 285 | + <input class="invoice mes" name="invoice" type="radio" id="" autocomplete="off"/>发票开具 |
286 | <div class="invoice-content hide"> | 286 | <div class="invoice-content hide"> |
287 | <div class="invoice-type mes">电子发票</div> | 287 | <div class="invoice-type mes">电子发票</div> |
288 | <div class="invoice-partment mes">个人</div> | 288 | <div class="invoice-partment mes">个人</div> |
@@ -411,6 +411,7 @@ | @@ -411,6 +411,7 @@ | ||
411 | 411 | ||
412 | <div class="receipt-container receipt-margin"> | 412 | <div class="receipt-container receipt-margin"> |
413 | <div class="e-receipt-desc"> | 413 | <div class="e-receipt-desc"> |
414 | + <a href="{{invoiceUrl}}"></a> | ||
414 | </div> | 415 | </div> |
415 | 416 | ||
416 | <div class="invoice-list invoice-title invoice-title-personal-hight"> | 417 | <div class="invoice-list invoice-title invoice-title-personal-hight"> |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -932,7 +932,9 @@ function saveReceiptInfo() { | @@ -932,7 +932,9 @@ function saveReceiptInfo() { | ||
932 | } else { | 932 | } else { |
933 | $('.invoice-title .enpty-input').addClass('hide'); | 933 | $('.invoice-title .enpty-input').addClass('hide'); |
934 | $('.invoice-phone .enpty-input').addClass('hide'); | 934 | $('.invoice-phone .enpty-input').addClass('hide'); |
935 | - receiptTitle = $('#input-organization-name').val(); | 935 | + if (receiptTitle === "单位") { |
936 | + receiptTitle = $('#input-organization-name').val(); | ||
937 | + } | ||
936 | } | 938 | } |
937 | 939 | ||
938 | receiptContent = $('input[name="content"]:checked').val(); | 940 | receiptContent = $('input[name="content"]:checked').val(); |
@@ -993,3 +995,15 @@ $('.invoice-title').change(function(){ | @@ -993,3 +995,15 @@ $('.invoice-title').change(function(){ | ||
993 | $('.invoice-title .input-line').removeClass('hide'); | 995 | $('.invoice-title .input-line').removeClass('hide'); |
994 | } | 996 | } |
995 | }) | 997 | }) |
998 | + | ||
999 | +$('#input-organization-name').bind('input propertychange', function() { | ||
1000 | + if ($(this).val().length >= 1) { | ||
1001 | + $('.invoice-title .enpty-input').addClass('hide'); | ||
1002 | + } | ||
1003 | +}); | ||
1004 | + | ||
1005 | +$('#input-mobile').bind('input propertychange', function() { | ||
1006 | + if ($(this).val().length >= 1) { | ||
1007 | + $('.invoice-phone .enpty-input').addClass('hide'); | ||
1008 | + } | ||
1009 | +}); |
@@ -660,9 +660,18 @@ | @@ -660,9 +660,18 @@ | ||
660 | } | 660 | } |
661 | 661 | ||
662 | .e-receipt-desc { | 662 | .e-receipt-desc { |
663 | + position: relative; | ||
663 | background: url(/order/invoice-desc.png); | 664 | background: url(/order/invoice-desc.png); |
664 | width: 100%; | 665 | width: 100%; |
665 | height: 108px; | 666 | height: 108px; |
667 | + | ||
668 | + a { | ||
669 | + position: absolute; | ||
670 | + left: 0; | ||
671 | + bottom: 0; | ||
672 | + width: 150px; | ||
673 | + height: 40px; | ||
674 | + } | ||
666 | } | 675 | } |
667 | .receipt-margin { | 676 | .receipt-margin { |
668 | margin-left: 55px; | 677 | margin-left: 55px; |
-
Please register or login to post a comment