feat(cupang): 등록 제품명 표 정렬 + 박스 입수량 시드 SQL
제품명/제품코드 헤더 클릭으로 오름·내림차순 토글. Intl.Collator(ko, numeric) 사용해 "미라네 2호"가 "미라네 10호"보다 앞에 오도록 정렬. 검색 비활성 상태에서도 동작하게 스크립트를 search_enabled 밖에 배치. 박스 입수량 14건(미라네 1~7호, 황토 김치통 1~7호) 시드 SQL 추가. 피킹비 전용 컬럼이 없어 memo 에 기록. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -305,3 +305,24 @@
|
||||
.cpg-upb-unit { font-size: 13px; color: var(--color-midtone-gray); }
|
||||
/* 메모: 프레임 전체 너비 */
|
||||
.cpg .cpg-brule-fields .cpg-brule-memo { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
|
||||
|
||||
/* 등록된 제품명 표 — 정렬 가능한 헤더 */
|
||||
.cpg-sort {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cpg-sort:hover { text-decoration: underline; }
|
||||
.cpg-sort-ind::after {
|
||||
content: "↕";
|
||||
opacity: .35;
|
||||
font-size: .85em;
|
||||
}
|
||||
.cpg-sort.is-asc .cpg-sort-ind::after { content: "▲"; opacity: 1; }
|
||||
.cpg-sort.is-desc .cpg-sort-ind::after { content: "▼"; opacity: 1; }
|
||||
|
||||
Reference in New Issue
Block a user