|
|
|
@ -166,7 +166,7 @@ |
|
|
|
|
<view class="width20 fotrt"> |
|
|
|
|
<view> |
|
|
|
|
<radio color="#0083f5" |
|
|
|
|
v-if="items.discountCondition && orderPrice > items.discountCondition" |
|
|
|
|
v-if="items.discountCondition && orderPrice >= items.discountCondition" |
|
|
|
|
:checked="items.id == memDiscountId" /> |
|
|
|
|
<radio color="#0083f5" |
|
|
|
|
v-if="items.discountCondition && orderPrice < items.discountCondition" disabled="true" |
|
|
|
@ -245,7 +245,7 @@ |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
onLoad(options) { |
|
|
|
|
this.orderPrice = options.orderPrice; |
|
|
|
|
this.orderPrice = options.orderPrice; |
|
|
|
|
this.payPrice = options.payPrice; |
|
|
|
|
this.saveprice = options.payPrice; |
|
|
|
|
this.rechargeContent = options.rechargeContent; |
|
|
|
@ -378,8 +378,8 @@ |
|
|
|
|
} else { // 否则进行选中赋值 |
|
|
|
|
this.memDiscountId = item.id; |
|
|
|
|
if (item.discountType == 1) { |
|
|
|
|
//满减价格 |
|
|
|
|
if (this.orderPrice > item.discountCondition) { |
|
|
|
|
//满减价格 |
|
|
|
|
if (this.orderPrice >= item.discountCondition) { |
|
|
|
|
this.memDiscountId = item.id; |
|
|
|
|
//满减价格 |
|
|
|
|
this.deductionPrice = item.discountPrice; |
|
|
|
|