mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:09:19 +08:00
refactor: 完全迁移店铺概览和商品概览到bi层
This commit is contained in:
@@ -53,7 +53,7 @@ export type OverviewRouteQuery = {
|
||||
shopId?: string;
|
||||
};
|
||||
|
||||
/** 概览页跳转(店铺/商品)时附带的 query,与全店概览一致 */
|
||||
/** 概览页跳转(店铺/商品)时附带的 query,与工作台筛选一致 */
|
||||
export function buildOverviewRouteQuery(
|
||||
dateRange: [Dayjs, Dayjs],
|
||||
options?: { shopId?: number },
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* 店铺/全店概览接口:费比 feeRatio / averageFeeRatio 为小数(推广费÷销售额,如 0.05 = 5%)。
|
||||
* 店铺/工作台接口:费比 feeRatio / averageFeeRatio 为小数(推广费÷销售额,如 0.05 = 5%)。
|
||||
* 达成率等字段后端已为 0–100 的数值,勿用本函数。
|
||||
*/
|
||||
export function formatFeeRatioPercent(value: number | undefined | null): string {
|
||||
|
||||
Reference in New Issue
Block a user