订单列表bug

main
yanzai 11 months ago
parent 4a48208b5d
commit f7a52dd7f7

@ -239,11 +239,11 @@
<view class="order_info_line_wrapper"> <view class="order_info_line_wrapper">
<view class="order_info_line_label_wrapper">预约时间</view> <view class="order_info_line_label_wrapper">预约时间</view>
<view class="order_info_line_value_wrapper"> <view class="order_info_line_value_wrapper">
{{order_info.date}} {{order_info.time.substring(',',5)}} {{order_info.date}} <span v-if="order_info.time">{{order_info.time.substring(',',5)}}</span>
</view> </view>
</view> </view>
</view> </view>
<view v-if="(order_info.status==2 || order_info.status==4)"> <view v-if="(order_info.status==2 || order_info.status==4) && order_info.appointment_number">
<w-qrcode @click="erweima_click(order_info.appointment_number)" <w-qrcode @click="erweima_click(order_info.appointment_number)"
class="absolute top-80rpx right-15rpx b-1 b-dashed b-#000 p-8rpx" :options="{ class="absolute top-80rpx right-15rpx b-1 b-dashed b-#000 p-8rpx" :options="{
level: 4, level: 4,
@ -252,7 +252,7 @@
}"></w-qrcode> }"></w-qrcode>
</view> </view>
</view> </view>
<view class="order_info_line_wrapper"> <view class="order_info_line_wrapper" v-if="order_info.order">
<view class="order_info_line_label_wrapper">订单号</view> <view class="order_info_line_label_wrapper">订单号</view>
<view class="order_info_line_value_wrapper"> <view class="order_info_line_value_wrapper">
{{order_info.order}} {{order_info.order}}
@ -268,7 +268,7 @@
<view @click="click_detail(order_info)" class="click_detail">查看详情>>></view> <view @click="click_detail(order_info)" class="click_detail">查看详情>>></view>
<view v-if="[1, 2, 4, 5].includes(order_info.status)" class="order_price_wrapper"> <view v-if="[1, 2, 4, 5].includes(order_info.status)" class="order_price_wrapper">
<text v-if="[1].includes(order_info.status)"></text> <text v-if="[1].includes(order_info.status)"></text>
<text v-if="[2, 4].includes(order_info.status)"></text> <text v-if="[2, 4].includes(order_info.status) && order_info.true_price"></text>
<text v-if="[5].includes(order_info.status)">退</text> <text v-if="[5].includes(order_info.status)">退</text>
<text class="price_true" <text class="price_true"
v-if="order_info.true_price !== order_info.price">(实付:{{ order_info.true_price }})</text> v-if="order_info.true_price !== order_info.price">(实付:{{ order_info.true_price }})</text>

Loading…
Cancel
Save