Commit 630db346 by 朱继来

添加发票判断

parent 7d62d6ad
Showing with 2 additions and 1 deletions
......@@ -436,6 +436,7 @@
datax.address_mobile = $('input[name=address_mobile]').val();
} else { // 联营、自营线上订单
var tax_id = $('.tax_id').val();
var inv_type = $('input[name=inv_type]:checked').val();
var user_coupon_id = $('.user_coupon_id').val();
if (!address_id) {
......@@ -443,7 +444,7 @@
return false;
}
if (!tax_id) {
if (inv_type && !tax_id) {
layer.msg('请选择发票信息');
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment