From 03c97ea1eef4673b89d86ebf5f02d2e29baf0d1a Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Fri, 18 Feb 2022 17:31:54 +0800 Subject: [PATCH] 商品不包邮在计算运费错误 --- pages/cart/cart2/cart2.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index 16aa02e..57a0ca8 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -1566,16 +1566,16 @@ Page({ if (by_qc.region_list != "" && by_qc.region_list != null && by_qc.region_list != undefined) { if (th.check_by_area(by_qc.region_list)) { freight_free = 0; - goods_weight = -1; - out_of_weight = 0; + //goods_weight = -1; + //out_of_weight = 0; th.data.is_no_by[pickid] = 1; } } //如果有设置不包邮区商品 if (by_qc.goods_list != "" && by_qc.goods_list != undefined && by_qc != null && freight_free > 0) { freight_free = 0; - goods_weight = -1; - out_of_weight = 0; + //goods_weight = -1; + //out_of_weight = 0; th.data.is_no_by[pickid] = 1; no_ex_good = by_qc.goods_list; } -- libgit2 0.21.4