fix: mroombooking在初始状态编辑时slot问题
This commit is contained in:
parent
c1c5968875
commit
15d3e64f02
|
|
@ -222,7 +222,11 @@ export default {
|
||||||
})
|
})
|
||||||
that.$API.ofm.mroomslot.list.req(form).then(res=>{
|
that.$API.ofm.mroomslot.list.req(form).then(res=>{
|
||||||
res.forEach(item=>{
|
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;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue