feat: 公司概览导出支持自定义税率,增加商品成本/其他成本列

CompanyExportDTO / ShopExportDTO: 加 taxRate 字段
ExportServiceImpl:
  - buildShopData 加 taxRate 参数,汇总税额用参数税率
  - 明细表头: 成本运费 → 商品成本/运费/其他成本三列
  - 税额表头动态: 4%税额 → X%税额
前端: 导出请求加 taxRate 参数
This commit is contained in:
小蟑螂
2026-04-15 22:54:44 +08:00
parent 03cf396aea
commit 0caa8e8e95
4 changed files with 49 additions and 20 deletions
@@ -567,6 +567,7 @@ const handleExportCompanyOverview = async () => {
endDate.format('YYYY-MM-DD'),
],
shopIds,
taxRate: taxRate.value,
},
filename,
);