|
|
@@ -145,7 +145,7 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="Status <= 0">添加
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId"
|
|
|
+ <equipment-list ref="equipmentList" :data="equipmentList" :canadd="add_flat" :SupplierCertId="certId"
|
|
|
:SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></equipment-list>
|
|
|
</el-card>
|
|
|
|
|
|
@@ -155,7 +155,7 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="Status <= 0">
|
|
|
添加</el-button>
|
|
|
</div>
|
|
|
- <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" :disabled="true"
|
|
|
+ <performance-list ref="performanceList" :data="performanceList" :canadd="add_flat" :SupplierCertId="certId" :disabled="true"
|
|
|
:SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></performance-list>
|
|
|
</el-card>
|
|
|
|
|
|
@@ -165,7 +165,7 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="Status <= 0">添加
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
+ <patent-list ref="patentList" :data="patentList" :canadd="add_flat" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
height="360px" style="margin-top: 20px">
|
|
|
</patent-list>
|
|
|
</el-card>
|
|
|
@@ -176,28 +176,18 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="Status <= 0">添加
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
+ <winning-list ref="winningList" :data="winningList" :canadd="add_flat" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
height="360px" style="margin-top: 20px">
|
|
|
</winning-list>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
- <!-- <el-tab-pane label="准入范围" :disabled="!certId">
|
|
|
- <business-list ref="businessList" :data.sync="businessList" :canadd="add_flat" height="360px"
|
|
|
- style="margin-top: 20px"></business-list>
|
|
|
- </el-tab-pane>
|
|
|
-
|
|
|
- <el-tab-pane label="企业资质">
|
|
|
- <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId+''"
|
|
|
- :SupplierTypeCode="classId" :Visiblebtn="'true'" height="360px" style="margin-top: 20px">
|
|
|
- </auditbus-list>
|
|
|
- </el-tab-pane> -->
|
|
|
<el-tab-pane label="准入范围" :disabled="!certId">
|
|
|
- <business-list ref="businessList" :data.sync="businessList" :canadd="add_flat" height="360px"
|
|
|
+ <business-list ref="businessList" :data.sync="businessList" :canadd="false" height="360px"
|
|
|
style="margin-top: 20px"></business-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
|
- <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" height="360px" style="margin-top: 20px"></subfile-list>
|
|
|
+ <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="false" height="360px" style="margin-top: 20px"></subfile-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="提交审批">
|
|
|
@@ -350,7 +340,7 @@
|
|
|
addshow: false,
|
|
|
canUpdateSupplier: true,
|
|
|
dictData: null,
|
|
|
- add_flat: false,
|
|
|
+ add_flat: true,
|
|
|
applyLoading: false,
|
|
|
equipmentList: [], //企业主要装备情况
|
|
|
performanceList: [], //近三年主要工程业绩
|
|
|
@@ -490,6 +480,7 @@
|
|
|
this.Status = this.$route.query.Status + ''
|
|
|
this.Step = parseInt(this.$route.query.Step)
|
|
|
this.annualId = this.$route.query.annualId
|
|
|
+ this.getstatus(this.annualId)
|
|
|
this.WorkflowId = this.$route.query.WorkflowId + ''
|
|
|
this.getDictOptions()
|
|
|
this.formData.Id = this.serviceId
|
|
|
@@ -501,8 +492,22 @@
|
|
|
this.savebtn = false
|
|
|
this.canUpdateSupplier = true
|
|
|
}
|
|
|
+ if (this.Status > 0) {
|
|
|
+ this.add_flat = false
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
+ getstatus(annid) {
|
|
|
+ annualapi.getEntity(annid, this.$axios)
|
|
|
+ .then(res => {
|
|
|
+ this.formannData = res.data;
|
|
|
+ console.log("--forann-", this.formannData.Status)
|
|
|
+ this.Status = this.formannData.Status
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
inputCompany(val) {
|
|
|
if (!this.certId) {
|
|
|
api.getEntityByName(val, this.$axios).then(res => {
|