|
|
@ -307,6 +307,15 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
var invs = await _invMng.GetInvoiceListAsync(p_invs).ConfigureAwait(false); |
|
|
|
if (invs.Count > 0) |
|
|
|
{ |
|
|
|
var noinvscount = invs.Count(p =>string.IsNullOrEmpty(p.RealnvBillNum)); |
|
|
|
if (noinvscount > 0) |
|
|
|
{ |
|
|
|
errors.Add(new ERR_EXP_DTO() { Message = $"选择发票有没有金税发票号发票,不能审核!" }); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var ls = invs.Where(p => p.State != SettleBillState.商务已审核).Distinct(); |
|
|
|
if (ls.Any()) |
|
|
|
{ |
|
|
|