From ad1fa08561ade0daba00b71e12a2861011704896 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Wed, 1 Jul 2026 11:28:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(mes):=20=E8=A7=A3=E5=86=B3=E6=A3=80?= =?UTF-8?q?=E5=8C=96=E9=AA=8CJackson=E5=BA=8F=E5=88=97=E5=8C=96=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E5=AD=97=E6=AE=B5=E5=90=8D=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 归一化单字母前缀字段名,处理cContent、pContent、sContent字段大小写问题 - 添加字段映射逻辑,兼容ccontent、pcontent、scontent小写格式 - 确保数据展示时字段名统一性,避免前端显示异常 --- klp-ui/src/views/mes/qc/inspectionTensile/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/views/mes/qc/inspectionTensile/index.vue b/klp-ui/src/views/mes/qc/inspectionTensile/index.vue index faac98ddc..7ca14b718 100644 --- a/klp-ui/src/views/mes/qc/inspectionTensile/index.vue +++ b/klp-ui/src/views/mes/qc/inspectionTensile/index.vue @@ -729,7 +729,13 @@ export default { ...this.detailQueryParams, testMainId: this.currentTestId }).then(response => { - this.detailList = response.rows + // 归一化单字母前缀字段名:Jackson将cContent序列化为ccontent + this.detailList = (response.rows || []).map(row => ({ + ...row, + cContent: row.ccontent ?? row.cContent, + pContent: row.pcontent ?? row.pContent, + sContent: row.scontent ?? row.sContent + })) this.detailTotal = response.total this.detailLoading = false }).catch(() => {