From 870c1808b6fd2528ccbf199ed28467bb6b36e20f Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 4 Jan 2024 16:27:55 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug79799?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/BaseInfoForm.vue | 11 +++-------- .../modules/BaseInfoForm.vue | 11 +++-------- .../modules/BaseInfoForm.vue | 13 +++---------- 3 files changed, 9 insertions(+), 26 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardAnnul/modules/BaseInfoForm.vue b/src/views/workCenter/enterpriseStandardAnnul/modules/BaseInfoForm.vue index bec15084..21ea98c7 100644 --- a/src/views/workCenter/enterpriseStandardAnnul/modules/BaseInfoForm.vue +++ b/src/views/workCenter/enterpriseStandardAnnul/modules/BaseInfoForm.vue @@ -242,16 +242,11 @@ export default { this.formInline.releaseDate = result.release_date // 实施日期 this.formInline.implementationDate = result.implementation_date + // 标准类型 + this.formInline.standardCategory = res.result.standard_class this.formInline = Object.assign({}, this.formInline) + this.isGetDataAfter = true } - // 标准类型字段来源是企标计划,所以需要单独调接口获取 - await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => { - if (res.success) { - // 标准类型 - this.formInline.standardCategory = res.result.standardType - this.isGetDataAfter = true - } - }) }).finally(() => { this.loading = false }) diff --git a/src/views/workCenter/enterpriseStandardSealSave/modules/BaseInfoForm.vue b/src/views/workCenter/enterpriseStandardSealSave/modules/BaseInfoForm.vue index 94902999..c029d382 100644 --- a/src/views/workCenter/enterpriseStandardSealSave/modules/BaseInfoForm.vue +++ b/src/views/workCenter/enterpriseStandardSealSave/modules/BaseInfoForm.vue @@ -242,16 +242,11 @@ export default { this.formInline.releaseDate = result.release_date // 实施日期 this.formInline.implementationDate = result.implementation_date + // 标准类型 + this.formInline.standardCategory = res.result.standard_class this.formInline = Object.assign({}, this.formInline) + this.isGetDataAfter = true } - // 标准类型字段来源是企标计划,所以需要单独调接口获取 - await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => { - if (res.success) { - // 标准类型 - this.formInline.standardCategory = res.result.standardType - this.isGetDataAfter = true - } - }) }).finally(() => { this.loading = false }) diff --git a/src/views/workCenter/enterpriseStandardStartUse/modules/BaseInfoForm.vue b/src/views/workCenter/enterpriseStandardStartUse/modules/BaseInfoForm.vue index 48a15b29..c32f306c 100644 --- a/src/views/workCenter/enterpriseStandardStartUse/modules/BaseInfoForm.vue +++ b/src/views/workCenter/enterpriseStandardStartUse/modules/BaseInfoForm.vue @@ -234,8 +234,6 @@ export default { const result = res.result // 标准英文名称 this.formInline.englishName = result.standard_english_name - // 标准类型?? - // this.formInline.standardEnglishName = result.standard_english_name // 代替企标编号 this.formInline.substituteStandardNumber = result.substitute_standard_number // 被代替企标编号 @@ -244,16 +242,11 @@ export default { this.formInline.releaseDate = result.release_date // 实施日期 this.formInline.implementationDate = result.implementation_date + // 标准类型 + this.formInline.standardCategory = res.result.standard_class this.formInline = Object.assign({}, this.formInline) + this.isGetDataAfter = true } - // 标准类型字段来源是企标计划,所以需要单独调接口获取 - await getStandardTypeByNum({ standardNo: value[0].standardNo }).then(res => { - if (res.success) { - // 标准类型 - this.formInline.standardCategory = res.result.standardType - this.isGetDataAfter = true - } - }) }).finally(() => { this.loading = false })