forked from wangziqi/gongxue-base
fix: broken Form.Item tag in check-in room select
This commit is contained in:
@@ -519,6 +519,7 @@ const OccupanciesPage: React.FC = () => {
|
|||||||
name="roomId"
|
name="roomId"
|
||||||
label="选择宿舍"
|
label="选择宿舍"
|
||||||
rules={[{ required: true, message: '请选择宿舍' }]}
|
rules={[{ required: true, message: '请选择宿舍' }]}
|
||||||
|
>
|
||||||
<Select
|
<Select
|
||||||
showSearch
|
showSearch
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
@@ -530,6 +531,7 @@ const OccupanciesPage: React.FC = () => {
|
|||||||
disabled: r.currentCount >= r.capacity,
|
disabled: r.currentCount >= r.capacity,
|
||||||
}))}
|
}))}
|
||||||
/>
|
/>
|
||||||
|
</Form.Item>
|
||||||
<Form.Item name="checkInDate" label="入住日期" rules={[{ required: true }]}>
|
<Form.Item name="checkInDate" label="入住日期" rules={[{ required: true }]}>
|
||||||
<DatePicker style={{ width: '100%' }} placeholder="选择入住日期" format="YYYY-MM-DD" />
|
<DatePicker style={{ width: '100%' }} placeholder="选择入住日期" format="YYYY-MM-DD" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user