瀏覽代碼

1.我的订单,待确认 也可预约 根据权限

guo 3 年之前
父節點
當前提交
33fd1e9f17
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      pages/order/orderDetail.vue

+ 4 - 3
pages/order/orderDetail.vue

@@ -123,7 +123,7 @@
 
 			<!-- 预约信息 -->
 			<view class="yuyueBox"
-				v-if="orderData.SheetState==4 && (orderData.OrderState==2 || orderData.OrderState==3)">
+				v-if="(orderData.SheetState==4 || orderData.SheetState==2) && (orderData.OrderState==2 || orderData.OrderState==3)">
 
 				<view class="timeBox">
 
@@ -267,7 +267,7 @@
 			<view class="orderBottom" v-if="orderData.SheetState==2">
 				<view class="cancelBtn" v-if="(orderData.ServiceState == null || orderData.ServiceState == 3) && orderData.PayMoney>0" @click="$noMultipleClicks(refundMoney)">申请退款</view>
 				<view class="cancelBtn" v-else-if="orderData.ServiceState == 1 || orderData.ServiceState == 2" @click="refundDetail">退款详情</view>
-
+				<view class="payBtn" @click="timeShowClick" v-if="orderData.OrderType==1 && orderData.OrderState==1">立即预约</view>
 			</view>
 
 			<view class="orderBottom" v-if="orderData.SheetState==3">
@@ -695,7 +695,8 @@
 			},
 			getOrderTimes() {
 				this.$http('worldKeepCar/keepCarMy/getTSheetTimes', {
-					shopId: this.orderData.ShopID,
+					shopId: this.orderData.ShopID,
+					id:this.orderData.ID,
 				}, 'GET').then(res => {
 
 					this.OrderTimes = res.data;