备份:保存本地业务页面(2/5)

This commit is contained in:
shanshi 2026-07-22 15:14:03 +08:00
parent 9514853e8c
commit 975df0b2f8
5 changed files with 256 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<div class="business-page-header">
<span class="business-page-title">快递收款系统</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
<th>序号</th>
<th>快递名称</th>
<th>收款类型</th>
<th>收款名称</th>
<th>收款账号</th>
<th>开户行</th>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->courier_name }}</td>
<td><span class="business-badge business-badge-info">{{ $item->collection_type }}</span></td>
<td>{{ $item->collection_name }}</td>
<td>{{ $item->collection_account }}</td>
<td>{{ $item->opening_bank }}</td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=6 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>

View File

@ -0,0 +1,108 @@
<div class="business-page-header">
<span class="business-page-title">{{ $title ?? '资金预测表' }}</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
<th>预算月份</th>
<th>实际月份</th>
<th>店铺余额(预算)</th>
<th>店铺余额(实际)</th>
<th>银行余额(预算)</th>
<th>银行余额(实际)</th>
<th>其他余额(预算)</th>
<th>其他余额(实际)</th>
<th>预计回款(预算)</th>
<th>预计回款(实际)</th>
<th>收入合计(预算)</th>
<th>收入合计(实际)</th>
<th>往期未付(预算)</th>
<th>往期未付(实际)</th>
<th>借支(预算)</th>
<th>借支(实际)</th>
<th>供应商(预算)</th>
<th>供应商(实际)</th>
<th>现结(预算)</th>
<th>现结(实际)</th>
<th>快递(预算)</th>
<th>快递(实际)</th>
<th>纸厂压贴(预算)</th>
<th>纸厂压贴(实际)</th>
<th>封边条(预算)</th>
<th>封边条(实际)</th>
<th>板材(预算)</th>
<th>板材(实际)</th>
<th>工资(预算)</th>
<th>工资(实际)</th>
<th>日常费用(预算)</th>
<th>日常费用(实际)</th>
<th>种菜(预算)</th>
<th>种菜(实际)</th>
<th>红包(预算)</th>
<th>红包(实际)</th>
<th>对公扣款(预算)</th>
<th>对公扣款(实际)</th>
<th>支出合计(预算)</th>
<th>支出合计(实际)</th>
<th>银行预留</th>
<th>净结余(预算)</th>
<th>净结余(实际)</th>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $item->budget_month }}</td>
<td>{{ $item->actual_month }}</td>
<td>{{ number_format($item->store_balance_budget, 2) }}</td>
<td>{{ number_format($item->store_balance_actual, 2) }}</td>
<td>{{ number_format($item->bank_balance_budget, 2) }}</td>
<td>{{ number_format($item->bank_balance_actual, 2) }}</td>
<td>{{ number_format($item->other_balance_budget, 2) }}</td>
<td>{{ number_format($item->other_balance_actual, 2) }}</td>
<td>{{ number_format($item->expected_monthly_return_budget, 2) }}</td>
<td>{{ number_format($item->expected_monthly_return_actual, 2) }}</td>
<td>{{ number_format($item->income_total_budget, 2) }}</td>
<td>{{ number_format($item->income_total_actual, 2) }}</td>
<td>{{ number_format($item->prior_unpaid_budget, 2) }}</td>
<td>{{ number_format($item->prior_unpaid_actual, 2) }}</td>
<td>{{ number_format($item->advance_budget, 2) }}</td>
<td>{{ number_format($item->advance_actual, 2) }}</td>
<td>{{ number_format($item->supplier_budget, 2) }}</td>
<td>{{ number_format($item->supplier_actual, 2) }}</td>
<td>{{ number_format($item->spot_settlement_budget, 2) }}</td>
<td>{{ number_format($item->spot_settlement_actual, 2) }}</td>
<td>{{ number_format($item->courier_budget, 2) }}</td>
<td>{{ number_format($item->courier_actual, 2) }}</td>
<td>{{ number_format($item->paper_factory_budget, 2) }}</td>
<td>{{ number_format($item->paper_factory_actual, 2) }}</td>
<td>{{ number_format($item->edge_band_budget, 2) }}</td>
<td>{{ number_format($item->edge_band_actual, 2) }}</td>
<td>{{ number_format($item->board_budget, 2) }}</td>
<td>{{ number_format($item->board_actual, 2) }}</td>
<td>{{ number_format($item->salary_budget, 2) }}</td>
<td>{{ number_format($item->salary_actual, 2) }}</td>
<td>{{ number_format($item->daily_expense_budget, 2) }}</td>
<td>{{ number_format($item->daily_expense_actual, 2) }}</td>
<td>{{ number_format($item->planting_budget, 2) }}</td>
<td>{{ number_format($item->planting_actual, 2) }}</td>
<td>{{ number_format($item->red_packet_budget, 2) }}</td>
<td>{{ number_format($item->red_packet_actual, 2) }}</td>
<td>{{ number_format($item->corporate_deduction_budget, 2) }}</td>
<td>{{ number_format($item->corporate_deduction_actual, 2) }}</td>
<td>{{ number_format($item->expense_total_budget, 2) }}</td>
<td>{{ number_format($item->expense_total_actual, 2) }}</td>
<td>{{ number_format($item->bank_reservation, 2) }}</td>
<td>{{ number_format($item->net_balance_budget, 2) }}</td>
<td>{{ number_format($item->net_balance_actual, 2) }}</td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=43 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>

