From e18d66cac7fbf43b0d341ee8976d6550a9a4f1af Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期四, 21 十一月 2024 14:11:45 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def
index 9a2f3b3..858ff1f 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def
@@ -2,7 +2,7 @@
 #parent: PanelOperation/ButtonSearch
 Response OnClick () id:Response_PanelOperation_ButtonSearch_OnClick
 {
-  #keys: '[415136.0.1294002009]'
+  #keys: '[415136.0.1313960021]'
   CanBindMultiple: false
   DefinitionID: 'Responsedef_WebButton_OnClick'
   QuillAction
@@ -10,7 +10,9 @@
     Body:
     [*
       if( not isnull( DataHolderTable.Data() ) ){ 
-        DataHolderTable.Data().Generate( dhSearch.Data() );
+        productids      := selectuniquevalues( DataHolderProduct.Data(), Elements, product, product.ID() );
+        units           := selectuniquevalues( DataHolderUnit.Data(), Elements, unit, unit.ID() );
+        DataHolderTable.Data().Generate( dhSearch.Data(), productids, units );
       }
     *]
     GroupServerCalls: false

--
Gitblit v1.9.3