lilei 8 月之前
父節點
當前提交
b48c0dd17d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pagesB/cart/index.vue

+ 1 - 1
pagesB/cart/index.vue

@@ -588,7 +588,7 @@
 						}
 						// 特价
 						if(item.promoType=='PROMO_PROD'){
-							this.totalDiscount += item.conditionValue * item.qty
+							this.totalDiscount += (item.orginPrice - item.conditionValue) * item.qty
 						}
 						// 满赠
 						item.giftQty = item.promoType=='BUY_PROD_GIVE_PROD' ? Math.floor(item.qty / item.conditionValue)*item.resultValue : 0