From 8a44d3902e293b0e04d68208d9299f3055d04d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 10 Oct 2023 10:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E7=A5=A8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs index 012764cd..f5f2a7dc 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs @@ -310,7 +310,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ var noinvscount = invs.Count(p =>string.IsNullOrEmpty(p.RealnvBillNum)); if (noinvscount > 0) { - errors.Add(new ERR_EXP_DTO() { Message = $"选择发票有没有金税发票号发票,不能审核!" }); + return new JsonResult(new { Code = "400", Message = "有发票没有金税发票号!" }); } var ls = invs.Where(p => p.State != SettleBillState.商务已审核).Distinct();