From dfab34be7b7456714b57b96e49c95725c3815da5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 28 Sep 2021 16:56:08 +0800
Subject: [PATCH] 权限

---
 src/views/securityUnit/localCompany.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/securityUnit/localCompany.vue b/src/views/securityUnit/localCompany.vue
index 2e8c84a..e521465 100644
--- a/src/views/securityUnit/localCompany.vue
+++ b/src/views/securityUnit/localCompany.vue
@@ -505,8 +505,12 @@
       }
       console.log(d);
       for (var k in d) {
-        if (d[k] == "" || d[k] == undefined) {
-          console.log(k);
+        if (d[k].prop == "capital") {
+          continue;
+        }
+        let iisit0 = d[k] == "" || d[k] == undefined;
+        if (iisit0) {
+          console.log(d[k]);
           this.$message.warning("请检查表单是否填写完整!");
           return;
         }
@@ -631,7 +635,7 @@
     haveID() {
       // console.log(this.haveID);
       if (this.haveID != undefined) {
-        if (this.haveID.length > 5) {
+        if (this.haveID.length > 0) {
           //统一社会信用代码判断
           this.noshehuibianma = 1;
         } else {

--
Gitblit v1.9.3