|
|
|
@ -78,19 +78,8 @@ |
|
|
|
<text class="lf-font-28" style="color: #131315;">{{arrival_time}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 景区 --> |
|
|
|
<view v-if="goods_type == 2"> |
|
|
|
<view class="cu-bar padding-lr"> |
|
|
|
<text class="lf-color-555 lf-font-28">套餐类型</text> |
|
|
|
<text class="lf-font-28" style="color: #131315;">{{goods_typetext}}</text> |
|
|
|
</view> |
|
|
|
<view class="cu-bar padding-lr"> |
|
|
|
<text class="lf-color-555 lf-font-28">开始时间</text> |
|
|
|
<text class="lf-font-28" style="color: #131315;">{{enter_time}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 旅游路线 --> |
|
|
|
<view v-if="goods_type == 0 || goods_type == 4 || goods_type == 5"> |
|
|
|
<view v-if="goods_type == 0 || goods_type == 4 || goods_type == 5 || goods_type == 2"> |
|
|
|
<view class="cu-bar padding-lr"> |
|
|
|
<text class="lf-color-555 lf-font-28">套餐类型</text> |
|
|
|
<text class="lf-font-28" style="color: #131315;">{{goods_typetext}}</text> |
|
|
|
@ -201,21 +190,15 @@ |
|
|
|
this.goods_type = e.goods_type; |
|
|
|
this.btn_type = e.btn_type; |
|
|
|
this.order_id = e.order_id; |
|
|
|
if(this.goods_type == 1) { |
|
|
|
var arr = e.spec_id.split(",") |
|
|
|
console.log(arr) |
|
|
|
this.hotel_specid = arr |
|
|
|
console.log('数组id',this.hotel_specid) |
|
|
|
}else { |
|
|
|
this.spec_id = e.spec_id; |
|
|
|
} |
|
|
|
var arr = e.spec_id.split(",") |
|
|
|
console.log(arr) |
|
|
|
this.hotel_specid = arr |
|
|
|
console.log('数组id',this.hotel_specid) |
|
|
|
this.enter_type = e.enter_type; |
|
|
|
this.goods_typetext = e.goods_typetext; |
|
|
|
if(this.goods_id) { |
|
|
|
this.getGoodsData(this.pay_type); |
|
|
|
if(this.goods_type == 2) { |
|
|
|
this.enter_time = e.enter_time; |
|
|
|
}else if(this.goods_type == 0 || this.goods_type == 4 || this.goods_type == 5) { |
|
|
|
if(this.goods_type == 0 || this.goods_type == 4 || this.goods_type == 5 || this.goods_type == 2) { |
|
|
|
this.departure_time = e.departure_time; |
|
|
|
}else if(this.goods_type == 1) { |
|
|
|
this.check_in_time = e.check_in_time; |
|
|
|
@ -288,7 +271,7 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
getGoodsData(type){ |
|
|
|
this.$http(this.API.API_CONFIRMDETAILS,{id: this.goods_id,num: 1,pay_type: type,spec_id: this.goods_type==1?this.hotel_specid:this.spec_id}).then(res => { |
|
|
|
this.$http(this.API.API_CONFIRMDETAILS,{id: this.goods_id,num: 1,pay_type: type,spec_id: this.hotel_specid}).then(res => { |
|
|
|
this.goods_details = res.data; |
|
|
|
console.log('数据',res) |
|
|
|
}) |
|
|
|
@ -329,7 +312,7 @@ |
|
|
|
pay_type: this.pay_type, |
|
|
|
name:this.contact, |
|
|
|
mobile:this.phone, |
|
|
|
spec_id: this.spec_id, |
|
|
|
spec_id: this.hotel_specid, |
|
|
|
enter_time: this.enter_time, |
|
|
|
sex: this.sex, |
|
|
|
age: this.age, |
|
|
|
|