[update] 修改bug80845
This commit is contained in:
+9
-1
@@ -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
|
||||
}
|
||||
},
|
||||
// 授权部门返回参数
|
||||
|
||||
Reference in New Issue
Block a user