From bfb739bfa23e6d167d3feb4d1cb94dbe08776594 Mon Sep 17 00:00:00 2001 From: liuwf Date: Tue, 17 Dec 2024 14:31:36 +0800 Subject: [PATCH] . --- SlnMesnac.RfidUpload.UI/TransferOrderWindow.xaml | 6 +++--- .../viewModel/ContainerTransferOrderViewModel.cs | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) 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