|
|
@ -1617,14 +1617,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
groupList.AddRange(mapList); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (p_first == true) |
|
|
|
{ |
|
|
|
var mng = await _hbpoMng.GetMainAsync(p_InvGroupNum); |
|
|
|
|
|
|
|
|
|
|
|
var notsettle = _nothbpoRepository.Where(p => p.SettleBillNum == mng.SettleBillNum);//一次开票时查找不可结数据,追加需求
|
|
|
|
|
|
|
|
var notsettle = _nothbpoRepository.Where(p => p.SettleBillNum == mng.SettleBillNum);//一次开票时查找不可结数据,追加需求
|
|
|
|
if (notsettle != null && notsettle.Count() > 0) |
|
|
|
{ |
|
|
|
var innotls = new List<INVOICE_NOT_SETTLE>(); |
|
|
@ -1647,16 +1643,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
{ |
|
|
|
notDetialList.AddRange(innotls); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//invoiceBillNum = OrderNumberGenerator.GenerateOrderNumber("INV");
|
|
|
|
} |
|
|
|
|
|
|
@ -1711,10 +1699,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
{ |
|
|
|
notDetialList.AddRange(innotls); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
decimal amt = detailList.Sum(k => k.Amt);//金额
|
|
|
|
decimal txtAmt = detailList.Sum(k => k.Amt) + Math.Round(detailList.Sum(k => k.Amt) * 0.13m, 2);//税后金额
|
|
|
|
decimal realAmt = Math.Round(detailList.Sum(k => k.Amt) * 0.13m, 2);//税额
|
|
|
|