Commit 46547ce6f9a95ea09255bfb6557787aae37c2a4a

Authored by yvan.ni
1 parent 0f5a5ff0

优惠券

packageE/pages/cart/cart2/cart2.js
@@ -3885,7 +3885,7 @@ Page({ @@ -3885,7 +3885,7 @@ Page({
3885 var coupon_price = quan_price; //优惠券优惠了多少钱 3885 var coupon_price = quan_price; //优惠券优惠了多少钱
3886 if (order_m < 0) { 3886 if (order_m < 0) {
3887 order_m = 0; 3887 order_m = 0;
3888 - coupon_price = parseFloat(order_m).toFixed(2); 3888 + coupon_price = parseFloat(allpice - cut_price).toFixed(2);
3889 } 3889 }
3890 //--看一下有没有订单优惠-- 3890 //--看一下有没有订单优惠--
3891 var o_condition = parseFloat(order_m); 3891 var o_condition = parseFloat(order_m);