|
@@ -4525,32 +4525,16 @@ export default {
|
|
|
|
|
|
let result = {};
|
|
|
|
|
|
- if (this.diid == 2615) {
|
|
|
- for (let flight of ["经济舱", "头等舱", "公务舱"]) {
|
|
|
- if (flight === "经济舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["JSES", "TBR", "SGR", "SUITE"], flight, result);
|
|
|
- } else if (flight === "公务舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["SUITE", "JSES", "SGR",], flight, result);
|
|
|
- } else if (flight === "头等舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["SUITE", "JSES"], flight, result);
|
|
|
- }
|
|
|
- }
|
|
|
- } else {
|
|
|
- for (let flight of ["经济舱", "头等舱", "公务舱"]) {
|
|
|
- if (flight === "经济舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["TBR", "SGR", "JSES", "SUITE"], flight, result);
|
|
|
- } else if (flight === "公务舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["SUITE", "JSES", "SGR",], flight, result);
|
|
|
- } else if (flight === "头等舱") {
|
|
|
- this.matchRooms(hotelRooms, flights, ["SUITE", "JSES",], flight, result);
|
|
|
- }
|
|
|
+ for (let flight of ["经济舱", "头等舱", "公务舱"]) {
|
|
|
+ if (flight === "经济舱") {
|
|
|
+ this.matchRooms(hotelRooms, flights, ["TBR", "SGR", "JSES", "SUITE"], flight, result);
|
|
|
+ } else if (flight === "公务舱") {
|
|
|
+ this.matchRooms(hotelRooms, flights, ["SUITE", "JSES", "SGR",], flight, result);
|
|
|
+ } else if (flight === "头等舱") {
|
|
|
+ this.matchRooms(hotelRooms, flights, ["SUITE", "JSES",], flight, result);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
var rightCheckArr = [];
|
|
|
if (this.costTypevalue == 'B') {
|
|
|
|