mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
not set destination amount automatically when lack of exchange rates data
This commit is contained in:
@@ -649,6 +649,8 @@ export const useTransactionsStore = defineStore('transactions', {
|
|||||||
if (isNumber(exchangedNewValue)) {
|
if (isNumber(exchangedNewValue)) {
|
||||||
newValue = Math.floor(exchangedNewValue);
|
newValue = Math.floor(exchangedNewValue);
|
||||||
newValue = getAmountWithDecimalNumberCount(newValue, decimalNumberCount);
|
newValue = getAmountWithDecimalNumberCount(newValue, decimalNumberCount);
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user