From 2c7193efeae7524c481acc1e2ff422086bdeec6f Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 21 Aug 2023 23:35:59 +0800 Subject: [PATCH] don't allow show the transaction detail when the transaction type is modify balance --- src/views/desktop/transactions/ListPage.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/desktop/transactions/ListPage.vue b/src/views/desktop/transactions/ListPage.vue index 8e1b970d..f87e4725 100644 --- a/src/views/desktop/transactions/ListPage.vue +++ b/src/views/desktop/transactions/ListPage.vue @@ -254,7 +254,8 @@ -
@@ -849,6 +850,10 @@ export default { show(transaction) { const self = this; + if (transaction.type === self.allTransactionTypes.ModifyBalance) { + return; + } + self.$refs.editDialog.open({ id: transaction.id, currentTransaction: transaction