Commit 1d22574a by 朱继来

调整生成订单JS

parent 2d02c691
Showing with 10 additions and 1 deletions
......@@ -826,7 +826,14 @@
} else if (resp.errcode == 21024) {
layer.alert('该用户已进入公司黑名单,具体请联系吴承义,同时订单无法提交');
return false;
}
} else if (resp.errcode == 21030) {
layer.alert(resp.errmsg);
var delivery_place = $('.delivery_place').val();
loading.lists(user_id, goods_type, is_online, delivery_place); // 加载购物车列表
loading.confirm(user_id, address_id, cart_ids, user_coupon_id, goods_type, is_online); // 确认订单信息
return false;
}
layer.alert(resp.errmsg);
},
......@@ -1049,6 +1056,8 @@
}
return false;
} else {
$('.client-info').css('display', 'none'); // 隐藏终端信息
}
layer.msg(resp.errmsg || '网络异常');
......
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