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

41 lines
1.6 KiB
PHP

<?php
namespace App\Http\Requests\StoreReceivables;
use App\Abstracts\Http\FormRequest;
class StoreZhongcaiReconciliation extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'bill_date' => ['required', 'date'],
'planting_order_no' => ['required', 'string', 'max:100'],
'finance_selling_price' => ['nullable', 'numeric'],
'finance_freight' => ['nullable', 'numeric'],
'finance_commission' => ['nullable', 'numeric'],
'jingxi_price_diff' => ['nullable', 'numeric'],
'deduction' => ['nullable', 'numeric'],
'finance_empty_package_fee' => ['nullable', 'numeric'],
'finance_payment_amount' => ['nullable', 'numeric'],
'correct_store' => ['nullable', 'string', 'max:191'],
'person_in_charge' => ['nullable', 'string', 'max:100'],
'creator' => ['nullable', 'string', 'max:100'],
'profit_center' => ['nullable', 'string', 'max:100'],
'responsible_platform' => ['nullable', 'string', 'max:100'],
'external_id' => ['nullable', 'string', 'max:100'],
'store' => ['nullable', 'string', 'max:191'],
'finance_notes' => ['nullable', 'string', 'max:1000'],
'alipay_order' => ['nullable', 'string', 'max:100'],
'bill_item' => ['nullable', 'string', 'max:100'],
'income_amount' => ['nullable', 'numeric'],
'difference_data' => ['nullable', 'string', 'max:1000'],
];
}
}