From 8afe90b633046db39042aada36b88193062f8cff Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 09 一月 2025 15:52:35 +0800
Subject: [PATCH] 机加管线报表库存计算参数入场离场数量计算

---
 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_SetDefaultValue.def |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_SetDefaultValue.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_SetDefaultValue.def
index 331efba..acc2c38 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_SetDefaultValue.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_SetDefaultValue.def
@@ -1,14 +1,14 @@
 Quintiq file version 2.0
 #parent: #root
-Method SetDefaultValue () id:Method_DialogCreateEditThermalTrialRatio_SetDefaultValue
+Method SetDefaultValue () id:Method_DialogCreateEditHotTestRatio_SetDefaultValue
 {
   #keys: '[415136.0.756141199]'
   Body:
   [*
     // Set default + init dialog
     
-    routings := selectset( MacroPlan, Routing, routing , true );
+    units := selectset( MacroPlan, Unit, unit , unit.HasCapacityTypeQuantity() and unit.Name().FindString( Unit::GetThermalTrial(), 0 ) >= 0 );
     
-    dhRoutingSelection.Data( routings.Copy() );
+    dhUnitSelection.Data( units.Copy() );
   *]
 }

--
Gitblit v1.9.3