失败状态判断

main
yanzai 1 year ago
parent fbbf3c591f
commit e82985d2d8

@ -145,8 +145,8 @@
<view v-if="!!order_info" class="order_wrapper"> <view v-if="!!order_info" class="order_wrapper">
<view class="order_status_wrapper" :class="[`status${order_info.status}`]"> <view class="order_status_wrapper" :class="[`status${order_info.status}`]">
<view v-if="[1].includes(order_info.status)"> </view> <view v-if="[1].includes(order_info.status)"> </view>
<view v-if="[2].includes(order_info.status) && order_info.appointment_number.length>0"> </view> <view v-if="[2].includes(order_info.status) && order_info.appointment_number!=null && order_info.appointment_number!=''"> </view>
<view v-if="[2].includes(order_info.status) && order_info.appointment_number.length==0"> </view> <view v-if="[2].includes(order_info.status) && (order_info.appointment_number==null || order_info.appointment_number=='')"> </view>
<view v-if="[3, 5].includes(order_info.status)"> </view> <view v-if="[3, 5].includes(order_info.status)"> </view>
<view v-if="[4].includes(order_info.status)"> </view> <view v-if="[4].includes(order_info.status)"> </view>
</view> </view>
@ -215,7 +215,7 @@
<view class="order_pay_button_wrapper"> <view class="order_pay_button_wrapper">
<view v-if="[1].includes(order_info.status)" @click="StartPay(order_info.id)" <view v-if="[1].includes(order_info.status)" @click="StartPay(order_info.id)"
class="button_item_wrapper pay_button_wrapper">继续付款</view> class="button_item_wrapper pay_button_wrapper">继续付款</view>
<view v-if="[2].includes(order_info.status) && order_info.appointment_number.length>0" @click="GaiYueClick(order_info.id)" <view v-if="[2].includes(order_info.status) && order_info.appointment_number!=null && order_info.appointment_number!=''" @click="GaiYueClick(order_info.id)"
class="button_item_wrapper change_button_wrapper"> class="button_item_wrapper change_button_wrapper">
改约</view> 改约</view>
<view v-if="[2].includes(order_info.status)" @click="Refound(order_info.id)" <view v-if="[2].includes(order_info.status)" @click="Refound(order_info.id)"

Loading…
Cancel
Save