CaiWuXiTong/app/Models/StoreReceivables/StoreZhongcaiReconciliation.php
15061959991 308e7eb479 feat: 店铺应收账款 - 种菜应收对账页面(21字段)
- 新增种菜应收对账完整CRUD:21字段对账数据表
- 字段:日期、种菜订单编号、财务售价/运费/佣金/空包费/打款金额、
  京喜差价、扣款、正确店铺、负责人、创建人、所属利润中心、
  负责平台、ID、店铺、财务备注、支付宝订单、账单项目、
  收入金额、差异数据
- 表单分4组:基本信息、财务数据、店铺与人员、收款与差异
- 修改Business\Pages支持无tabs页面加载内容
- 路由:zhongcai-reconciliations 路由组
2026-07-21 19:20:55 +08:00

51 lines
1.2 KiB
PHP

<?php
namespace App\Models\StoreReceivables;
use App\Abstracts\Model;
class StoreZhongcaiReconciliation extends Model
{
protected $table = 'store_zhongcai_reconciliations';
protected $fillable = [
'company_id',
'bill_date',
'planting_order_no',
'finance_selling_price',
'finance_freight',
'finance_commission',
'jingxi_price_diff',
'deduction',
'finance_empty_package_fee',
'finance_payment_amount',
'correct_store',
'person_in_charge',
'creator',
'profit_center',
'responsible_platform',
'external_id',
'store',
'finance_notes',
'alipay_order',
'bill_item',
'income_amount',
'difference_data',
'created_from',
'created_by',
];
protected $casts = [
'bill_date' => 'date',
'finance_selling_price' => 'double',
'finance_freight' => 'double',
'finance_commission' => 'double',
'jingxi_price_diff' => 'double',
'deduction' => 'double',
'finance_empty_package_fee' => 'double',
'finance_payment_amount' => 'double',
'income_amount' => 'double',
'deleted_at' => 'datetime',
];
}