Authored by 张丽霞

电子发票模板

@@ -452,8 +452,8 @@ @@ -452,8 +452,8 @@
452 </div> 452 </div>
453 453
454 <div class="receipt-footer"> 454 <div class="receipt-footer">
455 - <div class="save-receipt highlight">保存发票信息</div>  
456 - <div class="cancel-receipt normal">取消</div> 455 + <div class="save-receipt highlight curser-button">保存发票信息</div>
  456 + <div class="cancel-receipt normal curser-button">取消</div>
457 </div> 457 </div>
458 </div> 458 </div>
459 </div> 459 </div>
@@ -905,7 +905,7 @@ function saveReceiptInfo() { @@ -905,7 +905,7 @@ function saveReceiptInfo() {
905 }; 905 };
906 }) 906 })
907 receiptMobile = $('#input-mobile').val(); 907 receiptMobile = $('#input-mobile').val();
908 - verifymobile = /[0-9]{11}/; 908 + verifymobile = /[*0-9]{11}/;
909 if (!verifymobile.test(receiptMobile)) { 909 if (!verifymobile.test(receiptMobile)) {
910 $('.invoice-phone .enpty-input').removeClass('hide'); 910 $('.invoice-phone .enpty-input').removeClass('hide');
911 passInfoVerify = false; 911 passInfoVerify = false;
@@ -913,6 +913,8 @@ function saveReceiptInfo() { @@ -913,6 +913,8 @@ function saveReceiptInfo() {
913 if (!passInfoVerify) { 913 if (!passInfoVerify) {
914 return; 914 return;
915 } else { 915 } else {
  916 + $('.invoice-title .enpty-input').addClass('hide');
  917 + $('.invoice-phone .enpty-input').addClass('hide');
916 receiptTitle = $('#input-organization-name').val(); 918 receiptTitle = $('#input-organization-name').val();
917 } 919 }
918 } 920 }
@@ -2,6 +2,9 @@ @@ -2,6 +2,9 @@
2 .none{ 2 .none{
3 display: none; 3 display: none;
4 } 4 }
  5 + .curser-button {
  6 + cursor: pointer;
  7 + }
5 .gift{ 8 .gift{
6 position: relative; 9 position: relative;
7 width: 988px; 10 width: 988px;