feat: add BOM materials retrieval functionality

- Implemented a new API endpoint for retrieving BOM materials based on item codes, enhancing the ability to manage and view component materials.
- Added necessary SQL queries to fetch BOM details, ensuring that the data is filtered by company code for multi-tenancy support.
- Updated frontend components to integrate BOM materials fetching, allowing for better visibility and management of materials in the process workflow.

These changes aim to streamline the management of BOM materials, facilitating better tracking and organization within the application.
This commit is contained in:
kjs
2026-03-20 13:46:30 +09:00
parent ffcede7e66
commit 199fa60ef5
9 changed files with 737 additions and 193 deletions

View File

@@ -208,6 +208,7 @@ export function ProcessWorkStandardComponent({
selectedWorkItemDetails={selectedDetailsByPhase[phase.key] || []}
detailTypes={config.detailTypes}
readonly={config.readonly}
selectedItemCode={selection.itemCode || undefined}
onSelectWorkItem={handleSelectWorkItem}
onAddWorkItem={handleAddWorkItem}
onEditWorkItem={handleEditWorkItem}