fix:거래처 목록에서 전화번호와 이메일 모두 표시되도록 수정

- 기존: contact || email (둘 중 하나만 표시)
- 수정: 전화번호(1줄) + 이메일(2줄) 각각 표시

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-20 15:36:24 +09:00
parent 0ac621bd49
commit 15f83d0367

View File

@@ -296,7 +296,7 @@ function PartnersManagement() {
<td className="px-6 py-4"><div className="flex items-center gap-2"><span className={`px-1.5 py-0.5 rounded text-[10px] font-bold ${item.tradeType === 'purchase' ? 'bg-amber-100 text-amber-700' : 'bg-blue-100 text-blue-700'}`}>{item.tradeType === 'purchase' ? '매입' : '매출'}</span><p className="text-sm font-medium text-gray-900">{item.name}</p></div>{item.bizNo && <p className="text-xs text-gray-400 ml-7">{item.bizNo}</p>}</td>
<td className="px-6 py-4"><span className="text-sm text-gray-900">{item.ceo || '-'}</span></td>
<td className="px-6 py-4">{item.type && <span className="px-2 py-1 bg-blue-50 text-blue-700 rounded text-xs font-medium">{item.type}</span>}{item.category && <p className="text-xs text-gray-400 mt-1">{item.category}</p>}</td>
<td className="px-6 py-4"><p className="text-sm text-gray-600">{item.contact || item.email}</p></td>
<td className="px-6 py-4">{item.contact && <p className="text-sm text-gray-600">{item.contact}</p>}{item.email && <p className="text-xs text-gray-400">{item.email}</p>}</td>
<td className="px-6 py-4"><p className="text-sm text-gray-900">{item.manager}</p>{item.managerPhone && <p className="text-xs text-gray-400">{item.managerPhone}</p>}</td>
<td className="px-6 py-4 text-center"><span className={`px-2 py-1 rounded-full text-xs font-medium ${item.status === 'active' ? 'bg-emerald-100 text-emerald-700' : 'bg-gray-100 text-gray-500'}`}>{item.status === 'active' ? '활성' : '비활성'}</span></td>
<td className="px-6 py-4 text-center" onClick={(e) => e.stopPropagation()}>