| 
					
				 | 
			
			
				@@ -41,37 +41,37 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<!-- 订单信息 -->
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<view class="information">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="carMes">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="plate">鲁A12345</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="mileage">1000km</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="plate">{{orderData.billsheet.PlateNumber}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="mileage">{{orderData.billsheet.CurrentMileage}}km</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="informationLine">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<view class="informationTxt">姓名:</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="informationNum">{{orderData.Code}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="informationNum">{{orderData.billsheet.CustomerName}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="informationLine">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<view class="informationTxt">手机号:</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="informationNum">{{orderData.MemberName}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="informationNum">{{orderData.billsheet.MobilePhone}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="informationLine">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<view class="informationTxt">单号:</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="informationNum">{{orderData.CreateTime}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="informationNum">{{orderData.billsheet}}no</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="informationLine">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<view class="informationTxt">接车时间:</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="informationNum">{{orderData.Comment}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="informationNum">{{orderData.billsheet.time}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="informationLine">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<view class="informationTxt">服务顾问:</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="informationNum" v-if="orderData.ConfirmTime != null">{{orderData.ConfirmTime}}</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="informationNum">{{orderData.billsheet}}no</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<!-- 项目明细 -->
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<view class="detailedBox itemBox" v-if=" orderData.items.length!=0">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<view class="detailedBox itemBox" v-if=" orderData.listItems.length!=0">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="detailedTitle">项目</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="detailedLineBox">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="detailedLine" v-for="(item,index) in orderData.items">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="detailedLine" v-for="(item,index) in orderData.listItems">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					<view class="detailedCont">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<view class="detailedName">{{item.ItemName}}项目名称</view>
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -83,10 +83,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<!-- 商品明细-->
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<view class="detailedBox itemBox" v-if="orderData.goods.length!=0">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<view class="detailedBox itemBox" v-if="orderData.listParts.length!=0">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="detailedTitle">商品</view>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<view class="detailedLineBox">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="detailedLine" v-for="(item,index) in orderData.goods">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="detailedLine" v-for="(item,index) in orderData.listParts">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					<view class="detailedCont">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<view class="detailedName">{{item.GoodsName}}商品名称</view>
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,28 +107,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		data() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				location: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				isload: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				id: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				orderData: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				type: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				ifShow: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				timeShow: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				orderTime: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				OrderTimes: '',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				orderTimeIndex1: 0,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				orderTimeIndex2: -1,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				isShowMa: true,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				noClick: true,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onLoad(opt) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// this.location = uni.getStorageSync("locationCity");
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// this.id = opt.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.location = uni.getStorageSync("locationCity");
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.id = opt.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// this.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// this.type = opt.type;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onShow() {
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -137,75 +127,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		methods: {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			refundDetail() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					url: '../refundMoney/refundMoneyDetail?id=' + this.orderData.AfterServiceID
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			changeDetail() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					url: '../changeStore/changeStoreDetail?id=' + this.orderData.ChangeShopID
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			changeStore() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 是否可以更换门店
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.haveChangeStore();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			haveChangeStore() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.showLoading({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: '加载中'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$http('worldKeepCar/orderChangeShop/queryIfConChangeShop', {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					sheetId: this.id,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 'GET').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.hideLoading();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (res.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.showModal({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							title: '提示',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							showCancel: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							content: res.msg,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							success: function(res) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					} else if (res.code == 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							url: '../changeStore/changeStore?sheetId=' + this.id + '&oldShopID=' + this
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								.orderData.ShopID + '&oldStoreName=' + this
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								.orderData.ShopName + '&oldStoreAddress=' + this.orderData.ProvinceName +
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								this.orderData.CityName + this.orderData.AreaName + this.orderData
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								.Address + '&brand=' + this.orderData.Brand
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			showMa() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.isShowMa = !this.isShowMa
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			gopingjia() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					url: '../me/myAppraiseDetail?id=' + this.id
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			timeShowClick() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (this.OrderTimes) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.timeShow = true
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.showToast({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						title: '当前店铺尚未设置可预约时间',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						icon: 'none',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						duration: 3000
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			map() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				console.log("打开地图")
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				var that = this;
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -252,7 +174,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.hideLoading();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					this.orderData = res.data;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.getOrderTimes();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			goback() {
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -261,168 +183,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			evaluate() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					url: 'evaluate?sheetID=' + this.id + '&shopID=' + this.orderData.ShopID
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			cancelOrder() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				var that = this;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.showModal({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: '提示',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					content: '确定要取消订单吗',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					success: function(res) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						if (res.confirm) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							uni.showLoading({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								title: '取消中'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							that.$http('worldKeepCar/keepCarMy/cancelMiNiTMSheet', {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								id: that.orderData.ID
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}, 'POST').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								uni.hideLoading();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								uni.showModal({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									title: '提示',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									content: '订单取消成功',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									showCancel: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									success: function(res) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-										that.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} else if (res.cancel) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			refundMoney() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				console.log('退款');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 是否可以退款
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.haveRefundMoney();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			haveRefundMoney() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.showLoading({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: '加载中'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$http('worldKeepCar/orderRefund/queryIfConRefund', {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					sheetId: this.id,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 'GET').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.hideLoading();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (res.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.showModal({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							title: '提示',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							showCancel: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							content: res.msg,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							success: function(res) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					} else if (res.code == 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.navigateTo({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							url: '../refundMoney/refundMoney?sheetId=' + this.id + '&maxMoney=' + this
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								.orderData.PayMoney
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			orderPay() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				uni.showLoading({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: '支付中'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				var that = this;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$http('worldKeepCar/maintainOrder/orderPay', {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					sheetID: this.orderData.ID
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 'POST').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.hideLoading();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (res.isPay == 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.showToast({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							title: '支付成功',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							icon: 'none',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							duration: 2000
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						that.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					} else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						var payInfo = JSON.parse(res.data.payInfo)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.requestPayment({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							provider: 'wxpay',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							// timeStamp: String(Date.now()),
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							timeStamp: payInfo.timeStamp,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							nonceStr: payInfo.nonceStr,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							package: payInfo.package,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							signType: payInfo.signType,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							paySign: payInfo.paySign,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							success: function(res) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								console.log('success:' + JSON.stringify(res));
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								uni.showToast({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									title: '支付成功',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									icon: 'none',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									duration: 2000
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								that.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							fail: function(err) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								console.log('fail:' + JSON.stringify(err));
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			timeSfCk(item, index) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (item.type == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.orderTimeIndex2 = index;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					var orderTime = this.OrderTimes[this.orderTimeIndex1].date + ' ' + item.time
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.orderTime = orderTime
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			timeCk() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.timeShow = false;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				var urlStr = ''
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (this.orderData.OrderState == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					urlStr = 'worldKeepCar/keepCarMy/saveOrderTime'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (this.orderData.OrderState == 2) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					urlStr = 'worldKeepCar/keepCarMy/changeTSheetTime'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$http(urlStr, {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					id: this.id,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					orderTime: this.orderTime
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 'POST').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (res.code == 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.showToast({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							title: '预约成功',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							icon: 'none',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							duration: 2000
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			getOrderTimes() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$http('worldKeepCar/keepCarMy/getTSheetTimes', {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					shopId: this.orderData.ShopID,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					id: this.orderData.ID,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 'GET').then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.OrderTimes = res.data;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onPullDownRefresh() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.getOrderTimes()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.getData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			setTimeout(function() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				uni.stopPullDownRefresh();
 
			 |