From 239abdc9b06706e655274791df844e90c754da86 Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Mon, 10 Mar 2025 19:11:18 +0800 Subject: [PATCH] Fixed: Account Push --- src/components/Apps/AccountCreateUpdateForm/const.js | 5 ----- src/components/Apps/AccountListTable/AccountList.vue | 11 +++++------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/components/Apps/AccountCreateUpdateForm/const.js b/src/components/Apps/AccountCreateUpdateForm/const.js index cddd0c623..5e0fcaf31 100644 --- a/src/components/Apps/AccountCreateUpdateForm/const.js +++ b/src/components/Apps/AccountCreateUpdateForm/const.js @@ -121,11 +121,6 @@ export const accountFieldsMeta = (vm) => { el: { multiple: false, clearable: true, - disabled: { - get disabled() { - return vm.isDisabled - } - }, ajax: { url: `/api/v1/accounts/accounts/su-from-accounts/?account=${vm.account?.id || ''}&asset=${vm.asset?.id || ''}`, transformOption: (item) => { diff --git a/src/components/Apps/AccountListTable/AccountList.vue b/src/components/Apps/AccountListTable/AccountList.vue index 3f18b0271..877dcada8 100644 --- a/src/components/Apps/AccountListTable/AccountList.vue +++ b/src/components/Apps/AccountListTable/AccountList.vue @@ -298,13 +298,12 @@ export default { return vm.$hasPerm('accounts.add_account') && !this.$store.getters.currentOrgIsRoot }, callback: () => { - // await this.getAssetDetail() setTimeout(() => { - vm.iAsset = this.asset - vm.account = {} - vm.addTemplate = false - vm.showAddDialog = true - }) + // this.iAsset = {} + // this.account = {} + this.addTemplate = false + this.showAddDialog = true + }, 200) } }, {