From 768783ec90e1feaf7237e874c8cc48cf12119315 Mon Sep 17 00:00:00 2001 From: zhen <1173776308@qq.com> Date: Fri, 19 Jul 2024 14:46:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=9C=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/smart/operationticketDetail.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/smart/operationticketDetail.vue b/src/views/smart/operationticketDetail.vue index 65da725..cf4dd43 100644 --- a/src/views/smart/operationticketDetail.vue +++ b/src/views/smart/operationticketDetail.vue @@ -132,7 +132,6 @@ export default { data () { var validateStartTime = (rule, value, callback) => { - alert(value); if (value === '' || value ===null) { callback(new Error('请输入计划开始日期')); } else if(this.tab1_form.plannedEndTime !== '' && this.tab1_form.plannedEndTime !== null) { @@ -143,7 +142,6 @@ export default { callback(); }; var validateEndTime = (rule, value, callback) => { - alert(value); if (value === '' || value ===null ) { callback(new Error('请输入计划结束日期')); } else if(this.tab1_form.plannedStartTime > value) { From 56f130c96bd0ba1a950fc2be46d8f4082f66a8f0 Mon Sep 17 00:00:00 2001 From: yangzhicheng Date: Fri, 19 Jul 2024 14:48:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?dialog=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spares/materialDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/spares/materialDetail.vue b/src/views/spares/materialDetail.vue index c373c7d..61faccd 100644 --- a/src/views/spares/materialDetail.vue +++ b/src/views/spares/materialDetail.vue @@ -442,8 +442,8 @@ }, methods: { test(val) { - this.$refs.diaForm.resetForm(); this.dialogVisible = true; + this.$refs.diaForm.resetForm(); }, handleFormSubmit() { this.$refs.tab1_form.validate((valid, done, msg) => {