From 162cf1818e6074e61f76a49356aa15d13edb55f5 Mon Sep 17 00:00:00 2001 From: liuwf Date: Tue, 17 Dec 2024 14:18:33 +0800 Subject: [PATCH] =?UTF-8?q?change-=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContainerTransferOrderWindow.xaml | 20 +++++++++---------- .../TransferOrderWindow.xaml | 2 +- .../viewModel/TransferOrderViewModel.cs | 6 ++++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/SlnMesnac.RfidUpload.UI/ContainerTransferOrderWindow.xaml b/SlnMesnac.RfidUpload.UI/ContainerTransferOrderWindow.xaml index ba2295b..a03c9ca 100644 --- a/SlnMesnac.RfidUpload.UI/ContainerTransferOrderWindow.xaml +++ b/SlnMesnac.RfidUpload.UI/ContainerTransferOrderWindow.xaml @@ -72,16 +72,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml b/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml index eb32ab5..3939ee7 100644 --- a/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml +++ b/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml @@ -82,7 +82,7 @@ - + diff --git a/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs b/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs index 77e167b..6e89893 100644 --- a/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs +++ b/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs @@ -208,8 +208,10 @@ namespace SlnMesnac.RfidUpload.UI.viewModel } else { - TransferOrderInfoItems = new ObservableCollection(new List()); - TotalAmount = TransferOrderInfoItems.Count.ToString(); + TransferOrderInfoItems.Clear(); + TotalAmount = "0"; + //TransferOrderInfoItems = new ObservableCollection(new List()); + //TotalAmount = TransferOrderInfoItems.Count.ToString(); } #endregion