Browse Source

opt:删除无用代码;修复支付页面房间不可用时跳转至选房页面查询不到房间信息的问题

LiChengjin 3 months ago
parent
commit
b6987d5488
1 changed files with 1 additions and 6 deletions
  1. 1 6
      subpkg_checkin/confirmOrder/confirmOrder.vue

+ 1 - 6
subpkg_checkin/confirmOrder/confirmOrder.vue

@@ -19,9 +19,6 @@
 				<view class="room-type-item-middle-text">
 					<text>{{order.room ? order.room : ""}}</text>
 				</view>
-				<!-- <view class="room-type-item-middle-bottom">
-					<text>{{orderInfo.roomArea}}㎡ </text>
-				</view> -->
 			</view>
 			<view class="room-type-item-right">
 				<view class="room-type-item-right-text">
@@ -95,7 +92,6 @@
 				<view class="price">
 					<text>合计:</text>
 					<text>¥{{order.price ? order.price : ""}}</text>
-					<!-- <text>合计:<text style="color: red;font-weight: bold;">¥{{orderInfo.price}}</text></text> -->
 				</view>
 				<view class="deposit">
 					<text text="" align="right" size="20">(注:需付押金{{order.deposit ? order.deposit : ""}}元)</text>
@@ -138,7 +134,6 @@
 				startDay: this.startDay,
 				endDate: this.endDate,
 				endDay: this.endDay,
-				orderInfo: {},
 				arrowPicPath: '/static/arrow.png',
 				confirmDone: false,
 				options: [{
@@ -230,7 +225,7 @@
 							if (res.confirm) {
 								uni.navigateTo({
 									url: '/subpkg_checkin/selectRoom/selectRoom?roomType=' +
-										this.orderInfo.roomType
+										this.order.roomType
 								})
 							}
 						}