Browse Source

no message

DESKTOP-B78GIPM\admin 2 years ago
parent
commit
badf4963ad

+ 2 - 0
src/views/room/modules/checkIn/BillRoomForm.vue

@@ -2023,6 +2023,7 @@ export default {
       this.$set(room, "customerId", find.id);
     },
     pulsRoom() {
+      console.log(this.canUserRooms);
       this.$refs.modalSelectRoomForm.add(this.canUserRooms);
       this.$refs.modalSelectRoomForm.title = "选择房间";
       this.$refs.modalSelectRoomForm.disableSubmit = false;
@@ -2322,6 +2323,7 @@ export default {
     },
     async edit(record) {
       console.log("edit", record);
+      this.activeKey = record.roomIds[0].id;
       this.visible = true;
       this.model = Object.assign({}, record);
       console.log("this.model", this.model);

+ 2 - 2
src/views/room/modules/checkIn/SelectRoomForm.vue

@@ -190,8 +190,8 @@ export default {
     return {
       visible: true,
       roomList: [
-        // { key: "1层", child: rooms },
-        // { key: "2层", child: rooms2 },
+        { key: "1层", child: rooms },
+        { key: "2层", child: rooms2 },
       ],
       roomStatusList: [],
       checkedRoomStatusList: [],