master
nodyang@aliyun.com 1 month ago
parent d7c0b7e1a7
commit b6e479d7f3

@ -206,6 +206,11 @@ namespace SlnMesnac.RfidUpload.UI.viewModel
TotalAmount = TransferOrderInfoItems.Count.ToString(); TotalAmount = TransferOrderInfoItems.Count.ToString();
} }
} }
else
{
TransferOrderInfoItems = new ObservableCollection<TransferOrderInfo>(new List<TransferOrderInfo>());
TotalAmount = TransferOrderInfoItems.Count.ToString();
}
#endregion #endregion
}catch (Exception ex) }catch (Exception ex)

Loading…
Cancel
Save