From b62a2f5ad99995ec01da71b9f93be7284023171b Mon Sep 17 00:00:00 2001
From: chr <chr@chr.com>
Date: 星期二, 20 八月 2024 11:29:13 +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