恒永滤材成本核算系统
正在加载...

新建核算

快速创建订单成本核算,一键计算盈亏

{{monthlyProfitLoss>=0?'+':''}}{{fmt(monthlyProfitLoss)}}
本月盈亏(元)
{{monthlySalesOrders.length}}
本月销售订单
{{customers.length}}
客户数量
{{monthlyAllOrders.length}}
本月核算
材料库
{{materials.length}}种材料
客户管理
{{customers.length}}位客户
盈亏统计表
{{salesTables.length}}张表
数据导出
Excel导出
最近订单 查看全部 ›
{{o.order_no}}
{{o.order_date}} · {{o.customer_name}}
{{o.profit_loss_amount<0?'亏损':'盈利'}}
产品
{{o.product_name}}
数量
{{o.order_quantity}}{{o.order_quantity_unit}}
盈亏
{{fmt(o.profit_loss_amount)}}
1
订单信息
2
原材料选择
3
固定费用
4
核算结果
订单基本信息
{{c.customer_name}} ({{c.customer_code||'-'}})
新建客户:{{customerSelectSearch}}
无匹配客户
添加单层材料
添加复合材料
{{idx+1}}
{{layer.material_name||'未选择材料'}}
{{layer.source_width}}{{costForm.sizeUnit}}- · ¥{{fmt(layer.price_per_kg)}}/kg · ¥{{fmt(layer.layer_material_cost_sqm)}}/㎡
{{m.gram_weight||'-'}}g {{m.material_name}}{{m.default_width?` (${m.default_width}${m.sizeUnit||'mm'})`:''}}{{m.note?` ${m.note}`:''}}
新建材料:{{layer.materialSearch}}
无匹配材料
百分比
单位
固定费用
盈亏率 点击查看计算
{{calcResult.profit_rate>=0?'+':''}}{{fmtPct(calcResult.profit_rate)}}
基于报价与对应成本价的比率
已报价 按单位直接换算
平方价 {{fmt(calcResult.quoted_price_per_sqm)}}元/㎡
公斤价 {{fmt(calcResult.quoted_price_per_kg)}}元/kg
成本价 按宽幅损耗/折算
平方价 {{fmt(calcResult.cost_per_sqm)}}元/㎡
公斤价 {{fmt(calcResult.cost_per_kg)}}元/kg
盈亏金额
{{calcResult.profit_loss>=0?'+':''}}{{fmt(calcResult.profit_loss)}} 元
订单总成本
{{fmt(calcResult.total_cost)}} 元
全部客户
{{c.customer_name}} ({{c.customer_code||'-'}})
无匹配客户
全部统计表
已加入
未加入
{{st.table_name}}
无匹配统计表
~
共{{filteredOrders.length}}条
{{o.order_no}}
{{o.order_date}} · {{o.customer_name}}
{{o.profit_loss_amount<0?'亏损':'盈利'}}
产品名称
{{o.product_name}}
数量
{{o.order_quantity}} {{o.order_quantity_unit}}
㎡成本
{{fmt(o.total_cost_sqm)}}
已报价
{{fmt(o.quoted_price)}} {{o.quoted_price_unit||''}}
{{o.profit_loss_amount>=0?'+':''}}{{fmt(o.profit_loss_amount)}} ({{fmtPct(o.profit_loss_rate)}}) {{isOrderInSalesTable(o.id)?'已加入':'未加入'}}

暂无符合条件的订单

订单编号
{{selectedOrder.order_no}}
客户名称
{{selectedOrder.customer_name}}
订单日期
{{selectedOrder.order_date}}
成品名称
{{selectedOrder.product_name}}
产品形态
{{selectedOrder.product_form}}
成品规格
{{selectedOrder.final_width}}{{selectedOrder.size_unit||'mm'}} × {{selectedOrder.final_length}}{{selectedOrder.size_unit||'mm'}}
订单数量
{{selectedOrder.order_quantity}} {{selectedOrder.order_quantity_unit}}
复合层数
{{selectedOrder.layer_count}} 层
成本明细
每平方成本
{{fmt(selectedOrder.total_cost_sqm)}} 元/㎡
每公斤成本
{{fmt(selectedOrder.total_cost_kg)}} 元/kg
每单位成本
{{fmt(selectedOrder.total_cost_per_unit)}} 元/{{selectedOrder.order_quantity_unit}}
人工费
{{fmt(selectedOrder.labor_cost)}} 元/㎡
电费
{{fmt(selectedOrder.electricity_cost)}} 元/㎡
管理费
{{fmt(selectedOrder.management_cost)}} 元/㎡
层明细
层号
{{l.layer_no}}
材料
{{l.material_name}}
克重 / 公斤价
{{l.gram_weight}} g/㎡ / {{fmt(l.price_per_kg)}}
平方价 / 损耗率
{{fmt(l.price_per_sqm)}} / {{l.waste_rate}}%
层成本(㎡)
{{fmt(l.layer_material_cost_sqm)}}

无层明细数据

