Commit c4fa3379 authored by 黄奎's avatar 黄奎

页面修改

parent d76eb05b
......@@ -1194,13 +1194,16 @@ namespace Mall.WebApi.Controllers.MallBase
{
var smodel = model.SpecificationList[i];
var svmodel = smodel.SpecificationValueList.Where(x => x.Sort == Convert.ToInt32(ssarr[i])).FirstOrDefault();
attr_list.Add(new
if (svmodel != null)
{
attr_group_name = smodel.Name,
attr_group_id = smodel.Sort,
attr_id = svmodel.Id,
attr_name = svmodel.Name
});
attr_list.Add(new
{
attr_group_name = smodel.Name,
attr_group_id = smodel.Sort,
attr_id = svmodel.Id,
attr_name = svmodel.Name
});
}
}
}
decimal price_member = item.SellingPrice ?? 0;//未设会员价格的话 就为销售价格
......
......@@ -240,7 +240,11 @@ namespace Mall.WebApi.Controllers.User
{
var parms = RequestParm;
var query = JsonConvert.DeserializeObject<RB_Distributor_Info_Extend>(RequestParm.msg.ToString());
query.TenantId = UserInfo.TenantId;
if (UserInfo != null && UserInfo.TenantId > 0)
{
query.TenantId = UserInfo.TenantId;
}
query.MallBaseId = parms.MallBaseId;
query.AuditStatus = Common.Enum.User.DistributorAuditStatusEnum.Audited;
if (string.IsNullOrWhiteSpace(query.Name))
......
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