From 3e2cde088b254819cdaed2436a6cf119225de981 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 4 Mar 2024 11:54:02 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E4=BC=81=E6=A0=87?= =?UTF-8?q?=E5=88=B6=E4=BF=AE=E8=AE=A2=E7=AC=AC=E4=B8=89=E4=B8=AA=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E7=BC=96=E5=88=B6=E8=AF=B4=E6=98=8E=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=94=B9=E6=88=90=E6=84=8F=E8=A7=81=E6=B1=87=E6=80=BB=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E5=90=8E?= =?UTF-8?q?=E7=9A=84=E6=A0=A1=E9=AA=8C=E6=B2=A1=E6=B6=88=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/workCenter/zh.js | 3 ++- src/components/customField/AddForm.vue | 1 + ...MainDrafterCollectUploadMinuteBaseInfo.vue | 21 ++++++++++--------- .../MainDrafterUploadMinuteBaseInfo.vue | 1 + 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index e4ff2dba..e72759b0 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -157,7 +157,8 @@ module.exports = { implementationDate: '实施日期', esPlan: '企标计划', deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早', - noStandardTextLook: '暂无标准文本可查看' + noStandardTextLook: '暂无标准文本可查看', + summaryOfOpinions: '意见汇总' }, // 企标更改流程 enStandardChange: { diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index eb14d0cc..f6ac9856 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -666,6 +666,7 @@ export default { data.map(item => { attNameList.push(item.fileName) }) + this.$refs.ruleForm.clearValidate(this.uploadName) } console.log(data) /** 赋值给当前对应的表单文件 */ diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectUploadMinuteBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectUploadMinuteBaseInfo.vue index b0f43d5c..4efcfa1b 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectUploadMinuteBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectUploadMinuteBaseInfo.vue @@ -79,19 +79,19 @@ - +
* - - {{ $t('workCenter.enStandardRevision.compilationIllustration') }} + + {{ $t('workCenter.enStandardRevision.summaryOfOpinions') }}
- - + + {{ - (formInline.compIllustration === 'null' || formInline.compIllustration === '' - || formInline.compIllustration === null || formInline.compIllustration === undefined) + (formInline.commentsSummary === 'null' || formInline.commentsSummary === '' + || formInline.commentsSummary === null || formInline.commentsSummary === undefined) ? $t('uploadFile.clickUpload') : $t('uploadFile.viewUploadedFiles') }} @@ -270,11 +270,11 @@ export default { trigger: 'change' } ], - // 编制说明 - compIllustration: [ + // 意见汇总 + commentsSummary: [ { required: true, - message: this.$t('workCenter.enStandardRevision.compilationIllustration') + this.$t('cannotEmpty'), + message: this.$t('workCenter.enStandardRevision.summaryOfOpinions') + this.$t('cannotEmpty'), trigger: 'change' } ], @@ -474,6 +474,7 @@ export default { data.map(item => { attIdList.push(item.id) }) + this.$refs.ruleForm.clearValidate(this.uploadName) } /** 赋值给当前对应的表单文件 */ this.formInline[this.uploadName] = attIdList.join(',') diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterUploadMinuteBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterUploadMinuteBaseInfo.vue index 8e51e796..8952db6f 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterUploadMinuteBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterUploadMinuteBaseInfo.vue @@ -368,6 +368,7 @@ export default { data.map(item => { attIdList.push(item.id) }) + this.$refs.ruleForm.clearValidate(this.uploadName) } /** 赋值给当前对应的表单文件 */ this.formInline[this.uploadName] = attIdList.join(',')