View File

@ -0,0 +1,36 @@
<div class="business-page-header">
<span class="business-page-title">{{ $title ?? '发票基础信息' }}</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
<th>序号</th>
<th>店铺名称</th>
<th>店铺主体</th>
<th>开票员</th>
<th>开票额度</th>
<th>销项金额</th>
<th>进项金额</th>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->store_name }}</td>
<td>{{ $item->store_entity }}</td>
<td>{{ $item->invoice_officer }}</td>
<td>{{ number_format($item->invoice_quota, 2) }}</td>
<td>{{ number_format($item->output_amount, 2) }}</td>
<td>{{ number_format($item->input_amount, 2) }}</td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=7 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>

View File

@ -0,0 +1,44 @@
@php
// Determine which fields to show based on active tab
$isInputTab = isset($activeTab) && $activeTab['slug'] === 'input';
$pageTitle = $isInputTab ? '进项报表' : '销项报表';
if ($isInputTab) {
$displayFields = ['id', 'company_name', 'input_goods_amount', 'input_goods_tax', 'input_service_amount', 'input_service_tax', 'input_total_amount', 'input_total_tax'];
$displayHeaders = ['序号', '公司名称', '商品金额', '商品税额', '服务费金额', '服务费税额', '金额合计', '税额合计'];
} else {
$displayFields = ['id', 'company_name', 'output_goods_amount', 'output_goods_tax', 'output_service_amount', 'output_service_tax', 'output_total_amount', 'output_total_tax'];
$displayHeaders = ['序号', '公司名称', '商品金额', '商品税额', '服务费金额', '服务费税额', '金额合计', '税额合计'];
}
@endphp
<div class="business-page-header">
<span class="business-page-title">{{ $pageTitle ?? '发票数据报表' }}</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
@foreach($displayHeaders as $h)
<th>{{ $h }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
@foreach($displayFields as $f)
@if($f === 'id')
<td>{{ $loop->iteration }}</td>
@elseif(in_array($f, ['input_goods_amount', 'input_goods_tax', 'input_service_amount', 'input_service_tax', 'input_total_amount', 'input_total_tax', 'output_goods_amount', 'output_goods_tax', 'output_service_amount', 'output_service_tax', 'output_total_amount', 'output_total_tax']))
<td>{{ number_format($item->$f, 2) }}</td>
@else
<td>{{ $item->$f }}</td>
@endif
@endforeach
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan="{{ count($displayHeaders) }}" style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>

View File

@ -0,0 +1,36 @@
<div class="business-page-header">
<span class="business-page-title">{{ $title ?? '付款流程统计表' }}</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
<th>序号</th>
<th>付款类型</th>
<th>总数量</th>
<th>已完成</th>
<th>待处理</th>
<th>总金额</th>
<th>期间</th>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->payment_type }}</td>
<td>{{ $item->total_count }}</td>
<td>{{ $item->completed_count }}</td>
<td>{{ $item->pending_count }}</td>
<td>{{ number_format($item->total_amount, 2) }}</td>
<td>{{ $item->period }}</td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=7 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>