From 0ce2394de3db9bcccd6da6bc68cb2eedf64e5f3f Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 18 十月 2023 10:34:43 +0800
Subject: [PATCH] 数据分发增加日志
---
_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def
index d088a4b..b2227a1 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def
@@ -12,17 +12,20 @@
data := DataHolderDialogData.Data().WrappedInstance();
if ( isnull( data ) ) {
- GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew,
- PanelMaterialCode := efPanelMaterialCode.Text(),
- ModuleMaterialCode := efModuleMaterialCode.Text(),
- Division := efDivision.Text(),
- StockingPointID := efStockingPointID.Text()
- );
+ GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew,
+ PanelMaterialCode := efPanelMaterialCode.Text(),
+ ModuleMaterialCode := efModuleMaterialCode.Text(),
+ Division := efDivision.Text(),
+ StockingPointID := efStockingPointID.Text()
+ );
} else {
- data.PanelMaterialCode( efPanelMaterialCode.Text() );
- data.ModuleMaterialCode( efModuleMaterialCode.Text() );
- data.Division( efDivision.Text() );
- data.StockingPointID( efStockingPointID.Text() );
+ data.Delete();
+ GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew,
+ PanelMaterialCode := efPanelMaterialCode.Text(),
+ ModuleMaterialCode := efModuleMaterialCode.Text(),
+ Division := efDivision.Text(),
+ StockingPointID := efStockingPointID.Text()
+ );
}
--
Gitblit v1.9.3