diff --git a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfig.cs b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfig.cs
index 4207758..62edee4 100644
--- a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfig.cs
+++ b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfig.cs
@@ -12,5 +12,7 @@ namespace B3DealerClient.Windows.CarcassSaleOutWindow_
public NameIDPair Store { get; set; }
public decimal? HookWeight { get; set; }
+
+ public bool? IsPic { get; set; }
}
}
diff --git a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml
index 2331b42..ffd15c9 100644
--- a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml
+++ b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml
@@ -214,7 +214,7 @@
-
+
diff --git a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs
index f634e48..205449c 100644
--- a/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs
+++ b/B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs
@@ -59,6 +59,7 @@ namespace B3DealerClient.Windows.CarcassSaleOutWindow_
if (config.Store != null)
context.Store = config.Store;
context.HookWeight = config.HookWeight;
+ weightUnit.IsChecked = config.IsPic;
pageSize = (int)customerPanel.ActualHeight / 60;
}
@@ -302,5 +303,11 @@ namespace B3DealerClient.Windows.CarcassSaleOutWindow_
context.Dmo = context.Dmo;
MessageBox.Show("配货完成");
}
+
+ private void weightUnit_Checked(object sender, RoutedEventArgs e)
+ {
+ config.IsPic = weightUnit.IsChecked;
+ XmlUtil.SerializerObjToFile(config);
+ }
}
}