Browse Source

표준 미연동 계약서 개발

cyyun 2 weeks ago
parent
commit
c29c7ed208

+ 191 - 12
web/jsp/ko_KR/supplier/portal/bid/PricesysDocPop.jsp

@@ -1,12 +1,191 @@
-<%@ page language="java" contentType="text/html; charset=EUC-KR"
-    pageEncoding="EUC-KR"%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
-<title>Insert title here</title>
-</head>
-<body>
-test
-</body>
-</html>
+<%--
+  - FileName   : PriceSysDocPop.jsp
+  - Author(s)  : TC40335
+  -
+  --%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
+<%@ page import="kr.co.hsnc.common.util.ValueObject" %>
+<%@ page import="kr.co.hsnc.common.sql.RowSet" %>
+<%@ page import="com.udapsoft.waf.common.ui.*" %>
+<%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
+<%@ page import="kr.co.hsnc.common.config.WAFConfig" %>
+<%@ include file="/jsp/work/taglib.jsp" %>
+<jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
+<%
+    ctx.init(request, response);
+    HandlerStorage storage = ctx.getHandlerStorage();
+    ValueObject params = storage.getParams();
+    ValueObject user = storage.getUser();
+    ValueObject PricesysPop = storage.getValueObject("DocInfoPop");    
+    String event = storage.getEvent();
+%>
+
+ <script type="text/javascript">	
+ 	$(function(){	
+ 		
+ 		$("#btn_close").click(function(){
+ 			parent.fLayerPopClose('PricesysPop');
+		});
+ 		
+		$("#btn_save").click(function(){		    
+		    var f = document.form1;
+ 
+		    $("#fevent").val("GET_SAVE");		 	   
+		 	   if(confirm("하도급대금연동제 안내문을 확인하셨습니까?"))
+		 	   {
+				  submitXmlRequest("/portal/bid/PricesysDocPopSave_form.screen", "GET_PRICESYS_SAVE", f);
+				}
+		    
+		});
+		
+		$(".icon_x").click(function(){
+		    window.close();
+		});
+		
+		$("#btn_print").click(function(){		    
+			jQuery("#btn_save").hide();
+			jQuery("#btn_print").hide();
+			jQuery("#btn_close").hide();
+			$("#title1").css({ 'font-size' : 32});
+			$("#text1").css({ 'font-size' : 20});		
+ 		    window.print();		 
+ 		    $("#btn_close").click();
+ 		   //self.close();
+		});
+		
+ 	});
+ 	
+ 	$(document).ready(function(){ 		
+ 		if("<%=params.get("p_gubun")%>" == "buyer"){			
+	    	jQuery("#btn_save").hide();	    	
+	    }
+ 	});
+ 	
+ 	function doResult(resultObj) {
+ 		var f = document.form1;
+ 		
+ 		try 
+ 		{
+ 		   document.form1.isSubmit = false;
+ 		   
+ 		   if($("#fevent").val() == "GET_SAVE")
+ 		   {
+ 		      if (resultObj.getSuccess())	
+ 		      {
+ 		         alert("하도급대금연동제 안내문 확인이 완료되었습니다.");
+ 		         window.close();  
+ 		         parent.$.searchList();	//showmodal 조치
+ 		      }
+ 		      else
+	          {
+ 		         dlgErrorMsg( resultObj );
+	          }
+ 		   }
+ 		}
+ 		catch(errorObject) {
+ 	        showErrorDlg("doResult()", errorObject);
+ 		}
+ 	} 	
+ 
+ </script>
+ 
+<modular:search id="form1">
+	<modular:key id="fevent" />
+</modular:search>
+
+<form id="form1" name="form1" method="post" modular:type="search">
+<input type="hidden" name="fevent" id="fevent" value="">
+<input type="hidden" name="pricesys_yn" id="pricesys_yn" value="<%=params.get("p_pricesys_yn") %>" />
+<input type="hidden" name="bid_no" id="bid_no" value="<%=params.get("p_bid_no") %>" />
+<input type="hidden" name="bid_deg" id="bid_deg" value="<%=params.get("p_bid_deg") %>" />
+<input type="hidden" name="vendor_cd" id="vendor_cd" value="<%=params.get("p_vendor_cd") %>" /> 
+<input type="hidden" name="dept_nm" id="dept_nm" value="<%=params.get("p_dept_nm") %>" />
+<input type="hidden" name="pricesys_yn_dy" id="pricesys_yn_dy" value="<%=params.get("p_pricesys_yn_dy") %>" />
+<input type="hidden" name="vendor_name" id="vendor_name" value="<%=params.get("p_vendor_name") %>" />
+<input type="hidden" name="gubun" id="gubun" value="<%=params.get("p_gubun") %>" />
+ 
+<div style="width: 100%; text-align: center; margin-top: 10px; margin-bottom: 15px;" >
+	<span id="title1" style="font-size: 25px; font-weight: bold;"><u>하도급대금연동제 안내문</u></span>
+</div>
+
+<table cellspacing="0" cellpadding="0" border="0" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" class="input_table" style="width: 450px;">
+<!-- <col width="*"> -->
+	<div id="text1" style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:50%"  >
+		<div style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br></br>
+		</div>					
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>계정 하도급법 및 상생협력법(2023년 10월 4일 시행)에 따라, 당사에서는			
+		<br>하도급계약에 대하여 하도급대금(납품대금) 연동제를 시행하고 있으며, 관련 내용을 하기와 같이 안내드립니다.</br>
+		<br>					
+		</div>			
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>■ 하도급대금 연동제 의미</br>					
+		</div>	
+		<div style="margin-left:15px; width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>- 하도급대금의 10% 이상을 차지하는 원재료에 대해 해당 원재료 가격이 원사업자(위탁기업)와
+		<br>수급사업자(수탁기업)가 10% 이내의 범위에서 협의하여 정한 비율 이상 변동하는 경우
+		<br>그 변동분에 연동하여 하도급대금을 조정하는 제도</br>
+		<br>※ 관련법률 : 하도급법 제 2조 제17항, 상생협력법 제2조 제13호 등</br>
+		<br>
+		</div>		
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>■ 하도급대금 연동제 적용대상</br>					
+		</div>	
+		<div style="margin-left:15px; width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>- 중소기업/연간 매출액 3천억원 미만 중견기업 대상 계약
+		<br>- 계약금액 1억원(VAT포함) 이상의 계약
+		<br>- 계약금액 內 주요 원재료가 10% 이상 포함된 계약</br>
+		<br>- 하도급거래 공정화에 관한 법률에 따르는 건설●제조●수리●용역 위탁계약
+		<br><font color='red'>※ 상기 조건을 모두 충족하는 경우</font></br>
+		<br>
+		</div>		
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>■ 협력업체 동의, 미동의에 따른 후속업무					
+		<br><font color='red'>※ 하도급대금 연동제는 주요 원재료 가격 상승 뿐만 아니라 하락의 경우도 동일한 기준으로 적용</font></br>
+		</div>	
+		<div style="margin-left:15px; width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>[하도급대금 연동제 '동의'를 선택한 경우]
+		<br>- 입찰서 제출 시 SGC E&C 구매팀 입찰 담당자에게 원가정보 양식 제출
+		<br> - 낙찰대상자는 계약 건 하도급대금 연동계약표 작성 및 협의
+		<br>- 하도급계약 체결 시 하도급대금 연동계약 동시 체결(요건 충족 시)
+		<br>- 계약체결 후 연동주기 도래시 마다 연동요건에 따른 잔여 계약금액 조정</br>
+		<br>[하도급대금 연동제 '미동의'를 선택한 경우]
+		<br>- 낙찰대상자는 하도급계약 체결 시 표준 미연동계약서 작성</br>
+		<br>
+		</div>		
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>■ 관련 자료 (대용량 링크를 통해 다운로드)</br>
+		</div>	
+		<div style="margin-left:15px; width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<br>(별첨2) 표준 연동계약서 가이드북 : <a href="https://fs.sgcenc.co.kr/pm/linkdown.htm?lid=66f220b8ac1c702a9301" target='_blank' />https://fs.sgcenc.co.kr/pm/linkdown.htm?lid=66f220b8ac1c702a9301</a>
+		<br>(별첨3) 하도급대금 연동제 FAQ : <a href="https://fs.sgcenc.co.kr/pm/linkdown.htm?lid=66f220c7c830002b0201" target='_blank' />https://fs.sgcenc.co.kr/pm/linkdown.htm?lid=66f220c7c830002b0201</a>
+		</div>		
+		<div style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
+		<!-- <br>이상과 같이 서약하며 만일 이 서약을 위반하여 귀사의 유형 또는 무형의 재산에 손해를 끼쳤을 경우나 또는 권리를 침해하혔을 경우에는 민.형사상의 모든 책임을 질 것이며 귀사의 어떠한 조치라도 이의를 제기하지 않겠기에 서약을 제출합니다.</br> -->
+		</div>		
+		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:130%; font-weight: bold;"  >
+		<br></br>
+		<br><%=PricesysPop.get("pricesys_yn_dy")%></br>
+		</div>
+		<div style="margin-left:11px; width: 93%; vertical-align: middle; float: left; text-align: right; padding-bottom: 8px; line-height:130%; font-weight: bold;"  >
+		<br>
+		<br>(서약인) 소 재 지 : <%=PricesysPop.get("address") %></br>
+		<br>회 사 명 : <%=PricesysPop.get("vendor_name") %></br>	
+		<br>대 표 이 사 : <%=PricesysPop.get("rep_name") %></br>
+		</div>			
+		<div style="width: 100%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:100%; font-weight: bold;"  >
+		<br>
+		<br>SGC이앤씨(주) 귀중</br>
+		</div>
+	</div>
+	</table> 
+	
+	<div style="width: 480px; text-align: center; margin-top: 20px;">
+		<span id="save" name="save" class="btnSearch center"><a href="javascript:void(0);" id="btn_save">확인</a></span>		
+		<span id="print" name="print" class="btnSearch center"><a href="javascript:void(0);" id="btn_print">인쇄</a></span>
+		<span id="close" name="close" class="btnSearch center"><a href="javascript:void(0);" id="btn_close">닫기</a></span>	
+	</div>	
+	<br></br>
+</form>

