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