From 284dcbad0bb037ef25e53cbb0af26c0100865af0 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期一, 14 十月 2024 18:29:26 +0800 Subject: [PATCH] 修复一些bug --- _Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelWeekly_791_bApply_OnClick.def | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelRight_bApply_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelWeekly_791_bApply_OnClick.def similarity index 82% rename from _Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelRight_bApply_OnClick.def rename to _Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelWeekly_791_bApply_OnClick.def index 1a2c721..76a1490 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelRight_bApply_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormProductionLineBatchSetShiftPattern/Response_PanelWeekly_791_bApply_OnClick.def @@ -1,8 +1,8 @@ Quintiq file version 2.0 -#parent: PanelRight/bApply -Response OnClick () id:Response_PanelRight_bApply_OnClick +#parent: PanelWeekly_791/bApply +Response OnClick () id:Response_PanelWeekly996_bApply_OnClick { - #keys: '[414996.1.117189721]' + #keys: '[414996.1.127910498]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' GroupServerCalls: true @@ -32,7 +32,8 @@ if( cbSunday.Checked() ){ weekdays.Add( 7 ); } - LocalTool::BatchSetUnitShiftPattern( dhSelectUnit.Data(),ddlShiftPattern.Data(),dsStartDate.Date(),dsEndDate.Date(),weekdays ); + skipWeek := [Number]efWeekly.Text(); + LocalTool::BatchSetUnitShiftPattern( dhSelectUnit.Data(),ddlShiftPattern.Data(),dsStartDate.Date(),dsEndDate.Date(),weekdays ,skipWeek ); WebMessageBox::Success( "Success"); *] } -- Gitblit v1.9.3