feat(cupang): 제품명 설정에 수기 추가 폼
itemcode_db 목록에 없는 상품도 제품명·제품코드를 직접 입력해 등록할 수 있게 왼쪽 카드 상단에 폼 추가. 기존 POST /cupang/products (upsert)를 그대로 사용하며 같은 제품코드는 덮어쓴다. itemcode 검색이 비활성인 환경에서도 동작하도록 search_enabled 분기 밖에 둔다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -537,3 +537,27 @@
|
||||
.cpg-calc-layout > .erp-card { display: flex; flex-direction: column; }
|
||||
.cpg-calc-card .erp-table-wrap { flex: 1 1 auto; }
|
||||
.cpg-calc-sum { overflow: auto; max-height: min(78vh, 900px); }
|
||||
|
||||
/* 제품명 설정 — 수기 추가 폼 */
|
||||
.cpg-prod-manual {
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
border: 1px solid var(--color-subtle-ash);
|
||||
border-radius: 10px;
|
||||
background: var(--color-ghost-gray);
|
||||
}
|
||||
.cpg-prod-manual-head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.cpg-prod-manual-head .erp-muted { font-size: 12px; }
|
||||
.cpg-prod-manual-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.cpg-prod-manual-row .erp-field { flex: 1 1 160px; min-width: 0; }
|
||||
.cpg-prod-manual-row .erp-input { min-width: 0; width: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user