diff --git a/src/views/ofm/mroombooking_form.vue b/src/views/ofm/mroombooking_form.vue index ede39d11..b0b2cd8f 100644 --- a/src/views/ofm/mroombooking_form.vue +++ b/src/views/ofm/mroombooking_form.vue @@ -222,7 +222,11 @@ export default { }) that.$API.ofm.mroomslot.list.req(form).then(res=>{ res.forEach(item=>{ - that.timesList[item.slot].sloted = true; + if (item.booking == that.form.id) { + that.timesList[item.slot].isSelect = true; + }else{ + that.timesList[item.slot].sloted = true; + } }) }) },