|
@@ -39,7 +39,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
<u-text text="房间号:"></u-text>
|
|
<u-text text="房间号:"></u-text>
|
|
- <u-text :text="orderInfo.room" align="right"></u-text>
|
|
|
|
|
|
+ <u-text :text="orderInfo.room+'('+orderInfo.breakfastNum+')'" align="right"></u-text>
|
|
</view>
|
|
</view>
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
<u-text text="开始日期:"></u-text>
|
|
<u-text text="开始日期:"></u-text>
|
|
@@ -121,6 +121,8 @@
|
|
.paymentTime).format('YYYY-MM-DD HH:mm:ss')
|
|
.paymentTime).format('YYYY-MM-DD HH:mm:ss')
|
|
this.orderInfo.status = this.status[this.orderInfo.status]
|
|
this.orderInfo.status = this.status[this.orderInfo.status]
|
|
this.orderInfo.paymentStatus = this.paymentStatus[this.orderInfo.paymentStatus]
|
|
this.orderInfo.paymentStatus = this.paymentStatus[this.orderInfo.paymentStatus]
|
|
|
|
+ this.orderInfo.breakfastNum = this.orderInfo.breakfastNum === undefined ? 0 : this.orderInfo
|
|
|
|
+ .breakfastNum
|
|
},
|
|
},
|
|
async deleteOrder() {
|
|
async deleteOrder() {
|
|
let res = await uni.$http.delete('/hotelOrder/' + this.orderInfo.id)
|
|
let res = await uni.$http.delete('/hotelOrder/' + this.orderInfo.id)
|