From bb23c38b8f721a9396fcbcb25c537688bb2ec757 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Wed, 20 Dec 2023 10:53:16 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=8C=96=E5=8F=91=E8=B5=B7=E6=B5=81=E7=A8=8B=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=9A=84=E5=B9=B4=E4=BB=A3=E5=8F=B7=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/BaseInfoTableModal.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/workCenter/annualRevisionPlanStandardizationInit/modules/BaseInfoTableModal.vue b/src/views/workCenter/annualRevisionPlanStandardizationInit/modules/BaseInfoTableModal.vue index 90b8cc7f..859e0ccf 100644 --- a/src/views/workCenter/annualRevisionPlanStandardizationInit/modules/BaseInfoTableModal.vue +++ b/src/views/workCenter/annualRevisionPlanStandardizationInit/modules/BaseInfoTableModal.vue @@ -837,9 +837,15 @@ export default { this.planSubmissionDateDisabled = true } } + // 没有年代号就设置为当前年份 + if (!this.formInline.decadeCode) { + this.formInline.decadeCode = new Date().getFullYear() + '' + } + // 没有申请类型就设置为立项 if (!this.formInline.applicationType) { this.formInline.applicationType = this.ApplicationCategory.INITIATION.value } + // 处理标准体系数据格式 this.formInline.enStandardSystem = this.formInline.enStandardSystem ? this.formInline.enStandardSystem.split(',').map(item => { return { value: item } }) : []