|
@ -200,7 +200,7 @@ namespace BBWY.Client.ViewModels |
|
|
}; |
|
|
}; |
|
|
IsLoading = true; |
|
|
IsLoading = true; |
|
|
var shopList = SelectedDepartment.ShopList.Where(s => s.IsSelected).ToList(); |
|
|
var shopList = SelectedDepartment.ShopList.Where(s => s.IsSelected).ToList(); |
|
|
var sDate = StartDate; |
|
|
var sDate = StartDate.AddDays(-5); |
|
|
var eDate = EndDate; |
|
|
var eDate = EndDate; |
|
|
Task.Factory.StartNew(() => |
|
|
Task.Factory.StartNew(() => |
|
|
{ |
|
|
{ |
|
@ -408,8 +408,8 @@ namespace BBWY.Client.ViewModels |
|
|
{ |
|
|
{ |
|
|
var array = line.CSVstrToArry(); |
|
|
var array = line.CSVstrToArry(); |
|
|
var sourceMerchantOrderNo = array[2].FormatString(); |
|
|
var sourceMerchantOrderNo = array[2].FormatString(); |
|
|
if (!string.IsNullOrEmpty(sourceMerchantOrderNo) && sourceMerchantOrderNo.StartsWith("XP")) |
|
|
//if (!string.IsNullOrEmpty(sourceMerchantOrderNo))
|
|
|
continue; //暂时不支持此类商户单号
|
|
|
// continue; //暂时不支持此类商户单号
|
|
|
|
|
|
|
|
|
var expenditureAmount = decimal.Parse(array[7].FormatString()); |
|
|
var expenditureAmount = decimal.Parse(array[7].FormatString()); |
|
|
if (expenditureAmount == 0) //支出为0的账单不参与审计
|
|
|
if (expenditureAmount == 0) //支出为0的账单不参与审计
|
|
@ -426,7 +426,8 @@ namespace BBWY.Client.ViewModels |
|
|
ProductName = array[3].FormatString(), |
|
|
ProductName = array[3].FormatString(), |
|
|
PayTime = DateTime.Parse(array[4].FormatString()), |
|
|
PayTime = DateTime.Parse(array[4].FormatString()), |
|
|
OppositeAccount = array[5].FormatString(), |
|
|
OppositeAccount = array[5].FormatString(), |
|
|
ExpenditureAmount = Math.Abs(expenditureAmount) |
|
|
ExpenditureAmount = Math.Abs(expenditureAmount), |
|
|
|
|
|
Remark = array[11] |
|
|
}; |
|
|
}; |
|
|
payBill.MerchantOrderNo = payBill.SourceMerchantOrderNo; |
|
|
payBill.MerchantOrderNo = payBill.SourceMerchantOrderNo; |
|
|
if (payBill.SourceMerchantOrderNo.StartsWith("T50060NP")) |
|
|
if (payBill.SourceMerchantOrderNo.StartsWith("T50060NP")) |
|
|