修改订单展示问题

This commit is contained in:
liuyuan
2025-04-22 15:06:23 +08:00
parent 965abb4634
commit 861d047eb5
6 changed files with 639 additions and 510 deletions

View File

@@ -367,6 +367,7 @@
</span></text
>
</template>
<template v-if="orderContet.realMoney == 0&&orderContet.jfDeduction==0">¥0</template>
<text
style="margin: 0 4rpx"
v-if="

View File

@@ -300,7 +300,7 @@
"
>
<text style="font-size: 20rpx"></text>
{{ item2.product.price ? item2.product.price : "" }}
<text v-if="item2.product.price>=0">{{item2.product.price}}</text>
</view>
</view>
<view class="btns flexbox" style="margin-top: 10rpx">
@@ -368,22 +368,26 @@
<text v-if="slotProps.row.orderType == 'point'">
{{ slotProps.row.bookBuyConfigEntity.realMoney }}
</text>
<text v-if="slotProps.row.realMoney > 0 &&slotProps.row.orderType != 'point'">
{{ slotProps.row.realMoney }}
</text>
<text
style="margin: 0 4rpx"
v-if="
slotProps.row.realMoney > 0 &&
slotProps.row.jfDeduction > 0 &&slotProps.row.orderType != 'point'
"
>
+
</text>
<text v-if="slotProps.row.orderType != 'point'">
<text v-if="slotProps.row.realMoney && slotProps.row.realMoney > 0">
{{ slotProps.row.realMoney }}
</text>
<text v-if="slotProps.row.realMoney==0&&slotProps.row.jfDeduction==0">
0
</text>
<text
style="margin: 0 4rpx"
v-if="
slotProps.row.realMoney > 0 &&
slotProps.row.jfDeduction > 0
"
>
+
</text>
</text>
<text v-if="slotProps.row.jfDeduction > 0 &&slotProps.row.orderType != 'point'"
>{{ slotProps.row.jfDeduction }} 积分</text
>
<text v-if="slotProps.row.jfDeduction > 0">{{ slotProps.row.jfDeduction }} 积分</text>
</view>
</view>
</view>