feat: 사용자 피드백(문의사항) 일괄 반영

- #5/#6/#12 전화 주문 접수: 판매수량 입력 중 엔터키 → 다음 봉투 종류 수량칸으로 이동
- #7 주문접수 관리: 배달일을 접수일 이전으로 변경 불가(클라이언트 min + 서버 검증)
- #9 주문접수 관리: 주문수정저장·영수증출력·주문취소 버튼을 접수품목내역 타이틀 옆으로 이동
- #10 주문접수 관리: 접수리스트 하단에 건수·금액 합계 표시(취소 제외)
- #13 전화 주문 접수: 접수표 행·열 간격 축소(한 화면 표시)
- #14 주문접수 관리: 포장명세 봉투종류~봉투코드 컬럼 간격 조정
- #16 판매대장: 품목 필터 순서 변경(일반용→재사용→공공용→음식물→폐기물)
- #18 재고 현황: 종류~계 사이 간격 축소(표 최대폭 제한)
- #20/#21 주문접수 관리: 화면명 '주문접수 관리'로 변경, 조회 기준 배달일→접수일,
  기본 조회일=오늘(초기화 시 당일), 접수번호 매일 1번부터 시작
- #23 담당자 구분 라벨 '구·군' → '지자체'
This commit is contained in:
taekyoungc
2026-07-02 11:53:31 +09:00
parent f76892a6ce
commit 5ef50344af
7 changed files with 81 additions and 30 deletions

View File

@@ -146,8 +146,11 @@ unset($g);
table.phone-batch-table thead tr:last-child th { border-bottom: 1px solid #e5e7eb; } /* 수량/금액 등 하위 헤더 */
table.phone-batch-table thead tr:first-child th[rowspan] { border-bottom: 1px solid #e5e7eb; } /* 구분·봉투종류·단가 */
table.phone-batch-table tbody td { border-bottom: 1px solid #f1f3f5; }
/* 행·열 간격 축소 — 한 화면에 전체 품목이 보이도록 (피드백 #13) */
table.phone-batch-table th, table.phone-batch-table td { padding: 0.2rem 0.35rem; }
table.phone-batch-table .item-qty-input { padding-top: 0.1rem; padding-bottom: 0.1rem; }
</style>
<div class="border border-gray-300 rounded-lg p-4 overflow-auto">
<div class="border border-gray-300 rounded-lg p-2 overflow-auto">
<table class="w-full data-table text-sm phone-batch-table">
<thead>
<tr>
@@ -406,6 +409,15 @@ unset($g);
}
});
// 판매수량 입력 중 엔터키 → 다음 봉투 종류의 수량 입력칸으로 이동
orderRows?.addEventListener('keydown', function (e) {
if (e.key !== 'Enter' || !e.target.classList.contains('item-qty-input')) return;
e.preventDefault();
const inputs = Array.from(orderRows.querySelectorAll('.item-qty-input'));
const next = inputs[inputs.indexOf(e.target) + 1];
if (next) { next.focus(); next.select(); }
});
form?.addEventListener('submit', function (e) {
let hasItem = false;
document.querySelectorAll('.order-row').forEach((row) => {