Commit ec4725868403bfaeaf3fe0dfe20a5b9fb57bd702

Authored by yvan.ni
1 parent 51b150cb

订单促销取价的优化,代发商品要排查在外

packageE/pages/cart/cart2/cart2.js
@@ -3175,7 +3175,7 @@ Page({ @@ -3175,7 +3175,7 @@ Page({
3175 //--------循环计算总价----------- 3175 //--------循环计算总价-----------
3176 for (var jc = 0; jc < item.length; jc++) { 3176 for (var jc = 0; jc < item.length; jc++) {
3177 3177
3178 - if (item[jc].prom_type == 0) { //如果item的prom_type==0,没有如果活动的时候 3178 + if (item[jc].prom_type == 0 && !item[jc].whsle_id) { //如果item的prom_type==0,没有如果活动的时候
3179 th.get_order_prom_map_ck(item[jc],pickid); 3179 th.get_order_prom_map_ck(item[jc],pickid);
3180 } 3180 }
3181 3181