RO form items for checklist dates.

This commit is contained in:
Patrick Fic
2021-06-18 13:50:13 -07:00
parent 012f256b77
commit 12bc4faf48

View File

@@ -181,21 +181,21 @@ export function JobChecklistForm({
}, },
]} ]}
> >
<DateTimePicker /> <DateTimePicker disabled={readOnly} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name="scheduled_delivery" name="scheduled_delivery"
label={t("jobs.fields.scheduled_delivery")} label={t("jobs.fields.scheduled_delivery")}
disabled={readOnly} disabled={readOnly}
> >
<DateTimePicker /> <DateTimePicker disabled={readOnly} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name={["production_vars", "note"]} name={["production_vars", "note"]}
label={t("jobs.fields.production_vars.note")} label={t("jobs.fields.production_vars.note")}
disabled={readOnly} disabled={readOnly}
> >
<Input.TextArea rows={3} /> <Input.TextArea rows={3} disabled={readOnly} />
</Form.Item> </Form.Item>
</div> </div>
)} )}
@@ -212,14 +212,14 @@ export function JobChecklistForm({
}, },
]} ]}
> >
<DateTimePicker /> <DateTimePicker disabled={readOnly} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name="actual_delivery" name="actual_delivery"
label={t("jobs.fields.actual_delivery")} label={t("jobs.fields.actual_delivery")}
disabled={readOnly} disabled={readOnly}
> >
<DateTimePicker /> <DateTimePicker disabled={readOnly} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name="removeFromProduction" name="removeFromProduction"