From afbad399be481afbe886bc2ad1e22abbcd5df771 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期一, 05 八月 2024 14:56:46 +0800
Subject: [PATCH] 财务报表bug修复
---
_Main/BL/Type_InventorySummaryColumn/Method_GenerateCell.qbl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/_Main/BL/Type_InventorySummaryColumn/Method_GenerateCell.qbl b/_Main/BL/Type_InventorySummaryColumn/Method_GenerateCell.qbl
index a85f1cd..c56f1d4 100644
--- a/_Main/BL/Type_InventorySummaryColumn/Method_GenerateCell.qbl
+++ b/_Main/BL/Type_InventorySummaryColumn/Method_GenerateCell.qbl
@@ -20,20 +20,20 @@
alldetails := selectset( selections, Elements.InventoryInterfaceDataDetail, detail, detail.PartNumber() = productid and detail.Date() >= start and detail.Date() <= end );
if( alldetails.Size() > 0 ){
allrow := table.GetRow( allunit, productid );
- allvalue := sum( alldetails, Elements, e, e.Quantity() );
+ allvalue := sum( alldetails, Elements, e, [Number]e.Quantity() );
allrow.SetCellValue( this, allvalue );
//闀挎槬
ccdetails := selectset( alldetails, Elements, detail, ccstockingpointids.Find( detail.InventoryPointSelection().StockpoingPoint() ) >= 0 );
if( ccdetails.Size() > 0 ){
ccrow := table.GetRow( ccunit, productid );
- value := sum( ccdetails, Elements, e, e.Quantity() );
+ value := sum( ccdetails, Elements, e, [Number]e.Quantity() );
ccrow.SetCellValue( this, value );
}
//澶ц繛
dldetails := selectset( alldetails, Elements, detail, dlstockingpointids.Find( detail.InventoryPointSelection().StockpoingPoint() ) >= 0 );
if( dldetails.Size() > 0 ){
dlrow := table.GetRow( dlunit, productid );
- value := sum( dldetails, Elements, e, e.Quantity() );
+ value := sum( dldetails, Elements, e, [Number]e.Quantity() );
dlrow.SetCellValue( this, value );
}
}
--
Gitblit v1.9.3