From 1093d0c693c5d10a0fa5bf614eb4b48161bee1ec Mon Sep 17 00:00:00 2001 From: hongjli <3117313295@qq.com> Date: 星期五, 13 十月 2023 11:50:14 +0800 Subject: [PATCH] 填产优化 --- _Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def | 12 +++++++----- 1 files changed, 7 insertions(+), 5 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 336e9a8..9d16e0c 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def @@ -19,11 +19,13 @@ StockingPointID := efStockingPointID.Text() ); } else { - DataHolderDialogData.Data().PanelMaterialCode( efPanelMaterialCode.Text() ); - DataHolderDialogData.Data().ModuleMaterialCode( efModuleMaterialCode.Text() ); - DataHolderDialogData.Data().Division( efDivision.Text() ); - DataHolderDialogData.Data().StockingPointID( efStockingPointID.Text() ); - DataHolderDialogData.Data().Commit(); + data.Delete(); + GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew, + PanelMaterialCode := efPanelMaterialCode.Text(), + ModuleMaterialCode := efModuleMaterialCode.Text(), + Division := efDivision.Text(), + StockingPointID := efStockingPointID.Text() + ); } -- Gitblit v1.9.3