mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
not need balance time field in parent account
This commit is contained in:
@@ -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