refactor plant section
This commit is contained in:
@@ -64,39 +64,7 @@ const DetailPlantSection = ({ visible, onCancel, onOk, form, editingKey, readOnl
|
||||
rules={[{ required: true, message: 'Silakan masukkan nama sub section!' }]}
|
||||
style={{ marginBottom: 0 }}
|
||||
>
|
||||
<Input readOnly={readOnly} placeholder="Masukkan Kode Plant" />
|
||||
</Form.Item>
|
||||
</div>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Text strong>Nama Plant</Text>
|
||||
<Text style={{ color: 'red' }}> *</Text>
|
||||
<Form.Item
|
||||
name="nama_plant"
|
||||
rules={[{ required: true, message: 'Silakan masukkan nama plant!' }]}
|
||||
style={{ marginBottom: 0 }}
|
||||
>
|
||||
<Input readOnly={readOnly} placeholder="Masukkan Nama Plant" />
|
||||
</Form.Item>
|
||||
</div>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Text strong>Lokasi Plant</Text>
|
||||
<Text style={{ color: 'red' }}> *</Text>
|
||||
<Form.Item
|
||||
name="lokasi_plant"
|
||||
rules={[{ required: true, message: 'Silakan masukkan lokasi plant!' }]}
|
||||
style={{ marginBottom: 0 }}
|
||||
>
|
||||
<Input readOnly={readOnly} placeholder="Masukkan Lokasi Plant" />
|
||||
</Form.Item>
|
||||
</div>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Text strong>Deskripsi</Text>
|
||||
<Form.Item name="deskripsi" style={{ marginBottom: 0 }}>
|
||||
<Input.TextArea
|
||||
readOnly={readOnly}
|
||||
placeholder="Masukkan Deskripsi (Opsional)"
|
||||
rows={4}
|
||||
/>
|
||||
<Input readOnly={readOnly} placeholder="Masukkan Nama Sub Section" />
|
||||
</Form.Item>
|
||||
</div>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user