feat(cupang): 출고 상세 상자 목록에 상자별 무게 합계

- 상자마다 무게 칸 = 상자에 든 제품 수량 × 포장무게(설정(제품명)의 지금 값) 합계, 상자번호처럼 상자 단위 한 칸
- 무게가 없는 제품이 섞이면 아는 무게만 더하고 "일부 미입력"(말풍선에 빠진 코드), 모두 없으면 —
- 상자 목록 엑셀에도 무게(g) 열(혼합 상자는 세로 병합)
- 포장무게 칸(마이그레이션 007)이 없으면 무게 칸·열 없이 예전 그대로
- tests/test_cupang_weight.py: 상자 무게 계산 + 엑셀 무게 열

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 14:23:56 +09:00
parent 2434bce35e
commit d21670f6af
12 changed files with 138 additions and 20 deletions
+10
View File
@@ -1345,6 +1345,16 @@ a.cpg-boxno-dl:hover { background: #1a5c38; border-color: #1a5c38; font-weight:
.cpg-boxno-c-name { width: auto; }
.cpg-boxno-c-code { width: 100px; }
.cpg-boxno-c-qty { width: 62px; }
.cpg-boxno-c-weight { width: 92px; }
/* 상자 무게 합계(g) — 상자 단위 한 칸(rowspan), 오른쪽 정렬 숫자. 무게 없는 제품이 있으면 작은 표시 */
.cpg-boxno-weight {
text-align: right; vertical-align: middle; font-variant-numeric: tabular-nums; font-weight: 600;
border-left: 1px solid var(--color-cloud-gray);
}
.cpg-boxno-weight .cpg-weight-unit { font-weight: 400; }
.cpg-boxno-wmiss {
display: block; margin-top: 1px; font-size: 10.5px; font-weight: 600; color: #b45309; white-space: nowrap;
}
.cpg-boxno-cell {
text-align: center; font-weight: 700;
font-family: var(--font-geist-mono);