From 3783009c3f9316f082c4db688613bbdb86cb7288 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期五, 06 十二月 2024 11:27:38 +0800
Subject: [PATCH] 更新 StaticMethod_GenerateDispatchData.qbl

---
 _Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl
index b8f889b..7c0d781 100644
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl
+++ b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl
@@ -213,6 +213,8 @@
             detail := product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := ifexpr( tempProductQuantity > 0 ,productionQuantity,singleShiftVolume3 ) ,SingleShiftName := "涓夌彮");
             singleShiftVolume3 := singleShiftVolume3 - productionQuantity;
             productionQuantity := productionQuantity - detail.ShiftVolume();
+          }else{
+            product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := 0 ,SingleShiftName := "涓夌彮");
           }
         }
         

--
Gitblit v1.9.3