mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 13:49:19 +08:00
feat: 公司/店铺概览增加自定义税率参数
后端: - CompanyOverviewQueryDTO / ShopOverviewQueryDTO 增加 taxRate 字段,默认 0.04 - CompanyOverviewServiceImpl / ShopOverviewStatisticsServiceImpl 替换所有硬编码税率,统一使用请求参数中的税率 前端: - API DTO 增加 taxRate 可选参数 - 公司概览页 DatePicker 左侧增加税率输入框,localStorage 持久化 - 店铺概览页同样增加税率输入框,localStorage 持久化
This commit is contained in:
@@ -7,5 +7,7 @@ export namespace CompanyOverviewDTO {
|
||||
export interface Query {
|
||||
/** 日期范围数组(第一个是开始日期,第二个是结束日期,只有一个日期则返回当天数据) */
|
||||
dateRange: string[];
|
||||
/** 税率(默认0.04,即4%) */
|
||||
taxRate?: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,5 +53,7 @@ export namespace ShopDTO {
|
||||
shopId: number;
|
||||
/** 日期范围数组(第一个是开始日期,第二个是结束日期,只有一个日期则返回当天数据) */
|
||||
dateRange: string[];
|
||||
/** 税率(默认0.04,即4%) */
|
||||
taxRate?: number;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user