Commit 81f8a7d9 authored by 华国豪's avatar 华国豪 🙄

A

parent 63d086ba
......@@ -680,8 +680,15 @@
this.apipost('dmcstatistics_post_GetHotelStaticsByTCIDs',{TCIDs:this.$route.query.id},res=>{
if(res.data.resultCode==1){
let nav = res.data.data
let num = 0;
nav.forEach(x=>{
nav.LeaderGetPriceT = 0;
num += x.LeaderGetPrice
})
nav.forEach((x, i)=>{
if (i === 0) {
x.LeaderGetPriceT = (this.TotalNav.reimburseTotalPrice.PlanPrice * 0.95) - num;
}
})
this.nav = nav
}else{
......@@ -693,6 +700,7 @@
this.apipost('dmcstatistics_post_GetNewPlanTotalPrice',{TCIDs:this.$route.query.id},res=>{
if(res.data.resultCode==1){
this.TotalNav=res.data.data
this.getNav()
}else{
this.$message.error(res.data.message)
}
......@@ -726,7 +734,6 @@
this.isUpdate=this.$route.query.isUpdate;
this.msg.TCIDs=this.$route.query.id;
this.NewCombinationNum = this.$route.query.NewCombinationNum;
this.getNav()
this.getList()
this.getTotalNav()
}
......
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