126 lines
3.9 KiB
Plaintext
126 lines
3.9 KiB
Plaintext
<%--
|
|
Created by IntelliJ IDEA.
|
|
User: CHAMDAHAN
|
|
Date: 2024-10-08
|
|
Time: 오후 3:30
|
|
To change this template use File | Settings | File Templates.
|
|
--%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
|
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
|
|
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>GC ONE 관리자</title>
|
|
</head>
|
|
<style>
|
|
|
|
</style>
|
|
<script>
|
|
$(document).ready(function(){
|
|
fn_set_niceSelect_datePicker('.select-box');
|
|
})
|
|
</script>
|
|
<body>
|
|
<section class="content-section">
|
|
<div class="form-control-container">
|
|
<div class="left">
|
|
<div class="search-number">
|
|
<span class="search-number__text">총 <strong><c:out value="${ resultMap.paginationInfo.totalRecordCount }"/></strong>건</span>
|
|
</div>
|
|
</div>
|
|
<div class="center">
|
|
</div>
|
|
<div class="right">
|
|
<div class="select-box">
|
|
<select id="pageUnit" name="pageUnit" title="페이지당 출력될 목록건수" onchange="fn_select_list(1);">
|
|
<c:forEach items="${ resultMap.paginationInfo.pageUnitArr }" var="pageUnit" varStatus="pageUnitStatus">
|
|
<option value="<c:out value="${ pageUnit }"/>" <c:if test="${ resultMap.paginationInfo.recordCountPerPage eq pageUnit}">selected="selected"</c:if>><c:out value="${ pageUnit }"/>개씩</option>
|
|
</c:forEach>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="horizontal-line">
|
|
<div class="form-control-container">
|
|
<div class="center">
|
|
</div>
|
|
</div>
|
|
<hr class="spacing">
|
|
<div class="table-wrapper">
|
|
<table class="table vertical">
|
|
<caption>상품정보 목록</caption>
|
|
<colgroup>
|
|
<col style="width: 4%;">
|
|
<col style="width: 5%;">
|
|
<col style="width: 10%;">
|
|
<col style="width: 10%;">
|
|
<col style="width: 35%;">
|
|
<col style="width: 35%;">
|
|
<col style="width: 7%;">
|
|
<col style="width: 10%;">
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th>번호</th>
|
|
<th>쇼핑몰</th>
|
|
<th>세트코드</th>
|
|
<th>바코드</th>
|
|
<th>세트 상품명</th>
|
|
<th>단일 상품명</th>
|
|
<th>바코드 수량</th>
|
|
<th>사은품 여부</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="tbody">
|
|
<c:choose>
|
|
<c:when test="${ not empty resultMap.list }">
|
|
<c:forEach items="${ resultMap.list }" var="list" varStatus="status">
|
|
<tr class="list-row">
|
|
<td><c:out value="${ resultMap.paginationInfo.totalRecordCount - list.rnum + 1 }" /></td>
|
|
<td>${list.sopmalCd}</td>
|
|
<td>${list.setCode}</td>
|
|
<td>${list.barcode}</td>
|
|
<td>${list.setGoodsNm}</td>
|
|
<td>${list.goodsNm}</td>
|
|
<td>${list.barcodeQy}</td>
|
|
<td> <c:choose>
|
|
<c:when test="${list.giftYn eq 1}">
|
|
Y
|
|
</c:when>
|
|
<c:otherwise>
|
|
N
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="100%"><spring:message code="common.nodata"/></td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div class="pagination__container">
|
|
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_select_list"/>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|