123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841 |
- <%--
- - Author(s) : Hyung min Son
- - Date : 2014.07.22
- - Description: 외주_기술문서검토 상세
- --%>
-
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="java.text.SimpleDateFormat" %>
- <%@ page import="java.util.Date" %>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
- <%@ page import="com.udapsoft.waf.common.ui.*" %>
- <%@ page import="kr.co.udapsoft.common.code.*" %>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="kr.co.hsnc.common.sql.*" %>
- <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
- <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
- <%@ 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 Order = storage.getValueObject("Order");
- ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
- ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
- ValueObject filetot = storage.getValueObject(Order.get("TOT_FILE_GB"));
- ValueObject sign_info = storage.getValueObject("SIGN_INFO");
-
- String gwurl = "http://gw.sgcenc.co.kr/";
-
- RowSet Tbe_info = storage.getRowSet("TBE_INFO");
-
- boolean p_reason = false;
- boolean c_reason = false;
- boolean m_reason = false;
- boolean r_reason = false;
- if(Order.get("POSTPONE_REASON").length()> 0){
- p_reason = true;
- }
- if(Order.get("CANCEL_REASON").length()> 0){
- c_reason = true;
- }
- if(Order.get("MODIFY_REASON").length()> 0){
- m_reason = true;
- }
- if(Order.get("RTN_REASON").length()> 0){
- r_reason = true;
- }
-
- %>
- <SCRIPT language="JavaScript">
- function _onReady(){
- $("#btn_list").click(function() {
- $("#fevent").val("");
- $("#form1").attr("action", $("#p_list").val()); //"/bid/outside/TBECheckList.screen");
- $("#form1").attr("target", "_self");
- $("#form1").attr("method", "post");
- $("#form1").submit();
- });
-
-
- $("#btn_save").click(function() {//저장
- $("#TBE_FIN_STATUS_CD").val("02");//작성중 상태 업데이트
- var f = document.form1;
- if (confirm("저장 하시겠습니까?")){
- submitXmlRequest("/bid/outside/TBECheck_form.screen", "SAVE", f, "SUCCESS");
- }
- });
-
- $("#btn_tbe_fin").click(function() {//검토완료
- var f = document.form1;
- var success = true;
- <%
- if(Tbe_info.size() > 0){
- for(int i=0;i < Tbe_info.size();i++){
- %>
- var value = $(':radio[name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"]:checked').val();
- if(value == null ||value == "" ||value == undefined){
- if("<%=Tbe_info.getRow(i).get("BID_RNNC_DT")%>" ==""){
- alert("평가결과는 필수입니다.");
- $(':radio[name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"]').focus();
- return;
- }
- }
- if(value == "02"){
- if(<%=Tbe_info.size()%> != 1){
- if(f.EVAL_OPIN[<%=i%>].value == ""){
- alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
- f.EVAL_OPIN[<%=i%>].focus();
- return;
- }
- }else{
- if(f.EVAL_OPIN.value == ""){
- alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
- f.EVAL_OPIN.focus();
- return;
- }
- }
- }
- if(value == "03"){
- if(<%=Tbe_info.size()%> != 1){
- if(f.EVAL_OPIN[<%=i%>].value == ""){
- alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
- f.EVAL_OPIN[<%=i%>].focus();
- return;
- }
- }else{
- if(f.EVAL_OPIN.value == ""){
- alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
- f.EVAL_OPIN.focus();
- return;
- }
- }
- }
- if("<%=Tbe_info.getRow(i).get("STATUS_CD")%>" == "10"){
- success = false;
- }
- <%}%>
- <%}%>
- if(f.ONBID_YN_CD.value == "Y"){
- if(success){
- alert("검토 완료된 업체가 한 곳 이상이어야 합니다.");
- return;
- }
- }
-
- if(f.p_AttachFile3.value == ""){
- alert("종합의견 첨부파일은 필수입니다.");
- f.p_AttachFile3.focus();
- return;
- }
- if(f.TOT_OPIN.value == ""){
- alert("종합의견은 필수입니다.");
- f.TOT_OPIN.focus();
- return;
- }
-
- if (confirm("검토완료 하시겠습니까?")){
- $("#TBE_FIN_STATUS_CD").val("10");
- submitXmlRequest("/bid/outside/TBECheck_form.screen", "TBE_FIN_SAVE", f, "SUCCESS");
- }
-
- });
-
- // 검토 완료 인경우 버튼 숨김..
- <%--
- if( $("#STATUS_CD").val() == "06" || $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>' ){
- $("#btn_save").hide();
- $("#btn_tbe_fin").hide();
- $("#btnevalemp").hide();
- $("#EVAL_TEL").attr("disabled",true);
- $("#EVAL_EMAIL").attr("disabled",true);
- }
- --%>
-
-
- if($("#ONBID_YN_CD").val() == "Y" && ($("#STATUS_CD").val() == "06" || $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>')){
- $("#btn_save").hide();
- $("#btn_tbe_fin").hide();
- $("#btnevalemp").hide();
- $("#EVAL_TEL").attr("disabled",true);
- $("#EVAL_EMAIL").attr("disabled",true);
- }
- if($("#ONBID_YN_CD").val() == "N" &&( $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>' )){
- $("#btn_save").hide();
- $("#btn_tbe_fin").hide();
- $("#btnevalemp").hide();
- $("#EVAL_TEL").attr("disabled",true);
- $("#EVAL_EMAIL").attr("disabled",true);
- }
-
- }
-
- //첨부파일
- function doAttachFile(obj,No) {
- var file_div = "bid/outside/<%=Order.get("BID_NO")%>/TBE";
-
- var attch_yn = "N";
-
- if('<%=user.get("ACCT_ID")%>' == '<%=Order.get("EVAL_EMPID")%>'){
- attch_yn = "Y";
- }
-
- if(obj==''){
- alert("After you have saved, you can attach a file.");
- }
- else if(obj != ''){
- if(No == 1){
- viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "N", file_div);
- }else if(No == 2){
- viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "N", file_div);
- }else if(No == 3){
- if($("#TBE_STATUS_CD").val() == "10"){
- viewFileListNew('<%=Order.get("TOT_FILE_GB")%>', obj.value, document.form1.p_AttachFile3, "N", file_div);
- }else{
- viewFileListNew('<%=Order.get("TOT_FILE_GB")%>', obj.value, document.form1.p_AttachFile3, attch_yn, file_div);
- }
- }
- }
- }
- //첨부파일
- function doAttachFile_supp(obj,obj2,filegb) {
- var file_div = "bid/purchase/<%=Order.get("BID_NO")%>/TBE";
- if(obj==''){
- alert("After you have saved, you can attach a file.");
- }else if(obj != ''){
- viewFileListNew(filegb, obj.value, obj2, "N", file_div);
- }
- }
-
- function doResult(resultObj) {
- try {
- if( resultObj.getRequestEvent() == "SAVE") {
- if( resultObj.getSuccess() ) {
- alert("저장 되었습니다.");
- page();
- }
- else {
- dlgErrorMsg(resultObj);
- }
- }
-
- if( resultObj.getRequestEvent() == "FILE_REQUEST") {
- if( resultObj.getSuccess() ) {
- alert("문서요청 하였습니다.");
- page();
- }
- else {
- dlgErrorMsg(resultObj);
- }
- }
-
- if( resultObj.getRequestEvent() == "TBE_FIN_SAVE") {
- if( resultObj.getSuccess() ) {
- alert("검토완료 처리 되었습니다.");
- $("#btn_list").click();
- }
- else {
- dlgErrorMsg(resultObj);
- }
- }
-
-
- } catch(errorObject) {
- showErrorDlg("doResult()", errorObject);
- }
- }
-
- function page(){
- $("#fevent").val("FORM_SELECT");
- $("#form1").attr("action", "/bid/outside/TBECheck.screen");
- $("#form1").attr("target", "_self");
- $("#form1").attr("method", "post");
- $("#form1").submit();
- }
-
- function TBEDesc()
- {
- var win_id = "_TBEPopup";
- var link = "/bid/outside/TBEDescPopup.screen";
- link += "?pop_win_id="+win_id;
- fLayerPop(win_id, link, 800,180, '', '', 'NO');
- }
-
- function tbe_detail(vendor_cd,filecnt,rnnc){
- if(Number(filecnt) > 0){
- if (confirm("기술검토 페이지로 이동하시겠습니까?")){
- $("#fevent").val("FORM_SELECT");
- $("#CORP_ID").val(vendor_cd);
- $("#form1").attr("action", "/bid/outside/TBECheckDetail.screen");
- $("#form1").attr("target", "_self");
- $("#form1").attr("method", "post");
- $("#form1").submit();
- }
- }else{
- if(rnnc.length == 0){
- alert("기술검토 할 문서가 없습니다.\n해당 업체에 문서요청을 해주세요.");
- }else{
- alert("입찰포기한 업체 입니다.\n문서검토를 하실 수 없습니다.");
- }
- }
- }
-
- //업체 문서 요청
- function suppFileRequest(corp_id,req_deg,status){
- $("#FILE_REQUEST_SUPP").val(corp_id);
- $("#REQ_DEG").val(req_deg);
- $("#SUPP_STATUS_CD").val(status);
- $("#REQ_YN").val("Y");
- //$("#TBE_FIN_STATUS_CD").val("02");//작성중 상태 업데이트
- var f = document.form1;
- if (confirm("해당업체에 문서요청을 하시겠습니까?")){
- submitXmlRequest("/bid/outside/TBECheck_form.screen", "FILE_REQUEST", f, "SUCCESS");
- }
- }
-
- function SearchUser(NAME,CODE){
- var win_id = "_searchUserPopup";
- var link = "/lib/dlgSearchUserPop.screen";
- link += "?pop_win_id="+win_id;
- fLayerPop(win_id, link, 700,400, '', '', 'NO');
- }
-
- function SearchUserClose(result){
- $("#EVAL_EMPID").val(result[9])//ACCT_ID
- $("#EVAL_EMPNM").val(result[1])//이름
- $("#EVAL_TEL").val(result[6])//연락처
- $("#EVAL_EMAIL").val(result[8])//이메일
- setTimeout(function(){fLayerPopClose('_searchUserPopup');},100);
- }
-
- function doSignFile(doc_id){
- if(doc_id == ""){
- alert("결재 정보가 없습니다.");
- return;
- }
- var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
-
- doc_chk = doc_chk * 1;
-
- var link = "";
- var year = "<%=sign_info.get("year") %>";
- if (year > "20151213"){
- link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
- }
- else
- {
- link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
- }
-
- window.open(link,"_viewDraft","");
- }
- </SCRIPT>
- <modular:search id="form1">
- <modular:key id="fevent" />
- </modular:search>
- <form id="form1" name="form1" method="post" modular:type="search">
- <!-- List Search -->
- <INPUT type="hidden" name="P_BID_MASTER_NM" id="P_BID_MASTER_NM" value="<%= params.get("P_BID_MASTER_NM") %>">
- <INPUT type="hidden" name="p_demanded_status" id="p_demanded_status" value="<%= params.get("p_demanded_status") %>">
- <INPUT type="hidden" name="p_dept_nm" id="p_dept_nm" value="<%= params.get("p_dept_nm") %>">
- <INPUT type="hidden" name="p_dept_cd" id="p_dept_cd" value="<%= params.get("p_dept_cd") %>">
- <INPUT type="hidden" name="p_list" id="p_list" value="<%= params.get("p_list") %>">
- <!-- List Search -->
- <INPUT type='hidden' name="fevent" id="fevent" value="">
- <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
- <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
- <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
- <INPUT type='hidden' name="TBE_FILE_GB" value="<%=Order.get("TBE_FILE_GB")%>">
- <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
- <INPUT type='hidden' name="TBE_STATUS_CD" value="<%=Order.get("TBE_STATUS_CD")%>">
- <INPUT type='hidden' name="OPEN_DT" value="<%=Order.get("OPEN_DT")%>">
- <INPUT type='hidden' name="CORP_ID" value="">
- <INPUT type='hidden' name="TBE_FIN_STATUS_CD" value="">
- <INPUT type='hidden' name="FILE_REQUEST_SUPP" value="">
- <INPUT type='hidden' name="REQ_DEG" value="">
- <INPUT type='hidden' name="REQ_YN" value="">
- <INPUT type='hidden' name="SUPP_STATUS_CD" value="">
- <INPUT type='hidden' name="TBESUPP_CNT" value="<%=Tbe_info.size() %>">
- <INPUT type='hidden' name="TOT_FILE_GB" value="<%=Order.get("TOT_FILE_GB")%>">
- <INPUT type='hidden' name="TOT_FILE_ID" value="<%=Order.get("TOT_FILE_ID")%>">
- <INPUT type='hidden' name="ONBID_YN_CD" value="<%=Order.get("ONBID_YN_CD")%>">
- <INPUT type='hidden' name="BID_EMAIL" value="<%=Order.get("BID_EMAIL")%>">
- <INPUT type="hidden" name="dept_nm" id="dept_nm" value="<%=Order.get("dept_nm") %>">
- <INPUT type="hidden" name="BID_MASTER_NM" id="BID_MASTER_NM" value="<%=Order.get("BID_MASTER_NM") %>">
- <table width="100%">
- <colgroup>
- <col width="*" />
- <col width="250" />
- </colgroup>
- <tr>
- <th>
- <div align="left" id="title">
- <ul><li>외주_기술문서검토 상세<font style="font-size:11px">(<%=Order.get("STATUS_NM")%>)</font></li></ul>
- </div>
- </th>
- <td align="right">
- <span class="btnSearch center" id="btn_save"><a href="javascript:void(0);">저장</a></span>
- <span class="btnSearch center" id="btn_tbe_fin"><a href="javascript:void(0);">검토완료</a></span>
- <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
- </td>
- </tr>
- </table>
- <%if(p_reason || m_reason || c_reason || r_reason){ %>
- <TABLE class="form-table">
- <colgroup>
- <col width="160">
- <col/>
- </colgroup>
- <%if(c_reason){ %>
- <TR height="25">
- <TH>취소사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("CANCEL_REASON"))%></TD>
- </TR>
- <%} %>
- <%if(p_reason){ %>
- <TR height="25">
- <TH>연기사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("POSTPONE_REASON"))%></TD>
- </TR>
- <%} %>
- <%if(m_reason){ %>
- <TR height="25">
- <TH>정정사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("MODIFY_REASON"))%></TD>
- </TR>
- <%} %>
- <%if(r_reason){ %>
- <TR height="25">
- <TH>반려사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("RTN_REASON"))%></TD>
- </TR>
- <%} %>
- </TABLE>
- <%}%>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">발주의뢰정보</span>
- </div>
- </div>
- <!-- 발주의뢰정보 : 시작 -->
- <TABLE class="form-table">
- <colgroup>
- <col width="150"/>
- <col width="23%">
- <col width="150"/>
- <col width="23%">
- <col width="150"/>
- <col/>
- </colgroup>
- <TR height="25">
- <TH> 현장</TH>
- <TD><%=Order.get("dept_nm") %></TD>
- <TH> 발주의뢰번호</TH>
- <TD><a href="javascript:doSignFile('<%=sign_info.get("doc_id") %>');"><%=Order.get("DEMANDED_NO")%></TD>
- <TH> 발주의뢰명</TH>
- <TD><%=Order.get("DEMANDED_TITLE")%></TD>
- </TR>
- <TR height="25">
- <TH> 발주의뢰일</TH>
- <TD><%= Order.get("DEMANDED_DATE")%></TD>
- <TH> 발주의뢰부서</TH>
- <TD><%= Order.get("REQ_DEPT_NM")%></TD>
- <TH> 발주의뢰자</TH>
- <TD><%= Order.get("EMP_NM")%></TD>
- </TR>
-
- <TR height="25">
- <TH> 발주접수일자</TH>
- <TD><%=Order.get("RECEIPT_DATE") %></TD>
- <TH> Pay Item</TH>
- <TD colspan="3"><%= Order.get("PAY_ITEM_NM") %></TD>
- </TR>
- <TR height="25">
- <TH>공사기간</TH>
- <TD><%=Order.get("DELI_FROM_DY") %> <%if(!Order.get("DELI_FROM_DY").isEmpty()||!Order.get("DELI_TO_DY").isEmpty()){ %>~<%} %> <%= Order.get("DELI_TO_DY") %></TD>
- <TH>공사장소</TH>
- <TD><%= Order.get("DELIVERY_PLACE") %></TD>
- <TH>공종</TH>
- <TD><%= Order.get("OUT_ITEM_NM") %></TD>
- </TR>
-
- <!-- 발주의뢰정보 : 종료 -->
- </table>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">기술검토 정보</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="145"/>
- <col width="18%"/>
- <col width="145"/>
- <col width="18%"/>
- <col width="145"/>
- <col />
- </colgroup>
- <TR height="25">
- <TH>심사자 명</TH>
- <TD><INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>"><INPUT type='hidden' name="EVAL_EMPID_O" value="<%=Order.get("EVAL_EMPID")%>">
- <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %>
- <IMG id=btnevalemp src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('EVAL_EMPNM','EVAL_EMPID','N');">
- </TD>
- <TH>심사자 연락처</TH>
- <TD><%= InputText.get("EVAL_TEL", Order.get("EVAL_TEL"), 25, 20, "") %>
- </TD>
- <TH>심사자 이메일</TH>
- <TD><%= InputText.get("EVAL_EMAIL", Order.get("EVAL_EMAIL"), 55, 50, "") %>
- </TD>
- </TR>
- </TABLE>
- <% if(Order.get("ONBID_YN_CD").equals("Y")){ %>
- <TABLE class="list-form-table" style="margin-top:5px">
- <colgroup>
- <col width="70"/>
- <col width="70"/>
- <col width="40%"/>
- <col width="50"/>
- <col width="50"/>
- <col width="70"/>
- <col width="70"/>
- <col width="60"/>
- </colgroup>
- <TR height="25">
- <TH>사업자번호</TH>
- <TH>업체명</TH>
- <TH>검토완료문서</TH>
- <TH>전체문서</TH>
- <TH>검토완료</TH>
- <TH>문서요청일</TH>
- <TH>제출일</TH>
- <TH>상태</TH>
- </TR>
- <%
- if(Tbe_info.size() > 0){
- for(int i=0;i < Tbe_info.size();i++){
-
- %>
- <TR height="25">
- <TD style="text-align:center"><%=StringUtils.getBizNo(Tbe_info.getRow(i).get("VENDOR_NO"))%></TD>
- <TD style="text-align:center"><a href="javascript:tbe_detail('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>','<%=Tbe_info.getRow(i).get("FILE_CNT")%>','<%=Tbe_info.getRow(i).get("BID_RNNC_DT")%>');"><%=Tbe_info.getRow(i).get("VENDOR_NAME")%></a></TD>
- <TD><TEXTAREA name="p_File_Supp<%=i %>" id="p_File_Supp<%=i %>" style="width:90%;height:40px" rows="1" class="input" readOnly><%=Tbe_info.getRow(i).get("FILE_LIST") %></TEXTAREA>
- <IMG id='search_spot_button' onClick="doAttachFile_supp(document.form1.DEMANDED_ID,document.form1.p_File_Supp<%=i %>,'<%=Tbe_info.getRow(i).get("FIN_FILE_GB")%>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'></TD>
- <TD style="text-align:center"><%=Tbe_info.getRow(i).get("FILE_CNT")%></TD>
- <TD style="text-align:center"><%=Tbe_info.getRow(i).get("CL_CNT")%></TD>
- <TD style="text-align:center"><%=Tbe_info.getRow(i).get("REG_DT")%></TD>
- <TD style="text-align:center"><%=Tbe_info.getRow(i).get("DOC_DT")%></TD>
- <TD style="text-align:center">
- <%if("문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM"))&& !"10".equals(Order.get("TBE_STATUS_CD")) && !"Y".equals(Tbe_info.getRow(i).get("REQ_YN")) && Order.get("EVAL_EMPID").equals(user.get("ACCT_ID"))){%><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');"><%=Tbe_info.getRow(i).get("STATUS_NM")%></a></span><%}else{%><%=Tbe_info.getRow(i).get("STATUS_NM")%><%} %>
- <%if("91".equals(Order.get("TBE_STATUS_CD")) && !"Y".equals(Tbe_info.getRow(i).get("REQ_YN"))&& !"문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM")) && Order.get("EVAL_EMPID").equals(user.get("ACCT_ID")) ){%><br><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');">문서요청</a></span><%} %>
- </TD>
- </TR>
- <% }
- }else{%>
- <TR height="25">
- <TD colspan="8" style="text-align:center">기술 검토 대상 업체가 없습니다.</TD>
- </TR>
- <%}%>
- </TABLE>
- <%} %>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">기술검토 결과</span> <a href="javascript:TBEDesc()">※TBE유의사항 안내</a>
- </div>
- </div>
- <TABLE class="form-table" style="margin-top:5px">
- <colgroup>
- <col width="145"/>
- <col width="145"/>
- <col width="200"/>
- <col />
- </colgroup>
- <TR height="25">
- <TH style="text-align:center;padding-right:20px">사업자번호</TH>
- <TH style="text-align:center;padding-right:20px">업체명</TH>
- <TH style="text-align:center;padding-right:20px">평가결과</TH>
- <TH style="text-align:center;padding-right:20px">평가의견</TH>
- </TR>
- <%
- if(Tbe_info.size() > 0){
- for(int i=0;i < Tbe_info.size();i++){
- %>
- <TR height="25">
- <TD style="text-align:center"><%=StringUtils.getBizNo(Tbe_info.getRow(i).get("VENDOR_NO"))%><INPUT type="hidden" id="VENDOR_CD" name="VENDOR_CD" value="<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"></TD>
- <TD style="text-align:center"><%=Tbe_info.getRow(i).get("VENDOR_NAME")%></TD>
- <TD style="text-align:center"><%if(Tbe_info.getRow(i).get("BID_RNNC_DT").isEmpty()){ %>
- <%-- <INPUT type="hidden" id="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value=""> --%>
- <LABEL for="eval_result_1<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_1<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="01" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("01") ? "checked=\"checked\"" : "" %> <%if(("Y".equals(Order.get("ONBID_YN_CD"))&&"06".equals(Order.get("STATUS_CD")))||"10".equals(Order.get("TBE_STATUS_CD"))){%>disabled<%} %>>적합</LABEL>
- <LABEL for="eval_result_2<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_2<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="02" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("02") ? "checked=\"checked\"" : "" %> <%if(("Y".equals(Order.get("ONBID_YN_CD"))&&"06".equals(Order.get("STATUS_CD")))||"10".equals(Order.get("TBE_STATUS_CD"))){%>disabled<%} %>>조건부 적합</LABEL>
- <LABEL for="eval_result_3<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_3<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="03" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("03") ? "checked=\"checked\"" : "" %> <%if(("Y".equals(Order.get("ONBID_YN_CD"))&&"06".equals(Order.get("STATUS_CD")))||"10".equals(Order.get("TBE_STATUS_CD"))){%>disabled<%} %>>부적합</LABEL>
- <%}else{ %>입찰포기<%} %>
- </TD>
- <TD ><textarea name="EVAL_OPIN" id="EVAL_OPIN" style="width:98%; height:40px; overflow-y:auto;" maxlength="1000" class="input byteChk ctrlTarget" <%if("06".equals(Order.get("STATUS_CD"))&&"10".equals(Order.get("TBE_STATUS_CD"))){%>readOnly<%} %>><%=Tbe_info.getRow(i).get("EVAL_OPIN")%></textarea></TD> <!-- 20150721 readonly || &&로 수정 -->
- </TR>
- <% } %>
- <TR height="25">
- <TH style="text-align:center;padding-right:20px" rowspan="2">종합의견<br>(TBE 결과등록)</TH>
- <TD colspan="2"><TEXTAREA name="p_AttachFile3" id="p_AttachFile3" style="width:85%;height:40px" rows="1" class="input" readOnly><%=filetot.get(Order.get("TOT_FILE_GB")) %></TEXTAREA>
- <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,3);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'></TD>
- <TD rowspan="2"><textarea name="TOT_OPIN" id="TOT_OPIN" style="width:98%; height:65px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" <%if("10".equals(Order.get("TBE_STATUS_CD"))){%>readOnly<%} %>><%=Order.get("TOT_OPIN")%></textarea></TD>
- <TR height="25">
- <TD colspan="2"><font color="red">결재된 기술검토서를 스캔하여 첨부바랍니다.</font></TD>
- <% }else{%>
- <TR height="25">
- <TD colspan="2" style="text-align:center">기술 검토 대상 업체가 없습니다.</TD>
- </TR>
- <%}%>
- </TABLE>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">입찰기본정보</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="145"/>
- <col width="145"/>
- <col width="29%"/>
- <col width="145"/>
- <col />
- </colgroup>
- <TR height="25">
- <TH>입찰번호-차수</TH>
- <TD colspan="2">
- <%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>
- </TD>
- <TH>온라인입찰여부</TH>
- <TD>
- <%=Order.get("ONBID_YN")%>
- </TD>
- </TR>
- <TR height="25">
- <TH>입찰명</TH>
- <TD colspan="5">
- <%=Order.get("BID_MASTER_NM")%>
- </TD>
- </TR>
-
- <TR height="25">
- <TH>경쟁방법</TH>
- <TD colspan="2">
- <%=Order.get("CMPT_NM")%>
- </TD>
-
- <TH>낙찰자선정방법</TH>
- <TD>
- <%=Order.get("SUCC_NM") %>
- </TD>
- </TR>
- </table>
- <%if(p_reason || m_reason || c_reason){ %>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">입찰사유</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="150">
- <col/>
- </colgroup>
- <%if(c_reason){ %>
- <TR height="25">
- <TH>취소사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("CANCEL_REASON"))%></TD>
- </TR>
- <%} %>
- <%if(p_reason){ %>
- <TR height="25">
- <TH>연기사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("POSTPONE_REASON"))%></TD>
- </TR>
- <%} %>
- <%if(m_reason){ %>
- <TR height="25">
- <TH>정정사유</TH>
- <TD><%=StringUtils.cvtHTML(Order.get("MODIFY_REASON"))%></TD>
- </TR>
- <%} %>
- </TABLE>
- <%}%>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">입찰조건</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="145"/>
- <col width="145"/>
- <col width="29%"/>
- <col width="145"/>
- <col/>
- </colgroup>
- <TR height="25">
- <TH>통화구분</TH>
- <TD colspan="4"><%=Order.get("CURRENCY_GB_NM") %>
- </TD>
- </TR>
- <TR height="25">
- <TH>계약형태</TH>
- <TD colspan="4">
- <%=Order.get("OBC_CONT_TYPE_NM") %>
- </TD>
- </TR>
- <TR height="25">
- <TH rowspan="2">공사대금</TH>
- <TH>선급금</TH>
- <TD><% if(!Order.get("OBC_FRST_CONT_RATE").isEmpty()){%> 계약금액의 : <%= Order.get("OBC_FRST_CONT_RATE") %>%<br><%}%>
- <%= Order.get("OBC_FRST_CONDI") %><br>
- <%= Order.get("OBC_FRST_CNT_CONDI") %></TD>
- <TH>기성금</TH>
- <TD><% if(!Order.get("CPC_MID_RATE").isEmpty()){%> 계약금액의 :<%= Order.get("CPC_MID_RATE")%>% ,<%}%><% if(!Order.get("OBC_MID_CASH_RATE").isEmpty()){%>현금 : <%= Order.get("OBC_MID_CASH_RATE")%>% <%}%><% if(!Order.get("OBC_MID_BILL_RATE").isEmpty()){%>어음 : <%= Order.get("OBC_MID_BILL_RATE")%>%<%}%><br>
- <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_MID_PAYDAY")%>일 내 지급<br><%} %>
- <% if(!Order.get("OBC_MID_BILL_DATE").isEmpty()){%>어음일 경우, 어음 만기일은 목적물 수령일로부터 (<%= Order.get("OBC_MID_BILL_DATE")%>)일<br><%} %>
- <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%><%=Order.get("OBC_MID_REQ_MONTH")%>개월 당 <%=Order.get("OBC_MID_CNT")%>회 말일에 청구<%}%>
- </TD>
- </TR>
- <TR height="25">
- <TH>준공금</TH>
- <TD colspan="3"><% if(!Order.get("PBC_REST_RATE").isEmpty()){%> 계약금액의 : <%=Order.get("PBC_REST_RATE")%>% ,<%}%><% if(!Order.get("OBC_FIN_CASH_RATE").isEmpty()){%>현금 : <%=Order.get("OBC_FIN_CASH_RATE")%>% <%}%><% if(!Order.get("OBC_FIN_BILL_RATE").isEmpty()){%>어음 : <%=Order.get("OBC_FIN_BILL_RATE")%>%<%}%>
- <%-- <br><% if(!Order.get("OBC_FIN_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_FIN_PAYDAY")%>일 내 지급<%}%><br>
- <%=Order.get("OBC_FIN_CONDI") %></TD> --%>
- </TR>
- <TR height="25">
- <TH rowspan="2">보증조건</TH>
- <TH>선급금보증</TH>
- <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){%>계약금액의 <%=Order.get("CBC_FIRST_RATE")%>%<%}%></TD>
- <TH>계약이행 보증</TH>
- <TD><% if(!Order.get("CONTFUL_RATE").isEmpty()){%>계약금액의 <%= Order.get("CONTFUL_RATE") %>%<%}%></TD>
- </TR>
- <TR height="25">
- <TH>하자이행 보증</TH>
- <TD><% if(!Order.get("WARR_RATE").isEmpty()){%>준공금액의 <%= Order.get("WARR_RATE")%>%<%}%></TD>
- <TH>하자담보기간</TH>
- <TD><% if(!Order.get("CBC_DEFECT_DAY").isEmpty()){%>준공일로부터 <%= Order.get("CBC_DEFECT_DAY")%>개월<%}%></TD>
- </TR>
- <TR height="25">
- <TH>기타조건</TH>
- <TH>하도급대금<br>연동 기준비율</TH>
- <TD><% if(!Order.get("PAY_CON_RATE").isEmpty()){%><%= Order.get("PAY_CON_RATE")%>%<%}%></TD>
- <TH>지체상금</TH>
- <TD><% if(!Order.get("CBC_DAMAGE_RATE").isEmpty()){%>일당 계약금액의 <%= Order.get("CBC_DAMAGE_RATE")%>%,<%}%><% if(!Order.get("CBC_DAMAGE_MAXRATE").isEmpty()){%>최대 <%= Order.get("CBC_DAMAGE_MAXRATE")%>%<%}%></TD>
- </TR>
- <TR height="25">
- <TH rowspan="6">간접비 견적조건</TH>
- <TH>고용보험료</TH>
- <TD><% if(!Order.get("OBC_EMP_RATE").isEmpty()){%>노무비 * <%= Order.get("OBC_EMP_RATE")%>%                                
- <%}%><%=Order.get("OBC_EMP_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- <TH>연금보험료</TH>
- <TD><% if(!Order.get("OBC_PENSION_RATE").isEmpty()){%>직접노무비 <%=Order.get("OBC_PENSION_RATE")%>%           
- <%}%><%=Order.get("OBC_PENSION_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- <TR height="25">
- <TH>건강보험료</TH>
- <TD><% if(!Order.get("OBC_HEALTH_RATE").isEmpty()){%>직접노무비 * <%=Order.get("OBC_HEALTH_RATE")%>%                          
- <%}%><%=Order.get("OBC_HEALTH_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- <TH>노인장기보험료</TH>
- <TD><% if(!Order.get("OBC_ELDER_RATE").isEmpty()){%>건강보험료 * <%=Order.get("OBC_ELDER_RATE")%>%         
- <%}%><%=Order.get("OBC_ELDER_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- <TR height="25">
- <TH>산재보험료</TH>
- <TD><% if(!Order.get("OBC_WORK_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_WORK_RATE")%>%                                
- <%}%><%=Order.get("OBC_WORK_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- <TH>퇴직공제부금</TH>
- <TD><% if(!Order.get("OBC_RESIGN_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_RESIGN_RATE")%>%               
- <%}%><%=Order.get("OBC_RESIGN_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- <TR height="25">
- <TH>안전관리비</TH>
- <TD><% if(!Order.get("OBC_SAFE_RATE").isEmpty()){%>노무비 * <%= Order.get("OBC_SAFE_RATE")%>%                                
- <%}%><%=Order.get("OBC_SAFE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- <TH>환경관리비</TH>
- <TD><% if(!Order.get("OBC_ENV_RATE").isEmpty()){%>재료비 * <%= Order.get("OBC_ENV_RATE")%>%               
- <%}%><%=Order.get("OBC_ENV_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- <TR height="25">
- <TH>현장관리비</TH>
- <TD><% if(!Order.get("OBC_SITE_RATE").isEmpty()){%>직접비 * <%=Order.get("OBC_SITE_RATE")%>%                                
- <%}%><%=Order.get("OBC_SITE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- <TH>매입부가세</TH>
- <TD><% if(!Order.get("OBC_DUTY_RATE").isEmpty()){%>재료비 * 매입세율 <%= Order.get("OBC_DUTY_RATE")%>%  
- <%}%><%=Order.get("OBC_DUTY_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- <TR height="25">
- <TH>간접비 정산조건</TH>
- <TD><%=Order.get("OBC_IND_YN").equals("Y") ? "<font color='blue'>[실적정산]</font>" : "<font color='red'>[비례정산]</font>" %></TD>
- <TH>건설기계 수수료</TH>
- <TD><%=Order.get("OBC_WARR_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
- </TR>
- </TABLE>
- <TABLE class="form-table" style="margin-top:5px">
- <colgroup>
- <col width="145"/>
- <col width="145"/>
- <col width="29%"/>
- <col width="145"/>
- <col/>
- </colgroup>
- <TR height="25">
- <TH>주요발주내용</TH>
- <TD colspan="2" style="vertical-align: top">
- <%=StringUtils.cvtHTML(Order.get("MAIN_PR_CONTENTS"))%>
- </TD>
-
- <TH>입찰업체선정사유</TH>
- <TD style="vertical-align: top">
- <%=StringUtils.cvtHTML(Order.get("BID_SUPP_SELECT_REASON"))%>
- </TD>
- </TR>
- <TR height="25">
- <TH>특이사항 내부</TH>
- <TD colspan="2" style="vertical-align: top">
- <%=StringUtils.cvtHTML(Order.get("INNER_REMARKS"))%>
- </TD>
-
- <TH>특이사항 외부</TH>
- <TD style="vertical-align: top">
- <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
- </TD>
- </TR>
- <TR height="100">
- <TH>내부자료</TH>
- <TD colspan="2">
- <TEXTAREA name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get(Order.get("DOC_ETC_IN")) %></TEXTAREA>
- <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,1);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
- </TD>
- <TH>외부자료</TH>
- <TD>
- <TEXTAREA name="p_AttachFile2" id="p_AttachFile2" style="width:85%;height:80px" rows="1" class="input" readOnly><%=fileout.get(Order.get("DOC_ETC_OUT")) %></TEXTAREA>
- <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,2);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
- </TD>
- </TR>
- </TABLE>
- </form>
|