|
|
@ -420,7 +420,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
|
public async Task<string> ExcelImport([FromForm] IFormFileCollection files, string version) |
|
|
|
{ |
|
|
|
var _billNum = "HQKB" + DateTime.Now.ToString("yyyyMMddhhmmss"); |
|
|
|
var _billNum = "HQFKB" + DateTime.Now.ToString("yyyyMMddhhmmss"); |
|
|
|
ExportImporter _exportImporter = new ExportImporter(); |
|
|
|
var result = await _exportImporter.ExtendExcelImport<WmsHQFKanbanOutPutDetial>(files, _excelImportService); |
|
|
|
List<WmsHQFKanbanOutPutDetial> _lst = new List<WmsHQFKanbanOutPutDetial>(); |
|
|
@ -461,7 +461,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
equals |
|
|
|
new { itm2.MaterialCode, itm2.Kanban,itm2.PoLine } |
|
|
|
select itm1; |
|
|
|
var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Sum(itm => itm.Qty) }); |
|
|
|
var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Count() }); |
|
|
|
|
|
|
|
var checkList = new List<ErrorExportDto>(); |
|
|
|
foreach (var itm in errList) |
|
|
|