payroll-calculation.html に新しいTab按钮が追加されました。
previewVouchers() と
exportVouchersCSV() 関数が実装されました。
showNoDataAlert() 関数でモーダルダイアログを表示します。
以下のAPIが正しく統合されています:
GET /payroll/vouchers/employees - 従業員リスト取得POST /payroll/vouchers/export -
账票出力(プレビュー・CSV)
{
"start_year": 2026,
"start_month": 1,
"end_year": 2026,
"end_month": 1,
"employee_ids": [1],
"voucher_type": "all",
"format": "preview"
}
cd backend && python -m uvicorn app.main:app --reload --port
8000