Add PACKAGE_LEF as a dedicated `package` field in the QC-GATE API payload and display it as a new column after LOT ID in LotTable.vue. Archive qc-gate-lot-package-column, historical-query-slow-connection, and msd-multifactor-backward-tracing changes with their delta specs synced to main specs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
695 B
695 B
1. Backend — Expose package field in API payload
- 1.1 In
src/mes_dashboard/services/qc_gate_service.py, add'package': _safe_value(row.get('PACKAGE_LEF'))to the dict returned by_build_lot_payload()
2. Frontend — Add Package column to LOT detail table
- 2.1 In
frontend/src/qc-gate/components/LotTable.vue, insert{ key: 'package', label: 'Package' }into theHEADERSarray at index 1 (after LOT ID) - 2.2 In the
<tbody>template, add<td>{{ formatValue(lot.package) }}</td>after thelot_idcell
3. Verification
- 3.1 Run existing backend tests to confirm no regressions
- 3.2 Run existing frontend tests/lint to confirm no regressions