- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
623 lines
24 KiB
Plaintext
623 lines
24 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file= "/init.jsp" %>
|
|
<%
|
|
PersonBean person = (PersonBean)session.getAttribute(Constants.PERSON_BEAN);
|
|
String connector = person.getUserId();
|
|
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<!-- //JSTL 페이징 변수선언 -->
|
|
<c:set var="totalCount" value="${empty TOTAL_COUNT?0:TOTAL_COUNT}" />
|
|
<c:set var="maxPage" value="${empty MAX_PAGE_SIZE?1:MAX_PAGE_SIZE}" />
|
|
<c:set var="nPage" value="${empty param.page?1:param.page}" />
|
|
<c:set var="pageIndex" value="${(nPage-1)/10}" />
|
|
<c:set var="nextPage" value="${empty NEXT_PAGE?1:NEXT_PAGE}" />
|
|
<c:set var="prevPage" value="${empty PREV_PAGE?1:PREV_PAGE}" />
|
|
<c:set var="now" value="<%=new java.util.Date() %>"/>
|
|
<c:set var="sysYear"><fmt:formatDate value="${now}" pattern="yyyy" /></c:set>
|
|
|
|
<c:set var="connector" value="<%=connector %>" />
|
|
<script>
|
|
$(document).ready(function(){
|
|
|
|
$("._table1").scroll(function () {
|
|
$("._table2").scrollLeft($("._table1").scrollLeft());
|
|
});
|
|
$("._table2").scroll(function () {
|
|
$("._table1").scrollLeft($("._table2").scrollLeft());
|
|
});
|
|
|
|
//날짜
|
|
_fnc_datepick();
|
|
|
|
|
|
$('.select2').select2();
|
|
|
|
$("#btnSearch").click(function(){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
});
|
|
|
|
//SR자료등록 팝업
|
|
$(".File").click(function(){
|
|
var popup_width = 800;
|
|
var popup_height = 335;
|
|
|
|
var objId = $(this).attr("data-OBJID");
|
|
var docType =$(this).attr("data-docType");
|
|
var docTypeName = $(this).attr("data-docTypeName");
|
|
var params = "?targetObjId="+objId+"&docType="+docType+"&docTypeName="+docTypeName;
|
|
var url = "/projectConcept/FileRegistPopup.do"+params;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
|
|
//영업활동 등록 팝업
|
|
$(".btnRegist").click(function(){
|
|
var popup_width = 1200;
|
|
var popup_height = 550;
|
|
var params = "?actionType=regist"
|
|
var url = "/contractMgmt/contracMgmtFormPopup.do"+params;
|
|
//window.open("/ordermgmt/ordermgmtUpdateFormPopup.do"+params, "", "width=650, height=750","menubars=no, scrollbars=yes, resizable=yes");
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
|
|
|
|
//고객 등록 팝업
|
|
$(".supplyMng").click(function(){
|
|
//window.open("/ordermgmt/ordermgmtUpdateFormPopup.do"+params, "", "width=650, height=750","menubars=no, scrollbars=yes, resizable=yes");
|
|
window.open("/contractMgmt/supplyMngPagingList.do", "", "width=1150, height=676","menubars=no, scrollbars=yes, resizable=yes");
|
|
});
|
|
|
|
|
|
//엔터 조회
|
|
$("input").keyup(function(e){
|
|
if(e.keyCode == 13){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
}
|
|
});
|
|
|
|
|
|
//체크박스 전체선택/전체해제
|
|
$("#allCheck").click(function(){
|
|
if($("#allCheck").prop("checked")) {
|
|
$("input[type=checkbox]").prop("checked",true);
|
|
} else {
|
|
$("input[type=checkbox]").prop("checked",false);
|
|
}
|
|
});
|
|
|
|
|
|
//삭제
|
|
$("#btnDelete").click(function(){
|
|
fn_delete();
|
|
});
|
|
|
|
|
|
$("#btnExcel").click(function(){
|
|
document.form1.actionType.value = "excel";
|
|
document.form1.action = "/contractMgmt/contractList.do";
|
|
document.form1.submit();
|
|
});
|
|
|
|
});
|
|
|
|
|
|
function _fnc_datepick(){
|
|
var $dateinput = $("input.date_icon");
|
|
for(var i=0; i<$dateinput.length; i++){
|
|
$dateinput.eq(i).attr("size","10");
|
|
$dateinput.eq(i).datepicker({
|
|
changeMonth:true,
|
|
changeYear:true
|
|
});
|
|
}
|
|
}
|
|
|
|
function fn_delete(){
|
|
|
|
if(0 < $("input[name=chk_objId]:checked").length){
|
|
//if(confirm("선택한 정보를 삭제하시겠습니까?")){
|
|
Swal.fire({
|
|
title: '선택한 고객정보를 삭제하시겠습니까?',
|
|
text: '',
|
|
icon: 'warning',
|
|
|
|
showCancelButton: true, // cancel버튼 보이기. 기본은 원래 없음
|
|
confirmButtonColor: '#3085d6', // confrim 버튼 색깔 지정
|
|
cancelButtonColor: '#d33', // cancel 버튼 색깔 지정
|
|
confirmButtonText: '확인', // confirm 버튼 텍스트 지정
|
|
cancelButtonText: '취소', // cancel 버튼 텍스트 지정
|
|
reverseButtons: false, // 버튼 순서 거꾸로
|
|
|
|
}).then(result => {
|
|
// 만약 Promise리턴을 받으면,
|
|
if (result.isConfirmed) { // 만약 모달창에서 confirm 버튼을 눌렀다면
|
|
var param = $("#form1").serialize();
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/contractMgmt/deleteContractMngInfo.do",
|
|
data: param,
|
|
dataType:"json",
|
|
success:function(data){
|
|
if(data.result == 'true'){
|
|
Swal.fire("삭제되었습니다.");
|
|
fn_search();
|
|
};
|
|
}
|
|
,error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}else{
|
|
Swal.fire("선택한 항목이 없습니다.");
|
|
}
|
|
}
|
|
|
|
|
|
//영업활동등록 상세
|
|
function fn_projectConceptDetail(objId){
|
|
var popup_width = 1200;
|
|
var popup_height = 550;
|
|
var url = "/contractMgmt/contracMgmtFormPopup.do?objId="+objId;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
}
|
|
|
|
//검토내용 상세
|
|
function fn_projectConceptReviewDetail(objId){
|
|
var popup_width = 800;
|
|
var popup_height = 250;
|
|
var url = "/contractMgmt/contracMgmtReviewFormPopup.do?objId="+objId;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
}
|
|
|
|
function fn_search(){
|
|
document.form1.action = "/contractMgmt/contractList.do";
|
|
document.form1.submit();
|
|
}
|
|
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function optionJobGroup(code){
|
|
var val=code;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#writer");
|
|
combobox.empty();
|
|
if(val!=""){
|
|
params += "codeId="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/projectConcept/makewrite.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<option value=''>전체</option>";
|
|
option += data.RESULT;
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
});
|
|
// alert(Number(lev-1));
|
|
//$("#code"+Number(lev-1)).val(code).prop("selected", true);
|
|
}else{
|
|
|
|
option += "<option value=''>전체</option>";
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function makeSelect(code){
|
|
var val=code;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#outc_cd6_td");
|
|
combobox.empty();
|
|
|
|
|
|
/* <select name="outc_cd6" id="outc_cd6" type="select">
|
|
<option value="">선택</option>
|
|
</select> */
|
|
|
|
if(val!="" && val!="PLA03000"){
|
|
params += "codeId="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/ordermgmt/makeCodeselect.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<select name='outc_cd6' id='outc_cd6' type='select'>"
|
|
option += "<option value=''>선택</option>";
|
|
option += data.RESULT;
|
|
option += "</select>";
|
|
combobox.append(option);
|
|
$("#outc_cd6").val("${param.outc_cd6}");
|
|
//$("#outc_cd6").select2();
|
|
}
|
|
}
|
|
});
|
|
}else{
|
|
if(val=="PLA03000"){
|
|
option += "<input type='text' name='outc_cd6' id='outc_cd6' value='${param.outc_cd6}'>"
|
|
combobox.append(option);
|
|
}else{
|
|
option += "<select name='outc_cd6' id='outc_cd6' type='select'>"
|
|
option += "<option value=''>선택</option>";
|
|
option += "</select>";
|
|
combobox.append(option);
|
|
//$("#outc_cd6").select2();
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
function saveexcelpop() {
|
|
|
|
var partLength = $("input[name=partCheckBox]:checked").length;
|
|
if(partLength == 0){
|
|
Swal.fire('선택된 영업정보가 없습니다.');
|
|
return;
|
|
}
|
|
if(partLength > 1){
|
|
Swal.fire('단건씩 선택해 주세요');
|
|
return;
|
|
}
|
|
|
|
var orderobjId ="";
|
|
$("input[name=partCheckBox]:checked").each(function(){
|
|
orderobjId = fnc_checkNull($(this).attr("data-objId").replace(" ",""));
|
|
});
|
|
|
|
var url = "/ordermgmt/openOrderExcelImportPopUp.do?orderobjId="+orderobjId;
|
|
var target = "openOrderExcelImportPopUp";
|
|
window.open(url, target,"width=1245, height=700, menubars=no, scrollbars=yes, resizable=yes");
|
|
}
|
|
|
|
|
|
//프로젝트의 form,detail 팝업을 보여준다.
|
|
function openProjectFormPopUp(objId){
|
|
window.open("","projectFormPopUp","width=1150, height=676");
|
|
var params = "?actionType=regist"
|
|
var url = "/project/projectFormPopUp.do"+params;
|
|
if("" != objId){
|
|
url = "/project/projectDetailPopUp.do";
|
|
}
|
|
var form = document.form1;
|
|
form.objId.value = objId;
|
|
form.action = url;
|
|
form.target = "projectFormPopUp";
|
|
form.submit();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="actionType" value="" />
|
|
|
|
<!-- 대시보드용 -->
|
|
<input type="hidden" name="contract_month" id="contract_month" value="${param.contract_month}">
|
|
<div class="min_part_enroll">
|
|
<div class="content-box">
|
|
<div class="content-box-s">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>영업관리_계약관리</span>
|
|
</h2>
|
|
</div>
|
|
<div id="plmSearchZon">
|
|
<table>
|
|
<tr>
|
|
|
|
<td><label for="Year">연도</label></td>
|
|
<td>
|
|
<select name="Year" id="Year" class="select2" autocomplete="off" style="width:130px">
|
|
<option value="">선택</option>
|
|
<c:forEach begin="${sysYear-4}" end="${sysYear}" var="req_year">
|
|
<option value="${req_year}"${param.Year eq req_year ? 'selected':'' }>${req_year}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td><label for="category_cd">구분</label></td>
|
|
<td>
|
|
<select name="category_cd" id="category_cd" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.category_cd}
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td><label for="customer_objid">고객사</label></td>
|
|
<td>
|
|
<select name="customer_objid" id="customer_objid" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.customer_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td><label for="product">제품구분</label></td>
|
|
<td>
|
|
<select name="product" id="product" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.product_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td><label for="status_cd">진행사항</label></td>
|
|
<td>
|
|
<select name="status_cd" id="status_cd" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.product_code}
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td class="align_r">
|
|
<label>계약일</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="contract_start_date" id="contract_start_date" style="width:90px;" autocomplete="off" value="${param.contract_start_date}" class="date_icon">~
|
|
<input type="text" name="contract_end_date" id="contract_end_date" style="width:90px;" autocomplete="off" value="${param.contract_end_date}" class="date_icon">
|
|
</td>
|
|
|
|
<td><label for="result_cd">수주결과</label></td>
|
|
<td>
|
|
<select name="result_cd" id="result_cd" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.result_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td><label for="pm_user_id">PM</label></td>
|
|
<td>
|
|
<select name="pm_user_id" id="pm_user_id" style="width:130px" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.pm_user_id}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<section class="contents_page_basic_margin">
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap">
|
|
<input type="button" value="삭제" class="plm_btns delete" id="btnDelete">
|
|
<input type="button" value="등록" class="plm_btns btnRegist create">
|
|
<!-- <input type="button" value="고객등록" class="plm_btns supplyMng create"> -->
|
|
<input type="button" value="조회" class="plm_btns" id="btnSearch" name="btnSearch">
|
|
<!-- <input type="button" value="Excel Download" class="plm_btns" id="btnExcel"> -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="in_table_scroll_wrap _table1" style="height:53px;width:100%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="25px">
|
|
<col width="70px"><!-- 영업번호 -->
|
|
<col width="60px"><!-- 계약구분 -->
|
|
<col width="70px"><!-- 국내/해외-->
|
|
<col width="120px"><!-- 고객사 -->
|
|
<col width="110px"><!-- 제품구분 -->
|
|
<col width="150px"><!-- 고객사프로젝트명 -->
|
|
<col width="90px"><!-- 요청납기일-->
|
|
<col width="60px"><!-- 입고지-->
|
|
<col width="60px"><!-- 셋업지-->
|
|
<col width="70px"><!-- 설비방향 -->
|
|
<col width="70px"><!-- 설비대수-->
|
|
<col width="70px"><!-- 설비타입 -->
|
|
<col width="70px"><!-- 설비길이 -->
|
|
<col width="70px"><!-- 담당자 -->
|
|
<col width="70px"><!-- 등록일 -->
|
|
<col width="60px"><!-- 첨부파일 -->
|
|
|
|
<col width="70px"><!-- 검토내용 -->
|
|
<col width="60px"><!-- 상태 -->
|
|
|
|
<col width="80px"><!-- 수주일-->
|
|
<col width="80px"><!-- PO계약No-->
|
|
<col width="60px"><!-- pm-->
|
|
<col width="60px"><!-- 통화-->
|
|
<col width="110px"><!-- 수주가 -->
|
|
<col width="170px"><!-- 당사프로젝트명-->
|
|
<col width="80px"><!-- 계약납기일-->
|
|
<col width="80px"><!-- 요청납기일 -->
|
|
<col width="70px"><!-- 수주회사-->
|
|
<col width="70px"><!-- 제작공장-->
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td rowspan="2"><input type="checkbox" id="allCheck"></td>
|
|
<td colspan="16">영업정보(상세)</td>
|
|
<td colspan="2">진행사항</td>
|
|
<td colspan="10">수주정보</td>
|
|
</tr>
|
|
<tr class="plm_sub_thead">
|
|
<td>영업번호</td>
|
|
<td>계약구분</td>
|
|
<td>국내/해외</td>
|
|
<td>고객사</td>
|
|
<td>제품구분(기계형식)</td>
|
|
<td>고객사 프로젝트명</td>
|
|
<td>요청납기일</td>
|
|
<td>입고지</td>
|
|
<td>셋업지</td>
|
|
<td>설비방향</td>
|
|
<td>설비대수</td>
|
|
<td>설비타입</td>
|
|
<td>설비길이</td>
|
|
<td>담당자</td>
|
|
<td>등록일</td>
|
|
<td>첨부파일</td>
|
|
|
|
<td>검토내용</td>
|
|
<td>상태</td>
|
|
|
|
<td>수주일</td>
|
|
<td>PO계약 No</td>
|
|
<td>PM</td>
|
|
<td>통화</td>
|
|
<td>수주가</td>
|
|
<td>당사프로젝트명</td>
|
|
<td>계약납기일</td>
|
|
<td>요청납기일</td>
|
|
<td>수주회사</td>
|
|
<td>제작공장</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="in_table_scroll_wrap _table2" style="height:580px;width:100%;overflow-y:auto;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="25px">
|
|
<col width="70px"><!-- 영업번호 -->
|
|
<col width="60px"><!-- 계약구분 -->
|
|
<col width="70px"><!-- 국내/해외-->
|
|
<col width="120px"><!-- 고객사 -->
|
|
<col width="110px"><!-- 제품구분 -->
|
|
<col width="150px"><!-- 고객사프로젝트명 -->
|
|
<col width="90px"><!-- 요청납기일-->
|
|
<col width="60px"><!-- 입고지-->
|
|
<col width="60px"><!-- 셋업지-->
|
|
<col width="70px"><!-- 설비방향 -->
|
|
<col width="70px"><!-- 설비대수-->
|
|
<col width="70px"><!-- 설비타입 -->
|
|
<col width="70px"><!-- 설비길이 -->
|
|
<col width="70px"><!-- 담당자 -->
|
|
<col width="70px"><!-- 등록일 -->
|
|
<col width="60px"><!-- 첨부파일 -->
|
|
|
|
<col width="70px"><!-- 검토내용 -->
|
|
<col width="60px"><!-- 상태 -->
|
|
|
|
<col width="80px"><!-- 수주일-->
|
|
<col width="80px"><!-- PO계약No-->
|
|
<col width="60px"><!-- pm-->
|
|
<col width="60px"><!-- 통화-->
|
|
<col width="110px"><!-- 수주가 -->
|
|
<col width="170px"><!-- 당사프로젝트명-->
|
|
<col width="80px"><!-- 계약납기일-->
|
|
<col width="80px"><!-- 요청납기일 -->
|
|
<col width="70px"><!-- 수주회사-->
|
|
<col width="70px"><!-- 제작공장-->
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${!empty LIST}">
|
|
<c:forEach var="info" items="${LIST}" varStatus="status">
|
|
<tr>
|
|
<td><input style="width: 15px; height: 15px" type="checkbox" value="${info.OBJID}" name="chk_objId" id="chk_objId" data-objId="${info.OBJID}"></td>
|
|
<td title="${info.CONTRACT_NO}"><a href="#" onclick="javascript:fn_projectConceptDetail('${info.OBJID}')">${info.CONTRACT_NO}</a></td><!-- 계약번호 -->
|
|
<td title="${info.CATEGORY_NAME}">${info.CATEGORY_NAME}</td><!-- 지역 -->
|
|
<td title="${info.AREA_NAME}">${info.AREA_NAME}</td><!-- 지역 -->
|
|
<td title="${info.CUSTOMER_NAME}">${info.CUSTOMER_NAME}</td><!-- 고객명 -->
|
|
<td title="${info.PRODUCT_NAME}"">${info.PRODUCT_NAME}(${info.MECHANICAL_TYPE})</td><!-- 사업자등록번호 -->
|
|
<td title="${info.CUSTOMER_PROJECT_NAME}" class="align_l">${info.CUSTOMER_PROJECT_NAME}</td><!-- 사업자등록번호 -->
|
|
<td title="${info.DUE_DATE}">${info.DUE_DATE}</td><!-- 예상납기일 -->
|
|
<td title="${info.LOCATION}">${info.LOCATION}</td><!-- 입고지ㅏ -->
|
|
<td title="${info.SETUP}">${info.SETUP}</td><!-- 셋업지 -->
|
|
<td title="${info.FACILITY_NAME}">${info.FACILITY_NAME}</td><!-- 설비방향 -->
|
|
<td title="${info.FACILITY_QTY}"><fmt:formatNumber value="${info.FACILITY_QTY}" pattern="#,###" /></td><!-- 설비대수 -->
|
|
<td title="${info.FACILITY_TYPE}">${info.FACILITY_TYPE}</td><!-- 설비타입 -->
|
|
<td title="${info.FACILITY_DEPTH}">${info.FACILITY_DEPTH}</td><!-- 설비길이 -->
|
|
<td title="${info.WRITER_NAME}">${info.WRITER_NAME}</td><!-- 당당자 -->
|
|
<td title="${info.REG_DATE}">${info.REG_DATE}</td><!-- 등록일 -->
|
|
<td><a href="#" class="File file_${info.CU01_CNT eq 0?'empty_':''}icon" data-OBJID="${info.OBJID}" data-docType="contractMgmt01" data-docTypeName="contractMgmt01"></a></td>
|
|
|
|
<td><a href="#" class="file_${info.CU03_CNT eq 0?'empty_':''}icon" onclick="javascript:fn_projectConceptReviewDetail('${info.OBJID}')"></a></td>
|
|
<td title="${info.CONTRACT_RESULT_NAME}">${info.CONTRACT_RESULT_NAME}</td><!-- -->
|
|
|
|
<td title="${info.CONTRACT_DATE}">${info.CONTRACT_DATE}</td><!-- 수주일 -->
|
|
<td title="${info.PO_NO}">${info.PO_NO}</td><!-- PO NO -->
|
|
<td title="${info.PM_USER_NAME}">${info.PM_USER_NAME}</td><!-- PM -->
|
|
<td title="${info.CONTRACT_CURRENCY_NAME}">${info.CONTRACT_CURRENCY_NAME}</td><!-- 통화 -->
|
|
<td title="${info.CONTRACT_PRICE_CURRENCY}" class="align_r2"><fmt:formatNumber value="${info.CONTRACT_PRICE_CURRENCY}" pattern="#,###" /></td><!-- 수주가 -->
|
|
<%-- <td title="${info.CONTRACT_PRICE}" class="align_r2"><fmt:formatNumber value="${info.CONTRACT_PRICE}" pattern="#,###" /></td><!-- 수주가 --> --%>
|
|
<td title="${info.PROJECT_NAME}" class="align_l">${info.PROJECT_NAME}</td><!-- 당사프로젝트명 -->
|
|
<td title="${info.CONTRACT_DEL_DATE}">${info.CONTRACT_DEL_DATE}</td><!-- 계약납기일 -->
|
|
<td title="${info.REQ_DEL_DATE}">${info.REQ_DEL_DATE}</td><!-- 요청납기일 -->
|
|
<td title="${info.CONTRACT_COMPANY_NAME}">${info.CONTRACT_COMPANY_NAME}</td><!-- 수주회사 -->
|
|
<td title="${info.MANUFACTURE_PLANT_NAME}">${info.MANUFACTURE_PLANT_NAME}</td><!-- 제작공장 -->
|
|
</tr>
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="29" align="center">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
<div class="pdm_page">
|
|
<input type="hidden" name="page" id="page" value="${nPage}">
|
|
<c:if test="${!empty LIST}">
|
|
<div class="page_pro">
|
|
<table align="center">
|
|
<tr>
|
|
<c:choose>
|
|
<c:when test="${nPage > 1}">
|
|
<td><a href="javascript:fnc_goPrev('${prevPage}');">prev</a></td>
|
|
<td> </td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td class="no_more_page">prev</td>
|
|
<td> </td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<c:forEach var="v" begin="${nPage>5?nPage-5:1}" end="${nPage>5?nPage+4:10}" step="1" varStatus="status">
|
|
<c:if test="${status.index -1 < maxPage}">
|
|
<c:choose>
|
|
<c:when test="${status.index eq nPage}">
|
|
<td><a href="#" class="now_page">${nPage}</a></td>
|
|
<td> </td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td><a href="javascript:fnc_goPage('${status.index}');">${status.index}</a></td>
|
|
<td> </td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:choose>
|
|
<c:when test="${nPage < maxPage}">
|
|
<td><a href="javascript:fnc_goNext('${nextPage}');">next</a></td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td class="no_more_page">next</td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tr>
|
|
</table>
|
|
<c:if test="${!empty LIST}">
|
|
<p id="adminPageCount">총 ${totalCount}건</p>
|
|
</c:if>
|
|
</div>
|
|
</c:if>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |