|
|
@@ -141,7 +141,7 @@
|
|
|
<view class="bottomBtn flex-row justify-between">
|
|
|
<view class=" flex-row">
|
|
|
<text class="unpaid">合计</text>
|
|
|
- <text class="preferentialPrice">¥{{order.totalAmount}}</text>
|
|
|
+ <text class="preferentialPrice">¥{{order.payAmount}}</text>
|
|
|
<!-- <text class="unpaid">已优惠</text>-->
|
|
|
<!-- <text class="originalPrice">¥{{totalDiscount}}</text>-->
|
|
|
<!-- <text class="priceDetail">价格明细</text>-->
|
|
|
@@ -212,7 +212,7 @@
|
|
|
<u-icon name="/static/me/u701.png" color="#38db38" size="36"></u-icon>
|
|
|
<view class="payName flex-col justify-center">
|
|
|
<text>余额支付</text>
|
|
|
- <text class="balance">可以余额¥{{userInfo.balance || 0}}</text>
|
|
|
+ <text class="balance">可用余额¥{{userInfo.balance || 0}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -548,11 +548,11 @@
|
|
|
console.log('this.userInfo.balance',this.userInfo.balance*1)
|
|
|
console.log('this.price',this.order.totalAmount*1)
|
|
|
|
|
|
- if (this.loveCard.totalBalance*1 < this.order.totalAmount*1 && num == 0){
|
|
|
- uni.$u.toast('余额不足')
|
|
|
- return
|
|
|
- }
|
|
|
- if (this.userInfo.balance*1 < this.order.totalAmount*1 && num == 1){
|
|
|
+ // if (this.loveCard.totalBalance*1 < this.order.totalAmount*1 && num == 0){
|
|
|
+ // uni.$u.toast('余额不足')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ if (this.userInfo.balance*1 < this.order.payAmount*1 && num == 1){
|
|
|
uni.$u.toast('余额不足')
|
|
|
return
|
|
|
}
|