Commit d76eb05b authored by 黄奎's avatar 黄奎

页面修改

parent 8f49169d
......@@ -1904,6 +1904,8 @@ namespace Mall.Module.Product
{
var sModel = speciList.Where(x => x.GoodsId == item.GoodsId).ToList()[i];
var svModel = speciVList.Where(x => x.GoodsId == item.GoodsId && x.SpecificationId == sModel.Id && x.Sort == Convert.ToInt32(KeyArr[i])).FirstOrDefault();
if(svModel!= null)
{
item.SpecificationNameList.Add(sModel.Name + ":" + svModel.Name);
attr_list.Add(new
{
......@@ -1918,6 +1920,7 @@ namespace Mall.Module.Product
}
}
}
}
var speciPModel = speciPList.Where(x => x.GoodsId == item.GoodsId && x.SpecificationSort == item.SpecificationSort).FirstOrDefault();
gmodel.SellingPrice = speciPModel?.SellingPrice ?? 0;
gmodel.InventoryNum = speciPModel?.InventoryNum ?? 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment