Commit 12a699e9 authored by 罗超's avatar 罗超

修改BUG

parent 5f1d4919
...@@ -381,7 +381,8 @@ export default { ...@@ -381,7 +381,8 @@ export default {
this.chosenObj.startDate = this.p.startDate; this.chosenObj.startDate = this.p.startDate;
this.calcMoney(); this.calcMoney();
if(this.p.unionCityList && this.p.unionCityList.length>0 && this.p.originalB2CPrice==this.p.RealPrice){ if(this.p.unionCityList && this.p.unionCityList.length>0 && this.p.originalB2CPrice==this.p.RealPrice){
this.currentUnionCity = this.p.unionCityList[0]
this.changeCityHandler(this.p.unionCityList[0])
} }
} }
...@@ -405,7 +406,9 @@ export default { ...@@ -405,7 +406,9 @@ export default {
this.chosenObj.startDate = this.p.startDate; this.chosenObj.startDate = this.p.startDate;
this.calcMoney() this.calcMoney()
if(this.p.unionCityList && this.p.unionCityList.length>0){ if(this.p.unionCityList && this.p.unionCityList.length>0){
this.currentUnionCity = this.p.unionCityList[0] //this.currentUnionCity = this.p.unionCityList[0]
this.changeCityHandler(this.p.unionCityList[0])
} }
} }
}, },
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</q-card> </q-card>
<q-card flat class="q-pa-md q-mt-lg"> <q-card flat class="q-pa-md q-mt-lg">
<div class="text-subtitle1 text-weight-bolder q-mb-md">旅客資料</div> <div class="text-subtitle1 text-weight-bolder q-mb-md">旅客資料{{ price.realPrice }}</div>
<div class="row"> <div class="row">
<q-img <q-img
...@@ -611,8 +611,8 @@ export default { ...@@ -611,8 +611,8 @@ export default {
CustomerId:0, CustomerId:0,
DepartureCityId:this.order.order.startCityId, DepartureCityId:this.order.order.startCityId,
IsIntermodal:this.unionCity?1:2, IsIntermodal:this.unionCity?1:2,
Unit_Price:this.price.originalB2CPrice, Unit_Price:this.price.realPrice,
TC_Price:this.price.originalB2CPrice, TC_Price:this.price.realPrice,
ManNum:this.chosenObj.crCount, ManNum:this.chosenObj.crCount,
ChirdNum:this.chosenObj.etCount, ChirdNum:this.chosenObj.etCount,
ChirdNeedBedNum:this.chosenObj.etzcCount, ChirdNeedBedNum:this.chosenObj.etzcCount,
...@@ -674,6 +674,7 @@ export default { ...@@ -674,6 +674,7 @@ export default {
this.apipost('sellorder_post_SetTravelGuestInfo_V2',currentGuest,r=>{ this.apipost('sellorder_post_SetTravelGuestInfo_V2',currentGuest,r=>{
console.log(r) console.log(r)
if(i<this.guests.length-1){ if(i<this.guests.length-1){
i++
this.uploadGuests(i,orderId) this.uploadGuests(i,orderId)
}else{ }else{
this.submitB2COrderHandler(orderId) this.submitB2COrderHandler(orderId)
...@@ -915,6 +916,7 @@ export default { ...@@ -915,6 +916,7 @@ export default {
this.trip.imgCover = JSON.parse(this.trip.imgCover); this.trip.imgCover = JSON.parse(this.trip.imgCover);
this.price = this.trip.currentPriceInfo; this.price = this.trip.currentPriceInfo;
this.price.realPrice=this.price.originalB2CPrice
if(this.order.order.startCityId && this.order.order.startCityId!=this.trip.startCityId){ if(this.order.order.startCityId && this.order.order.startCityId!=this.trip.startCityId){
this.unionCity = this.price.unionCityList.find(x=>x.cityId == this.order.order.startCityId) this.unionCity = this.price.unionCityList.find(x=>x.cityId == this.order.order.startCityId)
if(this.unionCity.backFlight && this.unionCity.backFlight.addPrice){ if(this.unionCity.backFlight && this.unionCity.backFlight.addPrice){
......
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