[update] 修改标准化发起流程表格编辑的年代号回显

This commit is contained in:
lideqin
2023-12-20 10:53:16 +08:00
parent e31aa2d025
commit bb23c38b8f
@@ -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 }
}) : []