731 lines
25 KiB
Plaintext
731 lines
25 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@include file= "/init.jsp" %>
|
|
<%
|
|
PersonBean person = (PersonBean)session.getAttribute(Constants.PERSON_BEAN);
|
|
String userId = CommonUtils.checkNull(person.getUserId());
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
|
|
if("${actionType}"=="U"){
|
|
$("#btnSave").remove();
|
|
/*
|
|
//검토내용 필수
|
|
$("#chg_user_id").attr('required', 'required');
|
|
$("#plan_date").attr('required', 'required');
|
|
$("#complete_date").attr('required', 'required');
|
|
$("#result_cd").attr('required', 'required');
|
|
$("#spec_user_id").attr('required', 'required');
|
|
$("#spec_plan_date").attr('required', 'required');
|
|
$("#spec_comp_date").attr('required', 'required');
|
|
$("#spec_result_cd").attr('required', 'required');
|
|
|
|
$("#est_user_id").attr('required', 'required');
|
|
$("#est_plan_date").attr('required', 'required');
|
|
$("#est_comp_date").attr('required', 'required');
|
|
$("#est_result_cd").attr('required', 'required');
|
|
|
|
//수주결과 필수
|
|
$("#pm_user_id").attr('required', 'required');
|
|
$("#contract_price").attr('required', 'required');
|
|
$("#project_name").attr('required', 'required');
|
|
$("#contract_del_date").attr('required', 'required');
|
|
$("#req_del_date").attr('required', 'required');
|
|
$("#contract_company").attr('required', 'required');
|
|
$("#contract_date").attr('required', 'required');
|
|
$("#manufacture_plant").attr('required', 'required');
|
|
$("#contract_result").attr('required', 'required');
|
|
*/
|
|
}
|
|
$("input:text[numberOnly]").on("keyup", function() {
|
|
$(this).val(addComma($(this).val().replace(/[^0-9]/g,"")));
|
|
});
|
|
|
|
$('.select2').select2();
|
|
|
|
//첨부파일
|
|
fnc_setFileDropZone("contractMgmt01DropZone", "${objId}", "contractMgmt01", "contractMgmt01", "fileAreaDraw",false,null,null);
|
|
fnc_setFileDropZone("contractMgmt02DropZone", "${objId}", "contractMgmt02", "contractMgmt02", "fileAreaDraw",false,null,null);
|
|
fileAreaDraw();
|
|
|
|
$("#btnUpload").click(function(){
|
|
var files = $("#file1")[0].files;
|
|
if(files.length > 0){
|
|
fnc_fileMultiUpload(files, null, "${objId}", "contractMgmt01", "contractMgmt01", null, "fileAreaDraw");
|
|
//file객체 초기화
|
|
$("#file1").val("");
|
|
}else{
|
|
alert("선택된 File이 없습니다.");
|
|
}
|
|
|
|
});
|
|
$("#btnUpload1").click(function(){
|
|
var files = $("#file2")[0].files;
|
|
if(files.length > 0){
|
|
fnc_fileMultiUpload(files, null, "${objId}", "contractMgmt02", "contractMgmt02", null, "fileAreaDraw");
|
|
//file객체 초기화
|
|
$("#file2").val("");
|
|
}else{
|
|
alert("선택된 File이 없습니다.");
|
|
}
|
|
|
|
});
|
|
|
|
//날짜
|
|
_fnc_datepick();
|
|
|
|
//저장
|
|
$("#btnSave").click(function(){
|
|
fn_save();
|
|
});
|
|
|
|
$("#btnClose").click(function(){
|
|
self.close();
|
|
});
|
|
|
|
|
|
//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+"&callbackFnc=file_check";
|
|
var url = "/common/FileRegistPopup.do"+params;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
});
|
|
|
|
function addComma(data) {
|
|
return data.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
}
|
|
|
|
function file_check(doctype,filesize){
|
|
//파일 다시그리기
|
|
|
|
if(filesize > 0){
|
|
$("#"+doctype).removeClass("file_icon file_empty_icon");
|
|
$("#"+doctype).addClass("file_icon");
|
|
}else{
|
|
$("#"+doctype).removeClass("file_icon file_empty_icon");
|
|
$("#"+doctype).addClass("file_empty_icon");
|
|
}
|
|
|
|
}
|
|
|
|
function fn_save(){
|
|
if(fnc_valitate("form1")){
|
|
var message="수정";
|
|
if("${actionType}"=='regist'){
|
|
message="등록";
|
|
}
|
|
if(confirm(message+"하시겠습니까?")){
|
|
$("#facility_qty").val($("#facility_qty").val().replace(/,/gi,""));
|
|
$("#contract_price").val($("#contract_price").val().replace(/,/gi,""));
|
|
$("#contract_price_currency").val($("#contract_price_currency").val().replace(/,/gi,""));
|
|
// 날짜 - 제거
|
|
/* var $dateinput = $("input.date_icon");
|
|
for(var i=0; i<$dateinput.length; i++){
|
|
$dateinput.eq(i).val( $dateinput.eq(i).val().replace(/-/gi,"") );
|
|
} */
|
|
|
|
$.ajax({
|
|
url:"/contractMgmt/saveContractMgmtInfo.do",
|
|
type:"POST",
|
|
data:$("#form1").serialize(),
|
|
dataType:"json",
|
|
success:function(data){
|
|
alert(data.msg);
|
|
opener.fn_search();
|
|
self.close();
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|
|
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 fileAreaDraw(){
|
|
fn_fileCallback("contractMgmt01","contractMgmt01");
|
|
fn_fileCallback("contractMgmt02","contractMgmt02");
|
|
}
|
|
//첨부파일 목록을 가져온다.
|
|
function fn_fileCallback(areaId,fileType){
|
|
$.ajax({
|
|
url:"/common/getFileList.do",
|
|
type:"POST",
|
|
data:{"targetObjId":"${objId}", "docType":fileType},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
if(data.length > 0){
|
|
//첨부파일 목록 영역 show
|
|
$("#"+areaId+"FileArea").empty();
|
|
|
|
if($("#"+areaId+"DefaultRow").length > 0){
|
|
$("#"+areaId+"DefaultRow").hide();
|
|
}
|
|
|
|
var appendText = "";
|
|
appendText +="<colgroup>";
|
|
appendText +=" <col width='10%''>";
|
|
appendText +=" <col width='*'>";
|
|
appendText +=" <col width='20%'>";
|
|
appendText +="</colgroup>";
|
|
|
|
$.each(data, function(i){
|
|
var _appendText = "";
|
|
var path = data[i].FILE_PATH;
|
|
var fileName = data[i].SAVED_FILE_NAME;
|
|
var fileExt = data[i].UPPER_FILE_EXT;
|
|
|
|
_appendText += "<tr>";
|
|
_appendText += " <td>"+[i+1]+"</td>";
|
|
_appendText += " <td class='align_l'><a href='javascript:fnc_downloadFile(\""+data[i].OBJID+"\")'> "+data[i].REAL_FILE_NAME+"</a>";
|
|
<c:if test="${param.actionType eq 'regist' or info.WRITER eq connectUserId or 'plm_admin' eq connectUserId}">
|
|
_appendText += " <a href='javascript:fileDelete(\""+data[i].OBJID+"\",\""+areaId+"\")'><div class='delete_btn'></div></a>";
|
|
</c:if>
|
|
_appendText += " </td>";
|
|
_appendText += " <td>"+data[i].REGDATE+"</td>";
|
|
_appendText += "</tr>";
|
|
appendText += _appendText;
|
|
});
|
|
$("#"+areaId +"FileArea").append(appendText);
|
|
$("#"+areaId+"FileArea").show();
|
|
}else{
|
|
$("#"+areaId+"DropZone").show();
|
|
$("#"+areaId+"FileArea").empty();
|
|
$("#"+areaId+"FileArea").hide();
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
//첨부 파일 삭제
|
|
function fileDelete(fileObjId, areaId){
|
|
var type =areaId;
|
|
if(confirm("파일을 삭제하시겠습니까?")){
|
|
$.ajax({
|
|
url:"/common/deleteFileInfo.do",
|
|
type:"POST",
|
|
data:{"objId":fileObjId},
|
|
dataType:"json",
|
|
async:true,
|
|
success:function(data){
|
|
fileAreaDraw();
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
function fnc_numberOnly(obj){
|
|
$("#"+obj.attr("id")).val(addComma(obj.val().replace(/[^0-9]/g,"")));
|
|
//.replace(/[^0-9]/g,""))
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="objId" id="objId" value="${objId}">
|
|
<input type="hidden" name="option" id="option">
|
|
<input type="hidden" name="actionType" id="actionType" value="${actionType}">
|
|
|
|
|
|
|
|
<section>
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>영업관리_계약관리 등록</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<h4><span>영업정보</span></h4>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
<col width="14.3%">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title"><label for="category_cd">계약구분</label></td>
|
|
<td class="input_title"><label for="customer_cd">국내/해외</label></td>
|
|
<td class="input_title"><label for="customer_cd">고객사</label></td>
|
|
<td class="input_title"><label for="product_cd">제품구분</label></td>
|
|
<td class="input_title" colspan="3"><label for="">고객사 프로젝트명</label></td>
|
|
<!-- <td class="input_title"><label for="status_cd">진행사항</label></td>
|
|
<td class="input_title"><label for="due_date">요청납기일</label></td> -->
|
|
</tr>
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
<select name="category_cd" id="category_cd" required reqTitle="구분" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.category_cd}
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td class="input_sub_title">
|
|
<select name="area_cd" id="area_cd" required reqTitle="국내/해외" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.area_cd}
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td class="input_sub_title">
|
|
<select name="customer_objid" id="customer_objid" required reqTitle="고객사" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.customer_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="product" id="product" required reqTitle="제품구분" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.product_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title" colspan="3">
|
|
<input type="text" name="customer_project_name" id="customer_project_name" value="${info.CUSTOMER_PROJECT_NAME}" required reqTitle="고객사 프로젝트명" />
|
|
</td>
|
|
|
|
<%--
|
|
<td class="input_sub_title">
|
|
<select name="status_cd" id="status_cd" required reqTitle="진행사항" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.status_cd}
|
|
</select>
|
|
</td> --%>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title"><label for="due_date">예상납기일</label></td>
|
|
<td class="input_title"><label for="location">입고지</label></td>
|
|
<td class="input_title"><label for="setup">셋업지</label></td>
|
|
<td class="input_title"><label for="facility">설비방향</label></td>
|
|
<td class="input_title"><label for="facility_qty">설비대수</label></td>
|
|
<td class="input_title"><label for="facility_type">설비타입</label></td>
|
|
<td class="input_title"><label for="facility_depth">설비길이(m)</label></td>
|
|
<!-- <td class="input_title" colspan="2"><label for="production_no">제작넘버</label></td> -->
|
|
<!-- <td class="input_title"><label for="">영업구분</label></td> -->
|
|
</tr>
|
|
<tr>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="due_date" id="due_date" value="${info.DUE_DATE}" required reqTitle="요청납기일" />
|
|
</td>
|
|
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="location" id="location" required reqTitle="입고지" value="${info.LOCATION}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="setup" id="setup" required reqTitle="셋업지" value="${info.SETUP}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="facility" id="facility" required reqTitle="설비방향" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.facility}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="facility_qty" id="facility_qty" required reqTitle="설비대수" value="${info.FACILITY_QTY}" numberOnly />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="facility_type" id="facility_type" required reqTitle="설비타입" value="${info.FACILITY_TYPE}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="facility_depth" id="facility_depth" required reqTitle="설비길이" value="${info.FACILITY_DEPTH}" />
|
|
</td>
|
|
|
|
<%-- <td class="input_sub_title" colspan="2">
|
|
<input type="text" name="production_no" id="production_no" required reqTitle="제작넘버" value="${info.PRODUCTION_NO}" />
|
|
</td> --%>
|
|
|
|
<%-- <td class="input_sub_title">
|
|
<select name="bus_cal_cd" id="bus_cal_cd" required reqTitle="영업구분" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.bus_cal_cd}
|
|
</select>
|
|
</td> --%>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="businessPopupFormWrap">
|
|
<h4><span>첨부파일</span></h4>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
</colgroup>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div id="contractMgmt01DropZone" class="dropzone"style="width:99%; height:30px; !important;">Drag & Drop Files Here</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div class="project_form_in_table" style="width: 100%" id="contractMgmt01FileAreaTable">
|
|
<input type="file" name="file1" id="file1" multiple>
|
|
<input type="button" id="btnUpload" value="Upload" class="upload_btns">
|
|
<div style="overflow-y: scroll;">
|
|
<table style="width: 100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td>No</td>
|
|
<td>첨부파일명</td>
|
|
<td>등록일</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="plm_scroll_table" style="height: 40px;">
|
|
<table id="contractMgmt01FileArea" class="fileListscrollTbody">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<%-- <div id="businessPopupFormWrap">
|
|
<h4><span>검토내용</span></h4>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="21%">
|
|
<col width="21%">
|
|
<col width="21%">
|
|
<col width="21%">
|
|
<col width="21%">
|
|
<col width="7%">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title"><label for="category1_cd">업무구분</label></td>
|
|
<td class="input_title"><label for="chg_user_id">담당자</label></td>
|
|
<td class="input_title"><label for="plan_date">계획일</label></td>
|
|
<td class="input_title"><label for="complete_date">완료일</label></td>
|
|
<td class="input_title"><label for="result_cd">검토결과</label></td>
|
|
<td class="input_title"><label for="result_cd">첨부파일</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
<select name="category1_cd" id="category1_cd" required reqTitle="구분1" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.category1_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
제안서
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="chg_user_id" id="chg_user_id" reqTitle="담당자" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.chg_user_id}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="plan_date" id="plan_date" value="${info.PLAN_DATE}" reqTitle="계획일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="complete_date" id="complete_date" value="${info.COMPLETE_DATE}" reqTitle="완료일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="result_cd" id="result_cd" reqTitle="결과" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.result_cd}
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<a href="#" id="contractMgmt03" class="File file_${info.FILE_CNT3 eq 0 or info.FILE_CNT3 eq null?'empty_':''}icon" data-OBJID="${objId}" data-docType="contractMgmt03" data-docTypeName="contractMgmt03"></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
<select name="category1_cd" id="category1_cd" required reqTitle="구분1" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.category1_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
사양서
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="spec_user_id" id="spec_user_id" reqTitle="사양담당자" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.spec_user_id}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="spec_plan_date" id="spec_plan_date" value="${info.SPEC_PLAN_DATE}" reqTitle="사양계획일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="spec_comp_date" id="spec_comp_date" value="${info.SPEC_COMP_DATE}" reqTitle="사양완료일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="spec_result_cd" id="spec_result_cd" reqTitle="사양검토결과" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.spec_result_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="#" id="contractMgmt04" class="File file_${info.FILE_CNT4 eq 0 or info.FILE_CNT4 eq null?'empty_':''}icon" data-OBJID="${objId}" data-docType="contractMgmt04" data-docTypeName="contractMgmt04"></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
견적서
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="est_user_id" id="est_user_id" reqTitle="견적담당자" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.est_user_id}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="est_plan_date" id="est_plan_date" value="${info.EST_PLAN_DATE}" reqTitle="계획일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="est_comp_date" id="est_comp_date" value="${info.EST_COMP_DATE}" reqTitle="완료일" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="est_result_cd" id="est_result_cd" reqTitle="결과" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.est_result_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="#" id="contractMgmt05" class="File file_${info.FILE_CNT5 eq 0 or info.FILE_CNT5 eq null ?'empty_':''}icon" data-OBJID="${objId}" data-docType="contractMgmt05" data-docTypeName="contractMgmt05"></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div> --%>
|
|
|
|
|
|
<div id="businessPopupFormWrap">
|
|
<h4><span>수주결과</span></h4>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title" ><label for="pm_user_id">PM</label></td>
|
|
<td class="input_title"><label for="project_name">통화</label></td>
|
|
<td class="input_title" ><label for="contract_price_currency">수주가</label></td>
|
|
<td class="input_title" ><label for="contract_price">원화 환산금액</label></td>
|
|
<td class="input_title" colspan=""><label for="project_no">당사 프로젝트명</label></td>
|
|
<td class="input_title" ><label for="contract_del_date">계약납기</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
<select name="pm_user_id" id="pm_user_id" reqTitle="PM" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.pm_user_id}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="contract_currency" id="contract_currency" reqTitle="통화" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.contract_currency}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="contract_price_currency" id="contract_price_currency" value="<fmt:formatNumber value="${info.CONTRACT_PRICE_CURRENCY}" pattern="#,###" />" reqTitle="수주가(통화)" numberOnly/>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" name="contract_price" id="contract_price" value="<fmt:formatNumber value="${info.CONTRACT_PRICE}" pattern="#,###" />" required reqTitle="수주가(원)" numberOnly/>
|
|
</td>
|
|
|
|
<td class="input_sub_title" colspan="">
|
|
<input type="text" name="project_name" id="project_name" reqTitle="당사프로젝트명" value="${info.PROJECT_NAME}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="contract_del_date" id="contract_del_date" reqTitle="계약납기" value="${info.CONTRACT_DEL_DATE}" />
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_title" ><label for="req_del_date">요청납기</label></td>
|
|
<td class="input_title"><label for="customer_equip_name">수주회사</label></td>
|
|
<td class="input_title"><label for="project_name">수주일</label></td>
|
|
|
|
<!--
|
|
<td class="input_title"><label for="project_no">당사 프로젝트번호</label></td>
|
|
-->
|
|
<td class="input_title"><label for="po_no">PO계약 No</label></td>
|
|
<td class="input_title"><label for="manufacture_plant">제작공장</label></td>
|
|
<td class="input_title"><label for="manufacture_plant">수주결과</label></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="req_del_date" id="req_del_date" reqTitle="요청납기" value="${info.REQ_DEL_DATE}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="contract_company" id="contract_company" reqTitle="수주회사" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.contract_company}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<input type="text" class="date_icon" name="contract_date" id="contract_date" reqTitle="수주일" value="${info.CONTRACT_DATE}" />
|
|
</td>
|
|
<%--
|
|
<td class="input_sub_title">
|
|
<input type="text" name="project_no" id="project_no" reqTitle="당사 프로젝트번호" value="${info.PROJECT_NO}" />
|
|
</td>
|
|
--%>
|
|
<td class="input_sub_title">
|
|
<input type="text" name="po_no" id="po_no" reqTitle="po_no" value="${info.PO_NO}" />
|
|
</td>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="manufacture_plant" id="manufacture_plant" reqTitle="제작공장" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.manufacture_plant}
|
|
</select>
|
|
</td>
|
|
|
|
<%-- <td class="input_sub_title" colspan="2">
|
|
<input type="text" name="customer_equip_name" id="customer_equip_name" reqTitle="고객사 설비명" value="${info.CUSTOMER_EQUIP_NAME}" />
|
|
</td> --%>
|
|
|
|
<td class="input_sub_title">
|
|
<select name="contract_result" id="contract_result" reqTitle="수주결과" type="select" class="select2">
|
|
<option value="">선택</option>${code_map.contract_result}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="businessPopupFormWrap">
|
|
<h4><span>첨부파일</span></h4>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
<col width="12.5%">
|
|
</colgroup>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div id="contractMgmt02DropZone" class="dropzone" style="width:99%; height:30px; !important;">Drag & Drop Files Here</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div class="project_form_in_table" style="width: 100%" id="contractMgmt02FileAreaTable">
|
|
<input type="file" name="file2" id="file2" multiple>
|
|
<input type="button" id="btnUpload1" value="Upload" class="upload_btns">
|
|
<div style="overflow-y: scroll;">
|
|
<table style="width: 100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td>No</td>
|
|
<td>첨부파일명</td>
|
|
<td>등록일</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="plm_scroll_table" style="height: 40px;">
|
|
<table id="contractMgmt02FileArea" class="fileListscrollTbody">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<c:choose>
|
|
<c:when test="${actionType eq 'regist'}">
|
|
<input type="button" value="저장" id="btnSave" class="plm_btns">
|
|
</c:when>
|
|
<c:otherwise>
|
|
<input type="button" value="수정" id="btnSave" class="plm_btns">
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html> |