public ActionResult CreateSkuTable(FormCollection collection)
        {
            if (!collection["EditSkuData"].IsEmpty() && collection["EditSkuData"].Length > 10)
            {
                ViewData["SkuData"] = collection["EditSkuData"].Deserialize<IList<ItemSkuInDetail>>();
            }
            //6c2f4272,dbb9e417
            var tempskuid = (collection["CustomSkuId"] ?? "").Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
            //dbb9e417
            var skuId = tempskuid;
            if (tempskuid.Any())
            {
                //1
                var skuNames = new List<string>();
                tempskuid.ForEach(s =>
                {
                    var name = collection["CustomSkuN-" + s];
                    if (name.IsEmpty())
                    {
                        skuId = skuId.Where(e => e != s).ToArray();
                    }
                    else
                    {
                        skuNames.Add(name);
                    }
                });

                var r = new List<CustomSkuModel>();
                for (var i = 0; i < skuNames.Count; i++)
                {
                    //1
                    var name = skuNames[i];
                    var values = collection["CustomSkuV-" + skuId[i]].Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
                    var vids = collection["CustomSkuV-Id-" + skuId[i]].Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
                    if (values.Length > 0)
                    {
                        r.Add(new CustomSkuModel
                        {
                            Name = name.Trim(),
                            Values = values,
                            Id = skuId[i],
                            KeyIds = vids.Take(values.Length).ToArray()
                        });
                    }
                }

                if (r.Count > 0)
                {
                    var rows = 1;
                    r.ForEach(e =>
                    {
                        rows = e.Values.Count * rows;
                    });
                    if (rows <= 600)
                    {
                        ViewData["Rows"] = rows;
                        return PartialView(r);
                    }

                    return Content("false-sku超限");
                }

                return Content("false-skuid:" + skuId.ContactString("^") + "names:" + skuNames.ContactString("^"));
            }

            return Content("false-skuid:" + collection["CustomSkuId"]);
        }
        private string GetImages(string imgStr)
        {
            if (!imgStr.IsEmpty())
            {
                var thumb = imgStr.Trim(',').Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
                var hasnotadd = new List<string>();
                thumb.Where(e => e.IndexOf('^') > 0).ForEach(s => hasnotadd.Add(s.Split('^')[1]));
                return hasnotadd.ContactString(",");
            }

            return "";
        }