feat(WEB): 수주관리 Phase 2 타입 정의 확장 및 공정관리 개별 품목 표시 수정
- Order, OrderItem 인터페이스에 상세 페이지용 필드 추가 - OrderFormData, OrderItemFormData에 수정 페이지용 필드 추가 - 변환 함수에서 새 필드 매핑 처리 - 공정관리 개별 품목을 ID 대신 품목명으로 표시
This commit is contained in:
@@ -17,6 +17,13 @@ export type RuleType = '품목코드' | '품목명' | '품목구분';
|
||||
// 매칭 방식
|
||||
export type MatchingType = 'startsWith' | 'endsWith' | 'contains' | 'equals';
|
||||
|
||||
// 개별 품목 정보
|
||||
export interface IndividualItem {
|
||||
id: string;
|
||||
code: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
// 자동 분류 규칙
|
||||
export interface ClassificationRule {
|
||||
id: string;
|
||||
@@ -28,6 +35,7 @@ export interface ClassificationRule {
|
||||
description?: string;
|
||||
isActive: boolean;
|
||||
createdAt: string;
|
||||
items?: IndividualItem[]; // 개별 품목인 경우 품목 정보
|
||||
}
|
||||
|
||||
// 자동 분류 규칙 입력용 (id, createdAt 제외)
|
||||
|
||||
Reference in New Issue
Block a user