diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index fa068aab2..7dd20272b 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -809,7 +809,7 @@ {required: true, message: '请选择起草人', trigger: 'change'}, ], rqbJson: [ - {required: true, message: '请选择代替企标编号', trigger: 'change'}, + {required: false, message: '请选择代替企标编号', trigger: ['change', 'blur']}, ] }, form: { @@ -1038,6 +1038,7 @@ } this.addForm.unit = list this.addForm.unitName = listName + this.$refs.addForm.validateField('unitName') this.modalshowflagZRBM = false }, choiceZRBM(id) { @@ -1161,7 +1162,32 @@ }, addData () { this.addDrawerTitle = '新增' - this.addForm = {} + this.addForm = { + bussSort:'', + esMatingRelations: '', + technologic: '', + useLevel: '', + isRelate: '', + esStandRelations: '', + area: [], + tsJson: '', + tsJsonName: '', + rqbJson: '', + rqbName: '', + unit: '', // 单位 + unitName: '', + esName: '', // 企标名称 + planStatus: '', // 计划状态 + reviseStatus: '', // 制修订状态 + resPerson: '', // 评审责任人 + resPersonName: '', + wgLeader: '', // 工作组组长 + wgLeaderName: '', + draftTime: '', // 计划标准初稿完成时间 + releaseTime: '', // 计划标准发布时间 + drafter: '', // 起草人 + drafterName: '' + } this.DrawerType = 'add' this.addForm.planStatus = '0' this.addDrawer = true