feat(ecom): 产品概况同步增加总成本字段

- ProductOverviewVO.SpecSummaryItem 和 SpecSummaryTotal 新增 totalCost 字段
- ShopOverviewStatisticsVO 也新增 totalCost
- ProductOverviewServiceImpl / ShopOverviewStatisticsServiceImpl 计算并赋值总成本
- 前端 types.vo.ts 及各表格组件同步展示
This commit is contained in:
小蟑螂
2026-05-05 12:14:42 +08:00
parent 44662a4790
commit 31dc0cb2a1
11 changed files with 108 additions and 36 deletions
@@ -37,6 +37,8 @@ export namespace ProductOverviewVO {
shippingCost: number;
/** 其他成本 */
otherCost: number;
/** 总成本(商品成本+运费+其他成本) */
totalCost?: number;
/** 退款金额 */
refundAmount: number;
/** 推广费 */
@@ -67,6 +69,8 @@ export namespace ProductOverviewVO {
shippingCost: number;
/** 其他成本 */
otherCost: number;
/** 总成本(商品成本+运费+其他成本) */
totalCost?: number;
/** 退款金额 */
refundAmount: number;
/** 推广费 */
@@ -123,6 +123,8 @@ export namespace ShopVO {
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 总成本(商品成本+运费+其他成本) */
totalCost?: number;
/** 退款金额 */
refundAmount?: number;
/** 推广费 */
@@ -159,6 +161,8 @@ export namespace ShopVO {
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 总成本(商品成本+运费+其他成本) */
totalCost?: number;
/** 退款金额 */
refundAmount?: number;
/** 推广费 */