lifanzai 9 месяцев назад
Родитель
Сommit
0ff358effa
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      pages/house/orderInfo.vue

+ 3 - 1
pages/house/orderInfo.vue

@@ -52,7 +52,7 @@
 						<text>何伟婷</text>
 						<text>何伟婷</text>
 					</view>
 					</view>
 				</u-cell> -->
 				</u-cell> -->
-				<u-cell>
+				<u-cell v-if="orderInfo.orderStatus==4">
 					<text slot="icon" style="font-size: 30rpx; margin-right: 20rpx;">取消原因</text>
 					<text slot="icon" style="font-size: 30rpx; margin-right: 20rpx;">取消原因</text>
 					<view slot="title" class="title">
 					<view slot="title" class="title">
 						<text>{{orderInfo.refundReason}}</text>
 						<text>{{orderInfo.refundReason}}</text>
@@ -116,6 +116,7 @@
 				show: false,
 				show: false,
 				show2: false,
 				show2: false,
 				show3: false,
 				show3: false,
+				
 				check: {
 				check: {
 					initiator: 1,
 					initiator: 1,
 					refundReason: "",
 					refundReason: "",
@@ -138,6 +139,7 @@
 				this.$api.get(`/merchant/hotel/order/getOrderDetail/${this.orderId}`).then((res) => {
 				this.$api.get(`/merchant/hotel/order/getOrderDetail/${this.orderId}`).then((res) => {
 					if (res.data.code == 0) {
 					if (res.data.code == 0) {
 						this.orderInfo = res.data.data
 						this.orderInfo = res.data.data
+						
 					}
 					}
 				})
 				})
 			},
 			},