diff --git a/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs b/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs index 5ac7618..77e167b 100644 --- a/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs +++ b/SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs @@ -206,6 +206,11 @@ namespace SlnMesnac.RfidUpload.UI.viewModel TotalAmount = TransferOrderInfoItems.Count.ToString(); } } + else + { + TransferOrderInfoItems = new ObservableCollection(new List()); + TotalAmount = TransferOrderInfoItems.Count.ToString(); + } #endregion }catch (Exception ex)