From 43a0207d207390abdeeb3ab9155eebf03edd7b1a Mon Sep 17 00:00:00 2001
From: chr <chr@mailcom>
Date: 星期一, 21 四月 2025 09:28:01 +0800
Subject: [PATCH] 优化;

---
 PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml b/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
index f7f91b2..3bc1fe9 100644
--- a/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
+++ b/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
@@ -5,7 +5,7 @@
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              mc:Ignorable="d" 
              x:Name="self"
-             d:DesignHeight="900" d:DesignWidth="800" Background="#FFF">
+             d:DesignHeight="900" d:DesignWidth="800">
 
     <UserControl.Resources>
         <ResourceDictionary>
@@ -19,12 +19,12 @@
     <StackPanel>
         <StackPanel x:Name="materialCodePanel">
             <Label Content="鐗╂枡缂栫爜"/>
-            <TextBox  x:Name="materialCodeText" Text="{Binding materialCode,UpdateSourceTrigger=PropertyChanged}"/>
+            <TextBox x:Name="materialCodeText" IsReadOnly="True" Text="{Binding materialCode,UpdateSourceTrigger=PropertyChanged}"/>
         </StackPanel>
 
         <StackPanel x:Name="weightPanel">
             <Label Content="閲嶉噺锛坘g锛�"/>
-            <TextBox IsReadOnly="True" x:Name="weightText" Text="{Binding weight,UpdateSourceTrigger=PropertyChanged}"/>
+            <TextBox IsReadOnly="True" x:Name="weightText" Text="{Binding weight}"/>
         </StackPanel>
 
         <StackPanel x:Name="materialNamePanel">

--
Gitblit v1.9.1