Commit 9492baca authored by youjie's avatar youjie

no message

parent 9e98d44b
......@@ -208,8 +208,8 @@ export default {
orderInfo: this.chosenObj,
sumPrice: this.sumPrice,
Id: this.dataList.Id,
onCarId: this.onCarObj.Id,
unCarId: this.unCarObj.Id,
onCarId: this.onCarObj?this.onCarObj.Id:'',
unCarId: this.unCarObj?this.unCarObj.Id:'',
}
let key = this.$md5(JSON.stringify(order))
let pickuporderCars = localStorage.getItem('pickuporderCars')
......
......@@ -556,13 +556,8 @@ export default {
AddressObj: null,
onCarObj: null,//上车范围
unCarObj: null,//下车范围
onCarId: null,//上车范围
unCarId: null,//下车范围
CarObj: null,//车型
AirportObj: null,//机场
CarId: null,//车型
AirportId: null,//机场
startDate: null,
details: null,//产品详情
options: {//音频控件
currentPage: 0,
......@@ -659,8 +654,8 @@ export default {
if (r.data.resultCode == 1) {
this.details = r.data.data;
this.CarObj = this.details.CarTypeList.find((x) => this.OrderDate.CarId == x.Id);
this.onCarObj = this.details.PlaceList.find((x) => this.onCarId == x.Id)//上车范围
this.unCarObj = this.details.PlaceList.find((x) => this.unCarId == x.Id)//下车范围
this.onCarObj = this.details.PlaceList.find((x) => this.OrderDate.onCarId == x.Id)//上车范围
this.unCarObj = this.details.PlaceList.find((x) => this.OrderDate.unCarId == x.Id)//下车范围
if(this.details.CarType!=3){
this.AirportObj = this.details.AirportList.find((x) => this.OrderDate.AirportId == x.Id);
this.parameters.AirportId = this.OrderDate.AirportId
......@@ -691,15 +686,13 @@ export default {
this.order = pickuporderCars.find((x) => x.key == key);
if (this.order) {
this.orderKey = key;
this.chosenObj = this.order.order.orderInfo;
this.OrderDate = this.order.order
this.chosenObj = this.OrderDate.orderInfo;
this.parameters.ProductId = this.order.order.Id
this.parameters.OrderDate = this.OrderDate.startDate
this.parameters.Unit_Price = this.OrderDate.originalB2CPrice
this.parameters.Num = this.chosenObj.Count
this.parameters.Money = this.OrderDate.sumPrice
this.onCarId = this.OrderDate.onCarId//上车范围
this.unCarId = this.OrderDate.unCarId//下车范围
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment