Authored by 毕凯

检测发票抬头

@@ -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',