Commit 2309dd9d authored by 黄奎's avatar 黄奎

11

parent 43b32f86
......@@ -65,11 +65,18 @@
this.formatHotel()
this.formatTeam()
this.formatDinner()
console.log("trip", this.trip);
},
methods: {
formatTeam() {
let p = this.trip.priceList[0]
console.log("", this.trip);
let p;
if (this.trip && this.trip.currentPriceInfo) {
p = this.trip.currentPriceInfo;
} else {
p = this.trip.priceList[0];
}
if (!p) return
let t = 0;
if (p && p.priceTeamType) {
......@@ -86,7 +93,7 @@
let d = []
this.trip.dinnerList.forEach(x => {
if (x.useDinnerType == "1") {
if (x.dinnerId > 0 &&x.dinnerName.indexOf('自理') == -1 && x.dinnerName.indexOf('请选择') == -1) {
if (x.dinnerId > 0 && x.dinnerName.indexOf('自理') == -1 && x.dinnerName.indexOf('请选择') == -1) {
console.log("aaaa", x);
//d.push(x)
}
......
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