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

40 lines
1.2 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_purchaseInItem
*
* 每次采购入库的商品明细(223,382条)。
* 通过 hid 关联 pm_purchaseIn.id。
*
* @property int $id
* @property int $hid 关联 PurchaseIn.id
* @property string $skucode 商品编码(页面表头第6列)
* @property string $skuname 规格名称(页面表头第7列)
* @property string $skuoid 外部商品编码
* @property int $incount 入库数量(页面表头第8列)
* @property int $skucount SKU计数
* @property float $payment 单价
* @property string $created 创建时间
*/
class PurchaseInItem extends JianSunModel
{
protected $table = 'pm_purchaseInItem';
protected $fillable = [
'hid', 'skucode', 'skuname', 'skuoid', 'incount', 'skucount',
'payment', 'created', 'procode', 'proname', 'batchCode',
'inventoryType', 'productDate', 'expireDate', 'produceCode',
];
protected $casts = [
'hid' => 'integer',
'incount' => 'integer',
'skucount' => 'integer',
'payment' => 'decimal:2',
'created' => 'datetime',
];
}