From 4936da60285a414fda235ed8aed57faef08ebc3c Mon Sep 17 00:00:00 2001 From: admin <admin@admin.com> Date: 星期六, 19 十月 2024 14:09:28 +0800 Subject: [PATCH] 长春料架优化 --- _Main/Sys/Repr/Global/MachineLogisticsCostReportCell.qrp | 8 ++++++++ _Main/Sys/Repr/Global/CC_EngineRackCell.qrp | 8 ++++++++ _Main/UI/MacroPlannerWebApp/Views/CCEngineRackReport.vw | 2 +- _Main/Sys/Repr/Global/DL_EngineRackCell.qrp | 8 ++++++++ _Main/BL/Type_CC_EngineRackCell/Method_SetTheTotalQuantity.qbl | 14 ++++++++++++++ 5 files changed, 39 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_CC_EngineRackCell/Method_SetTheTotalQuantity.qbl b/_Main/BL/Type_CC_EngineRackCell/Method_SetTheTotalQuantity.qbl new file mode 100644 index 0000000..7504705 --- /dev/null +++ b/_Main/BL/Type_CC_EngineRackCell/Method_SetTheTotalQuantity.qbl @@ -0,0 +1,14 @@ +Quintiq file version 2.0 +#parent: #root +Method SetTheTotalQuantity ( + Real totalQuantityOfMaterialRacks +) +{ + Description: '璁剧疆鏂欐灦鎬绘暟閲�' + TextBody: + [* + this.TotalQuantityOfMaterialRacks( totalQuantityOfMaterialRacks ); + + this.NumberOfEmptyShelves( ( totalQuantityOfMaterialRacks - this.PlannedInventory() ) / this.PackagingCapacity() ); + *] +} diff --git a/_Main/Sys/Repr/Global/CC_EngineRackCell.qrp b/_Main/Sys/Repr/Global/CC_EngineRackCell.qrp index 5e9255b..11bcd41 100644 --- a/_Main/Sys/Repr/Global/CC_EngineRackCell.qrp +++ b/_Main/Sys/Repr/Global/CC_EngineRackCell.qrp @@ -11,6 +11,14 @@ { AttributeKey: '[413988.0.1476832766]' Synonym: '绯绘暟' + Conditional: + [ + ] + DataRepresentation.Default + { + FormatString: 'N(Dec(2))' + InheritFormatting: false + } } AttributeRepresentation EstimatedTotalCost { diff --git a/_Main/Sys/Repr/Global/DL_EngineRackCell.qrp b/_Main/Sys/Repr/Global/DL_EngineRackCell.qrp index 1ee56ec..11c975a 100644 --- a/_Main/Sys/Repr/Global/DL_EngineRackCell.qrp +++ b/_Main/Sys/Repr/Global/DL_EngineRackCell.qrp @@ -36,6 +36,14 @@ { AttributeKey: '[413988.0.1488160075]' Synonym: '绯绘暟' + Conditional: + [ + ] + DataRepresentation.Default + { + FormatString: 'N(Dec(2))' + InheritFormatting: false + } } AttributeRepresentation DLExternalRentalWarehouseTransportationCosts { diff --git a/_Main/Sys/Repr/Global/MachineLogisticsCostReportCell.qrp b/_Main/Sys/Repr/Global/MachineLogisticsCostReportCell.qrp index 6e211a7..b891513 100644 --- a/_Main/Sys/Repr/Global/MachineLogisticsCostReportCell.qrp +++ b/_Main/Sys/Repr/Global/MachineLogisticsCostReportCell.qrp @@ -11,6 +11,14 @@ { AttributeKey: '[413988.0.1462991559]' Synonym: '绯绘暟' + Conditional: + [ + ] + DataRepresentation.Default + { + FormatString: 'N(Dec(2))' + InheritFormatting: false + } } AttributeRepresentation EstimatedTotalCost { diff --git a/_Main/UI/MacroPlannerWebApp/Views/CCEngineRackReport.vw b/_Main/UI/MacroPlannerWebApp/Views/CCEngineRackReport.vw index 30d67af..2861c46 100644 --- a/_Main/UI/MacroPlannerWebApp/Views/CCEngineRackReport.vw +++ b/_Main/UI/MacroPlannerWebApp/Views/CCEngineRackReport.vw @@ -30,7 +30,7 @@ FormCC_EngineRackReport_MatrixEditor531 { gridColor: '#c4c4c4' - totalHeaderWidth: 500 + totalHeaderWidth: 214 attributeHeaderWidthRatio: 0.6 nameHeaderWidthRatio: 0.4 columnWidth: 100 -- Gitblit v1.9.3