lilei 9 달 전
부모
커밋
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