From 14a8e8d902240c284cdd70618cecce1dd1c5b81c Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Fri, 11 Feb 2022 10:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E6=97=97=E6=95=B0=E6=8D=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4-=E5=87=BA=E5=BA=93=E6=95=B0=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/WMS/WmsHQKBOutputAppService.cs | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 ebf449ed..a201b180 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs @@ -169,7 +169,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS string.Empty, itm.Qty, tm1 == null ? 0 : tm1.Qty, - itm.OutputQty, + itm.Qty, string.Empty, itm.BillNum, itm.State, @@ -293,18 +293,18 @@ namespace Win.Sfs.SettleAccount.Entities.WMS { _ls = await _wmsRepository.Where(p => p.Version == input.Version && p.BillNum == input.BillNum && p.State != 2).ToListAsync(); } - _ls = _ls.Where(p => p.SockQty < p.OutputQty || p.Qty < p.OutputQty).ToList(); - var checkList = new List(); - - foreach (var itm in _ls) - { - checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); - } - if (checkList.Count > 0) - { - - return await ExportErrorReportAsync(checkList,"校验失败.xlsx"); - } + //_ls = _ls.Where(p => p.SockQty < p.OutputQty || p.Qty < p.OutputQty).ToList(); + //var checkList = new List(); + + //foreach (var itm in _ls) + //{ + // checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); + //} + //if (checkList.Count > 0) + //{ + + // return await ExportErrorReportAsync(checkList,"校验失败.xlsx"); + //} if (_ls.Count() > 0) {