利润统计 功能开放

统计页面增加新的统计功能
This commit is contained in:
chfei committed 2026-08-07 18:52:33 +08:00
1 parent f12a7f14ea
commit d25374956e
10 files changed
+571 -323

No files matched your search

@@ -137,6 +137,20 @@ namespace _29WxOrderWpf.Ctrls.Statistics.Models
/// </summary>
[JsonProperty("external_procurement")]
public int ExternalProcurement { get; set; }
/// <summary>
/// 买手退款金额
/// </summary>
[JsonProperty("buyer_refund_amount")]
public int BuyerRefundAmount { get; set; }
/// <summary>
/// 买手退款状态
/// </summary>
[JsonProperty("buyer_refund_status")]
public string BuyerRefundStatus { get; set; }
}
/// <summary>
@@ -155,8 +169,8 @@ namespace _29WxOrderWpf.Ctrls.Statistics.Models
/// <summary>退款金额(统计期间退款)</summary>
public decimal RefundAmount { get; set; }
/// <summary>商品销量(有效销量)</summary>
public int ProductSalesVolume { get; set; }
/// <summary>退款订单数</summary>
public int RefundOrderCount { get; set; }
/// <summary>平台服务费总额(元)</summary>
public decimal PlatformFeeTotal { get; set; }
@@ -172,6 +186,15 @@ namespace _29WxOrderWpf.Ctrls.Statistics.Models
/// <summary>平均利润率(利润 / 采购金额,百分数,如 12.34 表示 12.34%)</summary>
public decimal AverageProfitRate { get; set; }
/// <summary>买手号付款金额(采购金额,元)</summary>
public decimal BuyerPaymentAmount { get; set; }
/// <summary>买手号退款金额(采购退款金额,元)</summary>
public decimal BuyerRefundAmount { get; set; }
/// <summary>买手号退款成功金额(采购退款金额,元)</summary>
public decimal BuyerRefundSuccessedAmount { get; set; }
/// <summary>买手号剩余退款金额(尚未成功退款的金额,元)</summary>
public decimal BuyerRefundRemainingAmount => BuyerRefundAmount - BuyerRefundSuccessedAmount;
}
/// <summary>
@@ -220,7 +243,8 @@ namespace _29WxOrderWpf.Ctrls.Statistics.Models
/// <summary>销售额(元)</summary>
public decimal SalesAmount { get; set; }
/// <summary>采购金额(元)</summary>
public decimal BuyerPaymentAmount { get; set; }
/// <summary>利润(元)</summary>
public decimal Profit { get; set; }
@@ -272,6 +296,8 @@ namespace _29WxOrderWpf.Ctrls.Statistics.Models
/// <summary>销售额(元)</summary>
public decimal SalesAmount { get; set; }
/// <summary>买手号付款金额(采购金额,元)</summary>
public decimal BuyerPaymentAmount { get; set; }
/// <summary>利润(元)</summary>
public decimal Profit { get; set; }