Commit a3d260a5 authored by zhengke's avatar zhengke

修改

parent 0d554e42
......@@ -1255,14 +1255,28 @@ export default {
},
//立即预定
goReserce() {
let myCurrentInfo = this.currentPrice;
myCurrentInfo.startCityName = this.dataList.startCityName;
let myObj={};
// let myCurrentInfo = this.currentPrice;
// myCurrentInfo.startCityName = this.dataList.startCityName;
myObj.startCityName = this.dataList.startCityName
myObj.startDate = this.currentPrice.startDate;
myObj.dayNum = this.currentPrice.dayNum;
myObj.title = this.currentPrice.title;
myObj.b2BPrice = this.currentPrice.b2BPrice;
myObj.b2CPrice = this.currentPrice.b2CPrice;
myObj.childNeedPrice = this.currentPrice.childNeedPrice;
myObj.childNoNeedPrice = this.currentPrice.childNoNeedPrice;
myObj.babyPrice = this.currentPrice.babyPrice;
myObj.babyChargePrice = this.currentPrice.babyChargePrice;
myObj.b2BMemberPrice = this.currentPrice.b2BMemberPrice;
let imgCover = JSON.parse(this.dataList.imgCover);
if (imgCover.length > 0) {
myCurrentInfo.CoverImg = imgCover[0].Url;
// myCurrentInfo.CoverImg = imgCover[0].Url;
myObj.CoverImg = imgCover[0].Url
}
let myCurr = JSON.stringify(myCurrentInfo);
console.log(myCurrentInfo, "myCurrentInfo");
let myCurr = JSON.stringify(myObj);
let ren = {
crCount: this.crCount,
etCount: this.etCount,
......
......@@ -556,9 +556,9 @@ export default {
calcMoney() {
var price = 0;
if (this.$utils.getretailer()) {
price = this.currentPriceInfo.b2BMemberPrice;
price = this.currentPriceInfo.b2BPrice;
} else {
price = this.currentPriceInfo.b2CMemberPrice;
price = this.currentPriceInfo.b2CPrice;
}
this.orderMsg.ChirdNum =
parseInt(this.orderMsg.ChirdNoBedNum) +
......
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