WuYongJie e5c068036b feat: 供应商应付 - 货款对账 + 5个子功能页面
新增功能页面:
- 货款对账 (payment-reconciliation): 入库+代发合并对账,228K+2.8M条记录
- 退货对账 (return-reconciliation): finance_purchaseReturn, 36791行
- 发票扣款 (invoice-deductions): finance_invoiceDeduction, 195行
- 赔偿明细 (compensation-details): 纸板厂+压板厂 UNION, 98行
- 借支明细 (advance-details): finance_advanceLoans, 4行
- 样品扣款 (sample-deductions): finance_sampleDeduction, 12行

后端:
- JianSunConnection: PDO_ODBC 直连 SQL Server
- SupplierPayableRepository: 5个子页面的数据查询+分页
- GoodsReconciliationRepository: 货款对账数据查询
- 15个新API路由 (supplier-payables/*)
- 12个JianSun Eloquent模型

前端:
- 6个Blade视图 + 6个Vue组件
- webpack.mix.js 新增5个编译入口
- show.blade.php 动态视图解析
2026-07-21 18:40:24 +08:00

46 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Modules\EcommerceFinance\Models\JianSun;
/**
* 采购入库单主表
* pm_purchaseIn
*
* 每次采购入库的汇总记录(52,219条)。
* 通过 id 关联 pm_purchaseInItem 获取明细。
*
* @property int $id
* @property string $hno 入库单号(页面表头第1列)
* @property string $whcode 仓库编码
* @property string $sourceno 来源单号
* @property string $title 标题
* @property string $scmname 供应商名称
* @property string $scmcode 供应商编码
* @property int $scmid 供应商ID
* @property int $incount 入库总数
* @property string $created 创建时间(页面表头第16列)
* @property string $memo 备注(页面表头第14列)
* @property string $expcode 快递编码
* @property string $expname 快递名称
*/
class PurchaseIn extends JianSunModel
{
protected $table = 'pm_purchaseIn';
protected $fillable = [
'whcode', 'hno', 'sourceno', 'title', 'scmname', 'scmcode', 'scmid',
'incount', 'created', 'memo', 'expcode', 'expname', 'postcode', 'postfee',
'creater', 'createrid', 'inwhdate', 'finishdate', 'procode', 'proname',
'skucode', 'skuname',
];
protected $casts = [
'incount' => 'integer',
'scmid' => 'integer',
'postfee' => 'decimal:2',
'created' => 'datetime',
'inwhdate' => 'datetime',
'finishdate' => 'datetime',
];
}