From da92bf2cf4fb549324cfb2f18931fc3016bcad7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=87?= <2433098676@qq.com> Date: Tue, 8 Aug 2023 16:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/corpMaintain/corpMaintain.vue | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/src/views/basic/corpMaintain/corpMaintain.vue b/src/views/basic/corpMaintain/corpMaintain.vue index 937b91d..7b639ba 100644 --- a/src/views/basic/corpMaintain/corpMaintain.vue +++ b/src/views/basic/corpMaintain/corpMaintain.vue @@ -209,14 +209,7 @@ - 添加资质证书 - + @@ -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=' + }