feat: 입고/자재현황/분석리포트 컨트롤러 및 프론트엔드 개선

- receivingController: 헤더-디테일 JOIN 구조로 변경, 검색/조회 로직 개선
- materialStatusController: work_instruction 테이블 기반으로 쿼리 수정
- analyticsReportController: 구매 리포트 company_code 필터링 로직 개선
- material-status 페이지: COMPANY_29/COMPANY_7 프론트엔드 업데이트

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kmh
2026-03-30 17:01:26 +09:00
parent f980bffed4
commit 4e4088eb71
6 changed files with 450 additions and 160 deletions

View File

@@ -5,7 +5,7 @@
import { apiClient } from "./client";
export interface WorkOrder {
id: number;
id: string;
plan_no: string;
item_code: string;
item_name: string;
@@ -69,7 +69,7 @@ export async function getWorkOrders(params: {
}
export async function getMaterialStatus(params: {
planIds: number[];
planIds: string[];
warehouseCode?: string;
}): Promise<ApiResponse<MaterialData[]>> {
try {