docs(changelogs-v2): #8087 餐食下拉餐厅联动前端已交付回写 verified(mmg)
changelog-filename-gate / validate (push) Failing after 1s

这个提交包含在:
Mimingguang
2026-09-21 10:41:51 +08:00
父节点 a968875f7f
当前提交 4e66eb234d
@@ -7,9 +7,9 @@ author: "lc(GIT)"
change_type: "修改接口" change_type: "修改接口"
backend_status: "deployed" backend_status: "deployed"
gateway_status: "verified" gateway_status: "verified"
frontend_status: "pending" frontend_status: "verified"
frontend_owner: "" frontend_owner: "mmg"
frontend_ref: "" frontend_ref: "233de7be087d164a5033ebaa61d85bf1fad378cd"
target_release: "" target_release: ""
verified_at: "2026-09-21" verified_at: "2026-09-21"
status_note: "餐食下拉 GET /admin/dish/items/list 新增可选入参 restaurantId,并改变默认口径:不传只返回餐厅为「全部」(restaurantId 为 null)的上架餐食,传了只返回该餐厅的上架餐食。前端在订单详情「用餐」页签的餐食下拉需按该行选中的餐厅传 restaurantId;没选餐厅时不传。出参字段、排序与条数上限不变。" status_note: "餐食下拉 GET /admin/dish/items/list 新增可选入参 restaurantId,并改变默认口径:不传只返回餐厅为「全部」(restaurantId 为 null)的上架餐食,传了只返回该餐厅的上架餐食。前端在订单详情「用餐」页签的餐食下拉需按该行选中的餐厅传 restaurantId;没选餐厅时不传。出参字段、排序与条数上限不变。"
@@ -33,7 +33,7 @@ base: "dev-v3"
🆕 **新增可选入参 `restaurantId`**:传了只返回该餐厅的上架餐食。 🆕 **新增可选入参 `restaurantId`**:传了只返回该餐厅的上架餐食。
**前端需要改**:订单详情「用餐」页签的餐食下拉,按该行当前选中的餐厅传 `restaurantId`;没选餐厅时不传该参数。切换餐厅后重新调用本接口即可拿到联动后的候选。 **前端需要改**:订单详情「用餐」页签的餐食下拉,按该行当前选中的餐厅传 `restaurantId`;没选餐厅时不传该参数。切换餐厅后重新调用本接口即可拿到联动后的候选。前端已交付(mmg 2026-09-21, hl-admin 233de7be):订单详情「用餐」页签 MealTab 餐食下拉按行内选中餐厅传 restaurantId(未选不带,即「全部」口径);候选为共享单列表,scopeKey 记录本批候选的餐厅口径,聚焦时与行内餐厅不一致即按该行重查,搜索关键词随行餐厅一并上送;已选中行靠选中标签回显兜底,不受共享列表换口径影响。MealTab 13 例(新增联动 2 例)+dish api 8 例全过,checkpoint 全项通过。
--- ---