<%-- - Author(s) : Kim Myung HO - Date : 2014.08.11 - Description: 계약 결과 작성 --%> <%@page import="java.sql.Clob"%> <%@ page contentType="text/html; charset=utf-8" %> <%@ page import="com.udapsoft.waf.system.HandlerStorage" %> <%@ page import="com.udapsoft.waf.common.ui.*" %> <%@ page import="com.udapsoft.waf.common.util.*" %> <%@ page import="kr.co.hsnc.common.util.*"%> <%@ page import="kr.co.hsnc.common.sql.*" %> <%@ page import="kr.co.hsnc.common.config.WAFConfig" %> <%@ include file="/jsp/work/taglib.jsp" %> <%@ page import="kr.co.hsnc.common.util.Formatter"%> <%@page import="java.net.URLEncoder"%> <%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%> <% ctx.init(request, response); HandlerStorage storage = ctx.getHandlerStorage(); ValueObject params = storage.getParams(); ValueObject user = storage.getUser(); // RowSet CorpRowSet = storage.getRowSet("CorpRowSet"); ValueObject ContInfo = storage.getValueObject("ContInfo"); /*계약서식 정보 */ RowSet template = storage.getRowSet("template"); /*계약서식 FILE */ RowSet autofile_list = storage.getRowSet("AUTOFILE_LIST"); /*보증 정보 LIst */ RowSet warrList = storage.getRowSet("warrList"); /*계약 구매 내역 목록*/ RowSet itemList = storage.getRowSet("itemList"); /*인지세 구분*/ RowSet stampList = storage.getRowSet("stampRowSet"); %>
"> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> ">
  • 구매_계약 상세