+ 83 - 3
web/jsp/ko_KR/supplier/portal/bid/QuotRequest.jsp

@@ -117,13 +117,22 @@
 					 alert("비밀준수약정서를 확인해 주시기 바랍니다.");
 					 return;
 				 }
-				 if(moral_yn != "Y"){
+				 //2024.10.11 구매팀 요청으로 제회
+				/*  if(moral_yn != "Y"){
 					 alert("윤리준수서약서를 확인해 주시기 바랍니다.");
 					 return;
 				 }
 				 if(industry_yn != "Y"){
 					 alert("산업재해은폐금지 서약서를 확인해 주시기 바랍니다.");
 					 return;
+				 } */
+				 if(roles_yn != "Y"){
+					 alert("협력사행동규범 서약서를 확인해 주시기 바랍니다.");
+					 return;
+				 }
+				 if(pricesys_yn != "Y"){
+					 alert("하도급대금연동제 안내문을 확인해 주시기 바랍니다.");
+					 return;
 				 }
 			<%}%>			 
 			 if(confirm("견적서를 작성하시겠습니까?")){
@@ -191,6 +200,16 @@
 		 $("#btn_industrydata").click(function() {			 
 			 openPopUpIndustryDoc();
 		});
+
+		//협력사행동규범 서약서 체크로직 추가(2024.10.04)		  		 
+		 $("#btn_rolesdata").click(function() {			 
+			 openPopUpRolesDoc();
+		});
+
+		//하도급대금 연동제 안내문 체크로직 추가(2024.10.04)		  		 
+		 $("#btn_pricesysdata").click(function() {			 
+			 openPopUpPricesysDoc();
+		});
 		 
 	}
 	
