From e1af2556a7f785c518380e63b67fe8600b9163ec Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期一, 18 十一月 2024 17:21:03 +0800
Subject: [PATCH] 下线计划界面排版

---
 _Main/BL/Type_OfflinePlanArchiveVersion/StaticMethod_RefreshData.qbl |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_OfflinePlanArchiveVersion/StaticMethod_RefreshData.qbl b/_Main/BL/Type_OfflinePlanArchiveVersion/StaticMethod_RefreshData.qbl
index 86d0c58..3a803ad 100644
--- a/_Main/BL/Type_OfflinePlanArchiveVersion/StaticMethod_RefreshData.qbl
+++ b/_Main/BL/Type_OfflinePlanArchiveVersion/StaticMethod_RefreshData.qbl
@@ -33,6 +33,7 @@
       actproductionhandle  := actproductiontree.GetHandle( actproductionKey );
       actproductiontree.Root().AddChild( actproductionhandle,i ); 
     }
+    
     traverse( noptable, NewOfflinePlanRow, noprow, noprow.Type() = '1' ){
       row                  := table.GetRow( noprow );
       if( not isnull( row ) ){
@@ -50,6 +51,8 @@
           }
           cell.ActualProductionQty( actproductionqty );
           cell.InventoryWeight( nopcell.InventoryWeight() );
+          cell.Order( nopcell.Order() );
+          cell.OrderNr( nopcell.OrderNr() );
       //      cell.ProductionSerialNumber( nopcell.ProductionSerialNumber() );
           cell.Quantity( nopcell.Quantity() );
       //      cell.Shift( nopcell.Shift() );
@@ -57,6 +60,8 @@
         }
       }
     }
-    showtable.Generate( search );
+    productids             := selectuniquevalues( table, Row, row, row.Name() );
+    productlines           := selectuniquevalues( table, Row, row, row.ProductionLine() );
+    showtable.Generate( search, productids, productlines );
   *]
 }

--
Gitblit v1.9.3