...
|
...
|
@@ -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');
|
|
|
}
|
|
|
}); |
...
|
...
|
|