30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
|
|
import { FileText } from 'lucide-react';
|
||
|
|
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 견적관리 상세 페이지 Config (V2 테스트)
|
||
|
|
*
|
||
|
|
* 참고: 이 config는 타이틀/뱃지 영역만 정의
|
||
|
|
* 폼 내용은 QuoteRegistrationV2의 renderContent에서 처리
|
||
|
|
* (자동 견적 산출, QuoteFooterBar 등 특수 기능 유지)
|
||
|
|
*
|
||
|
|
* 특이사항:
|
||
|
|
* - view/edit/create 모드 지원
|
||
|
|
* - 기본 버튼(수정/삭제/목록) 숨김 - QuoteFooterBar에서 처리
|
||
|
|
* - 타이틀 영역만 IntegratedDetailTemplate이 담당
|
||
|
|
*/
|
||
|
|
export const quoteConfig: DetailConfig = {
|
||
|
|
title: '견적',
|
||
|
|
description: '견적 정보를 조회하고 관리합니다',
|
||
|
|
icon: FileText,
|
||
|
|
basePath: '/sales/quote-management',
|
||
|
|
fields: [], // renderView/renderForm 사용으로 필드 정의 불필요
|
||
|
|
gridColumns: 2,
|
||
|
|
actions: {
|
||
|
|
showBack: true,
|
||
|
|
showDelete: false, // QuoteFooterBar에서 처리
|
||
|
|
showEdit: false, // QuoteFooterBar에서 처리
|
||
|
|
backLabel: '목록',
|
||
|
|
},
|
||
|
|
};
|