From 355ae01bd9d951b8cb9d43a23b60ca1c6b4fc3d7 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Mon, 4 May 2026 17:13:47 +0800 Subject: [PATCH] =?UTF-8?q?frontend-feature:=20=E5=90=88=E5=90=8C=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=8A=A0=E8=AE=A2=E5=8D=95=E7=BC=96=E5=8F=B7=E5=88=97?= =?UTF-8?q?=20orderNo=20(PR=20#1644=20=E9=85=8D=E5=A5=97=20@mmg)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ontend_contract_list_add_orderno_column.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 changelogs/2026-05/04_frontend_contract_list_add_orderno_column.md diff --git a/changelogs/2026-05/04_frontend_contract_list_add_orderno_column.md b/changelogs/2026-05/04_frontend_contract_list_add_orderno_column.md new file mode 100644 index 0000000..cf41a5e --- /dev/null +++ b/changelogs/2026-05/04_frontend_contract_list_add_orderno_column.md @@ -0,0 +1,47 @@ +--- +date: 2026-05-04 +type: frontend-feature +module: contract-list +priority: medium +backend_pr: "#1644" +notify: ["@mmg"] +status: pending +--- + +# 合同列表加"订单编号"列 + +## 背景 + +用户反馈合同列表只显示合同编号(ECDJ...), 没显示订单编号(HL20260428141719-3940)。 + +## 后端改动 (PR #1644 已合并 + 部署) + +`/admin/contract/list` 响应里 `ContractVO` 加了 `orderNo` 字段: + +```json +{ + "list": [{ + "contractId": "...", + "orderId": 2049010051003121665, // 雪花 ID 数字 + "orderNo": "HL20260428141719-3940", // ← 新增, 人类可读 + "contractNumber": "ECDJ260504LVIVV8", + "...其他字段不变" + }] +} +``` + +## 前端改动 + +合同列表表格加"订单编号"列, 字段绑 `row.orderNo`: + +```vue + + + +``` + +建议位置: 在"合同编号"列右边或同一组排序展示。 + +@mmg 配合加列即可。