yuanrf пре 9 месеци
родитељ
комит
b353f4f9df
1 измењених фајлова са 7 додато и 23 уклоњено
  1. 7 23
      src/components/Finance/Cost.vue

+ 7 - 23
src/components/Finance/Cost.vue

@@ -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') {