日报预警看板(单位:万元)
销售收入
{{ fmt(dash.total.cum_sales) }}
预算 {{ fmt(dash.total.sales_budget) }} | 完成 {{ pct(dash.total.cum_sales, dash.total.sales_budget) }}
产品成本
{{ fmt(dash.total.cum_cost) }}
占比 {{ pct(dash.total.cum_cost, dash.total.cum_sales) }}
毛利额
{{ fmt(dash.total.cum_sales - dash.total.cum_cost) }}
毛利率 {{ pct(dash.total.cum_sales - dash.total.cum_cost, dash.total.cum_sales) }}
物流费用
{{ fmt(dash.total.cum_logistics) }}
占比 {{ pct(dash.total.cum_logistics, dash.total.cum_sales) }}
销售费用
{{ fmt(dash.total.cum_sales_exp) }}
占比 {{ pct(dash.total.cum_sales_exp, dash.total.cum_sales) }}
管理费用
{{ fmt(dash.total.cum_admin_exp) }}
占比 {{ pct(dash.total.cum_admin_exp, dash.total.cum_sales) }}
利润总额
{{ fmt(dash.total.cum_profit) }}
利润率 {{ pct(dash.total.cum_profit, dash.total.cum_sales) }}
营销预警红色预警:完成率<50% | 黄色预警:完成率<85%
| 部门 | 预算利润率 | 实际利润率 | 预算完成率 | 预警状态 |
|---|---|---|---|---|
| {{ w.dept_name }} | {{ w.budget_profit_rate != null ? (w.budget_profit_rate * 100).toFixed(1) + '%' : '--' }} | {{ w.profit_rate != null ? (w.profit_rate * 100).toFixed(1) + '%' : '--' }} | {{ w.budget_completion != null ? (w.budget_completion * 100).toFixed(1) + '%' : '--' }} | {{ w.level==='red'?'红色预警':w.level==='yellow'?'黄色预警':'正常' }} |
利润日报明细表{{ dashDate }}
| 部门 | 月预算 | 累计销售 | 完成率 | 当日销售 | 累计成本 | 成本占比 | 累计物流 | 物流占比 | 累计销售费用 | 费用占比 | 累计管理费 | 累计利润 | 利润率 | 当日利润 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ d.short_name || d.dept_name }} | {{ fmt(d.sales_budget) }} | {{ fmt(d.cum_sales) }} | {{ d.sales_completion != null ? (d.sales_completion*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.day_sales) }} | {{ fmt(d.cum_cost) }} | {{ d.cost_pct != null ? (d.cost_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.cum_logistics) }} | {{ d.logistics_pct != null ? (d.logistics_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.cum_sales_exp) }} | {{ d.sales_exp_pct != null ? (d.sales_exp_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.cum_admin_exp) }} | {{ fmt(d.cum_profit) }} | {{ d.profit_rate != null ? (d.profit_rate*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.day_profit) }} |
选择日期后查看日报预警数据
周报汇总(单位:万元)
周销售收入
{{ fmt(weekKpi(w).sales) }}
周预算 {{ fmt(weekKpi(w).budget) }} | 完成 {{ pct(weekKpi(w).sales, weekKpi(w).budget) }}
周产品成本
{{ fmt(weekKpi(w).cost) }}
成本率 {{ pct(weekKpi(w).cost, weekKpi(w).sales) }}
周毛利
{{ fmt(weekKpi(w).sales - weekKpi(w).cost) }}
毛利率 {{ pct(weekKpi(w).sales - weekKpi(w).cost, weekKpi(w).sales) }}
周物流费
{{ fmt(weekKpi(w).logistics) }}
占比 {{ pct(weekKpi(w).logistics, weekKpi(w).sales) }}
周销售费用
{{ fmt(weekKpi(w).sales_exp) }}
占比 {{ pct(weekKpi(w).sales_exp, weekKpi(w).sales) }}
周利润
{{ fmt(weekKpi(w).profit) }}
利润率 {{ pct(weekKpi(w).profit, weekKpi(w).sales) }}
第{{ w.week }}周 ({{ w.start }} ~ {{ w.end }},共{{ w.days }}天)
| 部门 | 周预算 | 销售收入 | 完成率 | 产品成本 | 成本占比 | 物流费用 | 销售费用 | 管理费用 | 利润 | 利润率 |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ d.short_name || d.dept_name }} | {{ fmt(d.week_budget) }} | {{ fmt(d.sales) }} | {{ d.completion != null ? (d.completion*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.cost) }} | {{ d.cost_pct != null ? (d.cost_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.logistics) }} | {{ fmt(d.sales_exp) }} | {{ fmt(d.admin_exp) }} | {{ fmt(d.profit) }} | {{ d.profit_rate != null ? (d.profit_rate*100).toFixed(1)+'%' : '--' }} |
选择月份后查看周报汇总
月度经营快报(单位:万元)
月销售收入
{{ fmt(monthTotal.sales) }}
月产品成本
{{ fmt(monthTotal.cost) }}
占比 {{ pct(monthTotal.cost, monthTotal.sales) }}
月毛利
{{ fmt(monthTotal.sales - monthTotal.cost) }}
毛利率 {{ pct(monthTotal.sales - monthTotal.cost, monthTotal.sales) }}
月物流费用
{{ fmt(monthTotal.logistics) }}
月销售费用
{{ fmt(monthTotal.sales_exp) }}
月利润
{{ fmt(monthTotal.profit) }}
利润率 {{ pct(monthTotal.profit, monthTotal.sales) }}
经营快报明细 — {{ monthMonth }}已报{{ monthData.departments.reduce((a,d)=>Math.max(a,d.days_reported),0) }}天 / 共{{ monthData.days_in_month }}天
| 部门 | 销售预算 | 实际销售 | 预算完成率 | 产品成本 | 成本率 | 毛利 | 毛利率 | 物流费 | 物流占比 | 销售费用 | 费用占比 | 管理费用 | 利润 | 利润率 | 利润预算 | 利润完成率 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ d.short_name || d.dept_name }} | {{ fmt(d.sales_budget) }} | {{ fmt(d.sales) }} | {{ d.sales_completion != null ? (d.sales_completion*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.cost) }} | {{ d.cost_pct != null ? (d.cost_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.gross_profit) }} | {{ d.gross_rate != null ? (d.gross_rate*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.logistics) }} | {{ d.logistics_pct != null ? (d.logistics_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.sales_exp) }} | {{ d.sales_exp_pct != null ? (d.sales_exp_pct*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.admin_exp) }} | {{ fmt(d.profit) }} | {{ d.profit_rate != null ? (d.profit_rate*100).toFixed(1)+'%' : '--' }} | {{ fmt(d.profit_budget) }} | {{ d.profit_completion != null ? (d.profit_completion*100).toFixed(1)+'%' : '--' }} |
选择月份后查看月度经营快报
日报数据录入(单位:万元)
请先选择日期
| 部门 | 销售额 | 产品成本 | 物流成本 | 销售费用 | 管理费用 | 利润(自动) |
|---|---|---|---|---|---|---|
| {{ item.dept_name }} | {{ fmt(calcProfit(item)) }} |
月度预算管理(单位:万元)
销售预算合计
{{ fmt(budgetKpi.sales) }}
{{ budgetData.length }}个部门
成本预算合计
{{ fmt(budgetKpi.cost) }}
成本率 {{ pct(budgetKpi.cost, budgetKpi.sales) }}
物流预算合计
{{ fmt(budgetKpi.logistics) }}
占比 {{ pct(budgetKpi.logistics, budgetKpi.sales) }}
销售费用预算
{{ fmt(budgetKpi.sales_exp) }}
占比 {{ pct(budgetKpi.sales_exp, budgetKpi.sales) }}
管理费用预算
{{ fmt(budgetKpi.admin_exp) }}
占比 {{ pct(budgetKpi.admin_exp, budgetKpi.sales) }}
利润预算合计
{{ fmt(budgetKpi.profit) }}
利润率 {{ pct(budgetKpi.profit, budgetKpi.sales) }}
请先选择月份
| 部门 | 销售预算 | 成本预算 | 物流预算 | 销售费用预算 | 管理费用预算 | 利润预算 |
|---|---|---|---|---|---|---|
| {{ item.dept_name }} |
Excel数据导入
导入日报数据
支持两种格式:
1. 标准格式(列:部门, 日期, 销售额, 成本, 物流, 销售费用, 管理费用)
2. 利润日报格式(多sheet: 3.1, 3.2 ... 含部门利润数据)
成功导入 {{ uploadResult.daily.imported }} 条
{{ e }}
导入预算数据
Excel列:部门名称, 月份(YYYY-MM), 销售预算, 成本预算, 物流预算, 销售费用预算, 管理费用预算, 利润预算
成功导入 {{ uploadResult.budget.imported }} 条
历史数据查询(单位:万元)
查询期间销售额
{{ fmt(histKpi.sales) }}
共{{ histData.length }}条记录
查询期间成本
{{ fmt(histKpi.cost) }}
成本率 {{ pct(histKpi.cost, histKpi.sales) }}
查询期间毛利
{{ fmt(histKpi.sales - histKpi.cost) }}
毛利率 {{ pct(histKpi.sales - histKpi.cost, histKpi.sales) }}
查询期间物流
{{ fmt(histKpi.logistics) }}
查询期间销售费用
{{ fmt(histKpi.sales_exp) }}
查询期间利润
{{ fmt(histKpi.profit) }}
利润率 {{ pct(histKpi.profit, histKpi.sales) }}
| 日期 | 部门 | 销售额 | 产品成本 | 物流 | 销售费用 | 管理费用 | 利润 | 录入人 |
|---|---|---|---|---|---|---|---|---|
| {{ r.report_date }} | {{ r.short_name || r.dept_name }} | {{ fmt(r.sales) }} | {{ fmt(r.cost) }} | {{ fmt(r.logistics) }} | {{ fmt(r.sales_expense) }} | {{ fmt(r.admin_expense) }} | {{ fmt(r.sales-r.cost-r.logistics-r.sales_expense-r.admin_expense) }} | {{ r.creator_name || '--' }} |
选择日期范围后点击查询
用户管理
| 用户名 | 姓名 | 角色 | 部门 | 状态 |
|---|---|---|---|---|
| {{ u.username }} | {{ u.display_name }} | {{ u.role==='admin'?'管理员':u.role==='finance'?'财务':'部门用户' }} | {{ u.dept_name || '--' }} | {{ u.is_active ? '启用' : '禁用' }} |