Files
egg d8e91624d4 feat(qc-gate): add Package column to LOT detail table + archive 3 completed changes
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>
2026-03-02 08:44:26 +08:00

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 the HEADERS array at index 1 (after LOT ID)
  • 2.2 In the <tbody> template, add <td>{{ formatValue(lot.package) }}</td> after the lot_id cell

3. Verification

  • 3.1 Run existing backend tests to confirm no regressions
  • 3.2 Run existing frontend tests/lint to confirm no regressions