[update] 修改bug80845

This commit is contained in:
lideqin
2024-01-16 16:45:44 +08:00
parent 94a4348831
commit a6c54b1e17
3 changed files with 24 additions and 2 deletions
@@ -923,9 +923,17 @@ export default {
},
// 项目类别改变
projectTypeChange (value) {
if (value === this.ProjectType.ENACT.value) {
if (value && value === this.ProjectType.ENACT.value) {
// 是制定
this.formInline.decadeCode = new Date().getFullYear() + ''
// 是制定,原企标编号和原企标名称置空
this.formInline.originEnStandardNo = ''
this.formInline.originEnStandardName = ''
} else if (value && value === ProjectType.MODIFY.value) {
// 是修订,三个代号置空
this.formInline.enStandardCode = undefined
this.formInline.enNameCode = undefined
this.formInline.standardCategoryCode = undefined
}
},
// 授权部门返回参数