diff --git a/fe-admin/src/components/khkk/KhkkDetailContent.tsx b/fe-admin/src/components/khkk/KhkkDetailContent.tsx index 7218b54..b44f387 100644 --- a/fe-admin/src/components/khkk/KhkkDetailContent.tsx +++ b/fe-admin/src/components/khkk/KhkkDetailContent.tsx @@ -176,7 +176,10 @@ export function KhkkDetailContent({ // [S175] File đang xem-trước inline trong khối "File đính kèm" đã gộp. const [previewAtt, setPreviewAtt] = useState(null) // [S175] NCC đang mở form "thêm hạng mục" (null = không mở form nào). - const [addFor, setAddFor] = useState<{ supplierId: string; supplierName: string | null } | null>(null) + // [S177] Chỉ còn `supplierId`: `supplierName` đi cùng khi dòng nhập có chú-thích "Thêm cho: + // "; anh chốt gỡ chú-thích đó ⇒ giữ lại field là **gán mà không ai đọc**. Tên NCC vẫn + // đọc được từ chính dòng bấm `+` (`l.supplierName`, dùng cho `title`/`aria-label`). + const [addFor, setAddFor] = useState<{ supplierId: string } | null>(null) const [addCatalogId, setAddCatalogId] = useState('') const [addAmount, setAddAmount] = useState('') const [addNote, setAddNote] = useState('') @@ -620,7 +623,7 @@ export function KhkkDetailContent({