fix: [build] 타입 오류 수정 (cancelledCount, lot_no)

- order-management-sales: revertProduction 결과 구조분해로 타입 추론 수정
- WorkerScreen/actions: lot_no 접근 타입 캐스트 추가
This commit is contained in:
2026-03-14 08:28:11 +09:00
parent b87b94860b
commit 156a50fd73
2 changed files with 6 additions and 6 deletions

View File

@@ -244,7 +244,7 @@ export async function completeWorkOrder(
});
if (!result.success) return { success: false, error: result.error };
// 백엔드에서 생성한 실제 LOT 번호 사용
const lotNo = result.data?.lot_no || null;
const lotNo = (result.data as { lot_no?: string })?.lot_no;
return { success: true, lotNo };
}