[update] 修改bug80938

This commit is contained in:
lideqin
2024-01-17 17:21:36 +08:00
parent b599f18337
commit d779328305
2 changed files with 6 additions and 6 deletions
@@ -850,9 +850,9 @@ export default {
this.model = Object.assign({}, record)
const formInline = Object.assign({}, record)
// 没有年代号就设置为当前年份
if (!formInline.decadeCode) {
formInline.decadeCode = new Date().getFullYear() + ''
}
// if (!formInline.decadeCode) {
// formInline.decadeCode = new Date().getFullYear() + ''
// }
// 处理隶属工作组格式
if (formInline.workGroup) {
formInline.workGroup = { value: formInline.workGroup, label: formInline.workGroup_dictText }
@@ -933,9 +933,9 @@ export default {
}
}
// 没有年代号就设置为当前年份
if (!formInline.decadeCode) {
formInline.decadeCode = new Date().getFullYear() + ''
}
// if (!formInline.decadeCode) {
// formInline.decadeCode = new Date().getFullYear() + ''
// }
// 没有申请类型就设置为立项
if (!formInline.applicationType) {
formInline.applicationType = this.ApplicationCategory.INITIATION.value