Commit e1a851de authored by zhengke's avatar zhengke

修改

parent 8f8775f0
......@@ -159,9 +159,7 @@
}
},
created() {
uni.setNavigationBarTitle({
title: this.HotelInfo.HotelName
});
},
onLoad(options) {
if(options.RoomInfo){
......@@ -173,9 +171,6 @@
if(options.dayObj){
this.dayObj = JSON.parse(options.dayObj)
}
console.log(this.RoomInfo,'RoomInfo');
console.log(this.HotelInfo,'HotelInfo');
console.log(this.dayObj,'dayObj');
this.rMsg.HotelId = this.HotelInfo.HotelId;
this.rMsg.productId = this.RoomInfo.ID;
this.rMsg.StartDate = this.dayObj.start;
......@@ -184,7 +179,9 @@
this.orderMsg.Unit_Price = this.RoomInfo.B2BPrice;
this.orderMsg.StartDate = this.dayObj.start;
this.orderMsg.EndDate = this.dayObj.end;
uni.setNavigationBarTitle({
title: this.HotelInfo.HotelName
});
this.CalTotalPrice();
this.getRoomPrice();
},
......@@ -313,7 +310,7 @@
})
setTimeout(()=>{
uni.redirectTo({
url: '/pages/jiuzhai/allorderList'
url: '/pages/jiuzhai/paysuccess?PreferPrice='+that.orderMsg.Final_Price
});
}, 100 )
},
......@@ -322,6 +319,11 @@
uni.showToast({
title: "支付失败"
})
setTimeout(()=>{
uni.redirectTo({
url: '/pages/jiuzhai/allorderList'
});
}, 100 )
}
});
},
......
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