From 59e208f515c361caffcdfe35543f1b917d449d44 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 07 八月 2024 16:53:02 +0800
Subject: [PATCH] 管线报表数据bug
---
_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl b/_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl
index 568d35f..9fbd214 100644
--- a/_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl
+++ b/_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl
@@ -2,7 +2,7 @@
#parent: #root
Method SetCellInventoryValue (
MachiningPipelineColumn column,
- String unit,
+ Boolean iscc,
Real quantity
)
{
@@ -11,9 +11,9 @@
// 鐢勫叞楦� Jun-24-2024 (created)
cell := selectobject( this, Cell, cell, cell.Column() = column );
- if( unit = MachiningPipelineReport::GetDefaultCCUnit() ){
+ if( iscc ){
cell.CCInventoryQty( cell.CCInventoryQty() + quantity );
- }else if( unit = MachiningPipelineReport::GetDefaultDLUnit() ){
+ } else {
cell.DLInventoryQty( cell.DLInventoryQty() + quantity );
}
*]
--
Gitblit v1.9.3