lilei 8 bulan lalu
induk
melakukan
4e3f99ce90
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
+							this.totalDiscount += item.conditionValue * item.qty
 						}
 						// 满赠
 						item.giftQty = item.promoType=='BUY_PROD_GIVE_PROD' ? Math.floor(item.qty / item.conditionValue)*item.resultValue : 0