Jelajahi Sumber

准入申请

shihang 6 tahun lalu
induk
melakukan
3c1c7586f5

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/basisinfo.vue

@@ -325,7 +325,7 @@
         </el-col>
         <el-col :span="16">
           <el-form-item label="营业范围">
-            <el-input v-model="formData.QualitySystemCert" maxlength="200" placeholder="请输入" type="textarea"
+            <el-input v-model="formData.BusinessScope" maxlength="200" placeholder="请输入" type="textarea"
                       style="width: 100%"></el-input>
           </el-form-item>
         </el-col>

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/goodsinfo.vue

@@ -361,7 +361,7 @@
         </el-col>
         <el-col :span="16">
           <el-form-item label="营业范围">
-            <el-input v-model="formData.QualitySystemCert" maxlength="200" placeholder="请输入" type="textarea"
+            <el-input v-model="formData.BusinessScope" maxlength="200" placeholder="请输入" type="textarea"
                       style="width: 100%"></el-input>
           </el-form-item>
         </el-col>

+ 60 - 45
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -11,11 +11,12 @@
           <i class="icon icon-table2"></i> 信息
         </span>
         <span style="float: right;">
-          <el-button type="primary" plain size="mini">年审申请</el-button>
+          <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">年审申请</el-button>
           <!--v-if="formData.Step>=5"-->
-          <el-button type="primary" plain size="mini">增项申请</el-button>
+          <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">增项申请</el-button>
           <router-link :to="'/oilsupplier/supplier/techlist'">
-            <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回</el-button>
+            <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回
+            </el-button>
           </router-link>
         </span>
       </div>
@@ -34,10 +35,13 @@
             <div slot="header" class="clearfix">
               <span>供方基本信息表</span>
               <span style="float: right;">
-                <el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
+                <el-button type="primary" size="mini" @click="saveEntity" v-if="formDataCert.Status == 0">保存基本信息
+                </el-button>
               </span>
             </div>
-            <basis-info ref="BasisInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser" :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany"></basis-info>
+            <basis-info ref="BasisInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
+              :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
+            </basis-info>
           </el-card>
         </el-tab-pane>
 
@@ -46,7 +50,8 @@
             <div slot="header" class="clearfix">
               <span>企业人员结构情况</span>
               <span style="float: right;">
-                <el-button type="primary" size="mini" @click="updateNumberEntity">保存人员结构情况</el-button>
+                <el-button type="primary" size="mini" @click="updateNumberEntity" v-if="formDataCert.Status == 0">
+                  保存人员结构情况</el-button>
               </span>
             </div>
 
@@ -55,70 +60,70 @@
                 <el-col :span="8">
                   <el-form-item label="企业员工总数">
                     <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="合同化用工数量">
                     <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="大学及以上学历人员数量">
                     <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="技术、管理人员数量">
                     <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="高级及以上职称人员数量">
                     <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="中级职称人员数量">
                     <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="具有国家注册执业资格人员数量">
                     <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="具有国家注册执业资格证书总数">
                     <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="设计人员总数">
                     <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="技术工人总数">
                     <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
               </el-row>
@@ -128,19 +133,21 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>企业主要装备情况</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
-                            style="margin-top: 20px"></equipment-list>
+            <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年主要工程业绩</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
-                              style="margin-top: 20px"></performance-list>
+            <performance-list ref="performanceList" :data.sync="performanceList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></performance-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
@@ -148,42 +155,44 @@
               <span>拥有专利、专有技术及工法</span>
               <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
             </div>
-            <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
-                         style="margin-top: 20px">
+            <patent-list ref="patentList" :data.sync="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
+              :canadd="add_flat" height="360px" style="margin-top: 20px">
             </patent-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
-                          style="margin-top: 20px">
+            <winning-list ref="winningList" :data.sync="winningList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px">
             </winning-list>
           </el-card>
         </el-tab-pane>
 
         <el-tab-pane label="企业资质" :disabled="!certId">
