Commit 03c97ea1eef4673b89d86ebf5f02d2e29baf0d1a

Authored by yvan.ni
1 parent 4ce0d138

商品不包邮在计算运费错误

Showing 1 changed file with 4 additions and 4 deletions
pages/cart/cart2/cart2.js
@@ -1566,16 +1566,16 @@ Page({ @@ -1566,16 +1566,16 @@ Page({
1566 if (by_qc.region_list != "" && by_qc.region_list != null && by_qc.region_list != undefined) { 1566 if (by_qc.region_list != "" && by_qc.region_list != null && by_qc.region_list != undefined) {
1567 if (th.check_by_area(by_qc.region_list)) { 1567 if (th.check_by_area(by_qc.region_list)) {
1568 freight_free = 0; 1568 freight_free = 0;
1569 - goods_weight = -1;  
1570 - out_of_weight = 0; 1569 + //goods_weight = -1;
  1570 + //out_of_weight = 0;
1571 th.data.is_no_by[pickid] = 1; 1571 th.data.is_no_by[pickid] = 1;
1572 } 1572 }
1573 } 1573 }
1574 //如果有设置不包邮区商品 1574 //如果有设置不包邮区商品
1575 if (by_qc.goods_list != "" && by_qc.goods_list != undefined && by_qc != null && freight_free > 0) { 1575 if (by_qc.goods_list != "" && by_qc.goods_list != undefined && by_qc != null && freight_free > 0) {
1576 freight_free = 0; 1576 freight_free = 0;
1577 - goods_weight = -1;  
1578 - out_of_weight = 0; 1577 + //goods_weight = -1;
  1578 + //out_of_weight = 0;
1579 th.data.is_no_by[pickid] = 1; 1579 th.data.is_no_by[pickid] = 1;
1580 no_ex_good = by_qc.goods_list; 1580 no_ex_good = by_qc.goods_list;
1581 } 1581 }