|
|
@@ -129,12 +129,12 @@
|
|
|
<text class="item-name">{{ s.name }}</text>
|
|
|
<text class="item-price">
|
|
|
<text class="unit"></text>
|
|
|
- <text class="price"><text v-if="s.bigNum >0">{{s.bigNum}}扎*{{s.price}}</text><text v-if="s.smallNum>0" style="margin-left:10rpx;">{{s.smallNum}}支*{{s.smallPrice}}</text></text>
|
|
|
+ <text class="price"><text v-if="s.bigNum >0">{{s.bigNum}}扎*{{parseFloat(s.price)}}</text><text v-if="s.smallNum>0" style="margin-left:10rpx;">{{s.smallNum}}支*{{s.smallPrice}}</text></text>
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="info-line">
|
|
|
<text class="item-type">{{ s.property }}</text>
|
|
|
- <text class="item-count">¥{{ s.totalPrice }}</text>
|
|
|
+ <text class="item-count">¥{{ parseFloat(s.totalPrice)||0 }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -142,8 +142,7 @@
|
|
|
<view class="summary-bar">
|
|
|
<view class="operate-view"></view>
|
|
|
<view class="describe-view">
|
|
|
- 共{{ detailInfo.kindNum || 0 }}种, 共{{ detailInfo.bigNum }}扎{{
|
|
|
- detailInfo.smallNum}}支,合计 ¥<text class="price">{{ detailInfo.itemPrice }}</text>
|
|
|
+ 共{{ detailInfo.kindNum || 0 }}种, 共{{ detailInfo.bigNum }}扎{{detailInfo.smallNum}}支,合计 ¥<text class="price">{{ parseFloat(detailInfo.itemPrice)||0 }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -160,15 +159,15 @@
|
|
|
<div class="module-com input-line-wrap">
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="Number(detailInfo.sendCost)>0">
|
|
|
<div class="tui-title">运费</div>
|
|
|
- <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.sendCost) }}</div>
|
|
|
+ <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.sendCost)||0 }}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<div class="tui-title">总金额</div>
|
|
|
- <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.prePrice) }}</div>
|
|
|
+ <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.prePrice)||0 }}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="detailInfo.discountAmount > 0">
|
|
|
<div class="tui-title"><text v-if="detailInfo.discountType == 4">红包优惠</text><text v-else>优惠</text></div>
|
|
|
- <div class="detail-price_box red" style="font-size: 28rpx;">-¥{{ parseFloat(detailInfo.discountAmount)}}</div>
|
|
|
+ <div class="detail-price_box red" style="font-size: 28rpx;">-¥{{ parseFloat(detailInfo.discountAmount)||0}}</div>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="detailInfo.discountAmount > 0">
|
|
|
@@ -178,11 +177,11 @@
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="detailInfo.refundPrice > 0">
|
|
|
<div class="tui-title">退款金额</div>
|
|
|
- <div class="detail-price_box red" style="font-size: 28rpx;">-¥{{ parseFloat(detailInfo.refundPrice)}}</div>
|
|
|
+ <div class="detail-price_box red" style="font-size: 28rpx;">-¥{{ parseFloat(detailInfo.refundPrice)||0}}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<div class="tui-title">实际金额</div>
|
|
|
- <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.realPrice)}}</div>
|
|
|
+ <div class="detail-price_box" style="font-size: 28rpx;">¥{{ parseFloat(detailInfo.realPrice)||0}}</div>
|
|
|
</tui-list-cell>
|
|
|
</div>
|
|
|
</view>
|