Files
sam-react-prod/src/components/orders/orderSalesConfig.ts

33 lines
1.2 KiB
TypeScript
Raw Normal View History

import { FileText } from 'lucide-react';
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
/**
* Config
*
* 참고: config는 /
* OrderSalesDetailView/Edit의 renderView/renderForm에서
* ( , , / )
*
* :
* - view/edit
* - (, , )
* - 모달: 계약서, ,
*/
export const orderSalesConfig: DetailConfig = {
title: '수주 상세',
description: '수주 정보를 조회하고 관리합니다',
icon: FileText,
basePath: '/sales/order-management-sales',
fields: [], // renderView/renderForm 사용으로 필드 정의 불필요
gridColumns: 2,
actions: {
showBack: true,
showDelete: false, // 삭제 대신 취소 기능 사용
showEdit: false, // headerActions에서 상태별로 동적 관리
backLabel: '목록',
editLabel: '수정',
submitLabel: '저장',
cancelLabel: '취소',
},
};