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; }, //表单注入数据