|
|
@@ -2287,7 +2287,20 @@ export default {
|
|
|
});
|
|
|
this.modelDefault.roomIds = [...[mainRoom], ...sortRooms];
|
|
|
}
|
|
|
+ console.log(this.modelDefault);
|
|
|
console.log(" this.modelDefault.roomIds", this.modelDefault.roomIds);
|
|
|
+ this.canUserRooms[0].buildingRooms.forEach(ele=>{
|
|
|
+ ele.floorRooms.forEach(b=>{
|
|
|
+ b.check = 0
|
|
|
+ })
|
|
|
+ this.modelDefault.roomIds.forEach(t=>{
|
|
|
+ ele.floorRooms.forEach(b=>{
|
|
|
+ if (b.id == t.id) {
|
|
|
+ b.check = 1;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ })
|
|
|
this.edit(this.modelDefault);
|
|
|
},
|
|
|
compuleDeposit(prefPrice) {
|