From 9114e6d212617a2b12f19dc37d697b24d9efb1a0 Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期一, 28 十月 2024 18:33:41 +0800
Subject: [PATCH] 包装计划优化
---
_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
index 628ac49..c4e2762 100644
--- a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
+++ b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
@@ -8,10 +8,11 @@
value := ifexpr( this.PackagingPlanRow().Factory() = "闀挎槬宸ュ巶", this.CC_PackagingInventory(),
this.InitialPackagingInventory() + guard( this.Previous().PackagingInventory() +
- guard( this.Package(), 0.0 ) -
- ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ),
- 0.0 )
- - this.Out()
+ this.TransferIn() +
+ guard( this.Package(), 0.0 ) -
+ ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ),
+ 0.0 )
+ - this.Out()
);
this.PackagingInventory( value );
--
Gitblit v1.9.3