盈亏汇总
已报价{{fmt(selectedOrder.quoted_price)}} {{selectedOrder.quoted_price_unit||'元/平方米'}}
订单总金额{{fmt(selectedOrder.quoted_price * selectedOrder.order_quantity)}} 元
订单总成本{{fmt(selectedOrder.total_cost_per_unit * selectedOrder.order_quantity)}} 元
盈亏金额{{selectedOrder.profit_loss_amount>=0?'+':''}}{{fmt(selectedOrder.profit_loss_amount)}} 元
共{{filteredCustomers.length}}条
共{{filteredCustomers.length}}条
{{c.customer_name.charAt(0)}}
{{c.customer_name}}
编码:{{c.customer_code||'-'}} · {{c.remark||'无备注'}}
{{getCustomerOrderCount(c.id)}}单

{{customerSearch?'无匹配客户':'暂无客户数据'}}

客户编码
{{selectedCustomer.customer_code||'-'}}
客户名称
{{selectedCustomer.customer_name}}
备注
{{selectedCustomer.remark||'-'}}
总订单数
{{customerOrders.length}}
统计表订单
{{customerSalesOrders.length}}
总订单金额
{{fmt(customerStats.totalAmount)}}
总盈亏
{{fmt(customerStats.totalProfit)}}
该客户全部订单
{{o.order_no}}
{{o.order_date}} · {{o.product_name}}
{{o.profit_loss_amount<0?'亏损':'盈利'}}
数量
{{o.order_quantity}} {{o.order_quantity_unit}}
已报价
{{fmt(o.quoted_price)}} {{o.quoted_price_unit||''}}
{{o.profit_loss_amount>=0?'+':''}}{{fmt(o.profit_loss_amount)}} ({{fmtPct(o.profit_loss_rate)}}) {{isOrderInSalesTable(o.id)?'已加入':'未加入'}}

该客户暂无订单

单层材料
复合材料
{{st.table_name}}
{{getSalesTableOrderCount(st.id)}}单
{{st.customer_name}} · {{st.created_at}}
总成本 {{fmt(getSalesTableStats(st.id).totalCost)}}
总报价 {{fmt(getSalesTableStats(st.id).totalAmount)}}
亏损 {{getSalesTableStats(st.id).lossCount}}单
{{getSalesTableStats(st.id).totalProfit>=0?'+':''}}{{fmt(getSalesTableStats(st.id).totalProfit)}} 总盈亏

暂无统计表,点击"新建"创建

订单数
{{salesTableOrders.length}}
总成本
{{fmt(getSalesTableStats(selectedSalesTable.id).totalCost)}}
总报价
{{fmt(getSalesTableStats(selectedSalesTable.id).totalAmount)}}
总盈亏
{{fmt(getSalesTableStats(selectedSalesTable.id).totalProfit)}}
订单明细
{{o.order_no}}
{{o.order_date}} · {{o.product_name}}
{{o.profit_loss_amount<0?'亏损':'盈利'}}
数量
{{o.order_quantity}} {{o.order_quantity_unit}}
已报价
{{fmt(o.quoted_price)}} {{o.quoted_price_unit||''}}
{{o.profit_loss_amount>=0?'+':''}}{{fmt(o.profit_loss_amount)}}

该统计表暂无订单

Excel导出选项

将导出 {{exportOrderCount}} 条订单数据

导出字段预览

订单编号、客户名称、产品类型、产品名称、订单数量、每平方成本价、每公斤成本价、每单位成本价、已报价格、盈亏金额、盈亏率、盈亏状态

{{currentUser.name?currentUser.name.charAt(0):'H'}}
{{currentUser.name||'未登录'}}
{{currentUser.role==='admin'?'管理员':currentUser.role==='operator'?'操作员':'查看者'}}
客户管理
材料管理
盈亏统计表
数据导出
我的新建
我的消息{{pendingSubmissionCount}}
备份/恢复
用户管理
操作日志
退出登录
当前用户:{{currentUser.name}}({{currentUser.phone}})
客户({{userCustomers.length}})
单层材料({{userMaterials.length}})
复合材料({{userCompositeMaterials.length}})
共 {{filteredMyCustomers.length}} 条 共 {{filteredMyCompositeMaterials.length}} 条 共 {{filteredMyMaterials.length}} 条
{{c.customer_name}}
{{c.customer_code||'-'}}

暂无新建的客户

在核算页面新建客户时会自动保存

{{m.material_name}}
{{m.category||'未分类'}} | {{m.gram_weight}}g | {{fmt(m.price_per_kg)}}元/kg

暂无新建的材料

在核算页面新建材料时会自动保存

{{cm.composite_name}}
{{cm.layers.length}} 层材料

暂无新建的复合材料

在材料管理页面新增复合材料时会自动保存

加载中...
全选 已选 {{submissionsSelected.length}} / {{submissions.length}} 条
{{sub.userName || '未知'}} · {{subTypeName(sub.type)}} · {{(sub.items||[]).length}}条
{{subItemPreview(sub)}}
{{submissionStatusText(sub)}}
{{sub.createdAt || ''}}

暂无消息

{{(u.name||'?').charAt(0)}}
{{u.name}}
{{u.phone}} · 创建于{{u.created_at}}
{{u.role==='admin'?'管理员':u.role==='operator'?'操作员':'查看者'}}

暂无用户

{{log.created_at}}
{{log.user_name}} {{log.action}} {{log.target}}

暂无操作日志

{{toastMsg}}
首页 核算 核算列表 我的