Commit bef46f95 authored by 黄奎's avatar 黄奎

11

parent 51b1aab7
......@@ -780,19 +780,19 @@
return qitem.OutDateTime == this.offerSelectDate
})
}
if (selectOfferObj) {
this.otherPrice = selectOfferObj.otherPrice;
this.teamPrice = selectOfferObj.teamPrice;
this.CostNumberList = selectOfferObj.CostNumberList;
this.offerDataObj = selectOfferObj;
}
if (this.postConfig.dayCostPriceList && this.postConfig.dayCostPriceList.length > 0) {
this.dayCostPriceList = this.postConfig.dayCostPriceList;
}
if (this.postConfig.OfferArray && this.postConfig.OfferArray.length > 0) {
this.CurrencyNumberListExt = this.postConfig.OfferArray[0].CurrencyNumberListExt;
this.CostCurrencyList = this.postConfig.OfferArray[0].CostCurrencyList;
}
console.log("dayCostPriceList", dayCostPriceList)
this.getchange()
this.getSubMoney();
return selectOfferObj;
......@@ -950,6 +950,7 @@
res => {
this.loading = false
if (res.data.resultCode == 1) {
if (this.dayCostPriceList && this.dayCostPriceList.length > 0) {
if (day == null) {
for (let i = 0; i < this.dayCostPriceList.length; i++) {
if (!this.dayCostPriceList[i].HotelList || this.dayCostPriceList[i].HotelList.length == 0) {
......@@ -962,6 +963,7 @@
} else if (day != null) {
this.dayCostPriceList[day].HotelList = res.data.data
}
}
this.$forceUpdate()
}
},
......
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