From b6e479d7f3bfc51e98f8b67767a40178edc34487 Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Tue, 17 Dec 2024 14:11:38 +0800 Subject: [PATCH] 44 --- SlnMesnac.RfidUpload.UI/viewModel/TransferOrderViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) 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)