From 5f00dc2b0cd55b8aa84cb42a2c96fdf3c075c1de Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 25 Nov 2025 13:33:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E9=BB=91=E5=8C=96?= =?UTF-8?q?=E3=80=81=E9=80=80=E7=81=AB=E6=97=A5=E5=BF=97reminder=5Finterva?= =?UTF-8?q?l=5Flist=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/mlog_form.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 4e3e8242..b977f009 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -524,16 +524,18 @@ export default { } if (that.mode === "add") { if(that.mgroupName=='黑化'||that.mgroupName=='退火'){ - let times = 0; + let times = 0,reminder_interval_list=[]; that.testitems.forEach(item=>{ - if(item.name=='退火时间'||item.name=='冷却时间'||item.name=='黑化时间'){ + if(item.name=='退火时间'||item.name=='黑化时间'||item.name=='冷却时间'){ times = times + item.value; + reminder_interval_list.push(item.value); } }) let time_diff = times*60*1000; let start_times = new Date(that.form.work_start_time).getTime(); let end_time = start_times + time_diff; let work_end_time = new Date(end_time); + that.form.reminder_interval_list = reminder_interval_list; that.form.work_end_time = that.$TOOL.dateFormat(work_end_time); } that.$API.wpm.mlog.init.req(that.form).then((res) => {