feat(WEB): 입력 컴포넌트 공통화 및 UI 개선
- 숫자/통화/전화번호/사업자번호 등 특수 입력 컴포넌트 추가 - MobileCard 컴포넌트 통합 (ListMobileCard 제거) - IntegratedListTemplateV2 페이지네이션 버그 수정 (NaN 이슈) - IntegratedDetailTemplate 타이틀 중복 수정 - 문서 시스템 컴포넌트 추가 - 헤더 벨 아이콘 포커스 스타일 개선 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,7 +59,7 @@ import {
|
||||
type RowClickHandlers,
|
||||
type StatCard,
|
||||
} from '@/components/templates/UniversalListPage';
|
||||
import { ListMobileCard, InfoField } from '@/components/organisms/ListMobileCard';
|
||||
import { ListMobileCard, InfoField } from '@/components/organisms/MobileCard';
|
||||
import type {
|
||||
ExpectedExpenseRecord,
|
||||
TransactionType,
|
||||
@@ -85,6 +85,7 @@ import {
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import { CurrencyInput } from '@/components/ui/currency-input';
|
||||
import {
|
||||
TRANSACTION_TYPE_FILTER_OPTIONS,
|
||||
PAYMENT_STATUS_FILTER_OPTIONS,
|
||||
@@ -1220,10 +1221,9 @@ export function ExpectedExpenseManagement({
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label>지출금액 *</Label>
|
||||
<Input
|
||||
type="number"
|
||||
value={formData.amount || ''}
|
||||
onChange={(e) => setFormData(prev => ({ ...prev, amount: Number(e.target.value) }))}
|
||||
<CurrencyInput
|
||||
value={formData.amount}
|
||||
onChange={(value) => setFormData(prev => ({ ...prev, amount: value ?? 0 }))}
|
||||
placeholder="금액 입력"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user