From 3d912696c9cd2a52459256bd4285f94d54726d34 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 24 Mar 2025 08:55:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=8E=BB=E7=BA=A4=E4=BA=A4?= =?UTF-8?q?=E6=8E=A5=E7=89=A9=E6=96=99=E6=97=B6=E6=89=AB=E7=A0=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index f54f73cd..fcde3272 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -546,7 +546,7 @@ export default { if(mtype==30){ this.change_batch = true; } - this.form.handoverb = data; + this.form.handoverb = data?data:[]; this.visible = true; return this; }, @@ -603,7 +603,7 @@ export default { countChange(){ let that = this; let totalCount = 0; - if(this.form.handoverb.length>0){ + if(this.form.handoverb&&this.form.handoverb.length&&this.form.handoverb.length>0){ this.form.handoverb.forEach(item=>{ totalCount += Number(item.count); })