tijiao
This commit is contained in:
@@ -190,11 +190,18 @@
|
||||
<view class="price_box order_bottom_box">
|
||||
<text class="price"
|
||||
>合计:
|
||||
<text class="total"
|
||||
>¥{{ dataInfo.lastFee - jfNumber }}
|
||||
<text v-if="jfNumber > 0" style="margin-left: 10rpx"
|
||||
>+ {{ jfNumber }}积分</text
|
||||
<text class="total">
|
||||
<template v-if="dataInfo.lastFee - jfNumber > 0">
|
||||
¥{{ dataInfo.lastFee - jfNumber }}
|
||||
</template>
|
||||
<text
|
||||
style="margin: 0 4rpx"
|
||||
v-if="dataInfo.lastFee - jfNumber > 0 && jfNumber > 0"
|
||||
>
|
||||
+
|
||||
</text>
|
||||
|
||||
<text v-if="jfNumber > 0">{{ jfNumber }} 积分</text>
|
||||
</text>
|
||||
</text>
|
||||
</view>
|
||||
@@ -723,7 +730,7 @@ export default {
|
||||
this.dataInfo.lastFee = item.rebateFee;
|
||||
this.dataInfo.id = item.id;
|
||||
if (this.initData.user && this.initData.user.jf) {
|
||||
this.jfNumber=0
|
||||
this.jfNumber = 0;
|
||||
var totalMoney = this.dataInfo.lastFee;
|
||||
if (this.initData.user.jf >= totalMoney) {
|
||||
const integerPart = Math.floor(totalMoney);
|
||||
@@ -732,7 +739,6 @@ export default {
|
||||
} else {
|
||||
this.jfNumberMax = this.initData.user.jf; // 设置 jfNumberMax
|
||||
}
|
||||
|
||||
}
|
||||
this.$forceUpdate();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user