Commit ead17e6b authored by 黄奎's avatar 黄奎

页面修改

parent 5123e5b6
......@@ -2354,8 +2354,9 @@ namespace Mall.Module.Product
{
if (model.IsCustomSpecification == 1 && model.SpecificationPriceList != null && model.SpecificationPriceList.Count > 0)
{
price_member_min = price_min = model.SpecificationPriceList.Where(x => x.SellingPrice > 0).Min(x => x.SellingPrice ?? 0);
price_member_max = price_max = model.SpecificationPriceList.Where(x => x.SellingPrice > 0).Max(x => x.SellingPrice ?? 0);
var tempList = model.SpecificationPriceList.Where(x => x.SellingPrice > 0)?.ToList() ?? new List<RB_Goods_SpecificationPrice_Extend>();
price_member_min = price_min = tempList?.Min(x => x.SellingPrice ?? 0)??0;
price_member_max = price_max = tempList?.Max(x => x.SellingPrice ?? 0) ?? 0;
}
else
{
......
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