@@ -313,6 +332,60 @@
 		var url = "/portal/bid/IndustryDocPop.screen?pop_win_id="+win_id+"&p_dept_cd="+p_dept_cd+"&p_dept_nm="+p_dept_nm+"&p_industry_yn="+p_industry_yn+"&p_secret_yn_dy="+p_industry_yn_dy+"&p_vendor_cd="+p_vendor_cd+"&p_vendor_name="+p_vendor_name+"&p_bid_no="+p_bid_no+"&p_bid_deg="+p_bid_deg+"&p_gubun="+p_gubun+"&sModule=LM";
 		result = fLayerPop(win_id, url, 550,640, '', '', 'NO');			
 	}	
+	
+	function openPopUpRolesDoc() {	//협력사행동규범 서약서 팝업
+		var p_dept_nm      = jQuery("#deptNm").val();
+		var p_dept_cd      = jQuery("#deptCd").val();
+	    var p_roles_yn     = "Y";//jQuery("#secretYn").val();
+	    var p_roles_yn_dy  = jQuery("#rolesYnDy").val();
+	    var p_vendor_cd    = jQuery("#vendorCode").val();
+	    var p_vendor_name  = jQuery("#vendorName").val();
+	    var p_bid_no       = $("#BID_NO").val();
+	    var p_bid_deg      = $("#BID_DEG").val();
+	    var p_gubun        = "supp";
+
+		var argObj = new Object();	    	    
+	    argObj.p_dept_cd = p_dept_cd;	    
+	    argObj.p_roles_yn = p_roles_yn;	    
+	    argObj.p_vendor_cd = p_vendor_cd;	    
+	    argObj.p_bid_no = p_bid_no;
+	    argObj.p_bid_deg = p_bid_deg;
+	    argObj.p_gubun = p_gubun;
+	    argObj.p_dept_nm = p_dept_nm;
+	    argObj.p_roles_yn_dy = p_roles_yn_dy;
+	    argObj.p_vendor_name = p_vendor_name;	    	    
+	    argObj.title = '협력사행동규범 서약서';
+	    var win_id = "RolesPop";
+		var url = "/portal/bid/RolesDocPop.screen?pop_win_id="+win_id+"&p_dept_cd="+p_dept_cd+"&p_dept_nm="+p_dept_nm+"&p_roles_yn="+p_roles_yn+"&p_roles_yn_dy="+p_roles_yn_dy+"&p_vendor_cd="+p_vendor_cd+"&p_vendor_name="+p_vendor_name+"&p_bid_no="+p_bid_no+"&p_bid_deg="+p_bid_deg+"&p_gubun="+p_gubun+"&sModule=LM";
+		result = fLayerPop(win_id, url, 700, 730, '', '', 'YES');			
+	}	
+	
+	function openPopUpPricesysDoc() {	//하도급대금연동제 안내문 팝업
+		var p_dept_nm      	  = jQuery("#deptNm").val();
+		var p_dept_cd      	  = jQuery("#deptCd").val();
+	    var p_pricesys_yn     = "Y";//jQuery("#secretYn").val();
+	    var p_pricesys_yn_dy  = jQuery("#pricesysYnDy").val();
+	    var p_vendor_cd    	  = jQuery("#vendorCode").val();
+	    var p_vendor_name  	  = jQuery("#vendorName").val();
+	    var p_bid_no       	  = $("#BID_NO").val();
+	    var p_bid_deg      	  = $("#BID_DEG").val();
+	    var p_gubun        	  = "supp";
+
+		var argObj = new Object();	    	    
+	    argObj.p_dept_cd = p_dept_cd;	    
+	    argObj.p_pricesys_yn = p_pricesys_yn;	    
+	    argObj.p_vendor_cd = p_vendor_cd;	    
+	    argObj.p_bid_no = p_bid_no;
+	    argObj.p_bid_deg = p_bid_deg;
+	    argObj.p_gubun = p_gubun;
+	    argObj.p_dept_nm = p_dept_nm;
+	    argObj.p_pricesys_yn_dy = p_pricesys_yn_dy;
+	    argObj.p_vendor_name = p_vendor_name;	    	    
+	    argObj.title = '하도급대금 연동제 안내문';
+	    var win_id = "PricesysPop";
+		var url = "/portal/bid/PricesysDocPop.screen?pop_win_id="+win_id+"&p_dept_cd="+p_dept_cd+"&p_dept_nm="+p_dept_nm+"&p_pricesys_yn="+p_pricesys_yn+"&p_pricesys_yn_dy="+p_pricesys_yn_dy+"&p_vendor_cd="+p_vendor_cd+"&p_vendor_name="+p_vendor_name+"&p_bid_no="+p_bid_no+"&p_bid_deg="+p_bid_deg+"&p_gubun="+p_gubun+"&sModule=LM";
+		result = fLayerPop(win_id, url, 700, 720, '', '', 'YES');			
+	}	
 	/**
 	 *	IBSheet object initialize
 	 */
