|
|
|
@ -209,14 +209,7 @@
|
|
|
|
|
<!-- >选入资质证书-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="addCert()"
|
|
|
|
|
>添加资质证书
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-button type="primary" size="mini" icon="search" @click="addCert()">添加资质证书</el-button>-->
|
|
|
|
|
</div>
|
|
|
|
|
<el-table v-loading="certLoading" :data="certList" style="width: 100%;margin-top: 40px" border
|
|
|
|
|
highlight-current-row>
|
|
|
|
@ -353,6 +346,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
|
certFileUrl: '',
|
|
|
|
|
uploadUrl: '',
|
|
|
|
|
fileList: [],
|
|
|
|
|
fileUrl: '',
|
|
|
|
|
pmQuery: {
|
|
|
|
|
customerId: null,
|
|
|
|
|
companyIdFk: null,
|
|
|
|
@ -988,6 +986,26 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
//this.getSyncConfig();
|
|
|
|
|
//this.getBasicThirdSys();
|
|
|
|
|
if (this.editType == 0) {
|
|
|
|
|
this.inputQuery.manufacturerId = getUUID('')
|
|
|
|
|
} else {
|
|
|
|
|
this.certQuery.customerId = this.inputQuery.customerId
|
|
|
|
|
this.selectedOptions = this.inputQuery.placeAreaCode.split(',')
|
|
|
|
|
if (this.inputQuery.productionAreaCode != '' && this.inputQuery.productionAreaCode != null && this.inputQuery.productionAreaCode != undefined) {
|
|
|
|
|
this.selectedOptions2 = this.inputQuery.productionAreaCode.split(',')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.certQuery.manufacturerIdFk = this.inputQuery.manufacturerId
|
|
|
|
|
this.manufacturerId = this.inputQuery.manufacturerId
|
|
|
|
|
this.customerId = this.inputQuery.customerId
|
|
|
|
|
// this.getData();
|
|
|
|
|
this.getCompanyCertList()
|
|
|
|
|
this.findMethod()
|
|
|
|
|
this.uploadUrl = this.BASE_URL + '/udiwms/upload/register/file'
|
|
|
|
|
this.fileUrl = this.BASE_URL + '/udiwms/image/register/file/getImage?type=image2&name='
|
|
|
|
|
this.certFileUrl = this.BASE_URL + '/udiwms/image/register/file/getImage?type=image2&name='
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|