添加:显示订单随机立减详情

This commit is contained in:
wuhui_zzw 2024-05-20 16:58:04 +08:00
parent 9b7f834a6b
commit 2bc862e0c1
2 changed files with 14 additions and 2 deletions

View File

@ -206,6 +206,10 @@
<view>商品总额</view>
<view class='conter'>{{orderInfo.total_price}}</view>
</view>
<view class='item acea-row row-between' v-if="orderInfo.random_reduction > 0">
<view>随机立减</view>
<view class='conter'>{{orderInfo.random_reduction}}</view>
</view>
<view class='item acea-row row-between'>
<view>支付方式</view>
<view class='conter' v-if="orderInfo.pay_type==0">余额支付</view>

View File

@ -418,11 +418,17 @@
<view class="wine-line">
剩余差价{{ orderTotalWineDiffMoney || 0 }}实际应付<text class="pColor">{{orderTotalWineDiffMoneyPrice || 0}}</text>
</view>
</view>
</view>
<!-- 酒水卡积分抵扣明细 END-->
<!-- 随机立减 START-->
<view class='item acea-row row-between-wrapper' v-if="orderTotalRandomReduction > 0">
<view>随机立减</view>
<view class='money'>-{{orderTotalRandomReduction}}</view>
</view>
<!-- 随机立减 END-->
<!--<view class='item acea-row row-between-wrapper' v-if="!seckillId && order_type != 3 && order_type != 4 && enabledPlatformCoupon">
<view>平台优惠券<text @tap="showCoupon" class="iconfont icon-wenhao1"></text></view>
@ -690,7 +696,8 @@
withGoodsMerInfo: {},
//
points: {},
//
orderTotalRandomReduction: 0,
};
},
computed: {
@ -1117,6 +1124,7 @@
that.$set(that, 'orderTotalWineDiffMoney', res.data.orderTotalWineDiffMoney);
that.$set(that, 'orderTotalWineDiffMoneyPrice', res.data.orderTotalWineDiffMoneyPrice);
that.$set(that, 'orderTotalRandomReduction', res.data.orderTotalRandomReduction);
that.$set(that, 'open_integral', res.data.openIntegral);
that.$set(that, 'use_integral', res.data.useIntegral);