From 9eb69f8e68fbaea2f6becc92d3b84236084ab04b Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期二, 15 十月 2024 02:10:43 +0800 Subject: [PATCH] 修改批量修改shift pattern功能 --- _Main/UI/MacroPlannerWebApp/Views/BatchSetShiftPattern.vw | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 105 insertions(+), 2 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Views/BatchSetShiftPattern.vw b/_Main/UI/MacroPlannerWebApp/Views/BatchSetShiftPattern.vw index e1a08c5..961b5b1 100644 --- a/_Main/UI/MacroPlannerWebApp/Views/BatchSetShiftPattern.vw +++ b/_Main/UI/MacroPlannerWebApp/Views/BatchSetShiftPattern.vw @@ -4,6 +4,88 @@ { forms { + form_legacy_2 + { + title: 'Time Capacities' + shown: true + componentID: 'FormTimeCapacities' + layout + { + mode: 'open' + rowPosition: 13 + rowSpan: 10 + columnPosition: 1 + columnSpan: 12 + } + components + { + FormTimeCapacities_PanelMatrix + { + sizeRatio: 1 + } + FormTimeCapacities_MatrixEditorTimeCapacities + { + gridColor: '#c4c4c4' + totalHeaderWidth: 449 + attributeHeaderWidthRatio: 0.6 + nameHeaderWidthRatio: 0.4 + columnWidth: 100 + horizontalGrid: true + verticalGrid: true + backendState + { + componentId: 'QLibMacroPlannerWebUI::FormTimeCapacities.MatrixEditorTimeCapacities' + state + { + cells + { + attributes + { + attribute_ShiftPatternName + { + type: 'MatrixEditorWebApiCellDataModelInterest' + index: 0 + rowsubtotal: '' + columnsubtotal: '' + attribute: 'ShiftPatternName' + } + attribute_Efficiency + { + type: 'MatrixEditorWebApiCellDataModelInterest' + index: 1 + rowsubtotal: '' + columnsubtotal: '' + attribute: 'Efficiency' + } + attribute_TotalAvailableCapacity + { + type: 'MatrixEditorWebApiCellDataModelInterest' + index: 2 + rowsubtotal: '' + columnsubtotal: '' + attribute: 'TotalAvailableCapacity' + } + } + } + columns + { + sorting + { + criteria: "datamember:'StartDate'" + } + } + rows + { + sorting + { + criteria: "datamember:'DisplayIndex'" + } + } + } + } + } + } + } form_FormProductionLineBatchSetShiftPattern { title: 'QMacroPlanner::FormProductionLineBatchSetShiftPattern' @@ -13,9 +95,9 @@ { mode: 'open' rowPosition: 1 - rowSpan: 23 + rowSpan: 12 columnPosition: 1 - columnSpan: 9 + columnSpan: 10 } components { @@ -48,6 +130,27 @@ { sizeRatio: 1 } + FormProductionLineBatchSetShiftPattern_PanelRight445 + { + sizeRatio: 1 + activeChild: 'PanelWeekly' + } + FormProductionLineBatchSetShiftPattern_PanelDaily + { + sizeRatio: 1 + } + FormProductionLineBatchSetShiftPattern_PanelDaily819 + { + sizeRatio: 1 + } + FormProductionLineBatchSetShiftPattern_PanelWeekly + { + sizeRatio: 1 + } + FormProductionLineBatchSetShiftPattern_PanelWeekly996 + { + sizeRatio: 1 + } } } form_FormKPI -- Gitblit v1.9.3