From 8870e507249378c76b63364603969ed6e706e1b6 Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期四, 10 十月 2024 15:34:40 +0800
Subject: [PATCH] 包装计划优化
---
_Main/BL/Type_PackagingPlanCell/Function_CalcUnpackagedInventory.qbl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/_Main/BL/Type_PackagingPlanCell/Function_CalcUnpackagedInventory.qbl b/_Main/BL/Type_PackagingPlanCell/Function_CalcUnpackagedInventory.qbl
index f1ca4e3..58cc55e 100644
--- a/_Main/BL/Type_PackagingPlanCell/Function_CalcUnpackagedInventory.qbl
+++ b/_Main/BL/Type_PackagingPlanCell/Function_CalcUnpackagedInventory.qbl
@@ -6,7 +6,8 @@
[*
// lihongji Jul-24-2024 (created)
- value := guard( this.EndingInventory() - this.PackagingInventory(), 0.0 );
+ value := ifexpr( this.PackagingPlanRow().Factory() = "闀挎槬宸ュ巶", this.UnpackagedInventory(),
+ guard( this.EndingInventory() - this.PackagingInventory(), 0.0 ) );
this.UnpackagedInventory( value );
*]
--
Gitblit v1.9.3