Commit 06dbfa940ba76d6ad8677310e0eef90a1f5cec99

Authored by yvan.ni
1 parent 7becd485

~~~ 立即购买商品 如果erpwareid 空的话,就不调用出来 ~~~

packageE/pages/cart/cart2/cart2.js
... ... @@ -5584,7 +5584,7 @@ Page({
5584 5584 th.data.ckeck_quan_price = good.offline_price; //如果有线下取价,就用线下价
5585 5585 }
5586 5586 //--如果商家后台没有限制使用优惠券,同时商品的优惠活动没有限制使用优惠券--
5587   - if (th.data.is_close_quan != 1 && th.data.bn_goods.is_xz_yh != 1) {
  5587 + if (th.data.is_close_quan != 1 && th.data.bn_goods.is_xz_yh != 1 && th.data.check_quan_ware_list) {
5588 5588 var url0 = "/api/weshop/users/frozenQuan/listFrozenQuan/" + app.globalData.user_id;
5589 5589 var url = "/api/weshop/couponList/getUseCouponList";
5590 5590 app.request.promiseGet(url0, { 1: 1 }).then(res => {
... ...