From 31b047daf99fb423e571c857a1a96a4129a10bef Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Wed, 8 Jul 2026 11:27:06 +0800 Subject: [PATCH] =?UTF-8?q?docs(house):=20=E4=BF=AE=E6=AD=A3=E6=9C=88?= =?UTF-8?q?=E5=BA=A6=E5=AF=B9=E8=B4=A6=E6=98=8E=E7=BB=86=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E8=8A=B1=E9=94=80=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...826_房务月度对账增加核单实际花销-前端待处理-管理后台.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/changelogs-v2/2026-07/43_4826_房务月度对账增加核单实际花销-前端待处理-管理后台.md b/changelogs-v2/2026-07/43_4826_房务月度对账增加核单实际花销-前端待处理-管理后台.md index f36df49..3b9a7a7 100644 --- a/changelogs-v2/2026-07/43_4826_房务月度对账增加核单实际花销-前端待处理-管理后台.md +++ b/changelogs-v2/2026-07/43_4826_房务月度对账增加核单实际花销-前端待处理-管理后台.md @@ -84,6 +84,8 @@ GET /v3/admin/house/reconciliation/monthly?month=2026-07 GET /v3/admin/house/reconciliation/monthly/hotel-orders?month=2026-07&hotelId=1234567890123&hotelName=呼伦贝尔香格里拉大酒店 ``` +2026-07-08 修正:订单明细里的兼容旧字段 `totalAmount` 也按“实际花销”口径返回,等于 `actualExpenseAmount`;未核单录入时两者都为 `null`。前端不要再把 `totalAmount` 当配房金额展示。 + `data[]` 新增字段: | 字段 | 类型 | 示例 | 说明 | @@ -107,7 +109,7 @@ GET /v3/admin/house/reconciliation/monthly/hotel-orders?month=2026-07&hotelId=12 "hotelId": "1234567890123", "hotelName": "呼伦贝尔香格里拉大酒店", "roomNights": 2, - "totalAmount": "640.00", + "totalAmount": "580.00", "actualExpenseAmount": "580.00", "expenseEntered": true } @@ -128,7 +130,8 @@ Excel / PDF 酒店汇总表新增列:`实际花销`。 2. `expenseEntered=false` 或 `actualExpenseAmount=null` 时显示 `—`,不要显示 `0`。 3. 已录入时展示 `actualExpenseAmount`。 4. 订单明细弹窗也展示每个订单的 `actualExpenseAmount`,未录入显示 `—`。 -5. Excel / PDF 按后端导出结果展示即可。 +5. 如果现有列仍绑定 `totalAmount`,也会拿到同一实际花销金额;建议显示文案改为“实际花销”。 +6. Excel / PDF 按后端导出结果展示即可。 ## 只读边界