Browse Source

取消原因显示与否

lifanzai 9 months ago
parent
commit
0ff358effa
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pages/house/orderInfo.vue

+ 3 - 1
pages/house/orderInfo.vue

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