mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 07:27:33 +08:00
sub account cannot set statement date
This commit is contained in:
@@ -285,7 +285,6 @@ export const useAccountsStore = defineStore('accounts', {
|
||||
balance: 0,
|
||||
balanceTime: now,
|
||||
comment: '',
|
||||
creditCardStatementDate: parentAccount.creditCardStatementDate,
|
||||
visible: true
|
||||
};
|
||||
},
|
||||
@@ -762,10 +761,6 @@ export const useAccountsStore = defineStore('accounts', {
|
||||
comment: subAccount.comment
|
||||
};
|
||||
|
||||
if (account.category === accountConstants.creditCardCategoryType) {
|
||||
submitAccount.creditCardStatementDate = subAccount.creditCardStatementDate;
|
||||
}
|
||||
|
||||
if (isEdit) {
|
||||
submitAccount.id = subAccount.id;
|
||||
submitAccount.hidden = !subAccount.visible;
|
||||
|
||||
Reference in New Issue
Block a user