Commit 343b1a96 authored by 黄奎's avatar 黄奎

页面修改

parent c67adeb7
...@@ -136,5 +136,15 @@ namespace Mall.Model.Extend.Product ...@@ -136,5 +136,15 @@ namespace Mall.Model.Extend.Product
/// 区域列表 /// 区域列表
/// </summary> /// </summary>
public List<RB_GroupBuy_Area_Extend> AreaList { get; set; } public List<RB_GroupBuy_Area_Extend> AreaList { get; set; }
/// <summary>
/// 运费名称
/// </summary>
public string FreightName { get; set; }
/// <summary>
/// 表单名称
/// </summary>
public string FormsName { get; set; }
} }
} }
using Mall.Model.Entity.Product; using Mall.Model.Entity.Product;
using Mall.Model.Extend.Product; using Mall.Model.Extend.Product;
using Mall.Repository.BaseSetUp;
using Mall.Repository.Product; using Mall.Repository.Product;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
...@@ -58,6 +59,11 @@ namespace Mall.Module.Product ...@@ -58,6 +59,11 @@ namespace Mall.Module.Product
/// </summary> /// </summary>
private readonly RB_GroupBuy_AreaRepository groupbuy_AreaRepository = new RB_GroupBuy_AreaRepository(); private readonly RB_GroupBuy_AreaRepository groupbuy_AreaRepository = new RB_GroupBuy_AreaRepository();
/// <summary>
/// 运费
/// </summary>
private readonly RB_Logistics_RulesRepository logistics_RulesRepository = new RB_Logistics_RulesRepository();
/// <summary> /// <summary>
/// 根据查询条件获取地区信息 /// 根据查询条件获取地区信息
...@@ -354,6 +360,24 @@ namespace Mall.Module.Product ...@@ -354,6 +360,24 @@ namespace Mall.Module.Product
GoodsId = extModel.GoodId, GoodsId = extModel.GoodId,
}); });
} }
//运费
if (extModel.FreightId > 0)
{
extModel.FreightName = logistics_RulesRepository.GetEntity(extModel.FreightId)?.RulesName ?? "";
}
else
{
extModel.FreightName = "默认运费";
}
//表单
if (extModel.FormsId > 0)
{
extModel.FormsName = "未建表";
}
else
{
extModel.FormsName = "默认表单";
}
extModel.SpecificationList = specificationList; extModel.SpecificationList = specificationList;
extModel.SpecificationPriceList = specPriceList; extModel.SpecificationPriceList = specPriceList;
extModel.GroupList = groupStepList; extModel.GroupList = groupStepList;
......
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