diff --git a/klp-ui/src/views/mes/qc/history/index.vue b/klp-ui/src/views/mes/qc/history/index.vue index 63089d3f..de04f731 100644 --- a/klp-ui/src/views/mes/qc/history/index.vue +++ b/klp-ui/src/views/mes/qc/history/index.vue @@ -33,6 +33,7 @@
检验历史列表
+ @@ -144,7 +145,13 @@ export default { getList() { this.loading = true listHistoryCheckTask(this.queryParams).then(response => { - this.checkTaskList = response.rows + this.checkTaskList = response.rows.map(item => ({ + ...item, + verifyTarget: JSON.parse(item.verifyTarget), + entryCoilNo: item.coilList?.[0]?.entryCoilNo || '', + currentCoilNo: item.coilList?.[0]?.currentCoilNo || '', + weight: item.coilList?.[0]?.netWeight || 0, + })) this.total = response.total this.loading = false })