-          <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-                         :SupplierTypeCode="classId" @close="nexStepCB" height="360px" style="margin-top: 20px"></business-list>
+          <business-list ref="businessList" :data.sync="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
+            :SupplierTypeCode="classId" :canadd="add_flat" @close="AuditEntity" height="360px" style="margin-top: 20px">
+          </business-list>
         </el-tab-pane>
 
-        <el-tab-pane label="审批流程">
+        <el-tab-pane label="审批流程" v-if="formDataCert.Status > 0">
           <el-card class="box-card" style="height: 800px">
             <div slot="header" class="clearfix">
               <span>审批流程</span>
-              <span style="float: right;">
+              <!-- <span style="float: right;">
                 <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading"
-                           @click="AuditEntity">提交审批
+                  @click="AuditEntity">提交审批
                 </el-button>
-              </span>
+              </span> -->
             </div>
             <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
           </el-card>
         </el-tab-pane>
 
-        <el-tab-pane label="供方缴费">
+        <el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
         </el-tab-pane>
       </el-tabs>
     </el-card>
@@ -228,7 +237,7 @@
     },
     name: 'oilsupplierEdit',
 
-    data () {
+    data() {
       return {
         canUpdateSupplier: true,
         dictData: null,
@@ -276,6 +285,7 @@
           TechServiceLic: '',
           TJInNotify: '',
           SpecIndustryCert: '',
+          BusinessScope: '',
           LegalPerson: '',
           CategoryCode: '',
           CategoryName: '',
@@ -336,6 +346,7 @@
           Status: 0,
           WorkflowId: ''
         },
+        add_flat: true,
         entrydetail: {
           process: 'oil_supplier_apply',
           business: '',
@@ -343,7 +354,7 @@
         },
       }
     },
