From 3b0201b7ca94b8a97f12c005fe86346753ba24a4 Mon Sep 17 00:00:00 2001 From: wangshaoyang <18303387296@139.com> Date: Mon, 29 Apr 2019 11:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8D=95No.143247=20?= =?UTF-8?q?=E3=80=81=E3=80=90=E4=BB=93=E5=BA=93=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E3=80=91=E6=89=93=E5=BC=80=E7=95=8C=E9=9D=A2=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=8A=E6=AC=A1=E6=89=93=E5=BC=80=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=B8=AD=E5=8B=BE=E9=80=89=E7=9A=84=E7=89=87/?= =?UTF-8?q?=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Windows/CarcassSaleOutWindow_/CarcassSaleOutConfig.cs | 2 ++ .../CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml | 2 +- .../CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) 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); + } } }