feat(cupang): 쿠팡 발주 엑셀 업로드 → 센터별 박스 자동 계산
- ① 카드를 "쿠팡 발주 업로드"로 개편, xlsx 다중 선택 업로드 - POST /cupang/api/box-calc/upload (openpyxl): F13 입고예정일 −1일 = 출고일, 22행부터 B=쿠팡상품코드 / F=센터명 / G=수량을 읽어 파일들을 합산 - 쿠팡상품코드 → cupang_products.coupang_item_code 로 제품 매칭, 센터명 → cupang_centers.name 매칭. 미매칭 코드/센터/박스규칙은 경고로 표시 - 박스는 센터 단위로 포장되므로 센터마다 박스 계산을 돌려 ② 요약에 합치고 ③ 센터에 자동 배분(자투리 혼합 박스는 소속 센터를 라벨에 표시) - 확정 대화상자 기본 출고일도 업로드한 발주서 날짜로 채움 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}<link rel="stylesheet" href="/static/cupang.css?v=20260901h" />{% endblock %}
|
||||
{% block head_extra %}<link rel="stylesheet" href="/static/cupang.css?v=20260901i" />{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="cpg">
|
||||
|
||||
Reference in New Issue
Block a user