From 440be21e24e4cfb15e85ee1cf8522cd7d4acf21b Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期三, 20 十一月 2024 16:36:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 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
new file mode 100644
index 0000000..858ff1f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: PanelOperation/ButtonSearch
+Response OnClick () id:Response_PanelOperation_ButtonSearch_OnClick
+{
+  #keys: '[415136.0.1313960021]'
+  CanBindMultiple: false
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  QuillAction
+  {
+    Body:
+    [*
+      if( not isnull( DataHolderTable.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