1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 20:49:57 +01:00

feat(tui): Bestandsbewegungen und Produktionsaufträge anbinden

- StockMovement: API-Client, Hook, List/Detail/Record-Screens mit Typ-Filter
- ProductionOrder: list/getById/start im API-Client, List/Detail-Screens mit Freigabe- und Start-Aktion
- Inventar-Menü um Bestandsbewegungen erweitert
- Produktionsmenü zeigt jetzt Auftragsliste statt direkt Create
- OpenAPI-Typen regeneriert (StockMovementResponse, StartProductionOrderRequest, batchId in ProductionOrderResponse)
This commit is contained in:
Sebastian Frick 2026-02-25 12:36:42 +01:00
parent 0474b5fa93
commit 7d721f9ef0
18 changed files with 1279 additions and 9 deletions

View file

@ -39,6 +39,9 @@ import { StorageLocationDetailScreen } from './components/inventory/StorageLocat
import { StorageLocationEditScreen } from './components/inventory/StorageLocationEditScreen.js';
import { StockBatchEntryScreen } from './components/inventory/StockBatchEntryScreen.js';
import { AddBatchScreen } from './components/inventory/AddBatchScreen.js';
import { StockMovementListScreen } from './components/inventory/StockMovementListScreen.js';
import { StockMovementDetailScreen } from './components/inventory/StockMovementDetailScreen.js';
import { StockMovementRecordScreen } from './components/inventory/StockMovementRecordScreen.js';
// Produktion
import { ProductionMenu } from './components/production/ProductionMenu.js';
import { RecipeListScreen } from './components/production/RecipeListScreen.js';
@ -51,7 +54,9 @@ import { BatchDetailScreen } from './components/production/BatchDetailScreen.js'
import { BatchPlanScreen } from './components/production/BatchPlanScreen.js';
import { RecordConsumptionScreen } from './components/production/RecordConsumptionScreen.js';
import { CompleteBatchScreen } from './components/production/CompleteBatchScreen.js';
import { ProductionOrderListScreen } from './components/production/ProductionOrderListScreen.js';
import { ProductionOrderCreateScreen } from './components/production/ProductionOrderCreateScreen.js';
import { ProductionOrderDetailScreen } from './components/production/ProductionOrderDetailScreen.js';
import { StockListScreen } from './components/inventory/StockListScreen.js';
import { StockDetailScreen } from './components/inventory/StockDetailScreen.js';
import { StockCreateScreen } from './components/inventory/StockCreateScreen.js';
@ -124,6 +129,9 @@ function ScreenRouter() {
{current === 'stock-detail' && <StockDetailScreen />}
{current === 'stock-create' && <StockCreateScreen />}
{current === 'stock-reserve' && <ReserveStockScreen />}
{current === 'stock-movement-list' && <StockMovementListScreen />}
{current === 'stock-movement-detail' && <StockMovementDetailScreen />}
{current === 'stock-movement-record' && <StockMovementRecordScreen />}
{/* Produktion */}
{current === 'production-menu' && <ProductionMenu />}
{current === 'recipe-list' && <RecipeListScreen />}
@ -136,7 +144,9 @@ function ScreenRouter() {
{current === 'batch-plan' && <BatchPlanScreen />}
{current === 'batch-record-consumption' && <RecordConsumptionScreen />}
{current === 'batch-complete' && <CompleteBatchScreen />}
{current === 'production-order-list' && <ProductionOrderListScreen />}
{current === 'production-order-create' && <ProductionOrderCreateScreen />}
{current === 'production-order-detail' && <ProductionOrderDetailScreen />}
</MainLayout>
);
}