|
@ -60,10 +60,10 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//计算与添加托盘和尾箱
|
|
|
//计算与添加托盘和尾箱
|
|
|
var palletCodes = barcodes.Select(p => p.Extend2).Distinct().ToList(); |
|
|
var palletCodes = barcodes.Select(p => p.PalletCode).Distinct().ToList(); |
|
|
foreach (var palletCode in palletCodes) |
|
|
foreach (var palletCode in palletCodes) |
|
|
{ |
|
|
{ |
|
|
var palletBarcodes = barcodes.Where(p => p.Extend2==palletCode).ToList(); |
|
|
var palletBarcodes = barcodes.Where(p => p.PalletCode == palletCode).ToList(); |
|
|
|
|
|
|
|
|
var items = new List<Item>(); |
|
|
var items = new List<Item>(); |
|
|
var group = palletBarcodes |
|
|
var group = palletBarcodes |
|
|