change(cupang): 출고 칸 표기 "쿠팡상자, 41개" + K열 120px
상자 종류가 여럿이면 " / " 로 구분한다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1234,7 +1234,8 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
// 출고 엑셀 "출고" 칸 — 상자 종류별 박스 수 (예: 쿠팡상자41, 3호상자2)
|
||||
// 출고 엑셀 "출고" 칸 — 상자 종류별 박스 수 (예: "쿠팡상자, 41개")
|
||||
// 종류가 여럿이면 " / " 로 잇는다 (예: "쿠팡상자, 41개 / 3호상자, 2개")
|
||||
var byType = {};
|
||||
var order = [];
|
||||
rows.forEach(function (a) {
|
||||
@@ -1249,7 +1250,9 @@
|
||||
if (!(t in byType)) { byType[t] = 0; order.push(t); }
|
||||
byType[t] += a.count;
|
||||
});
|
||||
var boxSummary = order.map(function (t) { return t + byType[t]; }).join(", ");
|
||||
var boxSummary = order.map(function (t) {
|
||||
return t + ", " + byType[t] + "개";
|
||||
}).join(" / ");
|
||||
|
||||
return {
|
||||
center_id: cid,
|
||||
|
||||
Reference in New Issue
Block a user