feat(WEB): 입력 컴포넌트 공통화 및 UI 개선
- 숫자/통화/전화번호/사업자번호 등 특수 입력 컴포넌트 추가 - MobileCard 컴포넌트 통합 (ListMobileCard 제거) - IntegratedListTemplateV2 페이지네이션 버그 수정 (NaN 이슈) - IntegratedDetailTemplate 타이틀 중복 수정 - 문서 시스템 컴포넌트 추가 - 헤더 벨 아이콘 포커스 스타일 개선 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,8 @@ import { Building2, Plus, Save, Upload, X, Loader2 } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { BusinessNumberInput } from '@/components/ui/business-number-input';
|
||||
import { AccountNumberInput } from '@/components/ui/account-number-input';
|
||||
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
import {
|
||||
Select,
|
||||
@@ -456,10 +458,10 @@ export function CompanyInfoManagement() {
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="businessNumber">사업자등록번호</Label>
|
||||
<Input
|
||||
<BusinessNumberInput
|
||||
id="businessNumber"
|
||||
value={formData.businessNumber}
|
||||
onChange={(e) => handleChange('businessNumber', e.target.value)}
|
||||
onChange={(value) => handleChange('businessNumber', value)}
|
||||
placeholder="123-12-12345"
|
||||
disabled={!isEditMode}
|
||||
/>
|
||||
@@ -488,11 +490,11 @@ export function CompanyInfoManagement() {
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="paymentAccount">계좌</Label>
|
||||
<Input
|
||||
<AccountNumberInput
|
||||
id="paymentAccount"
|
||||
value={formData.paymentAccount}
|
||||
onChange={(e) => handleChange('paymentAccount', e.target.value)}
|
||||
placeholder="123-1231-23-123"
|
||||
onChange={(value) => handleChange('paymentAccount', value)}
|
||||
placeholder="0000-0000-0000-0000"
|
||||
disabled={!isEditMode}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user