比对口径:按「采购单号 + 日期 + 条码」核对,同一采购单号、日期和条码的多行先合并数量与金额。
数量、金额一致 → 正常结算;厂家多(我方没有)→ 不结算、退回修改;
数量或金额不一致 → 明确列出双方数量、单价、金额及厂家多算部分,取金额低的一方结算;
厂家少(我方有)→ 按厂家数据结算(不付款)。厂家未填采购单号时,仅在同日期+条码能唯一匹配我方一条数据时兜底。
厂家登录:在「厂家登录账号管理」新增供应商并勾选可登录,供应商名称必须与对账数据中的厂家名称完全一致;
厂家登录后只能查看自己的对账单上传记录、全部退货明细及导出数据。
在厂家钉钉群的「群设置 → 智能群助手 → 添加机器人 → 自定义」中复制 Webhook;如机器人启用加签,请同时填写加签密钥。 如机器人使用关键词校验,请把关键词设为「货款对账」。 Webhook 和密钥保存后仅用于本系统推送,页面不会再次展示完整内容。
| 供应商 | 最近上传时间 | 上传行数 | 比对 |
|---|---|---|---|
| {{ $supplier }} | {{ $upload['uploaded_at'] ?? '—' }} | {{ $upload ? number_format((int) ($upload['rows'] ?? 0)) : '—' }} | 查看比对 |
还没有可对账的供应商:请先在「供应商应付(终版)→ 货款对账」导入我方结算数据。 | |||
| 比对结果 | 采购单号 | 日期 | 条码 | 我方数量 | 我方单价 | 我方金额 | 厂家数量 | 厂家单价 | 厂家金额 | 数量差异(厂家-我方) | 金额差异(厂家-我方) | 结算口径 | 结算金额 | 推送 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @if ($row['type'] !== '一致') @else — @endif | {{ $row['type'] }} | {{ $row['purchaseNo'] !== '' ? $row['purchaseNo'] : '—' }} | {{ $row['date'] !== '' ? $row['date'] : '—' }} | {{ $row['barcode'] }} @if (! empty($row['supplierBarcode'])) (厂家:{{ $row['supplierBarcode'] }}) @endif | {{ $row['mineQty'] !== 0.0 ? number_format($row['mineQty'], 2) : '—' }} | {{ $row['mineUnitPrice'] !== 0.0 ? number_format($row['mineUnitPrice'], 2) : '—' }} | {{ $row['mineAmount'] !== 0.0 ? number_format($row['mineAmount'], 2) : '—' }} | {{ $row['theirsQty'] !== 0.0 ? number_format($row['theirsQty'], 2) : '—' }} | {{ $row['theirsUnitPrice'] !== 0.0 ? number_format($row['theirsUnitPrice'], 2) : '—' }} | {{ $row['theirsAmount'] !== 0.0 ? number_format($row['theirsAmount'], 2) : '—' }} | @if (abs($row['qtyDifference']) < 0.005) 一致 @else 厂家{{ $row['qtyDifference'] > 0 ? '多' : '少' }} {{ number_format(abs($row['qtyDifference']), 2) }} @endif | @if (abs($row['amountDifference']) < 0.005) 一致 @else 厂家{{ $row['amountDifference'] > 0 ? '多' : '少' }} ¥{{ number_format(abs($row['amountDifference']), 2) }} @endif | {{ $row['note'] }} | {{ number_format($row['settleAmount'], 2) }} | @if ($row['type'] !== '一致') @else — @endif |
该厂家还没有上传对账单,或我方还没有这家供应商的结算数据。 | |||||||||||||||
已识别 {{ number_format($returnAccounting['logistics_rows']) }} 行“不扣本厂家、转物流记账” @if (! empty($returnAccounting['logistics_companies'])) ,物流公司:{{ implode('、', $returnAccounting['logistics_companies']) }} @endif 。厂家端显示相同备注和“转物流记账”标记,厂家扣减金额按调整后的净数量/金额计算。
@endif| 发货时间 | 条形码 | 商品名称 | 厂家扣减数量 | 厂家扣减金额 | 记账归属 | 物流记账数量 | 物流记账金额 | 物流公司 | 备注 | 快递单号 | 对账人 | 确认状态 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['send_time'] ?? '—' }} | {{ $row['barcode'] ?? '—' }} | {{ $row['sku_name'] ?? '—' }} | {{ $row['_accounting_target'] === '不记账' ? '—' : number_format($row['_supplier_qty'], 2) }} | {{ $row['_accounting_target'] === '不记账' ? '—' : number_format($row['_supplier_amount'], 2) }} |
{{ $row['_accounting_label'] }}
@if ($row['_accounting_note'] !== '按厂家退货扣减')
{{ $row['_accounting_note'] }}
@endif
|
{{ $row['_logistics_qty'] > 0 ? number_format($row['_logistics_qty'], 2) : '—' }} | {{ $row['_logistics_amount'] > 0 ? number_format($row['_logistics_amount'], 2) : '—' }} | {{ $row['_logistics_company'] !== '' ? $row['_logistics_company'] : '—' }} | {{ $row['remark'] ?? '—' }} | {{ $row['express_no'] ?? '—' }} | {{ $row['reconciler'] ?? '—' }} | @if ($row['status'] === 'confirmed') 已确认 @elseif ($row['status'] === 'disputed') 异议中 @else 待确认 @endif |
当前月份和对账人筛选下没有退货数据。 | ||||||||||||