mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-26 06:19:04 +00:00
本次提交包含多项优化: 1. 移除大量冗余的文件头注释与过时的from __future__导入 2. 将CRUD的list方法统一重命名为get_list保持接口一致 3. 修复前后端状态字段类型不匹配问题,将string类型status改为number 4. 修正前端文案错别字,将"代办事项"修正为标准写法 5. 更新sqlalchemy版本并调整依赖配置 6. 新增缓存工具类替代fastapi-cache2,重构缓存调用逻辑 7. 新增开源授权函生成相关工具与数据库字段支持 8. 为多个业务模块添加防重复提交loading状态 9. 修复邮件模型的外键关联缺失问题 10. 优化pdf生成工具的导入时机与文档注释
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
[
|
|
{
|
|
"invoice_no": "INV20260101001",
|
|
"order_id": 1,
|
|
"invoice_type": "vat_special",
|
|
"title": "星辰科技有限公司",
|
|
"tax_no": "91440300MA5ABCDE12",
|
|
"bank_info": "中国工商银行深圳科技园支行 4000023409100123456",
|
|
"address_info": "深圳市南山区科技园路1号 0755-88888888",
|
|
"amount": 29900,
|
|
"tax_amount": 4485,
|
|
"status": 1,
|
|
"tenant_id": 3,
|
|
"pdf_url": "/static/invoice/3/INV20260101001.pdf",
|
|
"oss_license_pdf_url": "/static/invoice/3/INV20260101001_license.pdf",
|
|
"api_response": null,
|
|
"description": "星辰科技-标准版年付发票(已开具)"
|
|
},
|
|
{
|
|
"invoice_no": "INV20260315001",
|
|
"order_id": 2,
|
|
"invoice_type": "vat_normal",
|
|
"title": "星辰科技有限公司",
|
|
"tax_no": null,
|
|
"bank_info": null,
|
|
"address_info": null,
|
|
"amount": 9900,
|
|
"tax_amount": 1485,
|
|
"status": 1,
|
|
"tenant_id": 3,
|
|
"pdf_url": "/static/invoice/3/INV20260315001.pdf",
|
|
"oss_license_pdf_url": "/static/invoice/3/INV20260315001_license.pdf",
|
|
"api_response": null,
|
|
"description": "星辰科技-AI助手发票(已开具)"
|
|
},
|
|
{
|
|
"invoice_no": "INV20260601001",
|
|
"order_id": 6,
|
|
"invoice_type": "vat_normal",
|
|
"title": "创新工坊",
|
|
"tax_no": null,
|
|
"bank_info": null,
|
|
"address_info": null,
|
|
"amount": 29900,
|
|
"tax_amount": 4485,
|
|
"status": 0,
|
|
"tenant_id": 4,
|
|
"pdf_url": null,
|
|
"oss_license_pdf_url": null,
|
|
"api_response": null,
|
|
"description": "创新工坊-标准版月付发票(待开具)"
|
|
},
|
|
{
|
|
"invoice_no": "INV20260610001",
|
|
"order_id": 7,
|
|
"invoice_type": "vat_normal",
|
|
"title": "创新工坊",
|
|
"tax_no": null,
|
|
"bank_info": null,
|
|
"address_info": null,
|
|
"amount": 4900,
|
|
"tax_amount": 735,
|
|
"status": 0,
|
|
"tenant_id": 4,
|
|
"pdf_url": null,
|
|
"oss_license_pdf_url": null,
|
|
"api_response": null,
|
|
"description": "创新工坊-数据大屏发票(待开具)"
|
|
}
|
|
]
|