|
|
|
@ -195,8 +195,8 @@ namespace SlnMesnac.WPF.ViewModel
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
BeginDate = BeginDate.Date;
|
|
|
|
|
EndDate = EndDate.AddDays(1).Date;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (EndDate < BeginDate)
|
|
|
|
|
{
|
|
|
|
|
Application.Current.Dispatcher.Invoke(() =>
|
|
|
|
@ -207,8 +207,8 @@ namespace SlnMesnac.WPF.ViewModel
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
await RefreshWmsRawOutstockDetailDataGrid(BeginDate, EndDate);
|
|
|
|
|
await RefreshProductDataGrid(BeginDate, EndDate);
|
|
|
|
|
await RefreshWmsRawOutstockDetailDataGrid(BeginDate.Date, EndDate.AddDays(1).Date);
|
|
|
|
|
await RefreshProductDataGrid(BeginDate.Date, EndDate.AddDays(1).Date);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|