<%-- - FileName : buyPrepayments.jsp - Author(s) : ok - Date : 2014.08.20 - Copyright : Copyright (c) 2013 www.udapsoft.co.kr, Inc. - Description: 협력업체포탈 구매 선급금현황 상세 --%> <%@ page contentType="text/html; charset=utf-8"%> <%@ page import="com.udapsoft.waf.system.HandlerStorage"%> <%@ page import="com.udapsoft.waf.common.ui.*"%> <%@ page import="kr.co.hsnc.common.util.*"%> <%@ page import="kr.co.hsnc.common.sql.*"%> <%@ page import="kr.co.hsnc.common.util.Formatter"%> <%@ page import="com.udapsoft.waf.common.util.Formatter2"%> <%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%> <%@ include file="/jsp/work/taglib.jsp"%> <% ctx.init(request, response); HandlerStorage storage = ctx.getHandlerStorage(); ValueObject params = storage.getParams(); ValueObject user = storage.getUser(); String event = storage.getEvent(); RowSet perpayReqDivComboList = storage.getRowSet("perpayReqDivComboList"); //신청구분 ComboList Data ValueObject prePayment = storage.getValueObject("prePayment"); //기본정보, 세금계산서정보, 선급금정보 RowSet warrList = storage.getRowSet("contOutWarr"); //보증정보 ValueObject file_giveup = storage.getValueObject("PREPAYMENTS_GIVEUP"); ValueObject file_taxbill = storage.getValueObject("TAX_BILL"); String check1 = ""; String check2 = ""; String check3 = ""; String checkString = ""; if("3".equals(prePayment.get("TAX_METHOD_CD"))){ check3 = "checked"; checkString = "Invoice"; }else if("2".equals(prePayment.get("TAX_METHOD_CD"))){ check2 = "checked"; checkString = "순발행(업체직접 발행)"; }else{ check1 = "checked"; checkString = "역발행(SGC이앤씨 발행)"; } String digit = (String)prePayment.get("digit"); int intDigit = Integer.parseInt(digit); /*보증 발급 완료된 갯수 */ RowSet warrCount = storage.getRowSet("warrCount"); %>
"> "> "> "> "> "> "> "> <%-- "> --%> <%-- "> --%> "> "> "> "> "> "> ">
  • 선급금현황 상세(<%=prePayment.get("STATUS_NM")%>)
<% if(!prePayment.get("RTN_REASON").equals("")){ %>
반려정보
반려일 <%=prePayment.get("RTN_DATE")%>
반려사유 <%=prePayment.get("RTN_REASON")%>
<% } %>
기본정보
현장명 <%= InputText.get("deptName", prePayment.get("DEPT_NAME"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 계약명 <%= InputText.get("buildName", prePayment.get("BUILD_NAME"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 통화 <%= InputText.get("conCurCd", prePayment.get("CON_CUR_CD"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %>
사업자번호 <%= InputText.get("vendCd", prePayment.get("CORP_REG_NO"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 계약업체명 <%= InputText.get("memberName", prePayment.get("CORP_KOR"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 대표이사 <%= InputText.get("bossName", prePayment.get("BOSS_NAME"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %>
공사기간 <%= InputText.get("startEndWorkDate", prePayment.get("START_END_WORK_DATE"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 계약금액 <%= InputText.get("conConAmt", Formatter2.currency(prePayment.get("CON_SUPPLY_AMT"), intDigit)+" (부가세 별도)", 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %> 선급금액 <%= InputText.get("conPrepayAmt", Formatter2.currency(prePayment.get("PREPAY_SUPPLY_AMT"), intDigit)+" (부가세 별도)", 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %>
세금계산서 정보
세금계산서 발행방법 disabled='disabled' style="display: none;"/> disabled='disabled' style="display: none;"/> disabled='disabled' style="display: none;"/> <%= checkString %> 작성일자(증빙일자) <%= InputText.get("date1", Formatter.formatDate(prePayment.get("TAX_DY"), "-"), 30, 10, "Center, date, PerSize, readonly", "date", "") %>
담당자명 <%= InputText.get("userName", prePayment.get("USER_NAME"), 98, 6, "string, left, perSize", "string") %> 담당자 핸드폰번호 " style="width: 44%" size="13" maxlength="13" alt="left"> ex)010-0000-0000 담당자 이메일 <%= InputText.get("eMail", prePayment.get("EMAIL"), 98, 40, "string, left, perSize", "string") %>
선급금정보
신청구분 <%= HTMLMaker.getSelectTag(perpayReqDivComboList, "DETAILCD", "DETAILNM", "perpayReqDiv", "width:30%;height=18;' onChange='inputDataSet();", "", prePayment.get("REQ_DIV_CD")) %> 신청(서명)일시 <%= InputText.get("custSignDate", prePayment.get("CUST_SIGN_DATE"), 100, 30, "class=input_blank, readOnly=white, string, left, perSize, tabIndex=-1", "string") %>
구분 합계 공급가액 부가세 요율
계약 계약금액 <%= InputText.get("conAmt", Formatter2.currency(prePayment.get("CON_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("conSupplyAmt", Formatter2.currency(prePayment.get("CON_SUPPLY_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("conSurtaxAmt", Formatter2.currency(prePayment.get("CON_SURTAX_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("conAmtPercent", "100.0", 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %>
선급금액 <%= InputText.get("perpayAmt", Formatter2.currency(prePayment.get("PREPAY_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("subPrepaySupplyAmt", Formatter2.currency(prePayment.get("PREPAY_SUPPLY_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("subPrepaySurtaxAmt", Formatter2.currency(prePayment.get("PREPAY_SURTAX_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("prepayAmtPercent", prePayment.get("PREPAY_AMT_PERCENT"), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %>
선급 신청금액 <%= InputText.get("reqPrepayAmt", Formatter2.currency(prePayment.get("REQ_PREPAY_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("reqPrepaySupplyAmt", Formatter2.currency(prePayment.get("REQ_PREPAY_SUPPLY_AMT"), intDigit), 98, 16, "class=input byteChk ,float, right, perSize", "float") %> <%= InputText.get("reqPrepaySurtaxAmt", Formatter2.currency(prePayment.get("REQ_PREPAY_SURTAX_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("reqPrepayPercent", prePayment.get("REQ_PREPAY_PERCENT"), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %>
포기금액 <%= InputText.get("giveAmt", Formatter2.currency(prePayment.get("GIVE_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("giveSupplyAmt", Formatter2.currency(prePayment.get("GIVE_SUPPLY_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("giveSurtaxAmt", Formatter2.currency(prePayment.get("GIVE_SURTAX_AMT"), intDigit), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %> <%= InputText.get("givePercent", prePayment.get("GIVE_PERCENT"), 98, 16, "class=input_blank, readOnly=white, string, right, perSize, tabIndex=-1", "string") %>
첨부파일
<%-- --%> <%-- --%>
구분 첨부파일명 다운로드
선급금 포기각서(해당없음)
<%=FileManager.getFileListForDiv("PREPAYMENTS_GIVEUP", prePayment.get("PREPAY_ID")) %>
[Attach File]
세금계산서
<%=FileManager.getFileListForDiv("TAX_BILL", prePayment.get("PREPAY_ID")) %>
[Attach File]
대금청구
<%=FileManager.getFileListForDiv("PREPAYMENTS_BILLING", prePayment.get("PREPAY_ID")) %>
[Attach File]
<% /* 보증 목록을 include 시킴 (2014-10-17) 김명호 */ %> <%@ include file="/jsp/ko_KR/supplier/portal/common/guar/guarPurList.jsp" %>