@@ -527,9 +600,13 @@
 <INPUT type="hidden" name="SECRET_YN" id="secretYn" value="<%=Order.get("SECRET_YN") %>"> 
 <INPUT type="hidden" name="MORAL_YN" id="moralYn" value="<%=Order.get("MORAL_YN") %>"> 
 <INPUT type="hidden" name="INDUSTRY_YN" id="industryYn" value="<%=Order.get("INDUSTRY_YN") %>"> 
+<INPUT type="hidden" name="ROLES_YN" id="rolesYn" value="<%=Order.get("ROLES_YN") %>"> 
+<INPUT type="hidden" name="PRICESYS_YN" id="pricesysYn" value="<%=Order.get("PRICESYS_YN") %>"> 
 <INPUT type="hidden" name="SECRET_YN_DY" id="secretYnDy" value="<%=Order.get("SECRET_YN_DY") %>">
 <INPUT type="hidden" name="MORAL_YN_DY" id="moralYnDy" value="<%=Order.get("MORAL_YN_DY") %>">
 <INPUT type="hidden" name="INDUSTRY_YN_DY" id="industryYnDy" value="<%=Order.get("INDUSTRY_YN_DY") %>">
+<INPUT type="hidden" name="ROLES_YN_DY" id="rolesYnDy" value="<%=Order.get("ROLES_YN_DY") %>">
+<INPUT type="hidden" name="PRICESYS_YN_DY" id="pricesysYnDy" value="<%=Order.get("PRICESYS_YN_DY") %>">
 <INPUT type="hidden" name="BID_MASTER_NM" id="bidMasterNm" value="<%=Order.get("BID_MASTER_NM") %>"
 <INPUT type="hidden" name="DEPT_NM" id="deptNm" value="<%=Order.get("DEPT_NM") %>">
 <INPUT type="hidden" name="DEPT_CD" id="deptCd" value="<%=Order.get("DEPT_CD") %>">
