Authored by 张丽霞

电子发票fix bug

@@ -868,6 +868,7 @@ $invoiceCheck.click(function(){ @@ -868,6 +868,7 @@ $invoiceCheck.click(function(){
868 if ($invoiceCheck.hasClass('active')) { 868 if ($invoiceCheck.hasClass('active')) {
869 $invoiceCheck.removeAttr('checked'); 869 $invoiceCheck.removeAttr('checked');
870 $invoiceCheck.removeClass('active'); 870 $invoiceCheck.removeClass('active');
  871 + $('.invoice-content').addClass('hide');
871 } 872 }
872 873
873 if ($invoiceCheck.attr('checked')) { 874 if ($invoiceCheck.attr('checked')) {
@@ -975,12 +976,14 @@ $eReceiptBtn.click(function(){ @@ -975,12 +976,14 @@ $eReceiptBtn.click(function(){
975 $eReceiptBtn.addClass('receipt-type-selected'); 976 $eReceiptBtn.addClass('receipt-type-selected');
976 $paperReceiptBtn.removeClass('receipt-type-selected'); 977 $paperReceiptBtn.removeClass('receipt-type-selected');
977 $('.e-receipt-desc').removeClass('hide'); 978 $('.e-receipt-desc').removeClass('hide');
  979 + $('.invoice-phone').removeClass('hide');
978 }); 980 });
979 981
980 $paperReceiptBtn.click(function(){ 982 $paperReceiptBtn.click(function(){
981 $paperReceiptBtn.addClass('receipt-type-selected'); 983 $paperReceiptBtn.addClass('receipt-type-selected');
982 $eReceiptBtn.removeClass('receipt-type-selected'); 984 $eReceiptBtn.removeClass('receipt-type-selected');
983 $('.e-receipt-desc').addClass('hide'); 985 $('.e-receipt-desc').addClass('hide');
  986 + $('.invoice-phone').addClass('hide');
984 }); 987 });
985 988
986 $('.invoice-title').change(function(){ 989 $('.invoice-title').change(function(){