From 5017710f33ecbc56bcdd4e28989abdc0d8d0fcc3 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 27 Aug 2024 14:45:20 +0800 Subject: [PATCH] fix:coding#445 --- src/views/wpm_gx/mlog_form.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 8490c42b..49c0d453 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -301,6 +301,7 @@ export default { this.getUser(); this.getSupplier(); this.getEquipment(); + }, methods: { disabledDateFn(time) { @@ -340,6 +341,8 @@ export default { open(mode = "add") { this.mode = mode; this.visible = true; + this.$refs.dialogForm.resetFields(); + this.$refs.dialogForm.clearValidate(); return this; }, //表单注入数据