From 5ad37285137cfcf072c0e7b38dd4fb562bc83f5c Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期四, 12 十二月 2024 17:49:13 +0800
Subject: [PATCH] 包装计划优化

---
 _Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
index c4e2762..9f02a64 100644
--- a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
+++ b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
@@ -10,11 +10,11 @@
                      this.InitialPackagingInventory() + guard( this.Previous().PackagingInventory()                 + 
                                                                this.TransferIn()                                    +
                                                                guard( this.Package(), 0.0 )                         -  
-                                                               ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ), 
+                                                               guard( this.Unpacking(), 0.0 ), 
                                                                0.0 )
                                                       - this.Out()
                     );
     
-    this.PackagingInventory( value );
+    this.PackagingInventory( [Number]value );
   *]
 }

--
Gitblit v1.9.3