Enhance Outbound and Excel Service Functionality

- Added `inventory_unit` to the item selection query in the outbound controller to improve data retrieval.
- Updated the multi-table Excel service to exclude overlapping headers between parent and child levels, ensuring accurate data insertion.
- Introduced new category combobox components for better user interaction in the supplied item page.
- Enhanced the inbound-outbound page to correctly map user IDs, including super admin handling for user information retrieval.

(TASK: ERP-XXX)
This commit is contained in:
kjs
2026-05-20 15:24:19 +09:00
parent b2c96e616a
commit c5364e1d20
8 changed files with 2189 additions and 10 deletions

View File

@@ -740,7 +740,7 @@ export async function getItems(req: AuthenticatedRequest, res: Response) {
const pool = getPool();
const result = await pool.query(
`SELECT
id, item_number, item_name, size AS spec, material, unit,
id, item_number, item_name, size AS spec, material, unit, inventory_unit,
COALESCE(width::text, '') AS width,
COALESCE(height::text, '') AS height,
COALESCE(thickness::text, '') AS thickness,