@@ -552,8 +629,11 @@
    		<td align="right">   
    			<%if(!Order.get("DEMANDED_KIND").equals("O")){%>
        		<span class="btnSearch center" id="btn_secretdata"><a href="javascript:void(0);">비밀준수약정서</a></span>
-       		<span class="btnSearch center" id="btn_moraldata"><a href="javascript:void(0);">윤리준수서약서</a></span>
-       		<span class="btnSearch center" id="btn_industrydata"><a href="javascript:void(0);">산업재해은폐금지 서약서</a></span>
+       		<!-- 2024.10.11 구매팀 요청으로 제회 -->
+       		<!-- <span class="btnSearch center" id="btn_moraldata"><a href="javascript:void(0);">윤리준수서약서</a></span>
+       		<span class="btnSearch center" id="btn_industrydata"><a href="javascript:void(0);">산업재해은폐금지 서약서</a></span> -->
+       		<span class="btnSearch center" id="btn_rolesdata"><a href="javascript:void(0);">협력사행동규범 서약서</a></span>
+       		<span class="btnSearch center" id="btn_pricesysdata"><a href="javascript:void(0);">하도급대금연동제 안내문</a></span>
        		<%} %>			
 			<span class="btnSearch center" id="btn_signdata"><a href="javascript:void(0);">견적서제출이동</a></span>
 			<span class="btnSearch center" id="btn_giveup"><a href="javascript:void(0);">입찰포기</a></span>

+ 6 - 7
web/jsp/ko_KR/supplier/portal/bid/RolesDocPop.jsp

@@ -34,7 +34,7 @@
 		    $("#fevent").val("GET_SAVE");		 	   
 		 	   if(confirm("협력사행동규범 서약서를 확인하셨습니까?"))
 		 	   {
-				  submitXmlRequest("/portal/bid/IndustryDocPopSave_form.screen", "GET_INDUSTRY_SAVE", f);
+				  submitXmlRequest("/portal/bid/RolesDocPopSave_form.screen", "GET_ROLES_SAVE", f);
 				}
 		    
 		});
