|
@@ -34,7 +34,7 @@
|
|
<!-- 商品总计,优惠金额、代金券,抵扣至少有一个时显示 -->
|
|
<!-- 商品总计,优惠金额、代金券,抵扣至少有一个时显示 -->
|
|
<view class="product-price">
|
|
<view class="product-price">
|
|
<view>
|
|
<view>
|
|
- <view class="product-price-item" v-if="totalDiscount||totalCoupon||subsidyAmount">
|
|
|
|
|
|
+ <view class="product-price-item" v-if="totalDiscount||totalCoupon||showBalanceAuth&&subsidyAmount">
|
|
<text>总金额</text>
|
|
<text>总金额</text>
|
|
<text class="price">¥{{Number(totalAmount).toFixed(2)}}</text>
|
|
<text class="price">¥{{Number(totalAmount).toFixed(2)}}</text>
|
|
</view>
|
|
</view>
|
|
@@ -164,7 +164,7 @@
|
|
},
|
|
},
|
|
// 结算金额
|
|
// 结算金额
|
|
settleAmount(){
|
|
settleAmount(){
|
|
- return Number(this.hasKdk?this.totalAmount-this.subsidyAmount:this.totalAmount).toFixed(2).toString().split('.')
|
|
|
|
|
|
+ return Number(this.hasKdk&&this.showBalanceAuth?this.totalAmount-this.subsidyAmount:this.totalAmount).toFixed(2).toString().split('.')
|
|
},
|
|
},
|
|
// 货架经销商信息
|
|
// 货架经销商信息
|
|
shelfInfo(){
|
|
shelfInfo(){
|