|
|
@ -163,13 +163,14 @@ namespace BBWY.Client.ViewModels |
|
|
|
ShopList.Clear(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void SearchHistory() |
|
|
|
{ |
|
|
|
if (IsLoading) |
|
|
|
return; |
|
|
|
ClearAudit(); |
|
|
|
IsLoading = true; |
|
|
|
var importShopIds = string.Join(',', ShopList.Where(s => s.IsSelected).Select(s => s.ShopId)); |
|
|
|
var importShopIds = string.Join(',', ShopList.Where(s => s.IsSelected).Select(s => s.ShopId).OrderBy(s => s).ToList()); |
|
|
|
Task.Factory.StartNew(() => financialTerminalService.GetAuditPayBillList(importShopIds, StartDate, EndDate)).ContinueWith(t => |
|
|
|
{ |
|
|
|
IsLoading = false; |
|
|
@ -541,7 +542,7 @@ namespace BBWY.Client.ViewModels |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
var importShopIds = string.Join(',', ShopList.Where(s => s.IsSelected).Select(s => s.ShopId)); |
|
|
|
var importShopIds = string.Join(',', ShopList.Where(s => s.IsSelected).Select(s => s.ShopId).OrderBy(s => s).ToList()); |
|
|
|
|
|
|
|
var replaceResponse = financialTerminalService.IsExistAuditPayBill(importShopIds, StartDate, EndDate); |
|
|
|
if (!replaceResponse.Success) |
|
|
|