amount input supports formula (#130)

This commit is contained in:
MaysWind
2025-05-04 22:50:50 +08:00
parent d036f66d4c
commit ab6f9839ef
13 changed files with 340 additions and 5 deletions
@@ -106,6 +106,7 @@
:hide="transaction.hideAmount"
:label="tt(sourceAmountName)"
:placeholder="tt(sourceAmountName)"
:enable-formula="mode !== TransactionEditPageMode.View"
v-model="transaction.sourceAmount"/>
</v-col>
<v-col cols="12" :md="6" v-if="transaction.type === TransactionType.Transfer">
@@ -118,6 +119,7 @@
:hide="transaction.hideAmount"
:label="transferInAmountTitle"
:placeholder="tt('Transfer In Amount')"
:enable-formula="mode !== TransactionEditPageMode.View"
v-model="transaction.destinationAmount"/>
</v-col>
<v-col cols="12" md="12" v-if="transaction.type === TransactionType.Expense">