refactor(WEB): 폼 템플릿 통합 및 미사용 컴포넌트 정리
- ResponsiveFormTemplate → IntegratedDetailTemplate 마이그레이션 - ClientRegistration, OrderRegistration, QuoteRegistration 완료 - QuoteRegistrationV2 미사용 import 정리 - 미사용 컴포넌트 삭제 - ListPageTemplate.tsx - ResponsiveFormTemplate.tsx - common/DataTable 폴더 전체 (SearchFilter 누락 export 에러 해결) - Config 파일 추가 - clientConfig.ts, orderConfig.ts - quoteConfig.ts에 edit 모드 config 추가 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
38
src/components/orders/orderConfig.ts
Normal file
38
src/components/orders/orderConfig.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
'use client';
|
||||
|
||||
import { FileText } from 'lucide-react';
|
||||
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
|
||||
|
||||
/**
|
||||
* 수주 등록 페이지 Config
|
||||
*/
|
||||
export const orderCreateConfig: DetailConfig = {
|
||||
title: '수주 등록',
|
||||
description: '견적을 수주로 전환하거나 새 수주를 등록합니다',
|
||||
icon: FileText,
|
||||
basePath: '/sales/order-management',
|
||||
fields: [],
|
||||
actions: {
|
||||
showBack: true,
|
||||
showSave: true,
|
||||
submitLabel: '저장',
|
||||
backLabel: '취소',
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* 수주 수정 페이지 Config
|
||||
*/
|
||||
export const orderEditConfig: DetailConfig = {
|
||||
title: '수주 수정',
|
||||
description: '수주 정보를 수정합니다',
|
||||
icon: FileText,
|
||||
basePath: '/sales/order-management',
|
||||
fields: [],
|
||||
actions: {
|
||||
showBack: true,
|
||||
showSave: true,
|
||||
submitLabel: '저장',
|
||||
backLabel: '취소',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user