新增功能页面: - 货款对账 (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 动态视图解析
46 lines
1.8 KiB
PHP
46 lines
1.8 KiB
PHP
<?php
|
||
|
||
namespace Modules\EcommerceFinance\Models\JianSun;
|
||
|
||
/**
|
||
* 订单快递详情表(代发记录)
|
||
* jst_order_express_details
|
||
*
|
||
* 存储所有代发订单的快递信息(2,812,915条)。
|
||
* 页面中"代发记录"的快递名称和快递单号来源于此表。
|
||
*
|
||
* @property int $id
|
||
* @property string $so_id 订单编号
|
||
* @property string $logistic_id 快递单号(页面表头第18列)
|
||
* @property string $logistic_company_name 快递名称(页面表头第17列)
|
||
* @property string $logistic_status_name 物流状态
|
||
* @property string $warehouse_name 仓库名称
|
||
* @property string $send_time 发货时间(页面表头第3列)
|
||
* @property string $sign_time 签收时间
|
||
* @property float $weight 重量
|
||
*/
|
||
class JstOrderExpressDetails extends JianSunModel
|
||
{
|
||
protected $table = 'jst_order_express_details';
|
||
|
||
protected $fillable = [
|
||
'createdAt', 'updatedAt', 'inner_order_id', 'so_id', 'logistic_id',
|
||
'logistic_company_name', 'logistic_status_name', 'logistic_return_flag',
|
||
'order_status_name', 'first_question_type', 'first_question_time',
|
||
'aftersale_status_name', 'order_labels', 'remark', 'buyer_message',
|
||
'shop_name', 'platform_name', 'dis_co_name', 'warehouse_name',
|
||
'receiver_address', 'pay_time', 'first_oa_confirm_time',
|
||
'last_oa_confirm_time', 'send_time', 'fetch_time', 'sign_time',
|
||
'logistic_time', 'weight', 'f_weight', 'ship_time_by_pdh',
|
||
];
|
||
|
||
protected $casts = [
|
||
'send_time' => 'datetime',
|
||
'sign_time' => 'datetime',
|
||
'pay_time' => 'datetime',
|
||
'fetch_time' => 'datetime',
|
||
'weight' => 'decimal:4',
|
||
'f_weight' => 'decimal:4',
|
||
];
|
||
}
|