-    created () {
+    created() {
       this.serviceId = this.$route.params.opera + ''
       if (this.$route.query.certid) {
         this.certId = this.$route.query.certid + ''
@@ -357,8 +368,8 @@
       this.initDatas()
     },
     methods: {
-      inputCompany (val) {
-        if (!this.certId) {//已经关联到子表了,就不能再切换主表ID了
+      inputCompany(val) {
+        if (!this.certId) { //已经关联到子表了,就不能再切换主表ID了
           api.getEntityByName(val, this.$axios).then(res => {
             if (res.data && res.data.Id) {
               this.SetFormData(res.data)
@@ -368,12 +379,12 @@
           })
         }
       },
-      changeFormData (fdata) {
+      changeFormData(fdata) {
         if (!this.certId) { //已经关联到子表了,就不能再切换主表ID了
           this.SetFormData(fdata)
         }
       },
-      SetFormData (fdata) {
+      SetFormData(fdata) {
         this.isCanUpdateSupplier(fdata.Id)
         this.formData.Id = fdata.Id
         this.formData.SupplierName = fdata.SupplierName
@@ -435,7 +446,7 @@
         }
       },
 
-      isCanUpdateSupplier (supplierId) {
+      isCanUpdateSupplier(supplierId) {
         api.isCanUpdateSupplier(supplierId, this.$axios).then(res => {
           this.canUpdateSupplier = (res.data.code === 0)
         }).catch(err => {
@@ -455,7 +466,7 @@
         this.$refs["winningList"].showDialog()
       },
 
-      initDatas () {
+      initDatas() {
         this.isCanUpdateSupplier(this.formData.Id)
         if (this.formData.Id) {
           api.getEntityAndCert(this.certId, this.$axios).then(res => {
@@ -490,14 +501,18 @@
             if (this.certId && this.formDataCert.WorkflowId) {
               this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
             }
-
+            this.$refs["equipmentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["performanceList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["patentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["winningList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["businessList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
           }).catch(err => {
             console.error(err)
           });
         }
       },
 
-      getDictOptions () {
+      getDictOptions() {
         api.getDictList(this.$axios).then(res => {
           this.dictData = res.data.items
           /*this.UnitRelationOptions = res.data.items['UnitRelation']
@@ -515,7 +530,7 @@
        },*/
 
       //保存信息
-      saveEntity () {
+      saveEntity() {
         this.$refs['BasisInfo'].$refs['EntityForm'].validate((valid) => {
           if (valid) {
             if (!this.formData.SetupTime) {

+ 61 - 49
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -11,11 +11,12 @@
           <i class="icon icon-table2"></i> 信息
         </span>
         <span style="float: right;">
-          <el-button type="primary" plain size="mini">年审申请</el-button>
+          <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">年审申请</el-button>
           <!--v-if="formData.Step>=5"-->
-          <el-button type="primary" plain size="mini">增项申请</el-button>
+          <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">增项申请</el-button>
           <router-link :to="'/oilsupplier/supplier/techlist'">
-            <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回</el-button>
+            <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回
+            </el-button>
           </router-link>
         </span>
       </div>
@@ -34,10 +35,13 @@
             <div slot="header" class="clearfix">
               <span>供方基本信息表</span>
               <span style="float: right;">
-                <el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
+                <el-button type="primary" size="mini" @click="saveEntity" v-if="formDataCert.Status == 0">保存基本信息
+                </el-button>
               </span>
             </div>
-            <goods-info ref="GoodsInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser" :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany"></goods-info>
+            <goods-info ref="GoodsInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
+              :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
+            </goods-info>
           </el-card>
         </el-tab-pane>
 
@@ -46,7 +50,8 @@
             <div slot="header" class="clearfix">
               <span>企业人员结构情况</span>
               <span style="float: right;">
-                <el-button type="primary" size="mini" @click="updateNumberEntity">保存人员结构情况</el-button>
+                <el-button type="primary" size="mini" @click="updateNumberEntity" v-if="formDataCert.Status == 0">
+                  保存人员结构情况</el-button>
               </span>
             </div>
 
@@ -55,70 +60,70 @@
                 <el-col :span="8">
                   <el-form-item label="企业员工总数">
                     <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="合同化用工数量">
                     <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="大学及以上学历人员数量">
                     <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="技术、管理人员数量">
                     <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="高级及以上职称人员数量">
                     <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="中级职称人员数量">
                     <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="具有国家注册执业资格人员数量">
                     <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="具有国家注册执业资格证书总数">
                     <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="设计人员总数">
                     <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
 
                 <el-col :span="8">
                   <el-form-item label="技术工人总数">
                     <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
-                                     style="width: 100%"></el-input-number>
+                      style="width: 100%"></el-input-number>
                   </el-form-item>
                 </el-col>
               </el-row>
@@ -128,62 +133,67 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>企业主要装备情况</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
-                            style="margin-top: 20px"></equipment-list>
+            <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年主要工程业绩</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
-                              style="margin-top: 20px"></performance-list>
+            <performance-list ref="performanceList" :data.sync="performanceList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" style="margin-top: 20px"></performance-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>拥有专利、专有技术及工法</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
-                         style="margin-top: 20px">
+            <patent-list ref="patentList" :data.sync="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
+              :canadd="add_flat" height="360px" style="margin-top: 20px">
             </patent-list>
           </el-card>
 
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
+                v-if="formDataCert.Status == 0">添加</el-button>
             </div>
-            <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
-                          style="margin-top: 20px">
+            <winning-list ref="winningList" :data.sync="winningList" :SupplierCertId="certId"
+              :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px">
             </winning-list>
           </el-card>
         </el-tab-pane>
 
         <el-tab-pane label="企业资质" :disabled="!certId">
-          <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-                         :SupplierTypeCode="classId" @close="nexStepCB" height="360px" style="margin-top: 20px"></business-list>
+          <business-list ref="businessList" :data.sync="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
+            :SupplierTypeCode="classId" :canadd="add_flat" @close="AuditEntity" height="360px" style="margin-top: 20px">
+          </business-list>
         </el-tab-pane>
 
-        <el-tab-pane label="审批流程">
+        <el-tab-pane label="审批流程" v-if="formDataCert.Status > 0">
           <el-card class="box-card" style="height: 800px">
             <div slot="header" class="clearfix">
               <span>审批流程</span>
-              <span style="float: right;">
+              <!-- <span style="float: right;">
                 <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading"
-                           @click="AuditEntity">提交审批
+                  @click="AuditEntity">提交审批
                 </el-button>
-              </span>
+              </span> -->
             </div>
             <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
           </el-card>
         </el-tab-pane>
 
-        <el-tab-pane label="供方缴费">
+        <el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
         </el-tab-pane>
       </el-tabs>
     </el-card>
@@ -228,7 +238,7 @@
     },
     name: 'goodsEdit',
 
-    data () {
+    data() {
       return {
         canUpdateSupplier: true,
         dictData: null,
@@ -276,6 +286,7 @@
           TechServiceLic: '',
           TJInNotify: '',
           SpecIndustryCert: '',
+          BusinessScope: '',
           LegalPerson: '',
           CategoryCode: '',
           CategoryName: '',
@@ -336,6 +347,7 @@
           Status: 0,
           WorkflowId: ''
         },
+        add_flat: true,
         entrydetail: {
           process: 'oil_supplier_apply',
           business: '',
@@ -343,7 +355,7 @@
         },
       }
     },
-    created () {
+    created() {
       this.serviceId = this.$route.params.opera + ''
       if (this.$route.query.certid) {
         this.certId = this.$route.query.certid + ''
@@ -357,7 +369,7 @@
       this.initDatas()
     },
     methods: {
-      inputCompany (val) {
+      inputCompany(val) {
         if (!this.certId) {
           api.getEntityByName(val, this.$axios).then(res => {
             if (res.data && res.data.Id) {
@@ -368,12 +380,12 @@
           })
         }
       },
-      changeFormData (fdata) {
+      changeFormData(fdata) {
         if (!this.certId) {
           this.SetFormData(fdata)
         }
       },
-      SetFormData (fdata) {
+      SetFormData(fdata) {
         this.isCanUpdateSupplier(fdata.Id)
         this.formData.Id = fdata.Id
         this.formData.SupplierName = fdata.SupplierName
@@ -435,7 +447,7 @@
         }
       },
 
-      isCanUpdateSupplier (supplierId) {
+      isCanUpdateSupplier(supplierId) {
         api.isCanUpdateSupplier(supplierId, this.$axios).then(res => {
           this.canUpdateSupplier = (res.data.code === 0)
         }).catch(err => {
@@ -455,7 +467,7 @@
         this.$refs["winningList"].showDialog()
       },
 
-      initDatas () {
+      initDatas() {
         this.isCanUpdateSupplier(this.formData.Id)
         if (this.formData.Id) {
           api.getEntityAndCert(this.certId, this.$axios).then(res => {
@@ -490,14 +502,18 @@
             if (this.certId && this.formDataCert.WorkflowId) {
               this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
             }
-
+            this.$refs["equipmentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["performanceList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["patentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["winningList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs["businessList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
           }).catch(err => {
             console.error(err)
           });
         }
       },
 
-      getDictOptions () {
+      getDictOptions() {
         api.getDictList(this.$axios).then(res => {
           this.dictData = res.data.items
           /*this.UnitRelationOptions = res.data.items['UnitRelation']
@@ -515,7 +531,7 @@
        },*/
 
       //保存信息
-      saveEntity () {
+      saveEntity() {
         this.$refs['GoodsInfo'].$refs['EntityForm'].validate((valid) => {
           if (valid) {
             if (!this.formData.SetupTime) {
@@ -651,10 +667,6 @@
         });
       },
 
-      nexStepCB() {
-        this.formData.Step += 1
-      },
-
       jstimehandle(val) {
         if (val === '') {
           return '----'