|
@@ -91,7 +91,14 @@
|
|
|
<view class="Address">
|
|
|
{{orderData.ProvinceName}}{{orderData.CityName}}{{orderData.AreaName}}{{orderData.Address}}
|
|
|
</view>
|
|
|
- <view style="color: #3F90F7; font-size: 26rpx;" v-if="orderData.SheetState==2" @click="changeStore">申请更换服务门店</view>
|
|
|
+ <view v-if="orderData.SheetState==2">
|
|
|
+ <!-- ChangeState 更换门店:1待处理2更换成功3更换关闭 3的不展示 -->
|
|
|
+ <view style="color: #3F90F7; font-size: 26rpx;" v-if="orderData.ChangeState==null" @click="changeStore">申请更换服务门店</view>
|
|
|
+ <view style="color: #3F90F7; font-size: 26rpx;" v-else-if="orderData.ChangeState==1" @click="changeDetail">更换门店中</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</view>
|
|
|
<view class="shopRightBox" @click="map">
|
|
|
<view>
|
|
@@ -254,15 +261,19 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="orderBottom" v-if="orderData.SheetState==2">
|
|
|
- <view class="cancelBtn" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn"v-if="orderData.ServiceState == null" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn" v-else @click="refundDetail">退款详情</view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
<view class="orderBottom" v-if="orderData.SheetState==3">
|
|
|
- <view class="cancelBtn" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn"v-if="orderData.ServiceState == null" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn" v-else @click="refundDetail">退款详情</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="orderBottom" v-if="orderData.SheetState==4">
|
|
|
- <view class="cancelBtn" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn"v-if="orderData.ServiceState == null" @click="refundMoney">申请退款</view>
|
|
|
+ <view class="cancelBtn" v-else @click="refundDetail">退款详情</view>
|
|
|
<view class="payBtn" @click="timeShowClick" v-if="orderData.OrderState==1">立即预约</view>
|
|
|
</view>
|
|
|
|
|
@@ -378,6 +389,17 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ refundDetail(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../refundMoney/refundMoneyDetail?id='+this.orderData.AfterServiceID
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
+ changeDetail(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../changeStore/changeStoreDetail?id='+this.orderData.ChangeShopID
|
|
|
+ })
|
|
|
+ },
|
|
|
changeStore(){
|
|
|
// 是否可以更换门店
|
|
|
this.haveChangeStore();
|