Commit 5ac7d774 authored by zhengke's avatar zhengke

酒店下单提交

parent 654c0775
......@@ -763,6 +763,7 @@ export default {
}
this.sureMsg.totalChargeableRateInfo=0;
this.sureMsg.totalPriceJapanese=0;
console.log(this.dataList,'datalist');
this.dataList.roomGroup.forEach(x=>{
if(Object.prototype.toString.call(x.rateGroup) == '[object Object]'){
let arr = [];
......@@ -794,14 +795,13 @@ export default {
})
AdultCount+=AdultTotalPrice*x.roomAdultCount;
childCount+=childToTalPrice*x.roomChildCount;
this.sureMsg.totalChargeableRateInfo = parseFloat(AdultCount+childCount);
this.sureMsg.totalChargeableRateInfo += parseFloat(AdultCount+childCount);
AdultJapanCount+=AdultJapanPrice*x.roomAdultCount;
childJapanCount+=ChildJapanPrice*x.roomChildCount;
this.sureMsg.totalPriceJapanese=parseFloat(AdultJapanCount+childJapanCount);
this.sureMsg.totalPriceJapanese += parseFloat(AdultJapanCount+childJapanCount);
})
} else {
this.Error(res.data.message);
}
......
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