lining 6 éve
szülő
commit
1168b7e835

+ 0 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -1431,7 +1431,6 @@
             this.entrydetail.business = this.formannData.Id
             this.entrydetail.instance = this.formannData.WorkflowId
             this.entrydetail.Status = this.formannData.Status
-            console.log(this.Status, 'this.Statusthis.Status')
             if (parseInt(this.Status) <= 0) {
               this.canadd = true
               this.newcanadd = true

+ 5 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -516,7 +516,7 @@
         </el-tab-pane>
 
         <el-tab-pane label="企业资质" :disabled="!certId">
-          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="false" height="360px"
+          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="canadd" height="360px"
             style="margin-top: 20px"></subfile-list>
         </el-tab-pane>
 
@@ -798,6 +798,7 @@
       }
 
       return {
+        canadd: false,
         AccessCardNo: '',
         InStyle: '',
         InfoData: [],
@@ -1269,6 +1270,9 @@
             this.entrydetail.business = this.formannData.Id
             this.entrydetail.instance = this.formannData.WorkflowId
             this.entrydetail.Status = this.formannData.Status
+            if (parseInt(this.Status) <= 0) {
+              this.canadd = true
+            }
           })
           .catch(err => {
             console.error(err)