From dd874cbe9c0f91427147c37bb8810179f52e3609 Mon Sep 17 00:00:00 2001 From: Vinix Date: Fri, 24 Oct 2025 11:07:06 +0700 Subject: [PATCH] Add brand device field to DetailDevice component and ListDevice table --- .../master/device/component/DetailDevice.jsx | 19 +++++++++++++++++++ .../master/device/component/ListDevice.jsx | 6 ++++++ 2 files changed, 25 insertions(+) diff --git a/src/pages/master/device/component/DetailDevice.jsx b/src/pages/master/device/component/DetailDevice.jsx index fc06dde..0e2c56e 100644 --- a/src/pages/master/device/component/DetailDevice.jsx +++ b/src/pages/master/device/component/DetailDevice.jsx @@ -14,6 +14,7 @@ const DetailDevice = (props) => { device_id: '', device_code: '', device_name: '', + brand_device: '', is_active: true, device_location: '', device_description: '', @@ -228,6 +229,7 @@ const DetailDevice = (props) => { }} /> +
Device Name * @@ -239,6 +241,23 @@ const DetailDevice = (props) => { readOnly={props.readOnly} />
+
+ Brand Device + * + +
Device Location [ key: 'device_name', width: '20%', }, + { + title: 'Brand Device', + dataIndex: 'brand_device', + key: 'brand_device', + width: '20%', + }, { title: 'Location', dataIndex: 'device_location',