{{ pageTitle }}
应收应付 · 数据来源
应收:Google 表同步定金/尾款 + 收入流水登记已收。
应付:订单内「应收应付明细」按计价规则自动算应付,勾选/登记已付。
系统内闭环,不依赖外部飞书应收应付表。
尾款未清产品
| 单号 | 产品 | 应收尾款 | 已收 | 未收 |
|---|---|---|---|---|
| {{ r.productName }} | {{ fmtNum(r.finalDue) }} | {{ fmtNum(r.received) }} | {{ fmtNum(r.unpaid) }} | |
| 全部尾款已清 | ||||
| # | 单号 | 产品 | 罐数 | 状态 | 定金 | 尾款 | 已收定金 | 已收尾款 | 未收 | 应付 | 已付 | 未付 | 利润 | 下单日 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ o.googleStt||"—" }} | 新 | {{ o.productName }} | {{ fmtNum(o.quantity) }} | {{ o.status }} | ¥{{ fmtNum(o.depositDue) }} | ¥{{ fmtNum(o.finalDue) }} | ¥{{ fmtNum(orderReceivedDeposit(o)) }} | ¥{{ fmtNum(orderReceivedFinal(o)) }} | ¥{{ fmtNum(orderUnpaid(o)) }} | ¥{{ fmtNum(o.payable!=null?o.payable:orderPayable(o)) }} | ¥{{ fmtNum(o.paid!=null?o.paid:orderPaid(o)) }} | ¥{{ fmtNum(o.unpaidPayable!=null?o.unpaidPayable:orderUnpaidPayable(o)) }} | ¥{{ fmtNum(o.profit!=null?o.profit:orderProfit(o)) }} | {{ o.orderDate }} |
挺佳 · 铁罐奶粉需求表
生产需求表 · 图片来自产品库
订单号:{{ current.orderNo }} · 挺佳做货数 · 出货成品 (BOM 挺佳按做货数 · 单罐成本按出货成品分摊 · 空罐 {{ emptyCanQty }} 罐)
| 剂型 | 产品 | 工艺 | 规格 | 做货数 | 包材 |
|---|---|---|---|---|---|
正玄 · 制罐参考
请在产品库上传「转曲拼版图」
本单收支流水
| 日期 | 类型 | 金额 | 备注 | |
|---|---|---|---|---|
| {{ row.date }} | {{ row.kindLabel }} | ¥{{ fmtNum(row.amount) }} | {{ row.note }} | |
| 暂无流水 | ||||
与收支流水同步 · 已收定金 ¥{{ fmtNum(orderReceivedDeposit(current)) }}/应收 ¥{{ fmtNum(current.depositDue) }} · 已收尾款 ¥{{ fmtNum(orderReceivedFinal(current)) }}/应收 ¥{{ fmtNum(current.finalDue) }}
应收应付明细
| 项目 | 方向 | 应付/应收 | 已付/已收 | 登记金额 |
|---|---|---|---|---|
| {{ r.label }} ⚠ | {{ r.dir }} |
标签业务单
{{ labelWechatText }}
本单收入流水
| 日期 | 类型 | 金额 | 备注 | |
|---|---|---|---|---|
| {{ inc.date }} | {{ inc.type==='deposit'?'定金':'尾款' }} | ¥{{ fmtNum(inc.amount) }} | {{ inc.note }} |
支持多笔尾款 · 已收定金 ¥{{ fmtNum(orderReceivedDeposit(current)) }} / 应收 ¥{{ fmtNum(current.depositDue) }} · 已收尾款 ¥{{ fmtNum(orderReceivedFinal(current)) }} / 应收 ¥{{ fmtNum(current.finalDue) }}
飞书任务对照
合同导入(挺佳 / 正玄 / 标签)
支持 Excel / PDF / Word,上传后自动识别定金、尾款(需人工确认)。
本单利润(应收−应付)
{{ tingjiaContractName }}
{{ zhengxuanContractName }}
收入流水
| 日期 | 单号 | 产品 | 类型 | 金额 | 备注 | 来源 | |
|---|---|---|---|---|---|---|---|
| {{ inc.date }} | {{ inc.productName }} | {{ inc.type==='deposit'?'定金':'尾款' }} | ¥{{ fmtNum(inc.amount) }} | {{ inc.note }} | {{ inc.source==='google'?'Google':'手工' }} |
支出流水
登记后自动同步到对应订单「应收应付明细」的已付/登记金额(可多选订单、同一应付项)。
| 日期 | 单号 | 产品 | 应付项目 | 金额 | 备注 | |
|---|---|---|---|---|---|---|
| {{ exp.date }} | {{ exp.productName }} | {{ exp.payLabel }} | ¥{{ fmtNum(exp.amount) }} | {{ exp.note }} | ||
| 暂无支出记录 | ||||||
| 单号 | 产品 | 罐数 | 状态 | |
|---|---|---|---|---|
| {{ o.orderNo }} | {{ o.productName }} | {{ fmtNum(o.quantity) }} | {{ o.bom?'已生成':'—' }} |
BOM · {{ bomView.orderNo }} · {{ bomView.productName }}
订罐 {{ bomView.orderCans }} · 做罐 {{ bomView.producedCanQty }} · 挺佳做货 {{ bomView.makeQty }} · 出货成品 {{ bomView.outQty }} · 空罐 {{ bomView.emptyCanQty }}
| 成本项 | 总额(可改) | 单罐成本 |
|---|---|---|
| {{ line.group }} | ||
| {{ line.item }} | ¥{{ fmtNum(line.perCan) }} | |
| 成本合计 | ¥{{ fmtNum(bomView.totalCost) }} | ¥{{ fmtNum(bomView.costPerCan) }} |
| 收入 | 总额 | 单罐 |
|---|---|---|
| 客户应收 | ¥{{ fmtNum(bomView.revenue) }} | ¥{{ fmtNum(bomView.revenuePerCan) }} |
| 单罐利润 | ¥{{ fmtNum(bomView.totalProfit) }} | ¥{{ fmtNum(bomView.profitPerCan) }} |
产品库
同步说明:工具只读拉取 Google 表,不会修改表格内容。
请把表格共享设为「知道链接的任何人均可查看」,保存链接后点「同步 Google」。
若需私有表,请将 Service Account 邮箱加入表格「查看者」,并把密钥放到 data/google-sa.json。