fix(account): 출금 계좌 종류 뱃지에서 대출 제외
Deploy / deploy (push) Successful in 36s

대출은 지출·이체의 출처가 아니라 상환 대상 → 계좌 종류(출금) 선택지에서 대출 숨김.
이체 입금 종류·상환 대상(대출/카드)은 그대로 유지.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-06 22:51:46 +09:00
parent cdf94b75cb
commit e2d9b8ea37
+3 -1
View File
@@ -345,6 +345,8 @@ const WALLET_KINDS = [
{ value: 'MINUS', label: '마이너스' },
{ value: 'INVEST', label: '증권' },
]
// 출금/결제 계좌 종류 뱃지에서는 대출 제외 — 대출은 지출·이체의 '출처'가 아니라 상환 대상
const FROM_WALLET_KINDS = WALLET_KINDS.filter((k) => k.value !== 'LOAN')
const TYPES = [
{ value: 'EXPENSE', label: '지출', cls: 'chip-expense' },
{ value: 'INCOME', label: '수입', cls: 'chip-income' },
@@ -1131,7 +1133,7 @@ onMounted(async () => {
<div class="field">
<span class="field-label">계좌 종류</span>
<div class="wallet-chips">
<button v-for="k in WALLET_KINDS" :key="k.value" type="button"
<button v-for="k in FROM_WALLET_KINDS" :key="k.value" type="button"
class="chip" :class="{ active: form.walletKind === k.value }"
:disabled="submitting" @click="form.walletKind = k.value; onWalletKindChange()">
{{ k.label }}