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)