mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
support modifying amount and description when importing transactions
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<v-text-field type="text" class="text-field-with-colored-label" :class="extraClass"
|
||||
:color="color" :base-color="color"
|
||||
:density="density" :readonly="!!readonly" :disabled="!!disabled"
|
||||
:density="density" :variant="variant"
|
||||
:readonly="!!readonly" :disabled="!!disabled"
|
||||
:label="label" :placeholder="placeholder"
|
||||
:persistent-placeholder="!!persistentPlaceholder"
|
||||
:rules="enableRules ? rules : []" v-model="currentValue" v-if="!hide && !formulaMode"
|
||||
@@ -80,7 +81,7 @@ import { DEFAULT_DECIMAL_NUMBER_COUNT } from '@/consts/numeral.ts';
|
||||
import { TRANSACTION_MIN_AMOUNT, TRANSACTION_MAX_AMOUNT } from '@/consts/transaction.ts';
|
||||
import { isNumber, replaceAll } from '@/lib/common.ts';
|
||||
import { evaluateExpressionToAmount } from '@/lib/evaluator.ts';
|
||||
import type { ComponentDensity } from '@/lib/ui/desktop.ts';
|
||||
import type { ComponentDensity, InputVariant } from '@/lib/ui/desktop.ts';
|
||||
import logger from '@/lib/logger.ts';
|
||||
|
||||
import {
|
||||
@@ -95,6 +96,7 @@ interface DesktopAmountInputProps extends CommonNumberInputProps {
|
||||
class?: string;
|
||||
color?: string;
|
||||
density?: ComponentDensity;
|
||||
variant?: InputVariant;
|
||||
currency: string;
|
||||
showCurrency?: boolean;
|
||||
persistentPlaceholder?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user