Commit 1a212bb1c42a69d0fe180015abe2c0c0054f3559
1 parent
f53763d3
包邮券,在商品都是限制使用券的时候,就不显示包邮券
Showing
1 changed file
with
1 additions
and
1 deletions
packageE/pages/cart/cart2/cart2.js
... | ... | @@ -3422,7 +3422,7 @@ Page({ |
3422 | 3422 | if (cart_item.exp_type == 0 && th.data.user_addr != null && !cart_item.is_xz_yh) { |
3423 | 3423 | |
3424 | 3424 | //看是不是有调用过包邮券,同时有使用非实收的订单促销,就也不能显示包邮券 |
3425 | - if (!th.data.isget_by_quan[pickid] && !this.data.can_use_ord_prom[pickid]) { | |
3425 | + if (!th.data.isget_by_quan[pickid] && !this.data.can_use_ord_prom[pickid] && cart_item.check_quan_ware_list) { | |
3426 | 3426 | //--判断要不要显示包邮券,调用接口,因为有for循环--- |
3427 | 3427 | await getApp().request.promiseGet("/api/weshop/userfeemail/pageAndArea", { |
3428 | 3428 | data: { | ... | ... |