mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
not need balance time field in parent account
This commit is contained in:
@@ -1058,6 +1058,7 @@
|
||||
"destination account not found": "Destination account is not found",
|
||||
"account is in use and cannot be deleted": "Account is in use and it cannot be deleted",
|
||||
"account category is invalid": "Account category is invalid",
|
||||
"account balance time is not set": "Account balance time is not set",
|
||||
"transaction id is invalid": "Transaction ID is invalid",
|
||||
"transaction not found": "Transaction is not found",
|
||||
"transaction type is invalid": "Transaction type is invalid",
|
||||
|
||||
@@ -1058,6 +1058,7 @@
|
||||
"destination account not found": "目标账户不存在",
|
||||
"account is in use and cannot be deleted": "账户正在被使用,无法删除",
|
||||
"account category is invalid": "账户分类无效",
|
||||
"account balance time is not set": "账户余额时间没有设置",
|
||||
"transaction id is invalid": "交易ID无效",
|
||||
"transaction not found": "交易不存在",
|
||||
"transaction type is invalid": "交易类型无效",
|
||||
|
||||
@@ -791,7 +791,9 @@ export const useAccountsStore = defineStore('accounts', {
|
||||
submitAccount.id = account.id;
|
||||
submitAccount.hidden = !account.visible;
|
||||
} else {
|
||||
submitAccount.balanceTime = account.balanceTime;
|
||||
if (account.type === accountConstants.allAccountTypes.SingleAccount) {
|
||||
submitAccount.balanceTime = account.balanceTime;
|
||||
}
|
||||
}
|
||||
|
||||
const oldAccount = submitAccount.id ? self.allAccountsMap[submitAccount.id] : null;
|
||||
|
||||
Reference in New Issue
Block a user