//根据多条件进行分组查询
var SkuList = (from p in vm.Cartons
group p by new
{
p.SKUNo,
p.ColorCode,
p.ColorDesc,
p.SizeCode,
p.SizeDesc
}).ToList();