Fixed: Account Push

This commit is contained in:
zhaojisen
2025-03-10 19:11:18 +08:00
committed by ZhaoJiSen
parent 49cea9616a
commit 239abdc9b0
2 changed files with 5 additions and 11 deletions

View File

@@ -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) => {

View File

@@ -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)
}
},
{