- AccountPicker.vue: 종류(대분류) 클릭 시 해당 계좌(소분류) 펼침. CategoryPicker 형태 - 정기결제 폼 출금/입금 계좌: 종류칩+시트 → AccountPicker 단일 선택 - 내역 검색 필터 계좌, 상환 대상: AccountPicker 적용(필터는 '전체' 옵션) - 계좌 많아도 종류별로 접혀 스크롤 최소화 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import { appLock } from '@/composables/appLock'
|
||||
import IconBtn from '@/components/ui/IconBtn.vue'
|
||||
import CategoryPicker from '@/components/ui/CategoryPicker.vue'
|
||||
import SheetSelect from '@/components/ui/SheetSelect.vue'
|
||||
import AccountPicker from '@/components/ui/AccountPicker.vue'
|
||||
import BottomSheet from '@/components/ui/BottomSheet.vue'
|
||||
import { imageToBlob, parseReceiptText } from '@/utils/receiptOcr'
|
||||
import { cardNotif } from '@/native/cardNotif'
|
||||
@@ -1047,7 +1048,7 @@ onMounted(async () => {
|
||||
/>
|
||||
<div class="f-sel"><SheetSelect v-model="filters.type" :options="filterTypeOptions" title="구분" placeholder="구분 전체" /></div>
|
||||
<div class="f-sel"><SheetSelect v-model="filters.category" :options="filterCategoryOptions" title="분류" placeholder="분류 전체" /></div>
|
||||
<div class="f-sel"><SheetSelect v-model="filters.walletId" :options="filterWalletOptions" title="계좌" placeholder="계좌 전체" /></div>
|
||||
<div class="f-sel"><AccountPicker v-model="filters.walletId" :wallets="wallets" all-label="계좌 전체" title="계좌 선택" /></div>
|
||||
<div class="f-sel"><SheetSelect v-model="filters.tagId" :options="filterTagOptions" title="태그" placeholder="태그 전체" /></div>
|
||||
<IconBtn icon="search" title="적용" variant="primary" @click="applyFilters" />
|
||||
<IconBtn icon="refresh" title="초기화" @click="resetFilters" />
|
||||
@@ -1238,9 +1239,9 @@ onMounted(async () => {
|
||||
<template v-if="isRepayment">
|
||||
<div class="field">
|
||||
<span class="field-label">대상(대출/카드)</span>
|
||||
<SheetSelect
|
||||
<AccountPicker
|
||||
v-model="form.toWalletId"
|
||||
:options="repayTargetOptions"
|
||||
:wallets="liabilityWallets"
|
||||
:disabled="submitting"
|
||||
title="상환 대상 선택" placeholder="대출/카드를 선택하세요"
|
||||
empty-text="등록된 대출/카드가 없습니다"
|
||||
|
||||
Reference in New Issue
Block a user