From 879cf415152ac5df5662850c12c0eff373fdcbcc Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 9 Feb 2022 17:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E8=A1=8C=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/WMS/WMSKanbanExtendAppService.cs | 4 ++-- .../Entities/WMS/WmsHQKBOutputAppService.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs index fcf4db15..4b8df930 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs @@ -315,7 +315,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS foreach (var itm in _ls) { - checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!") }); + checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); } @@ -323,7 +323,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS if (checkList.Count > 0) { - return await ExportErrorReportAsync(checkList); + return await ExportErrorReportAsync(checkList, "校验失败.xlsx"); } diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs index 8703267f..ebf449ed 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs @@ -298,12 +298,12 @@ namespace Win.Sfs.SettleAccount.Entities.WMS foreach (var itm in _ls) { - checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!") }); + checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); } if (checkList.Count > 0) { - return await ExportErrorReportAsync(checkList); + return await ExportErrorReportAsync(checkList,"校验失败.xlsx"); } if (_ls.Count() > 0)