From f21c55d04a3a07f43cb9607652dfaaa447629f55 Mon Sep 17 00:00:00 2001
From: pqhuy1987
Date: Thu, 11 Jun 2026 18:17:56 +0700
Subject: [PATCH] [CLAUDE] PurchaseEvaluation: bang NCC tham gia table-fixed +
width tung cot (UAT vong 3 - "them file giao dien bi thay doi khong can
xung")
- Bang NCC trong HangMucCard dung auto-layout -> cell File (chip ten file dai) phinh,
bop doc cot NCC tung chu. Fix: table-fixed + w-% tung cot (NCC 24 / SDT 9 / Email 14 /
DKTT 14 / File 22 / So tien 12 / action w-10) + min-w-[860px] (panel hep -> scroll
ngang qua wrapper overflow-x-auto thay vi bop nat) + email span block truncate.
- Chip file/email truncate san - kich hoat khi cell khoa width.
- SHA256 mirror x2 app IDENTICAL, build tsc+vite x2 PASS.
---
fe-admin/src/components/pe/PeDetailTabs.tsx | 22 ++++++++++++---------
fe-user/src/components/pe/PeDetailTabs.tsx | 22 ++++++++++++---------
2 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/fe-admin/src/components/pe/PeDetailTabs.tsx b/fe-admin/src/components/pe/PeDetailTabs.tsx
index 892e349..3025d55 100644
--- a/fe-admin/src/components/pe/PeDetailTabs.tsx
+++ b/fe-admin/src/components/pe/PeDetailTabs.tsx
@@ -1774,16 +1774,20 @@ function HangMucCard({
) : (
-
+ {/* S59 UAT vòng 3: "thêm file giao diện bị thay đổi không cân xứng" — auto-layout
+ để cell File (chip tên dài) phình + bóp dọc cột NCC. Fix: table-fixed + width
+ từng cột (chip file/email có truncate sẵn — kích hoạt khi cell khóa width);
+ min-w để panel hẹp thì scroll ngang (wrapper overflow-x-auto) thay vì bóp nát. */}
+
- | NCC |
- SĐT |
- Email |
- Điều khoản TT |
- File báo giá |
- Số tiền |
- {!readOnly && | }
+ NCC |
+ SĐT |
+ Email |
+ Điều khoản TT |
+ File báo giá |
+ Số tiền |
+ {!readOnly && | }
@@ -1817,7 +1821,7 @@ function HangMucCard({
{s.contactEmail
- ? {s.contactEmail}
+ ? {s.contactEmail}
: —}
|
diff --git a/fe-user/src/components/pe/PeDetailTabs.tsx b/fe-user/src/components/pe/PeDetailTabs.tsx
index 892e349..3025d55 100644
--- a/fe-user/src/components/pe/PeDetailTabs.tsx
+++ b/fe-user/src/components/pe/PeDetailTabs.tsx
@@ -1774,16 +1774,20 @@ function HangMucCard({
) : (
-
+ {/* S59 UAT vòng 3: "thêm file giao diện bị thay đổi không cân xứng" — auto-layout
+ để cell File (chip tên dài) phình + bóp dọc cột NCC. Fix: table-fixed + width
+ từng cột (chip file/email có truncate sẵn — kích hoạt khi cell khóa width);
+ min-w để panel hẹp thì scroll ngang (wrapper overflow-x-auto) thay vì bóp nát. */}
+
- | NCC |
- SĐT |
- Email |
- Điều khoản TT |
- File báo giá |
- Số tiền |
- {!readOnly && | }
+ NCC |
+ SĐT |
+ Email |
+ Điều khoản TT |
+ File báo giá |
+ Số tiền |
+ {!readOnly && | }
@@ -1817,7 +1821,7 @@ function HangMucCard({
{s.contactEmail
- ? {s.contactEmail}
+ ? {s.contactEmail}
: —}
|
| |