From e9d7a5ef4c17e4804fb988dd193ff7d1fa36d52b Mon Sep 17 00:00:00 2001
From: chr <chr@chr.com>
Date: 星期一, 12 八月 2024 09:08:43 +0800
Subject: [PATCH] 优化;

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

diff --git a/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml b/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
index f7f91b2..e7fb6b5 100644
--- a/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
+++ b/PdmSwPlugin.PropertySetting/Panel/JgjPartPanel.xaml
@@ -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