From 74366493c0196e2c6406d80e1757be52e6a902d5 Mon Sep 17 00:00:00 2001 From: zhangyichen <5277314+zacty@user.noreply.gitee.com> Date: Tue, 19 Apr 2022 10:24:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=2052600=20=E4=BC=81?= =?UTF-8?q?=E6=A0=87=E8=AE=A1=E5=88=92-=E6=96=B0=E5=A2=9E=20=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E5=AE=8C=E8=B4=A3=E4=BB=BB=E5=8D=95=E4=BD=8D=E4=BA=86?= =?UTF-8?q?=20=E8=BF=98=E6=9C=89=E7=BA=A2=E8=89=B2=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterpriseStandardPlan/index.vue | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) 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