|
|
@ -294,20 +294,7 @@ export default { |
|
|
|
// 下单 |
|
|
|
order() { |
|
|
|
let goods = [] |
|
|
|
// 酒店 |
|
|
|
this.hotelOrderList.forEach(item=>{ |
|
|
|
let param = { |
|
|
|
type: 'hotel', |
|
|
|
customer_name: item.roomNames.toString(), |
|
|
|
reserve_mobile: item.phone, |
|
|
|
product_id: item.product_id, |
|
|
|
sku_id: item.id, |
|
|
|
start_date: item.selectDate.startDay, |
|
|
|
end_date: item.selectDate.endDay, |
|
|
|
product_num: item.buyNum |
|
|
|
} |
|
|
|
goods.push(param) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// 游玩 |
|
|
|
this.playOrderList.forEach(item=>{ |
|
|
@ -353,6 +340,20 @@ export default { |
|
|
|
} |
|
|
|
goods.push(param) |
|
|
|
}) |
|
|
|
// 酒店 |
|
|
|
this.hotelOrderList.forEach(item=>{ |
|
|
|
let param = { |
|
|
|
type: 'hotel', |
|
|
|
customer_name: item.roomNames.toString(), |
|
|
|
reserve_mobile: item.phone, |
|
|
|
product_id: item.product_id, |
|
|
|
sku_id: item.id, |
|
|
|
start_date: item.selectDate.startDay, |
|
|
|
end_date: item.selectDate.endDay, |
|
|
|
product_num: item.buyNum |
|
|
|
} |
|
|
|
goods.push(param) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|