xuxiake 74ddc6c88e feat(ecommerce): 店铺收款账户账单·其余6个账户类型页(通用配置驱动)
按「账单抬头.xlsx」各子表(微信/拼多多/京东网银钱包/京东流水/抖音/得物)设计对应 tab 页:
- 新增通用表 ec_account_bills(bill_type + 通用列 + payload JSON)
- AccountBill 模型 + AccountBillColumns 配置类(6类型列定义,单一数据源,sheet名↔tab↔列不乱)
- AccountBills 控制器(admin 路由组,按 bill_type 筛选/排序/分页+汇总+下发列配置)
- admin 路由登记 account-bills
- 通用前端组件 AccountBills.vue(按后端下发 columns 动态渲染表头/单元格,含筛选/汇总/分页)
- pages.js:store-receiving-bills 页按 tab 路由(taobao-alipay→独立组件;其余6个→AccountBills)
- 修正 pages.js/Blade 的 section/page/tab 解析(按真实URL billing-transactions/store-receiving-bills/<tab>)
- 种子:6类型各6行演示数据
淘系支付宝账户保持独立实现不变。
2026-07-21 18:34:24 +08:00

16 lines
704 B
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
use Illuminate\Support\Facades\Route;
Route::admin('ecommerce-finance', function () {
Route::view('/', 'ecommerce-finance::index')->name('index');
// 店铺收款账户账单 › 淘系支付宝账户(独立表 ec_alipay_bills)
Route::get('alipay-bills', 'AlipayBills@index')->name('alipay-bills.index');
Route::get('alipay-bills/{bill}', 'AlipayBills@show')->name('alipay-bills.show');
// 店铺收款账户账单 › 其它账户类型(通用表 ec_account_bills,按 bill_type 区分)
Route::get('account-bills', 'AccountBills@index')->name('account-bills.index');
Route::get('account-bills/{bill}', 'AccountBills@show')->name('account-bills.show');
});