refactor plant section

This commit is contained in:
2025-10-13 11:02:17 +07:00
parent 577d8c8585
commit d9fb7c9fce
3 changed files with 29 additions and 64 deletions

View File

@@ -26,38 +26,26 @@ const ListPlantSection = ({
title: 'No',
dataIndex: 'sub_section_id',
key: 'sub_section_id',
width: '10%',
width: '8%',
render: (text, record, index) => index + 1,
},
{
title: 'Kode Sub Section',
dataIndex: 'sub_section_code',
key: 'sub_section_code',
width: '20%',
},
{
title: 'Nama Sub Section',
dataIndex: 'sub_section_name',
key: 'sub_section_name',
width: '35%',
},
{
title: 'Kode Plant',
dataIndex: 'kode_plant',
key: 'kode_plant',
},
{
title: 'Nama Plant',
dataIndex: 'nama_plant',
key: 'nama_plant',
},
{
title: 'Lokasi Plant',
dataIndex: 'lokasi_plant',
key: 'lokasi_plant',
},
{
title: 'Deskripsi',
dataIndex: 'deskripsi',
key: 'deskripsi',
},
{
title: 'Aksi',
key: 'action',
width: '15%',
width: '10%',
render: (_, record) => (
<Space size="middle">
<Button