twt 3 lat temu
rodzic
commit
2d63c2e087
1 zmienionych plików z 7 dodań i 5 usunięć
  1. 7 5
      pages/module/confirmOrder.vue

+ 7 - 5
pages/module/confirmOrder.vue

@@ -15,7 +15,7 @@
 				<view class="topLine borderB" >
 					<view class="toplineLeft">
 						<view class="topTitle">车牌号:</view>
-						<view class="topTxt">鲁AE86</view>
+						<view class="topTxt">{{maintainCarData.plateNumber}}</view>
 					</view>
 					
 				</view>
@@ -214,6 +214,8 @@ export default {
 			}
 		
 		}
+		var cardata = uni.getStorageSync("maintainCarData")
+		this.maintainCarData=cardata
 	},
 	methods: {
 		myOrderCoupon(){
@@ -260,7 +262,7 @@ export default {
 				return false;
 			}
 			 */
-	         var cardata={
+	        /* var cardata={
 				 annualmoney: "2017",
 				 brand: "大众",
 				 brandLogo: "http://img.db.66km.cn/carbrandlogo/D - 大众.png",
@@ -290,8 +292,8 @@ export default {
 				 traveltime: "",
 				 vIN: "",
 				 currentMileage:'1111',
-			 }
-			this.maintainCarData=cardata
+			 } */
+			
 			uni.showLoading({ });
 			this.$http('worldKeepCar/maintainOrder/submitOrder', {
 			  shopName:this.orderShop.shopName,
@@ -300,7 +302,7 @@ export default {
 			  carID:this.maintainCarData.id,
 			  plateNumber:this.maintainCarData.plateNumber,
 			  carModel:this.maintainCarData.carModel,
-			  currentMileage:1111,//this.currentMileage,
+			  currentMileage:this.maintainCarData.milage,//this.currentMileage,
 			  comment:this.remark,
 			  itemMoney:this.itemMoney,
 			  goodsMoney:this.goodsMoney,