lining il y a 6 ans
Parent
commit
6a7bd44ad1

+ 7 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/bassicoperation.vue

@@ -394,7 +394,7 @@
             </el-col>-->
             <el-col :span="8">
               <el-form-item label="进津备案通知书">
-                <el-input v-model="formData.TjinNotify"  :readonly="this.formData.Status > '0'" placeholder="请输入" 
+                <el-input v-model="formData.TjinNotify"  :readonly="this.formData.Status > '0'" placeholder="请输入"
                   :class="changedForm['TjinNotify'] ? 'modified-form-input' : ''" style="width: 100%"></el-input>
               </el-form-item>
             </el-col>
@@ -599,7 +599,7 @@
         </el-tab-pane>
 
         <el-tab-pane label="企业资质" :disabled="!certId">
-          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="false" height="360px" style="margin-top: 20px"></subfile-list>
+          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="canadd" height="360px" style="margin-top: 20px"></subfile-list>
         </el-tab-pane>
 
         <el-tab-pane label="提交审批">
@@ -880,6 +880,7 @@ import apiCert from '@/api/oilsupplier/suppliercert'
         }
       }
       return {
+        canadd: false,
         InfoData: [],
         CurrencyOptions: [],
         CompanyTypeOptions: [],
@@ -1352,6 +1353,9 @@ import apiCert from '@/api/oilsupplier/suppliercert'
             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)
@@ -2123,4 +2127,4 @@ import apiCert from '@/api/oilsupplier/suppliercert'
       background-color: wheat;
     }
   }
-</style>
+</style>

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

@@ -509,7 +509,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>
 
@@ -790,6 +790,7 @@
         }
       }
       return {
+        canadd: false,
         AccessCardNo: '',
         InStyle: '',
         InfoData: [],
@@ -1284,6 +1285,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)