Commit 9e1e2af2 authored by 黄奎's avatar 黄奎

页面修改

parent 0b8d012d
...@@ -2355,8 +2355,11 @@ namespace Mall.Module.Product ...@@ -2355,8 +2355,11 @@ namespace Mall.Module.Product
if (model.IsCustomSpecification == 1 && model.SpecificationPriceList != null && model.SpecificationPriceList.Count > 0) if (model.IsCustomSpecification == 1 && model.SpecificationPriceList != null && model.SpecificationPriceList.Count > 0)
{ {
var tempList = model.SpecificationPriceList.Where(x => x.SellingPrice > 0)?.ToList() ?? new List<RB_Goods_SpecificationPrice_Extend>(); 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; if (tempList != null && tempList.Count > 0)
price_member_max = price_max = tempList?.Max(x => x.SellingPrice ?? 0) ?? 0; {
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 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