Showing
1 changed file
with
4 additions
and
0 deletions
@@ -96,6 +96,10 @@ function orderCompute() { | @@ -96,6 +96,10 @@ function orderCompute() { | ||
96 | } | 96 | } |
97 | 97 | ||
98 | function submitOrder() { | 98 | function submitOrder() { |
99 | + if (orderInfo('invoice') && !orderInfo('invoiceText')) { | ||
100 | + tip.show('请输入发票抬头'); | ||
101 | + return; | ||
102 | + } | ||
99 | loading.showLoadingMask(); | 103 | loading.showLoadingMask(); |
100 | $.ajax({ | 104 | $.ajax({ |
101 | method: 'POST', | 105 | method: 'POST', |
-
Please register or login to post a comment