refactor(cupang): 입고센터 이름 수정 기능 제거

이름을 바꾸면 그 센터를 쓰던 기존 출고 건과 어긋날 수 있어 수정 경로를
막는다. 잘못 등록한 센터는 삭제 후 새로 등록.

- 목록 행: 이름 input+저장 버튼 → 읽기 전용 텍스트
- center_edit 라우터에서 name 폼 파라미터 제거(활성/정렬만 수정)
- 행이 좁아져 그리드 최소폭 340px → 240px

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-31 12:02:57 +09:00
parent 026a9ab526
commit 7b358b0189
9 changed files with 28 additions and 26 deletions
+7 -3
View File
@@ -184,7 +184,7 @@
.cpg-center-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 6px;
max-height: 70vh; overflow-y: auto;
padding-right: 4px;
@@ -192,7 +192,7 @@
.cpg-center-row {
display: flex; align-items: center; gap: 6px;
margin: 0; padding: 5px 8px;
margin: 0; padding: 7px 10px;
border: 1px solid var(--color-subtle-ash); border-radius: 10px;
min-width: 0;
}
@@ -202,7 +202,11 @@
}
.cpg-center-row.is-inactive { opacity: .55; }
.cpg-center-row.is-inactive .cpg-center-dot { background: var(--color-subtle-ash); }
.cpg-center-name { flex: 1 1 auto; min-width: 0; }
.cpg-center-name {
flex: 1 1 auto; min-width: 0;
font-size: 14px; font-weight: 500;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cpg-btn-sm { padding: 3px 8px; font-size: 12px; flex: 0 0 auto; }
/* ── 라인 테이블 ── */