From 880c655e63e9aa5ae4e1d6b7416edebcfa52b16d Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 27 Aug 2024 16:09:04 +0800 Subject: [PATCH] fix:coding#4511 --- src/views/mtm/route_form.vue | 21 ++++++++++++--------- src/views/wpm_gx/mlog_form.vue | 9 +++++---- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index f52b004a..bed5e2ec 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -66,10 +66,10 @@ --> - + - + --> - + @@ -171,9 +171,12 @@ const defaultForm = { process: null, sort: 1, out_rate: 100, + material_in:'', + material_out:'', + hour_work:0, batch_bind: true, - is_autotask: true, - is_count_utask: false, + // is_autotask: true, + // is_count_utask: false, }; export default { props: { @@ -185,7 +188,7 @@ export default { loading: false, mode: "add", //表单数据 - form: defaultForm, + form: Object.assign({}, defaultForm), //验证规则 rules: { process: [ diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 49c0d453..d1e04184 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -211,11 +211,14 @@