From 3f220b2dfed0a435c0593443af47f85fa2807922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZHANGTENG=5C=E5=BC=A0=E8=85=BE?= <894697943@qq.com> Date: Mon, 9 Mar 2026 10:32:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=C2=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?]xb001=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/comps/template/comps/xb/XB001.vue | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/business/comps/template/comps/xb/XB001.vue b/src/views/business/comps/template/comps/xb/XB001.vue index 36d9aec..e609180 100644 --- a/src/views/business/comps/template/comps/xb/XB001.vue +++ b/src/views/business/comps/template/comps/xb/XB001.vue @@ -49,6 +49,7 @@ { + if(item.startTime && item.endTime){ + const m1 = moment(item.startTime); + const m2 = moment(item.endTime); + const diffMinutes = m2.diff(m1, 'minutes'); + this.$refs.tableSecondRef?.updateDataSourceByRowIndex(index, { fysc: diffMinutes }); + } + }) + console.log(this.getFilledFormData()) + }, } };