From dd0838214cd86dcdec93c89687a7e6f457b58dc2 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 02 Jan 2023 11:24:24 +0800
Subject: [PATCH] 修改时间选择变为范围选择;新增发起事务前需完善企业信息

---
 src/views/enterprise/enterprise.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/enterprise/enterprise.vue b/src/views/enterprise/enterprise.vue
index 1ae37fe..23f6289 100644
--- a/src/views/enterprise/enterprise.vue
+++ b/src/views/enterprise/enterprise.vue
@@ -79,8 +79,8 @@
         return this.userInfo.role_name == 'admin' || this.userInfo.role_name == 'administrator' ? true:false
       }
     },
-    created() {
-      if (this.permit){
+    mounted() {
+      if (!this.permit){
         this.getEnterpriseDetailByUserId()
       }
     },
@@ -219,8 +219,8 @@
           if (res.data.code == 200){
             this.form = res.data.data
             this.form.account = this.userInfo.account
-            const group = this.findObject(this.option.group,"account");
-            group.disabled = true
+            const account = this.findObject(this.option.group,"account");
+            account.disabled = true
           }
         })
       }

--
Gitblit v1.9.3