新增功能页面: - 货款对账 (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 动态视图解析
37 lines
1000 B
PHP
37 lines
1000 B
PHP
<?php
|
|
|
|
namespace Modules\EcommerceFinance\Models\JianSun;
|
|
|
|
/**
|
|
* 供应商付款明细表
|
|
* fys_supplierPaymentDetail
|
|
*
|
|
* @property int $Id
|
|
* @property string $created 创建时间
|
|
* @property string $month 月份
|
|
* @property string $date 日期
|
|
* @property string $scmname 供应商名称
|
|
* @property string $scmcode 供应商编码
|
|
* @property float $payment 付款金额
|
|
* @property string $reason 原因
|
|
* @property string $remark 备注
|
|
* @property int $billstatus 单据状态
|
|
*/
|
|
class SupplierPaymentDetail extends JianSunModel
|
|
{
|
|
protected $table = 'fys_supplierPaymentDetail';
|
|
|
|
protected $primaryKey = 'Id';
|
|
|
|
protected $fillable = [
|
|
'created', 'month', 'date', 'scmname', 'scmcode',
|
|
'payment', 'reason', 'remark', 'billstatus',
|
|
];
|
|
|
|
protected $casts = [
|
|
'payment' => 'decimal:2',
|
|
'created' => 'datetime',
|
|
'date' => 'date',
|
|
];
|
|
}
|