@@ -161,7 +161,7 @@
 		<br>4. 윤리경영 Ethics</br>
 		</div>	
 		<div style="margin-left:15px; width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%"  >
-		<br>협력사는 모든 현지 법률 및 규정을 준수해야 하며, 이테크건설은 협력사가 높은 수준의 윤리 기준을 유지할 것을 요구합니다.</br>
+		<br>협력사는 모든 현지 법률 및 규정을 준수해야 하며, SGC이앤씨는 협력사가 높은 수준의 윤리 기준을 유지할 것을 요구합니다.</br>
 		<br>Suppliers are to adhere to all applicable laws and regulations and be to uphold the high standards of ethics.</br>
 		<br> 윤리경영을 실천하기 위한 세부기준은 윤리실천 특별약관을 따릅니다.</br>
 		<br> For detailed guidance on how to comply with this Ethics, please see the Ethics Special Terms.</br>
@@ -205,20 +205,18 @@
 		<div style="width: 100%; vertical-align: middle; float: left; text-align: right; padding-bottom: 8px;"  >
 		<br></br>
 		<br></br>
+		</div>					
 		<div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:130%; font-weight: bold;"  >
 		<br><%=RolesPop.get("roles_yn_dy")%></br>
-		<br></br>
-		<br></br>
 		</div>
 		<div style="margin-left:11px; width: 93%; vertical-align: middle; float: left; text-align: right; padding-bottom: 8px; line-height:130%; font-weight: bold;"  >
-		<br></br>
+		<br>
 		<br>(서약인) 소 재 지 : <%=RolesPop.get("address") %></br>
 		<br>회 사 명 : <%=RolesPop.get("vendor_name") %></br>	
 		<br>대 표 이 사 : <%=RolesPop.get("rep_name") %></br>
 		</div>			
 		<div style="width: 100%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:100%; font-weight: bold;"  >
-		<br></br>
-		<br></br>
+		<br>
 		<br>SGC이앤씨(주) 귀중</br>
 		</div>
 	</div>
@@ -229,4 +227,5 @@
 		<span id="print" name="print" class="btnSearch center"><a href="javascript:void(0);" id="btn_print">인쇄</a></span>
 		<span id="close" name="close" class="btnSearch center"><a href="javascript:void(0);" id="btn_close">닫기</a></span>	
 	</div>	
+	<br></br>
 </form>

+ 25 - 0
web/jsp/ko_KR/supplier/portal/cont/PurContDetail.jsp

@@ -52,8 +52,10 @@
 		/* STAMP_DUTY, PROMISE_DOC 인클루드 페이지 기능 */
 		gridInit2(sheet2);
 		gridInit3(sheet3);
+		gridInit4(sheet4);
 		doSearchStamp();
 		doSearchPromise();
+		doSearchPricesys();
 		
 		if(jQuery("#STATUS_CD").val() == '20' && jQuery("#p_issue_gb").val() == '20'){
 			jQuery("#p_issue_gb").attr("disabled",true);
@@ -347,6 +349,28 @@
 		}
 	}
 	
