Commit 43e3e993 by 朱继来

调整终端类型

parent 9fffd651
...@@ -862,11 +862,13 @@ ...@@ -862,11 +862,13 @@
layer.alert('该用户已进入公司黑名单,具体请联系吴承义,同时订单无法提交'); layer.alert('该用户已进入公司黑名单,具体请联系吴承义,同时订单无法提交');
return false; return false;
} else if (resp.errcode == 21030) { } else if (resp.errcode == 21030) {
layer.alert(resp.errmsg); layer.alert(resp.errmsg, function() {
var delivery_place = $('.delivery_place').val(); var delivery_place = $('.delivery_place').val();
loading.lists(user_id, goods_type, is_online, delivery_place); // 加载购物车列表 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); // 确认订单信息 loading.confirm(user_id, address_id, cart_ids, user_coupon_id, goods_type, is_online); // 确认订单信息
});
return false; return false;
} }
......
...@@ -254,7 +254,9 @@ ...@@ -254,7 +254,9 @@
<option value="">请选择</option> <option value="">请选择</option>
@if (Config('params.end_user_type')) @if (Config('params.end_user_type'))
@foreach (Config('params.end_user_type') as $k => $v) @foreach (Config('params.end_user_type') as $k => $v)
@if (in_array($k, [1, 3]))
<option value="{{ $k }}">{{ $v }}</option> <option value="{{ $k }}">{{ $v }}</option>
@endif
@endforeach @endforeach
@endif @endif
</select> </select>
......
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