<%if(ContInfo.get("DIV_PO_YN").equals("Y")&&user.get("ACCT_TYPE_CODE").equals("ADMIN")){%> 계약추가 <%} %> <%-- <% 2018.12.27 더존에서 변경계약시작 && !ContInfo.get("DIV_PO_YN").equals("Y") ContInfo.get("DIV_PO_YN").equals("Y") && if (ContInfo.get("CON_CLS_YN").equals("9") && ContInfo.get("MOD_NO").equals(ContInfo.get("MAX_MOD_NO")) && "0".equals(ContInfo.get("CHG_CNT")) ){ %> 변경계약작성 && "0".equals(ContInfo.get("CHG_CNT") --%> <% if (ContInfo.get("CON_CLS_YN").equals("9") && ContInfo.get("MOD_NO").equals(ContInfo.get("MAX_MOD_NO")) ){ if ( user.get("right_name").equals("PURCHASE") || user.get("right_name").equals("ADMIN NEW") ){%> <%if(!ContInfo.get("DIV_PO_YN").equals("Y")){%> 변경계약작성 <%} %> 계약취소 <%} } %> 계약상품내역 목록 고용보험 신청서
<% /* 계약 정보를 한페이지로 만들어서 include 시킴 (2014-08-14) 김명호 */ String isViewWrite = "V"; String finalYn = "Y"; %> <%@ include file="/jsp/ko_KR/buyer/cont/purchase/ContInfo.jsp" %>
계약정보
<%if (template.size() == 0) { %> " /> " /> " />
계약일자 <%= InputText.get("ord_con_date", ContInfo.get("ord_con_date"), 10, 50, "hangule,center, desc=계약일자,ReadOnly") %> 납품기한 <%= InputText.get("ORD_START_DATE", ContInfo.get("ORD_START_DATE"), 10, 50, "hangule,center, desc=계약일자,ReadOnly") %> ~ <%= InputText.get("ORD_END_DATE", ContInfo.get("ORD_END_DATE"), 10, 50, "hangule,center, desc=계약일자,ReadOnly") %> 통화구분 <%= InputText.get("CURRENCY_GB", ContInfo.get("CURRENCY_GB"), 96, 20, "required,desc=대표자명,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %>
계약금액 <%= InputText.get("ORD_AMT", Formatter.formatCurrency(ContInfo.get("ORD_AMT")), 96, 100, "desc=계약금액,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right","currinc") %> 공급가 <%= InputText.get("ORD_SUPPLY_AMT", Formatter.formatCurrency(ContInfo.get("ORD_SUPPLY_AMT")), 96, 100, "desc=공급가,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1,right","number") %> 부가세 <%= InputText.get("ORD_SURTAX_AMT", Formatter.formatCurrency(ContInfo.get("ORD_SURTAX_AMT")), 96, 100, "required,desc=부가세,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right","number") %>
계약이행 보증율 <%= InputText.get("CON_GUAR_AMT_RATE", ContInfo.get("CON_GUAR_AMT_RATE"), 91, 100, "required,desc=계약이행보증율,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1,right") %> % 보증금액 <%= InputText.get("CON_GUAR_AMT", Formatter.formatCurrency(ContInfo.get("CON_GUAR_AMT")), 96, 100, "required,desc=계약이행보증금액,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right") %> 보증기간 <%= InputText.get("CON_GUAR_TERM", ContInfo.get("CON_GUAR_TERM"), 96, 100, "required,desc=계약이행보증기간,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %>
선급금 보증율 <%= InputText.get("PREPAY_GUAR_AMT_RATE", ContInfo.get("PREPAY_GUAR_AMT_RATE"), 91, 100, "required,desc=선급금 보증율,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1,right") %> % 보증금액 <%= InputText.get("PREPAY_GUAR_AMT", Formatter.formatCurrency(ContInfo.get("PREPAY_GUAR_AMT")), 96, 100, "required,desc=선급금보증금액,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right") %> 선급금액 <%= InputText.get("PREPAY_AMT", Formatter.formatCurrency(ContInfo.get("PREPAY_AMT")), 96, 100, "required,desc=선급금액,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right","number") %>
하자보수 보증율 <%= InputText.get("DEF_GUAR_AMT_RATE", ContInfo.get("DEF_GUAR_AMT_RATE"), 91, 100, "required,desc=하자보수보증율,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1,right") %> % 보증금액 <%= InputText.get("DEF_GUAR_AMT", Formatter.formatCurrency(ContInfo.get("DEF_GUAR_AMT")), 96, 100, "required,desc=하자보수보증금액,persize,readOnly,class=input_blank,readOnly=white,number,tabIndex=-1,right") %> 보증기간 <%= InputText.get("DEF_GUAR_TERMS", ContInfo.get("DEF_GUAR_TERMS"), 96, 100, "required,desc=하자보수보증기간,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %>
인도조건 "> <%= InputText.get("LEAD_COND_GB_NM", ContInfo.get("LEAD_COND_GB_NM"), 96, 100, "required,desc=인도조건,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %> 납품장소 <%= InputText.get("LEAD_PLACE", ContInfo.get("LEAD_PLACE"), 96, 100, "required,desc=납품장소,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %> 지체상금 <%= InputText.get("DEL_RATE_GB", ContInfo.get("DEL_RATE_GB"), 96, 100, "required,desc=하자보수보증기간,persize,readOnly,class=input_blank,readOnly=white,string,tabIndex=-1") %>
특이사항
<% if(itemList.size()>0){ %>
상품정보
<%if(ContInfo.get("DIV_PO_YN").equals("N")){%><%} %> <%if(ContInfo.get("DIV_PO_YN").equals("N")){%> <%} %> <% double sum_qty=0; double sum_amt=0; for(int i=0;i <%if(ContInfo.get("DIV_PO_YN").equals("N")){%> <%} %> <% } %> <%if(ContInfo.get("DIV_PO_YN").equals("N")){%> <%} %>
NO 품명 규격 단위 수량(톤) 단가금액(원)
<%=i+1%> <%=itemList.getRow(i).get("ITEM_NAME")%> <%=itemList.getRow(i).get("ITEM_SPEC")%> <%=itemList.getRow(i).get("ITEM_UNIT_NM")%> <%= ContInfo.get("DIV_PO_YN").equals("N") ? Formatter2.currency(itemList.getRow(i).get("ITEM_QTY")):"1"%>  <%=Formatter2.currency(Double.parseDouble(itemList.getRow(i).get("ITEM_PRICE")), 0)%> <%=Formatter2.currency(Double.parseDouble(itemList.getRow(i).get("SUM_AMT")), 0)%> 
합 계 <%=Formatter2.currency(sum_qty, 0)%>  <%=Formatter2.currency(sum_amt, 0)%> 
<% } %> <%}else{%>
<% for(int i = 0 ; i < template.size(); i ++){ %> "> "> "> "> <% if(i==0){%> " onClick="tabView(<%=template.getRow(i).get("SEQ")%>)"> " value="A"> <%=template.getRow(i).get("TEMPLATE_NAME")%>   <% }else{ %> <%if((template.getRow(i).get("OPTION_YN").equals("A")) ||(template.getRow(i).get("CHECK_YN").equals("Y"))){ //정상적인 계약서 파일만 보이게 한다. 진행중일경우 체크 박스로 추가 가능%> " onClick="tabView(<%=template.getRow(i).get("SEQ")%>)"> " value="A"> <%=template.getRow(i).get("TEMPLATE_NAME")%> <%} %> <% } %> <%} %>
<% for(int i = 0 ; i < template.size(); i ++){ String template_html = ClobUtils.getClob((Clob)template.getRow(i).getObject("TEMPLATE_HTML")); String divHidden = template.getRow(i).get("SEQ").equals("0")?"":"none"; %>
" id="__html_<%=template.getRow(i).get("SEQ")%>"> <%= template_html%>
<%} %>

<%} %>
계약서류
자동생성
직접첨부
<%=FileManager.getFileListForDiv("PUR_CONT_MOD_ID", ContInfo.get("PUR_CONT_MOD_ID")) %>
<%if(warrList.size()>0){%> <% /* 보증 목록을 include 시킴 (2014-10-16) 김명호 */ %> <%@ include file="/jsp/ko_KR/buyer/cont/purchase/guarList.jsp" %> <% } %>