diff --git a/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml b/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml index e208298..1664179 100644 --- a/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml +++ b/SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml @@ -77,9 +77,9 @@ - - - + + + diff --git a/SlnMesnac.RfidUpload.UI/viewModel/ContainerTransferOrderViewModel.cs b/SlnMesnac.RfidUpload.UI/viewModel/ContainerTransferOrderViewModel.cs index 2a87eb1..7fd0295 100644 --- a/SlnMesnac.RfidUpload.UI/viewModel/ContainerTransferOrderViewModel.cs +++ b/SlnMesnac.RfidUpload.UI/viewModel/ContainerTransferOrderViewModel.cs @@ -200,6 +200,11 @@ namespace SlnMesnac.RfidUpload.UI.viewModel TransferOrderInfoItems = new ObservableCollection(institutionList); TotalAmount = TransferOrderInfoItems.Count.ToString(); } + else + { + TransferOrderInfoItems.Clear(); + TotalAmount = "0"; + } #endregion