From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化

---
 HMI.ParameterManage/ProductModal.xaml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/HMI.ParameterManage/ProductModal.xaml b/HMI.ParameterManage/ProductModal.xaml
index 10d4dd4..c91057b 100644
--- a/HMI.ParameterManage/ProductModal.xaml
+++ b/HMI.ParameterManage/ProductModal.xaml
@@ -27,14 +27,16 @@
                 <TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" />
             </pu:FormGroup>
 
-            <pu:FormGroup x:Name="FgIsMaster" Style="{StaticResource InputFormGroupStyle}" 
+            <pu:FormGroup x:Name="FgIsMaster" Style="{StaticResource InputFormGroupStyle}" Visibility="Collapsed" 
                           Header="{DynamicResource Pm.Product.IsSample}" GroupName="MyFormGroup">
                 <CheckBox x:Name="TbIsMaster"  />
             </pu:FormGroup>
 
             <pu:FormGroup x:Name="FgParentId" Style="{StaticResource InputFormGroupStyle}" 
                   Header="{DynamicResource Pm.Product.Extend}" GroupName="MyFormGroup">
-                <TextBox x:Name="TbParentId" Style="{StaticResource EditorTextBoxStyle}" />
+                <!--<TextBox x:Name="TbParentId" Style="{StaticResource EditorTextBoxStyle}" />-->
+                <ComboBox x:Name="CbParent" Style="{StaticResource FormComboxStyle}"
+                          pu:ComboBoxHelper.ClearButtonVisibility="Visible"/>
             </pu:FormGroup>
         </StackPanel>
     </Grid>

--
Gitblit v1.9.1