|
|
|
@ -40,14 +40,14 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handleChangestart_time = (date) => {
|
|
|
|
|
console.log(moment(date).format('HH:mm'))
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
start_time: date
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
handleChangeend_time=(date)=>{
|
|
|
|
|
console.log(moment(date).format('HH:mm'))
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
end_time: date
|
|
|
|
|
});
|
|
|
|
@ -274,6 +274,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
|
|
|
|
|
timeIntervals={1}
|
|
|
|
|
timeCaption="Time"
|
|
|
|
|
timeFormat="HH:mm"
|
|
|
|
|
dateFormat="hh:mm"
|
|
|
|
|
getPopupContainer={trigger => trigger.parentNode}
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
@ -299,6 +300,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
|
|
|
|
|
maxTime={this.state.dateString===moment().format('YYYY-MM-DD')||this.state.dateString===null?moment().endOf('day').toDate():false}
|
|
|
|
|
timeCaption="Time"
|
|
|
|
|
timeFormat="HH:mm"
|
|
|
|
|
dateFormat="hh:mm"
|
|
|
|
|
getPopupContainer={trigger => trigger.parentNode}
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|