|
|
@ -90,7 +90,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis |
|
|
|
name="form_in_modal" |
|
|
|
initialValues={{ |
|
|
|
...curRecord, |
|
|
|
time: [moment(curRecord?.startTime), moment(curRecord?.startTime)], |
|
|
|
time: [moment(curRecord?.startTime), moment(curRecord?.endTime)], |
|
|
|
points: curRecord?.points?.map(p => p.id), |
|
|
|
userDept: curRecord?.user?.department?.name, |
|
|
|
frequency: curRecord?.frequency?.split('次')[0] |
|
|
|