fix: [material] 입고관리 코드 정리 + 단가목록 동기화버튼 주석처리

- 입고 상세/처리 다이얼로그 코드 간소화
- 단가 목록 품목마스터 동기화 버튼 주석처리 (미구현)
- 테넌트 모듈 분리 분석/계획 문서 추가
This commit is contained in:
유병철
2026-03-17 20:51:58 +09:00
parent 37f0e57b16
commit 1151fb0bf7
6 changed files with 2275 additions and 57 deletions

View File

@@ -13,7 +13,6 @@ import {
Package,
AlertCircle,
CheckCircle2,
RefreshCw,
} from 'lucide-react';
import { Button } from '@/components/ui/button';
import { Badge } from '@/components/ui/badge';
@@ -326,18 +325,19 @@ export function PricingListClient({
};
// 헤더 액션 (함수로 정의)
const headerActions = () => (
<Button
variant="outline"
onClick={() => {
// TODO: API 연동 시 품목 마스터 동기화 로직 구현
}}
className="ml-auto gap-2"
>
<RefreshCw className="h-4 w-4" />
</Button>
);
// NOTE: 품목 마스터 동기화 버튼 - 실제 로직 미구현 상태로 주석처리
// const headerActions = () => (
// <Button
// variant="outline"
// onClick={() => {
// // TODO: API 연동 시 품목 마스터 동기화 로직 구현
// }}
// className="ml-auto gap-2"
// >
// <RefreshCw className="h-4 w-4" />
// 품목 마스터 동기화
// </Button>
// );
// UniversalListPage 설정
const pricingConfig: UniversalListConfig<PricingListItem> = {
@@ -356,7 +356,7 @@ export function PricingListClient({
},
columns: tableColumns,
headerActions,
// headerActions, // 품목 마스터 동기화 버튼 미구현으로 주석처리
stats,
tabs,