+	//미연동 계약서 팝업 호출
+	function popPricesys() {
+		
+		var win_id = "contPurPricePopup";			
+		var param = "";
+		var param = param + "&viewDiv=CONT";
+		var param = param + "&pop_win_id=" + win_id;
+
+		var url = "/portal/guar/contPurPricePopup.screen"+param;
+		
+		fLayerPop(win_id, url, 560, 350, '','', 'YES');
+	}	
+	//미연동 계약서 팝업 종료후 액션
+	function popPricesysClose(returnValue){
+		if(returnValue == null){
+			fLayerPopClose('contPurPricePopup');
+		}else{
+			fLayerPopClose('contPurPricePopup');
+			location.reload();
+		}
+	}
+	
 	function stampDutyCheck(){
 		
 		for(i=1; i <= sheet2.RowCount(); i++){
@@ -499,6 +523,7 @@
   </TR>	
 </TABLE>
 <%@ include file="/jsp/ko_KR/supplier/portal/cont/stampDuty.jsp" %>
+<%@ include file="/jsp/ko_KR/supplier/portal/cont/priceSys.jsp" %>
 <%@ include file="/jsp/ko_KR/supplier/portal/cont/promiseDocList.jsp" %>
 
 <div class="application-info  magT10">

+ 0 - 0
web/jsp/ko_KR/supplier/portal/common/guar/contPurPricePopup.jsp → web/jsp/ko_KR/supplier/portal/cont/PurPricesysPopup.jsp


+ 151 - 12
web/jsp/ko_KR/supplier/portal/cont/priceSys.jsp

@@ -1,12 +1,151 @@
-<%@ page language="java" contentType="text/html; charset=EUC-KR"
-    pageEncoding="EUC-KR"%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
-<title>Insert title here</title>
-</head>
-<body>
-
-</body>
-</html>
+<%--
+  - Author(s)  : TC40335
+  - Date       : 2024.10.16
+  - Description: 포탈(구매)_표준 미연동 계약서
+  --%>
+  
+<%@ 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.ui.InitCombo" %>
+<%@ page import="kr.co.hsnc.common.util.*"%>
+<%@ page import="kr.co.hsnc.common.sql.*" %>
+<%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
+<%-- <%@ include file="/jsp/work/taglib.jsp" %>
+<jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" /> --%>
+<%
+	
+
+	//CommCodeManager commCodeManager = new CommCodeManager();
+	
+	RowSet pricesysGbRow = CommCodeManager.getCodeRowsetStatic("PRICE_SYS_GB");
+
+	InitCombo initCombo3 = new InitCombo();
+	initCombo3.makeComboData(CommCodeManager.getCodeRowsetStatic("PRICE_SYS_GB", "CHG_CODE01", "Y"), "DETAILNM", "DETAILCD");
+
+	String PRICESYS_GB_CD = initCombo3.getCode();
+	String PRICESYS_GB_NM = initCombo3.getCodeName();
+	
+%>
+<SCRIPT language="JavaScript">
+	/*예약함수*/
+	var sheet4;
+	var sheet4Row;
+	var sheet4PageNo = 1;
+	var pageLastRowIndex = 1;
+	var validationResult = false;
+	var filterShow = false;
+	
+	/* function _onReady(){
+		
+	} */
+	
+	/**
+	 *	IBSheet object initialize
+	 */
+ 	function gridInit4(sheetName){
+		var init_sheet = {};
+		init_sheet.Cfg = {SearchMode:2, Page:10};
+		init_sheet.Cols = [
+		       			{Header:'Del',						Type:"DelCheck",		SaveName:"DEL_CHECK", 			Width:20, 		Align:"Center"},
+		       			{Header:'Status',					Type:"Status", 			SaveName:"STATUS", 				Width:0, 		Align:"Center", Hidden:"true"},
+		    			{Header:'계약서ID',					Type:"Text", 			SaveName:"PRICE_SYS_ID", 		Width:0, 		Align:"Center", Hidden:"true"},
+		    			{Header:'하도급대금 연동 여부',				Type:"Combo", 			SaveName:"PRICE_SYS_YN",		Width:30, 		Align:"Center",	ComboText:"<%=PRICESYS_GB_NM%>", ComboCode:"<%=PRICESYS_GB_CD%>"},
+		    			{Header:'미연동 대상 목적물 또는 물품 등의 명칭',		Type:"Text", 			SaveName:"OBJECT_ITEM",			Width:80, 		Align:"Center"},
+		    			{Header:'[수급사업자] 미연동 사유',			Type:"Text", 			SaveName:"SYS_REASON", 			Width:150, 		Align:"Center", 	EditLen:"500"},
+		    			{Header:'☞사본',						Type:"Text", 			SaveName:"FILE_YN", 			Width:30, 		Align:"center", Edit:"false",	Cursor:'pointer'},
+		    			{Header:'FILE_ID',					Type:"Text", 			SaveName:"FILE_ID", 			Width:0, 		Align:"center", Hidden:"true"},
+		]; 
+	
+		init_sheet.HeaderMode = {Sort:1};
+		IBS_InitSheet(sheetName, init_sheet);
+		sheetName.SetDataAutoTrim(0);
+		sheetName.SetImageList(1,"/img/buyer/button/bt_change.gif");
+		if(jQuery("#STATUS_CD").val() == '50'){
+			sheet4.SetEditable(0);
+		}
+		setGridSize4();
+	} 
+	
+	function doSearchPricesys() {
+		jQuery("#fevent").val("FORM_PRICESYS_SELECT");
+		var url = Modular.model.PageContext.CONTEXT_ROOT + "/cont/purchase/PricesysList_sheet.screen";
+		Modular.view.IBSheet7.doSearch(sheet4, url, jQuery("#form1"), 30, "");
+	}
+	function doSavePricesys() {
+		jQuery("#fevent").val("SAVE_PRICESYS_LIST");
+		var url = Modular.model.PageContext.CONTEXT_ROOT + "/cont/purchase/PricesysList_sheet.screen";
+		Modular.view.IBSheet7.doSave(sheet4, url, jQuery("#form1"), false);
+	}
+	
+	/**
+	 *	IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
+	 */
+	function sheet4_OnSearchEnd(code, message) {
+		var info = {Type: "Image"};
+
+		if(code == 0) {
+	    	setGridSize4();
+			sheet4.SetColFontColor("FILE_YN", "#0000ff");
+	    
+	    	for(i=1; i <= sheet4.RowCount(); i++){
+				if(sheet4.GetCellValue(i, "FILE_ID")!=""){
+					sheet4.InitCellProperty(i, "FILE_YN", info);
+				}
+			}
+		} else {
+			//조회 에러 수행
+			alert(message);
+		}
+	}
+	 
+	function pricesys_gb_chg() {
+		if(jQuery("#p_pricesys_gb").val()=="00"||jQuery("#p_pricesys_gb").val()==""){
+			jQuery("#btnPromiseAdd").hide();
+		}else{
+			jQuery("#btnPromiseAdd").show();	
+		}
+	}
+	
+	function downPriceSysFile(){
+		var url="/common/file/FileDownloadServlet?mode=fpDown";
+		url += "&mode=fpDown";
+		url += "&filePath=/pricesysDoc";
+		url += "&fileName=" + encodeURI("에스지씨이앤씨_표준 미연동계약서.docx");
+		url += "&fileRealName=pricesys_doc.docx";
+		
+		document.getElementById("fileDown").src=url;
+	}
+	
+	/**
+	 *	IBSheet size setting
+	 */
+	function setGridSize4() {sheet4.FitColWidth();}
+	
+	document.body.onresize = addEvent( document.body.onresize, "setGridSize4()"); 
+</SCRIPT>
+
+
+
+
+<div class="application-info  magT10">
+	<div class="application-sub-title">
+		<span class="title">표준 미연동 계약서</span><a href="javascript:priceSysDesc()"></a><a href="javascript:downPriceSysFile()"><IMG src='/img/buyer/button/bt_change.gif' align="absmiddle"></a>
+	</div>
+</div>
+<!-- 검색조건 시작 -->
+<table id="search-table" class="search-form-table">
+  <tr height="25"> 
+  	<td>연동제 구분:&nbsp;&nbsp;<%= HTMLMaker.getSelectTag(pricesysGbRow, "CODE", "NAME", "p_pricesys_gb", "style='width:100px;' ", "", ContInfo.get("PRICE_SYS_GB")) %></td>
+	<td class="button" align="right" style="text-align: center;width: 95px">
+		<span class="btnSearch center" onclick="javascript:popPricesys();" id="btnPricesysAdd" ><a href="javascript:void(0);">추가</a></span>
+		<span class="btnSearch center" id="btnSavePricesys" ><a href="javascript:void(0);">저장</a></span>
+	</td>	
+  </tr>
+</table>
+<div id="sheet4_div" style="padding-top:5px; height: 157px; min-height: 157px; ">
+	<script>createIBSheet('sheet4','100%', '157px'); gridInit4(sheet4);
+	</script>
+</div>
+<iframe id="fileDown" name="fileDown" style="display:none"></iframe>
+