订单金额统计利润计算功能

This commit is contained in:
wule committed 2025-09-02 19:03:37 +08:00
1 parent eca6a8a9e7
commit cc539ce604
27 files changed
+2090 -214

No files matched your search

@@ -28,7 +28,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
public List<string> lstShopIdSelect = new List<string>();
public List<string> lstActivityThematicIdSelect = new List<string>();
public List<int> lstDiscount = new List<int>() { 60, 70, 80, 85 };
public Dictionary<string, List<SubOrderInfo>> dicNoSaleProd = new Dictionary<string, List<SubOrderInfo>>();
public Dictionary<string, List<WarehouseProductSubOrderInfo>> dicNoSaleProd = new Dictionary<string, List<WarehouseProductSubOrderInfo>>();
public MarketingActivityForm()
{
@@ -768,7 +768,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
shopRow.Cells["colMessage"].Value = "正在查询无销量商品";
}));
this.dicNoSaleProd[shop.ShopId] = new List<SubOrderInfo>();
this.dicNoSaleProd[shop.ShopId] = new List<WarehouseProductSubOrderInfo>();
int page = 0;
int totalPage = 1;
while (page < totalPage)
@@ -802,7 +802,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
foreach (var item in jArr)
{
string sItem = item.ToString();
SubOrderInfo sInfo = JsonHelper.DeserializeJsonToObject<SubOrderInfo>(sItem); // 反序列化得到类
WarehouseProductSubOrderInfo sInfo = JsonHelper.DeserializeJsonToObject<WarehouseProductSubOrderInfo>(sItem); // 反序列化得到类
if (sInfo != null)
{
this.dicNoSaleProd[shop.ShopId].Add(sInfo);