From 053581c5d93103bfbe3f2fefe53175237b32c87e Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 18 Jul 2024 10:54:15 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E4=BA=A7=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E6=8E=92=E4=BA=A7->=E8=87=AA=E5=8A=A8=E5=AE=89?= =?UTF-8?q?=E6=8E=92=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/mes/productOrder/productionScheduling.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw-ui/src/views/mes/productOrder/productionScheduling.vue b/hw-ui/src/views/mes/productOrder/productionScheduling.vue index a1ede3d..35e883b 100644 --- a/hw-ui/src/views/mes/productOrder/productionScheduling.vue +++ b/hw-ui/src/views/mes/productOrder/productionScheduling.vue @@ -520,7 +520,7 @@ export default { if (planBeginTime != null && planEndTime != null) { item.duration = this.calculateDaysDifference(planBeginTime, planEndTime); } - if (this.arrangeType === 1 && planEndTime != null){ + if (this.arrangeType === 1 && planEndTime != null && children != null) { const date = new Date(planEndTime); date.setDate(date.getDate() + 1); children.forEach(item => {