|
|
|
@ -46,8 +46,11 @@ |
|
|
|
|
<view class="flleft width50"> |
|
|
|
|
平台折扣 |
|
|
|
|
</view> |
|
|
|
|
<view class="flright width40 fotct"> |
|
|
|
|
{{orderList.gasDiscount}}折 |
|
|
|
|
<view class="flright width40 fotct" v-if="orderList.gasDiscount != 1"> |
|
|
|
|
{{(orderList.gasDiscount * 100).toFixed(2)}}折 |
|
|
|
|
</view> |
|
|
|
|
<view class="flright width40 fotct" v-else> |
|
|
|
|
无 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="line1"></view> |
|
|
|
@ -90,7 +93,7 @@ |
|
|
|
|
<!-- //优惠券,积分抵扣 --> |
|
|
|
|
<view class="width100 concont mart10 backcorfff"> |
|
|
|
|
<view class="height50 width100 paddtop5 backcorfff" @click="showPopup()"> |
|
|
|
|
<view class="width50 flleft fcor333 fontwig6 font16" style="padding-left: 4%;"> |
|
|
|
|
<view class="width50 flleft fcor333 fontwig6 font16" style="padding-left: 2%;"> |
|
|
|
|
优惠抵扣<text class="yhqky">{{OrderPreList.length}}张可用</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="width40 flright fotrt paddtright10 font15 fontwig6 fcor666 alijun" |
|
|
|
@ -106,13 +109,10 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="width94 line1 mart5 marb5"></view> |
|
|
|
|
<view class="Bubble alijusstart font14 fcor999"> |
|
|
|
|
选取: <text class="tests fotct font14 colorc3 paddleft5 paddtright5" |
|
|
|
|
v-if="typeid == 1">{{priceValue[1]}}</text><text |
|
|
|
|
class="tests fotct font14 color2f6f43 paddleft5 paddtright5" |
|
|
|
|
v-if="typeid == 2">{{priceValue[1]}}</text> 分 |
|
|
|
|
选取: <text class="tests fotct font14 colorc3 paddleft5 paddtright5">{{priceValue[1]}}</text> 分 |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 alijusstart paddtop10"> |
|
|
|
|
<view class="width30 fcor333 fontwig6 font16"> |
|
|
|
|
<view class="width94 alijusstart paddtop10"> |
|
|
|
|
<view class="width30 fcor333 font16"> |
|
|
|
|
积分抵扣 |
|
|
|
|
</view> |
|
|
|
|
<view class="cj-slider"> |
|
|
|
@ -125,7 +125,7 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="width94 line1 mart15 marb5"></view> |
|
|
|
|
<view class="height50 width100 backcorfff"> |
|
|
|
|
<view class="width70 flleft fcor666 font16 text1" style="padding-left: 4%;"> |
|
|
|
|
<view class="width70 flleft fcor666 font16 text1" style="padding-left: 2%;"> |
|
|
|
|
抵扣金额 |
|
|
|
|
</view> |
|
|
|
|
<view class="width20 flright fotrt paddtright10 font15 fcor666 alijun" style="align-items: center;"> |
|
|
|
@ -425,12 +425,10 @@ |
|
|
|
|
this.isDiscount = 1; |
|
|
|
|
if (this.deductionPrice == 0) { |
|
|
|
|
this.payPrice = Math.abs(parseFloat(this.totalprice - parseFloat(this.priceValue[1] / 100).toFixed(2)) |
|
|
|
|
.toFixed( |
|
|
|
|
2)); |
|
|
|
|
.toFixed(2)); |
|
|
|
|
} else { |
|
|
|
|
this.payPrice = Math.abs(parseFloat(this.orderPrice - parseFloat(this.priceValue[1] / 100).toFixed(2) - |
|
|
|
|
this |
|
|
|
|
.deductionPrice).toFixed(2)); |
|
|
|
|
this.deductionPrice).toFixed(2)); |
|
|
|
|
} |
|
|
|
|
if (this.payPrice == 0) { |
|
|
|
|
this.isUse = false; |
|
|
|
|