[update] 修改标准化发起流程表格编辑的年代号回显
This commit is contained in:
+6
@@ -837,9 +837,15 @@ export default {
|
|||||||
this.planSubmissionDateDisabled = true
|
this.planSubmissionDateDisabled = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 没有年代号就设置为当前年份
|
||||||
|
if (!this.formInline.decadeCode) {
|
||||||
|
this.formInline.decadeCode = new Date().getFullYear() + ''
|
||||||
|
}
|
||||||
|
// 没有申请类型就设置为立项
|
||||||
if (!this.formInline.applicationType) {
|
if (!this.formInline.applicationType) {
|
||||||
this.formInline.applicationType = this.ApplicationCategory.INITIATION.value
|
this.formInline.applicationType = this.ApplicationCategory.INITIATION.value
|
||||||
}
|
}
|
||||||
|
// 处理标准体系数据格式
|
||||||
this.formInline.enStandardSystem = this.formInline.enStandardSystem ? this.formInline.enStandardSystem.split(',').map(item => {
|
this.formInline.enStandardSystem = this.formInline.enStandardSystem ? this.formInline.enStandardSystem.split(',').map(item => {
|
||||||
return { value: item }
|
return { value: item }
|
||||||
}) : []
|
}) : []
|
||||||
|
|||||||
Reference in New Issue
Block a user