29 lines
871 B
TypeScript
29 lines
871 B
TypeScript
|
|
import { Package } from 'lucide-react';
|
||
|
|
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 입고관리 상세 페이지 Config
|
||
|
|
*
|
||
|
|
* 참고: 이 config는 타이틀/버튼 영역만 정의
|
||
|
|
* 폼 내용은 renderView에서 처리
|
||
|
|
*
|
||
|
|
* 특이사항:
|
||
|
|
* - view 모드만 지원 (edit 없음)
|
||
|
|
* - 상태별 동적 버튼 (입고증, 검사등록, 입고처리)
|
||
|
|
* - 다이얼로그: 입고증, 입고처리, 성공
|
||
|
|
*/
|
||
|
|
export const receivingConfig: DetailConfig = {
|
||
|
|
title: '입고 상세',
|
||
|
|
description: '입고 정보를 조회합니다',
|
||
|
|
icon: Package,
|
||
|
|
basePath: '/material/receiving-management',
|
||
|
|
fields: [], // renderView 사용으로 필드 정의 불필요
|
||
|
|
gridColumns: 3,
|
||
|
|
actions: {
|
||
|
|
showBack: true,
|
||
|
|
showDelete: false,
|
||
|
|
showEdit: false, // 수정 기능 없음
|
||
|
|
backLabel: '목록',
|
||
|
|
},
|
||
|
|
};
|