From b242840b1e99fa63fce3bdae5abe7b3f09975459 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Tue, 27 Jun 2023 14:11:12 +0800 Subject: [PATCH] 计算商品的运费规则叠加 订单促销叠加 --- packageE/pages/cart/cart2/cart2.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packageE/pages/cart/cart2/cart2.js b/packageE/pages/cart/cart2/cart2.js index eadf59c..71f21a9 100644 --- a/packageE/pages/cart/cart2/cart2.js +++ b/packageE/pages/cart/cart2/cart2.js @@ -913,7 +913,7 @@ Page({ item1.is_post_temp=1; //如果是秒杀,团购的时候 - if([1,2,6].indexOf(item1.prom_type)>-1){ + if([1,2,3,6].indexOf(item1.prom_type)>-1){ var url= "/api/weshop/activitylist/getSJGoodsPriceNew/" + os.stoid + "/" + item1.goods_id + "/"+item1.prom_type+"/" + item1.prom_id + "/" + app.globalData.user_id; await app.request.promiseGet(url,{}).then(res=>{ @@ -2882,12 +2882,7 @@ Page({ }) } - - - - - - + //-- 如果没有订单优惠,或者订单优惠中有勾选包邮模板 -- if (!ord_prom || ord_prom.is_post_temp) { var user_addr = th.data.user_addr; -- libgit2 0.21.4