123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263 |
- <%--
- - Author(s) : Hyung min Son
- - Date : 2014.06.30
- - 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.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"%>
- <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
- <%@ 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" />
- <%
- 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"));
- //공통코드
- CommCodeManager commCodeManager = new CommCodeManager();
- InitCombo initCombo = new InitCombo();
- initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_SUPP_SITEPARTI"), "NAME", "CODE");
- String BID_SUPP_SITEPARTI_CD = initCombo.getCode();
- String BID_SUPP_SITEPARTI_NM = initCombo.getCodeName();
-
- InitCombo initCombo2 = new InitCombo();
- initCombo2.makeComboData(commCodeManager.getCodeRowSet("BID_SUPP_SITEPARTI","CHG_CODE01","1"), "DETAILNM", "DETAILCD");
- String BID_SUPP_SITEPARTI_CD2 = initCombo2.getCode();
- String BID_SUPP_SITEPARTI_NM2 = initCombo2.getCodeName();
- %>
- <SCRIPT language="JavaScript">
- document.body.onresize = addEvent( document.body.onresize, "autoResize()");
- /*예약함수*/
- var sheet1 = new ibsheetObject();
- var sheet2 = new ibsheetObject();
- var sheet3 = new ibsheetObject();
- var pageLastRowIndex = 1;
- var validationResult = false;
- var filterShow = false;
- var btn_act = "";
-
- var must_msg = "(은)는 필수 입력 항목입니다.";
- function _onReady(){
- /**
- * IBSheet object initialize
- */
- gridInit(sheet1);
- gridInit(sheet2);
- gridInit(sheet3);
-
- /**
- * Application Initialize
- */
- $("#btn_list").click(function() {
- jQuery("#fevent").val("");
- jQuery("#form1").attr("action", "/bid/purchase/BidIngList.screen");
- jQuery("#form1").attr("target", "_self");
- jQuery("#form1").attr("method", "post");
- jQuery("#form1").submit();
-
- });
- // 저장
- $("#btn_Save").click(function() {
- if(must_ck("0")){
- var f = document.form1;
- btn_act = "to_save";
- $("#fevent").val("UPDATE");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
- var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
- }
- });
- //견적설명 완료
- $("#btn_completion").click(function() {
- if(must_ck("1")){
- if (confirm("견적설명 완료처리를 하시겠습니까?\n견적설명 완료처리를 하시면 참여한 업체를 대상으로 견적의뢰를 하게 됩니다.")){
- var f = document.form1;
- btn_act = "to_completion";
- $("#fevent").val("COMPLETION");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
- var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
- }
- }
- });
-
-
- $("#sitedesc_flag_1").click(function() {
- $("#SITEDESCCHRGPRSNID").attr("disabled",false);
- $("#SITEDESCTELNO").attr("disabled",false);
- $("#SITEDESCDATE").attr("disabled",false);
- $("#SITEDESCDATE_HH").attr("disabled",false);
- $("#SITEDESCDATE_MI").attr("disabled",false);
- $("#SITEDESCEMAIL").attr("disabled",false);
- $("#SITEDESCPLACE").attr("disabled",false);
- $("#btn_sitedescchrgprsnid").show();
- $("#calendar_sitedescdate").show();
- });
-
- $("#sitedesc_flag_2").click(function() {
- $("#SITEDESCCHRGPRSNID").attr("disabled",true);
- $("#SITEDESCCHRGPRSNID").val("");
- $("#SITEDESCTELNO").attr("disabled",true);
- $("#SITEDESCTELNO").val("");
- $("#SITEDESCDATE").attr("disabled",true);
- $("#SITEDESCDATE").val("");
- $("#SITEDESCDATE_HH").attr("disabled",true);
- $("#SITEDESCDATE_HH").val("");
- $("#SITEDESCDATE_MI").attr("disabled",true);
- $("#SITEDESCDATE_MI").val("");
- $("#SITEDESCEMAIL").attr("disabled",true);
- $("#SITEDESCEMAIL").val("");
- $("#SITEDESCPLACE").attr("disabled",true);
- $("#SITEDESCPLACE").val("");
- $("#btn_sitedescchrgprsnid").hide();
- $("#calendar_sitedescdate").hide();
- });
-
- $("#sort_gb_3").click(function() {
- $("#TBE_DATE").attr("disabled",false);
- $("#SUPP_REQ_DY").attr("disabled",false);
- $("#EVAL_EMPNM").attr("disabled",false);
- $("#btnevalemp").show();
- $("#calender_supp_req").show();
- });
- $("#sort_gb_4").click(function() {
- $("#TBE_DATE").attr("disabled",true);
- $("#TBE_DATE").val("");
- $("#SUPP_REQ_DY").attr("disabled",true);
- $("#SUPP_REQ_DY").val("");
- $("#EVAL_EMPNM").attr("disabled",true);
- $("#EVAL_EMPNM").val("");
- $("#EVAL_EMPID").attr("disabled",true);
- $("#EVAL_EMPID").val("");
- $("#btnevalemp").hide();
- $("#calender_supp_req").hide();
- });
-
- //보고자 조회
- doSearchSheet3();
-
- //라디오 박스 체크 여부 // N 일경우 비활성화
- if($("#sitedesc_flag_2").attr("checked") == "checked")
- $("#sitedesc_flag_2").click();
- if($("#sort_gb_4").attr("checked") == "checked")
- $("#sort_gb_4").click();
-
- //업체공지일자 변경
- $("#NOTI_DY").change(function() {
- if($("#BID_FROM_DT").val().length> 0){
- if($("#NOTI_DY").val()> $("#BID_FROM_DT").val()){
- alert("업체공지일자는 견적제출일이전이어야 합니다.\n- 견적제출일:"+$("#BID_FROM_DT").val());
- $("#NOTI_DY").val("");
- return;
- }
- }
- if($("#SITEDESCDATE").val().length> 0){
- if($("#NOTI_DY").val()> $("#SITEDESCDATE").val()){
- alert("업체공지일자는 견적설명일 이전이어야 합니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
- $("#NOTI_DY").val("");
- return;
- }
- }
- });
- //견적제출기간 변경
- $("#BID_FROM_DT").change(function() {
- if($("#SITEDESCDATE").val().length> 0){
- if($("#BID_FROM_DT").val() < $("#SITEDESCDATE").val()){
- alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
- $("#BID_FROM_DT").val("");
- return;
- }
- }
- if($("#NOTI_DY").val().length> 0){
- if($("#BID_FROM_DT").val() < $("#NOTI_DY").val()){
- alert("견적제출기간은 업체공지일 이전 일 수 없습니다.\n- 업체공지일:"+$("#NOTI_DY").val());
- $("#BID_FROM_DT").val("");
- return;
- }
- }
- if($("#BID_TO_DT").val().length> 0){
- if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
- alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
- $("#BID_FROM_DT").val("");
- return;
- }
- }
- });
-
- //견적제출기간 변경
- $("#BID_TO_DT").change(function() {
- if($("#BID_FROM_DT").val().length> 0){
- if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
- alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
- $("#BID_TO_DT").val("");
- return;
- }
- }
- if($("#SITEDESCDATE").val().length> 0){
- if($("#BID_TO_DT").val() < $("#SITEDESCDATE").val()){
- alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
- $("#BID_TO_DT").val("");
- return;
- }
- }
- });
-
- //견적제출기간 변경
- $("#DELI_START_DT").change(function() {
- if($("#DELI_END_DT").val().length> 0){
- if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
- alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
- $("#DELI_START_DT").val("");
- return;
- }
- }
- });
-
- //견적제출기간 변경
- $("#DELI_END_DT").change(function() {
- if($("#DELI_START_DT").val().length> 0){
- if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
- alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
- $("#DELI_END_DT").val("");
- return;
- }
- }
- });
-
- jQuery("#btn_row_del").click(function() {
- if(confirm("선택된 견적대상업체를 삭제 하시겠습니까?")){
- var rowcnt = sheet1.RowCount();
- if(rowcnt> 0){
- for(var r=0; r < rowcnt; r++)
- {
- if(sheet1.GetCellValue(r+1,"DEL_CHECK") == true){
- sheet1.SetCellValue(r+1,"STATUS","D");
- }
- }
- }
- jQuery("#fevent").val("SET_CORP_DELETE");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
- var result = Modular.view.IBSheet7.doSave(sheet1, url, jQuery("#form1"), false);
- }
- });
-
- $("#corp_add").click(function(){
- var win_id = "corp";
- var outitem = "<%=Order.get("OUT_ITEM_CD")%>";
- var link = "/common/corp/SuppChoicePop.screen";
- link += "?pop_win_id="+win_id+"&BID_KIND=P&OUT_ITEM_CD="+outitem;
- link += "&MATERIAL_GB="+$("#MATERIAL_GB").val();
- fLayerPop(win_id, link, 800,400, '','', 'NO');
- });
-
- $.test = function(resultVal)
- {
- for(var i=0; i < resultVal[0].length; i++)
- {
- var rowcnt = sheet1.RowCount();
- if(rowcnt> 0){
- for(var r=0; r < rowcnt; r++)
- {
-
- var vendor_no = sheet1.GetCellValue(r+1,"VENDOR_NO");
- if(vendor_no == resultVal[1][i]){
- alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
- return;
- }
- var vendor_nm = sheet1.GetCellValue(r+1,"VENDOR_NAME");
- if(vendor_nm == resultVal[2][i]){
- alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
- return;
- }
- }
- }
- //sheetObj.DataAutoTrim = false;
- var row = sheet1.DataInsert(-1);
- sheet1.SetCellValue(row,3,"구매팀");
- sheet1.SetCellValue(row,4,resultVal[1][i]);//corp_reg_no
- sheet1.SetCellValue(row,5,resultVal[2][i]);//corp_kor
- sheet1.SetCellValue(row,6,resultVal[3][i]);//rep_name
- sheet1.SetCellValue(row,7,resultVal[4][i]);//user_name
- sheet1.SetCellValue(row,9,resultVal[6][i]);//h_phon
- sheet1.SetCellValue(row,10,resultVal[7][i]);//email
- sheet1.SetCellValue(row,12,'');
- sheet1.SetCellValue(row,13,'');
- sheet1.SetCellValue(row,15,resultVal[0][i]);//corp_id
- sheet1.SetCellValue(row,14,"1720");
-
- }
- sheet1.FitColWidth();
- setTimeout(function(){ fLayerPopClose('corp');},100);
- };
-
- $("#CURRENCY_GB_YN").click(function() {if($(':checkbox[name="CURRENCY_GB_YN"]:checked').val() != "Y")$("#CURRENCY_GB_YN").val("N"); });
- $("#PBC_INSTALL_YN").click(function() {if($(':checkbox[name="PBC_INSTALL_YN"]:checked').val() != "Y")$("#PBC_INSTALL_YN").val("N"); });
- $("#PBC_COMMISS_YN").click(function() {if($(':checkbox[name="PBC_COMMISS_YN"]:checked').val() != "Y")$("#PBC_COMMISS_YN").val("N"); });
- $("#PBC_SPETOOL_YN").click(function() {if($(':checkbox[name="PBC_SPETOOL_YN"]:checked').val() != "Y")$("#PBC_SPETOOL_YN").val("N"); });
- $("#PBC_TEST_YN").click(function() {if($(':checkbox[name="PBC_TEST_YN"]:checked').val() != "Y")$("#PBC_TEST_YN").val("N"); });
- $("#PBC_DOC_YN").click(function() {if($(':checkbox[name="PBC_DOC_YN"]:checked').val() != "Y")$("#PBC_DOC_YN").val("N"); });
- $("#PBC_PACK_YN").click(function() {if($(':checkbox[name="PBC_PACK_YN"]:checked').val() != "Y")$("#PBC_PACK_YN").val("N"); });
- $("#PBC_LANDTRAN_YN").click(function() {if($(':checkbox[name="PBC_LANDTRAN_YN"]:checked').val() != "Y")$("#PBC_LANDTRAN_YN").val("N"); });
- $("#DELIVERY_CONDITION_YN").click(function() {if($(':checkbox[name="DELIVERY_CONDITION_YN"]:checked').val() != "Y")$("#DELIVERY_CONDITION_YN").val("N"); });
- $("#PBC_FEE_YN").click(function() {if($(':checkbox[name="PBC_FEE_YN"]:checked').val() != "Y")$("#PBC_FEE_YN").val("N"); });
- $("#PBC_OPTION_YN").click(function() {if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() != "Y")$("#PBC_OPTION_YN").val("N"); });
-
- /* 단가계약여부 예일경우 */
- if($("#div_po_flag_1").attr("checked") == "checked")
- $("#CURRENCY_GB_YN").attr("checked", false);
- if("Y" == "<%=Order.get("DIV_PO_YN")%>"){
- $("#CURRENCY_GB_YN").attr("checked", false);
- $("#CURRENCY_GB_YN").attr("disabled", true);
- }
-
- if($("#CMPT_CD").val() == "01"){
- $("#corp_add").hide();
- $("#btn_row_del").hide();
- }
-
- if("<%=Order.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Order.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Order.get("CBC_DERECT_TERM_CD2")%>"!=""){
- $("#addGuar").attr("checked", true);
- $(".checkAdd").show();
- }
- $("#addGuar").click(function(){
- var chk = $("#addGuar").is(":checked");
- if(chk){
- $(".checkAdd").show();
- }else{
- $(".checkAdd").hide();
- $("#PBC_DEFECT_CONDI2").val("");
- $("#CBC_DEFECT_DAY2").val("");
- $("#CBC_DERECT_TERM_CD2").val("");
- }
- });
-
- $("#report_emp_add").click(function(){
- SearchUser('REPORT_EMP','REPORT_EMP','N');
- });
-
- $("#report_emp_del").click(function() {
- if(confirm("삭제 하시겠습니까?")){
- $("#fevent").val("SET_REPORT_EMP_DELETE");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
- var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
- }
- });
- }
- function doSearchSheet(){
- $("#fevent").val("GET_CORP_LIST");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
- Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
- }
-
- function doSearchSheetitem(){
- $("#fevent").val("GET_ITEM_LIST");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
- Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
- }
- function doSearchSheet3(){
- $("#fevent").val("GET_REPORT_EMP_LIST");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
- Modular.view.IBSheet7.doSearch(sheet3, url, jQuery("#form1"), 30, "");
- }
- function doSaveSheet3(){
- $("#fevent").val("REPORT_EMP_UPDATE");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
- var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
- }
-
- function SearchUser(NAME,CODE,DEPT_YN){
- var GB = "";
- if(CODE == "PUREMPNO"){
- CODE = "";
- NAME = "";
- GB = "PUREMP";
- }else if(CODE == "REPORT_EMP"){
- CODE = "";
- NAME = "";
- GB = "REPORT_EMP";
- }
- var win_id = "_searchUserPopup";
- var link = "/lib/dlgSearchUserPop.screen";
- link += "?pop_win_id="+win_id;
- link += "&NAME="+NAME;
- link += "&CODE="+CODE;
- link += "&GB="+GB;
- if(DEPT_YN == "Y")
- link += "&deptNameYn=purchase";
- fLayerPop(win_id, link, 700,400, '', '', 'NO');
- }
-
- function SearchUserClose(result){
- if(result[10] == "PUREMP"){
- $("#PUREMPNO").val(result[9])//ACCT_ID
- $("#PUREMPNM").val(result[1])//이름
- $("#PO_EMPNM").val(result[6])//연락처
- }else if(result[10] == "REPORT_EMP"){
- var rowcnt = sheet3.RowCount();
- if(rowcnt> 0){
- for(var r=0; r < rowcnt; r++)
- {
- var acct_id = sheet3.GetCellValue(r+1,"ACCT_ID");
- if(acct_id == result[9]){
- alert(result[1]+" " +result[5]+ "님은 이미 등록된 보고자 입니다.");
- return;
- }
- }
- }
- //sheetObj.DataAutoTrim = false;
- var row = sheet3.DataInsert(-1);
- sheet3.SetCellValue(row,"ACCT_ID",result[9]);
- sheet3.SetCellValue(row,"USER_NAME",result[1]);
- sheet3.SetCellValue(row,"BUSEO_NAME",result[3]);
- sheet3.SetCellValue(row,"GRADE_NAME",result[5]);
- }
- setTimeout(function(){ fLayerPopClose('_searchUserPopup');},100);
- }
- /**
- * IBSheet object initialize
- */
- function gridInit(sheetName){
- var init_sheet = {};
- if(sheetName.id == "sheet1"){
- init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly};
- init_sheet.Cols = [
- {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
- {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
- {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
- {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_NM", Width:100, Align:"Center", Edit:false},
- {Header:'사업자번호', Type:"Text", SaveName:"VENDOR_NO", Width:100, Align:"Center", Edit:false,Format:"SaupNo"},
- {Header:'업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:100, Align:"Left", Edit:false},
- {Header:'대표자명', Type:"Text", SaveName:"REPRE_NO", Width:100, Align:"Center", Edit:false},
- {Header:'담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:100, Align:"Center", Edit:false},
- {Header:'전화번호', Type:"Text", SaveName:"CORP_TEL", Width:100, Align:"Center"},
- {Header:'핸드폰', Type:"Text", SaveName:"CHAGE_HP", Width:100, Align:"Center", Edit:false},
- {Header:'이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:130, Align:"Left", Edit:false},
- {Header:'추천사유', Type:"Text", SaveName:"RECOMMEND_REASON", Width:180, Align:"Left", Edit:false},
- {Header:'참석의사', Type:"Combo", SaveName:"SITE_ATTEND_YN", Width:80, Align:"Center", ComboText:"<%=BID_SUPP_SITEPARTI_NM%>", ComboCode:"<%=BID_SUPP_SITEPARTI_CD%>", Edit:false},
- {Header:'참석여부', Type:"Combo", SaveName:"SITEPARTI_YN", Width:80, Align:"Center", ComboText:"<%=BID_SUPP_SITEPARTI_NM2%>", ComboCode:"<%=BID_SUPP_SITEPARTI_CD2%>"},
- {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_ID", Width:0, Align:"Center", Hidden:"True"},
- {Header:'고객사코드', Type:"Text", SaveName:"VENDOR_CD", Width:0, Align:"Center", Hidden:"True"},
- {Header:'불참사유', Type:"Text", SaveName:"SITE_ATTEND_REASON", Width:0, Align:"Center", Hidden:"True"}
-
- ];
- }else if(sheetName.id == "sheet2"){
- init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly};
- init_sheet.Cols = [
- {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
- {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
- {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
- {Header:'자재코드|자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:80, Align:"Center"},
- {Header:'자재명|자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:120, Align:"Left"},
- {Header:'규격|규격', Type:"Text", SaveName:"STD", Width:60, Align:"Left"},
- {Header:'단위|단위', Type:"Text", SaveName:"UNIT_KIND", Width:40, Align:"Center"},
- {Header:'도급|단가', Type:"Int", SaveName:"CONT_UNIT_AMT", Width:60, Align:"Right"},
- {Header:'도급|금액', Type:"Int", SaveName:"CONT_AMT", Width:60, Align:"Right", CalcLogic:"|CONT_UNIT_AMT|*|DEMANDED_QTY|"},
- {Header:'실행|단가', Type:"Int", SaveName:"ACT_UNIT_AMT", Width:60, Align:"Right"},
- {Header:'실행|금액', Type:"Int", SaveName:"ACT_AMT", Width:60, Align:"Right", CalcLogic:"|ACT_UNIT_AMT|*|DEMANDED_QTY|"},
- {Header:'견적의뢰수량|견적의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:40, Align:"Right"},
- {Header:'투입요청일|투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:40, Align:"Center", Format:"####-##-##"}
- ];
- sheetName.SetEditable(false);
- }else{
- init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly,SizeMode:1};
- init_sheet.Cols = [
- {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
- {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
- {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
- {Header:'계정ID', Type:"Text", SaveName:"ACCT_ID", Width:0, Align:"Center", Hidden:"True"},
- {Header:'이름', Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center", Edit:false},
- {Header:'부서명', Type:"Text", SaveName:"BUSEO_NAME", Width:150, Align:"Left", Edit:false},
- {Header:'직위명', Type:"Text", SaveName:"GRADE_NAME", Width:100, Align:"Center", Edit:false}
- ];
- }
- init_sheet.HeaderMode = {Sort:1};
- IBS_InitSheet(sheetName, init_sheet);
- sheetName.SetDataAutoTrim(0);
- setGridSize();
- }
-
-
- function sheet1_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
- var Sn = sheet1.GetCellProperty(Row, Col, "SaveName");
- if(Sn == "SITE_ATTEND_YN"){
- if(sheet1.GetCellValue(Row,"SITE_ATTEND_YN") == "불참" ||sheet1.GetCellValue(Row,"SITE_ATTEND_YN") == "N"){
- var win_id = "_SitePop";
- var link = "/bid/purchase/BidSitePop.screen";
- link += "?pop_win_id="+win_id;
- link += "&VENDOR_CD="+sheet1.GetCellValue(Row,"VENDOR_CD");
- link += "&BID_NO="+$("#BID_NO").val();
- link += "&BID_DEG="+$("#BID_DEG").val();
-
- fLayerPop(win_id, link, 600,110, '', '', 'NO');
- }
- }
- }
- /**
- * IBSheet Event: Click
- */
- function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
-
- }
-
- /**
- * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
- */
- function sheet1_OnSearchEnd(code, message) {
- var fevent = $("#fevent").val();
- if(code == 0) {
-
- setGridSize();
- if(fevent == "GET_CORP_LIST")
- doSearchSheetitem();
- } else {
- //조회 에러 수행
- alert(message);
- }
- }
-
- /**
- * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
- */
- function sheet2_OnSearchEnd(code, message) {
- if(code == 0) {
- sheet2.FitColWidth();
- } else {
- //조회 에러 수행
- alert(message);
- }
- }
-
- /**
- * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
- */
- function sheet3_OnSearchEnd(code, message) {
- if(code == 0) {
- //sheet3.FitColWidth();
- //견적대상 업체 조회
- doSearchSheet();
- } else {
- //조회 에러 수행
- alert(message);
- }
- }
-
- /**
- * IBSheet size setting
- */
- function setGridSize() {
- sheet1.FitColWidth();
- sheet2.FitColWidth();
- }
-
- function cmpt_must_ck(){
- var rowcnt = sheet1.RowCount();
- if($("#CMPT_CD").val() == "03"){//수의계약
- if(rowcnt != 1){
- alert("견적 대상 업체가 1개 이어야 합니다.");
- $("#sheet1_div").focus();
- return true;
- }
- }else if($("#CMPT_CD").val() == "01" || $("#CMPT_CD").val() == "02"){//지명경쟁 공개경쟁
- if(rowcnt < 2){
- alert("견적 대상 업체가 2개 이상 있어야 합니다.");
- $("#sheet1_div").focus();
- return true;
- }
- }
- return false;
- }
-
- function must_ck(code){
- if(must_ck_val("BID_FROM_DT",""))return false;
- if(time_ck("BID_FROM_HH","HH"))return false;
- if(time_ck("BID_FROM_MI","MI"))return false;
- if(must_ck_val("BID_TO_DT",""))return false;
- if(time_ck("BID_TO_HH","HH"))return false;
- if(time_ck("BID_TO_MI","MI"))return false;
- if(jQuery("#BID_FROM_DT").val() == jQuery("#BID_TO_DT").val()){
- var fromitme = jQuery("#BID_FROM_HH").val()+jQuery("#BID_FROM_MI").val();
- var toitme = jQuery("#BID_TO_HH").val()+jQuery("#BID_TO_MI").val();
- if(toitme <= fromitme){
- alert("견적제출기간 시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
- jQuery("#BID_FROM_HH").focus();
- return false;
- }
- }
- if(must_ck_val("PUREMPNM",""))return false;
- if(must_ck_val("PO_EMPNM",""))return false;
- if(must_ck_val("OPEN_EMPNM",""))return false;
- if(report_emp_must_ck())return false;
- if(must_ck_radio("TBE_FLAG","TBE여부"))return false;
- if($(':radio[name="TBE_FLAG"]:checked').val() == "Y"){
- if(must_ck_val("SUPP_REQ_DY",""))return false;
- if(must_ck_val("EVAL_EMPNM",""))return false;
- }
- if($("#CURRENCY_GB").val()==""){
- alert("통화구분은 필수입니다.");
- $("#CURRENCY_GB").focus();
- return false;
- }
-
- if($(':radio[name="PBC_CBE_TYPE_CD"]:checked').val() == undefined){
- alert("CBE문서TYPE은 필수입니다.");
- $("#PBC_CBE_TYPE_CD").focus();
- return false;
- }
-
- if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() == "Y"){
- if($("#PBC_OPTION_COMMENT").val() == ""){
- alert("업체 견적내용 반영일 경우 내용을 입력하셔야 합니다.");
- $("#PBC_OPTION_COMMENT").focus();
- return false;
- }
- }
-
-
- if(code == "1"){
- var rowcnt = sheet1.RowCount();
- for(var r=0; r < rowcnt; r++)
- {
- if(sheet1.GetCellValue(r+1,"SITEPARTI_YN") == ""){
- alert(sheet1.GetCellValue(r+1,"VENDOR_NAME") + " 참석여부는 필수 입니다.");
- return false;
- }
- }
- }
-
- if($(':checkbox[name="CURRENCY_GB_YN"]:checked').val() != "Y")$("#CURRENCY_GB_YN").val("N");
- if($(':checkbox[name="PBC_INSTALL_YN"]:checked').val() != "Y")$("#PBC_INSTALL_YN").val("N");
- if($(':checkbox[name="PBC_COMMISS_YN"]:checked').val() != "Y")$("#PBC_COMMISS_YN").val("N");
- if($(':checkbox[name="PBC_SPETOOL_YN"]:checked').val() != "Y")$("#PBC_SPETOOL_YN").val("N");
- if($(':checkbox[name="PBC_TEST_YN"]:checked').val() != "Y")$("#PBC_TEST_YN").val("N");
- if($(':checkbox[name="PBC_DOC_YN"]:checked').val() != "Y")$("#PBC_DOC_YN").val("N");
- if($(':checkbox[name="PBC_PACK_YN"]:checked').val() != "Y")$("#PBC_PACK_YN").val("N");
- if($(':checkbox[name="PBC_LANDTRAN_YN"]:checked').val() != "Y")$("#PBC_LANDTRAN_YN").val("N");
- if($(':checkbox[name="DELIVERY_CONDITION_YN"]:checked').val() != "Y")$("#DELIVERY_CONDITION_YN").val("N");
- if($(':checkbox[name="PBC_FEE_YN"]:checked').val() != "Y")$("#PBC_FEE_YN").val("N");
- if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() != "Y")$("#PBC_OPTION_YN").val("N");
-
- return true;
- }
-
-
- // value 값 체크
- function must_ck_val(obj,desc){
- if($("#"+obj).val().length == 0){
- if(desc.length> 0){
- alert(desc+must_msg);
- }else{
- alert($("#"+obj).attr("desc")+must_msg);
- }
- $("#"+obj).focus();
- return true;
- }
- return false;
- }
-
- // radio 박스 체크
- function must_ck_radio(obj,name){
- var value = $(':radio[name='+obj+']:checked').val();
- if(value == undefined){
- alert(name+must_msg);
- $("#"+obj).focus();
- return true;
- }
- return false;
- }
-
- function time_ck(obj,type){
- if(must_ck_val(obj,""))return true;
- if(!isNumber($("#"+obj).val())){
- alert("숫자만 입력 가능합니다.");
- $("#"+obj).focus();
- return true;
- }else{
- var time = Number($("#"+obj).val());
- if(type == "HH"){
- if(time < -1 || time>= 24){
- alert("0~23 까지 입력 가능합니다.");
- $("#"+obj).focus();
- return true;
- }
- }else if(type == "MI"){
- if(time < -1 || time> 59){
- alert("0~59 까지 입력 가능합니다.");
- $("#"+obj).focus();
- return true;
- }
- }
- }
- if($("#"+obj).val().length == 1){
- var timelength = $("#"+obj).val();
- $("#"+obj).val("0"+timelength);
- }
- return false;
- }
- //보고자 체크
- function report_emp_must_ck(){
- var rowcnt = sheet3.RowCount();
- if(rowcnt < 1){
- alert("보고자는 필수입니다.");
- $("#sheet3_div").focus();
- return true;
- }
- return false;
- }
-
- //첨부파일
- function doAttachFile(obj,No) {
- if(obj==''){
- alert("After you have saved, you can attach a file.");
- }
- else if(obj != ''){
- if(No == 1){
- //viewFileList("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", "N", "Y", "N");
- viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "Y", "BD-001");
- }else{
- //viewFileList("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", "N", "Y", "N");
- viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "Y", "BD-001");
- }
- }
- }
-
- //견적대상업체 추가
- function doInsert(sheetObj) {
- sheetObj.DataAutoTrim = false;
- var rowIndex = sheet1.DataInsert(-1);
- sheet1.SetColProperty(rowIndex,3,info);
- sheet1.SetColProperty(rowIndex,4,info);
- sheet1.SetColProperty(rowIndex,5,info);
- sheet1.SetColProperty(rowIndex,6,info);
- sheet1.SetRowEditable(rowIndex,1);
- var info= {Edit:true};
- }
-
- function doResult(resultObj) {
- try {
- if( resultObj.getRequestEvent() == "FORM_UPDATE") {
- if( resultObj.getSuccess() ) {
- alert("저장 되었습니다.");
- $("#btn_list").click();
- }
- else {
- dlgErrorMsg(resultObj);
- }
- }
-
- if( resultObj.getRequestEvent() == "FORM_DELETE") {
- if( resultObj.getSuccess() ) {
- alert("삭제 되었습니다.");
- $("#btn_list").click();
- }
- else {
- dlgErrorMsg(resultObj);
- }
- }
- } catch(errorObject) {
- showErrorDlg("doResult()", errorObject);
- }
- }
-
- function sheet1_OnSmartResize(Width, Height) {
- sheet1.FitColWidth();
- sheet2.FitColWidth();
- autoResize();
-
- }
- function autoResize(){
- sheet1.SetSheetHeight(300);
- sheet2.SetSheetHeight(300);
- }
-
- function sheet1_OnSaveEnd(code, msg)
- {
- var event = $("#fevent").val();
- if(event == "COMPLETION"){
- doSaveSheet3();
- }else if(event == "COMPLETION"){
- alert("삭제되었습니다.");
- }else{
- if(code>= "0"){
- doSaveSheet3();
- }else{
- alert("에러가 발생하였습니다.\n"+msg);
- }
- }
- }
-
- function sheet3_OnSaveEnd(code, msg)
- {
- var event = $("#fevent").val();
- if(event == "SET_REPORT_EMP_DELETE"){
- if(code>= "0"){
- alert("삭제되었습니다.");
- doSearchSheet3();
- }else{
- alert("에러가 발생하였습니다.\n"+msg);
- document.form1.isSubmit = false;
- }
- }else if(event == "REPORT_EMP_UPDATE"){
- if(code>= "0"){
- if(btn_act == "to_completion"){
- alert("견적설명완료 처리를 하였습니다.");
- $("#btn_list").click();
- } else {
- alert("저장되었습니다.");
- $("#fevent").val("FORM_SELECT_SITE");
- $("#form1").attr("action", "/bid/purchase/SiteExplanIng.screen");
- $("#form1").attr("target", "_self");
- $("#form1").attr("method", "post");
- $("#form1").submit();
- }
- }else{
- alert("에러가 발생하였습니다.\n"+msg);
- }
- }
- }
- </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="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
- <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="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
- <INPUT type='hidden' name="SITEDESCDATE" value="<%=Order.get("SITEDESCDT")%>">
- <INPUT type='hidden' name="NOTI_DY" value="<%=Order.get("NOTI_DY")%>">
- <INPUT type='hidden' name="DIV_PO_YN" value="<%=Order.get("DIV_PO_YN")%>">
- <INPUT type='hidden' name="CMPT_CD" value="<%=Order.get("CMPT_CD")%>">
- <INPUT type='hidden' name="MATERIAL_GB" value="<%=Order.get("MATERIAL_GB")%>">
- <!-- 제목 및 버튼 -->
- <table width="100%">
- <colgroup>
- <col width="500" />
- <col width="*" />
- </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_completion"><a href="javascript:void(0);">견적설명완료</a></span>
- <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
- </td>
- </tr>
- </table>
-
- <div class="application-info magT10">
- <div class="application-sub-title">
- <span class="title">발주의뢰정보</span>
- </div>
- <div class="application-location">
- </div>
- </div>
- <!-- 발주의뢰정보 : 시작 -->
- <TABLE class="form-table">
- <colgroup>
- <col width="160"/>
- <col width="20%">
- <col width="160"/>
- <col width="20%">
- <col width="160"/>
- <col/>
- </colgroup>
- <TR height="25">
- <TH> 현장</TH>
- <TD><%=Order.get("dept_nm") %></TD>
- <TH> 발주의뢰번호</TH>
- <TD><%=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><%= Order.get("PAY_ITEM_NM") %></TD>
- <TH> 구매예산 (원)</TH>
- <TD><%=Formatter2.currency(Order.get("PUR_AMT"),0) %></TD> <!-- 2015.3.2 외주예산추가 MKLEE -->
- </TR>
- <TR height="25">
- <TH> 도급금액 (원)</TH>
- <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0) %></TD>
- <TH> 실행예산 (원)</TH>
- <TD><%=Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
- <TH> 도급대비실행율(%)</TH>
- <TD><%= Order.get("ACT_RATE")%></TD>
- </TR>
- <!-- 발주의뢰정보 : 종료 -->
- </table>
- <div class="application-info magT20">
- <div class="application-sub-title">
- <span class="title">입찰기본정보</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="160"/>
- <col width="160"/>
- <col width="29%"/>
- <col width="160"/>
- <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="2"><%=Order.get("BID_MASTER_NM")%></TD>
- <TH> 단가계약여부</TH>
- <TD><%if(!Order.get("DIV_PO_YN").isEmpty()){%><%=Order.get("DIV_PO_YN").equals("Y") ? "예" : "아니오" %><%}%></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>
- <div class="application-info magT20">
- <div class="application-sub-title">
- <span class="title">입찰진행</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="160"/>
- <col width="160"/>
- <col width="29%"/>
- <col width="160"/>
- <col />
- </colgroup>
- <TR height="25">
- <TH>업체공지일자</TH>
- <TD colspan="4"><%=Order.get("NOTI_DY")%></TD>
- </TR>
- <TR height="25">
- <TH rowspan="3"> 견적설명회 정보</TH>
- <TH> 여부</TH>
- <TD>
- <%=Order.get("SITEDESC_FLAG")%>
- </TD>
- <TH> 담당자</TD>
- <TD>
- <%=Order.get("SITEDESCCHRGPRSNNM")%><INPUT type='hidden' name="SITEDESCCHRGPRSNID" id="SITEDESCCHRGPRSNID" value="<%=Order.get("SITEDESCCHRGPRSNID")%>">
- </TD>
- </TR>
-
- <TR height="25">
- <TH> 담당자 전화번호</TH>
- <TD><%= Order.get("SITEDESCTELNO")%></TD>
- <TH> 일시</TH>
- <TD><%=Order.get("SITEDESCDATE")%></TD>
- </TR>
-
- <TR height="25">
- <TH> 담당자 E-Mail</TH>
- <TD><%=Order.get("SITEDESCEMAIL")%></TD>
- <TH> 장소</TH>
- <TD><%=Order.get("SITEDESCPLACE")%></TD>
- </TR>
-
- <TR height="25">
- <TH rowspan="4"> 견적 의뢰</TH>
- <TH class="required"> 견적제출기간</TH>
- <TD colspan="3">
- <%= InputText.get("BID_FROM_DT", Order.get("BID_FROM_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
- <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_FROM_DT');">
- <%= InputText.get("BID_FROM_HH", Order.get("BID_FROM_HH"), 2, 2, "desc=견적제출기간,Time") %> :
- <%= InputText.get("BID_FROM_MI", Order.get("BID_FROM_MI"), 2, 2, "desc=견적제출기간,Time") %> ~
- <%= InputText.get("BID_TO_DT", Order.get("BID_TO_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
- <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_TO_DT');">
- <%= InputText.get("BID_TO_HH", Order.get("BID_TO_HH"), 2, 2, "desc=견적제출기간,Time") %> :
- <%= InputText.get("BID_TO_MI", Order.get("BID_TO_MI"), 2, 2, "desc=견적제출기간,Time") %>
- </TD>
- </TR>
-
- <TR height="25">
- <TH class="required"> 구매담당자</TH>
- <TD>
- <%= InputText.get("PUREMPNM", Order.get("PUREMPNM"), 21, 60, "desc=구매담당자,readOnly") %><INPUT type='hidden' name="PUREMPNO" id="PUREMPNO" value="<%=Order.get("PUREMPNO")%>">
- <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('PUREMPNM','PUREMPNO','Y');">
- </TD>
- <TH class="required"> 구매담당자 전화번호</TH>
- <TD><%= InputText.get("PO_EMPNM", Order.get("PO_EMPNM"), 15, 13, "desc=구매담당자 전화번호") %> ex)02-0000-0000</TD>
- </TR>
-
- <TR height="25">
- <TH class="required"> 개찰자</TH>
- <TD colspan="3">
- <%= InputText.get("OPEN_EMPNM", Order.get("OPEN_EMPNM"), 21, 60, "desc=개찰자,readOnly") %><INPUT type='hidden' name="OPEN_EMPID" id="OPEN_EMPID" value="<%=Order.get("OPEN_EMPID")%>">
- <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('OPEN_EMPNM','OPEN_EMPID','N');">
- </TD>
- </TR>
- <TR height="25">
- <TH class="required"> 보고자</TH>
- <TD colspan="3">
- <div id="report_emp_btn" style="width:410px; margin-top:5px; text-align: right; height: 25px; vertical-align: top;">
- <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_add">추가</a></span>
- <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_del">삭제</a></span>
- </div>
- <div id="sheet3_div" style="width: 100%; height: 100%;">
- <script>createIBSheet('sheet3','100%', '100px');</script>
- </div>
- </TD>
- </TR>
-
- <TR height="25">
- <TH rowspan="2">기술검토(TBE)</TD>
- <TH class="required"> TBE 여부</TH>
- <TD>
- <LABEL for="sort_gb_3"><INPUT id="sort_gb_3" type="radio" name="TBE_FLAG" value="Y" desc="TBE 여부" <%=Order.get("TBE_FLAG").equals("Y") ? "checked=\"checked\"" : "" %>>예</LABEL>
- <LABEL for="sort_gb_4"><INPUT id="sort_gb_4" type="radio" name="TBE_FLAG" value="N" desc="TBE 여부" <%=Order.get("TBE_FLAG").equals("N") ? "checked=\"checked\"" : "" %>>아니오</LABEL>
- </TD>
- <TH class="required"> TBE 일자</TH>
- <TD><%= InputText.get("SUPP_REQ_DY", Order.get("SUPP_REQ_DY"), 15, 10, "persize,desc=TBE일자,readOnly") %>
- <IMG name="calender_supp_req" id="calender_supp_req" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('SUPP_REQ_DY');">
- </TD>
- </TR>
-
- <TR height="25">
- <TH class="required"> TBE 심사자</TH>
- <TD colspan="3">
- <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %><INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>">
- <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>
- </TR>
- <!-- 발주의뢰정보 : 종료 -->
- </table>
- <div class="application-info magT20">
- <div class="application-sub-title">
- <span class="title">입찰조건</span>
- </div>
- </div>
- <TABLE class="form-table">
- <colgroup>
- <col width="160"/>
- <col width="20%">
- <col width="160"/>
- <col width="20%">
- <col width="160"/>
- <col/>
- </colgroup>
- <TR height="25">
- <TH class="required">통화구분</TH>
- <TD>
- <LABEL for="CURRENCY_GB_YN"><INPUT type="checkbox" id="CURRENCY_GB_YN" name="CURRENCY_GB_YN" value="Y" <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체변경가능</LABEL>
- <%=CommCodeManager.getSelectCodeList("911","CURRENCY_GB","height=18;","<option value=''>--선택--</option>",Order.get("CURRENCY_GB")) %>
- </TD>
- <TH class="required">CBE문서 TYPE</TH>
- <TD colspan="3">
- <LABEL for="pbc_cbe_type_1"><INPUT id="pbc_cbe_type_1" type="radio" name="PBC_CBE_TYPE_CD" value="A" desc="CBE문서" <%=Order.get("PBC_CBE_TYPE_CD").equals("A") ? "checked=\"checked\"" : "" %> > A type</LABEL>
- <LABEL for="pbc_cbe_type_2"><INPUT id="pbc_cbe_type_2" type="radio" name="PBC_CBE_TYPE_CD" value="B" desc="CBE문서" <%=Order.get("PBC_CBE_TYPE_CD").equals("B") ? "checked=\"checked\"" : "" %> > B type</LABEL>
- </TD>
- </TR>
- <TR height="25">
- <TH>Installation</TH><!-- 설치비 포함여부 -->
- <TD><LABEL for="PBC_INSTALL_YN"><INPUT type="checkbox" id="PBC_INSTALL_YN" name="PBC_INSTALL_YN" value="Y" <%=Order.get("PBC_INSTALL_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- <TH>Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
- <TD><LABEL for="PBC_COMMISS_YN"><INPUT type="checkbox" id="PBC_COMMISS_YN" name="PBC_COMMISS_YN" value="Y" <%=Order.get("PBC_COMMISS_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- <TH>Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
- <TD><LABEL for="PBC_SPETOOL_YN"><INPUT type="checkbox" id="PBC_SPETOOL_YN" name="PBC_SPETOOL_YN" value="Y" <%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- </TR>
- <TR height="25">
- <TH>Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
- <TD><LABEL for="PBC_TEST_YN"><INPUT type="checkbox" id="PBC_TEST_YN" name="PBC_TEST_YN" value="Y" <%=Order.get("PBC_TEST_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- <TH>Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
- <TD><LABEL for="PBC_DOC_YN"><INPUT type="checkbox" id="PBC_DOC_YN" name="PBC_DOC_YN" value="Y" <%=Order.get("PBC_DOC_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- <TH>Packing cost</TH><!-- 포장비용 포함여부 -->
- <TD><LABEL for="PBC_PACK_YN"><INPUT type="checkbox" id="PBC_PACK_YN" name="PBC_PACK_YN" value="Y" <%=Order.get("PBC_PACK_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- </TR>
- <TR height="25">
- <TH>Inland Transportaion</TH><!-- 내륙운송비 -->
- <TD><LABEL for="PBC_LANDTRAN_YN"><INPUT type="checkbox" id="PBC_LANDTRAN_YN" name="PBC_LANDTRAN_YN" value="Y" <%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- <TH>Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
- <TD colspan="3"><LABEL for="DELIVERY_CONDITION_YN"><INPUT type="checkbox" id="DELIVERY_CONDITION_YN" name="DELIVERY_CONDITION_YN" value="Y" <%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체변경가능</LABEL>
- <%=CommCodeManager.getSelectCodeList("PUR_LEAD_GB","DELIVERY_CONDITION","height=18;","<option value=''>--선택--</option>",Order.get("DELIVERY_CONDITION")) %></TD>
- </TR>
- <TR height="25">
- <TH>OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
- <TD colspan="5">A. Supervision fee  <LABEL for="PBC_FEE_YN"><INPUT type="checkbox" id="PBC_FEE_YN" name="PBC_FEE_YN" value="Y" <%=Order.get("PBC_FEE_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL>
-    B. <%= InputText.get("PBC_OPTION_COMMENT", Order.get("PBC_OPTION_COMMENT"), 15, 50, "") %>  <LABEL for="PBC_OPTION_YN"><INPUT type="checkbox" id="PBC_OPTION_YN" name="PBC_OPTION_YN" value="Y" <%=Order.get("PBC_OPTION_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
- </TR>
- <TR height="25">
- <TH>Liquidated Damages</TH><!-- 지체상금 fix -->
- <TD colspan="5"><%= InputText.get("CBC_DAMAGE_RATE", Order.get("CBC_DAMAGE_RATE"), 5, 6, "Right,Float","Float") %>% <%=CommCodeManager.getSelectCodeList("LIQ_DMG_CD","CBC_DAMAGE_CD","height=18;","",Order.get("CBC_DAMAGE_CD")) %>, Max <%= InputText.get("CBC_DAMAGE_MAXRATE", Order.get("CBC_DAMAGE_MAXRATE"), 5, 6, "Right,Float","Float") %>%</TD>
- </TR>
- <TR height="25">
- <TH>선급금</TH>
- <TD><%= InputText.get("CBC_FIRST_RATE", Order.get("CBC_FIRST_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FIRST_CONDI", Order.get("PBC_FIRST_CONDI"), 20, 50, "") %></TD>
- <TH>중도금</TH>
- <TD><%= InputText.get("CPC_MID_RATE", Order.get("CPC_MID_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_MID_CONDI", Order.get("PBC_MID_CONDI"), 20, 50, "") %></TD>
- <TH>잔금</TH>
- <TD><%= InputText.get("PBC_REST_RATE", Order.get("PBC_REST_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_REST_CONDI", Order.get("PBC_REST_CONDI"), 20, 50, "") %></TD>
- </TR>
- <TR height="25">
- <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
- <TD><%= InputText.get("PBC_FRSTGUAR_RATE", Order.get("PBC_FRSTGUAR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FRSTGUAR_CONDI", Order.get("PBC_FRSTGUAR_CONDI"), 20, 50, "") %></TD>
- <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
- <TD><%= InputText.get("CONTFUL_RATE", Order.get("CONTFUL_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("CONTFUL_CONDI", Order.get("CONTFUL_CONDI"), 20, 50, "") %></TD>
- <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
- <TD><%= InputText.get("WARR_RATE", Order.get("WARR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("WARR_CONDI", Order.get("WARR_CONDI"), 20, 50, "") %></TD>
- </TR>
- <TR height="25">
- <TH>Guarantee Period</TH><!-- 하자보수기간 -->
- <TD colspan="3"><%= InputText.get("PBC_DEFECT_CONDI", Order.get("PBC_DEFECT_CONDI"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY", Order.get("CBC_DEFECT_DAY"), 2, 2, "Number","Number") %>
- <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD","height=18;","<option value=''>--선택--</option>",Order.get("CBC_DERECT_TERM_CD")) %> 간
- <input type="checkbox" id="addGuar" style="margin-top:2px">
- <span class="checkAdd" style="display:none;"> or
- <%= InputText.get("PBC_DEFECT_CONDI2", Order.get("PBC_DEFECT_CONDI2"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY2", Order.get("CBC_DEFECT_DAY2"), 2, 2, "Number","Number") %>
- <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD2","height=18;","<option value=''>--선택--</option>",Order.get("CBC_DERECT_TERM_CD2")) %> 간 선도래일
- </span>
- </TD>
- <TH>Delivery Period</TH><!-- 납기일 fix -->
- <TD>
- <%= InputText.get("DELI_FROM_DY", Order.get("DELI_FROM_DY"), 10, 10, "desc=Delivery Period From,center,readOnly") %>
- <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');"> ~
- <%= InputText.get("DELI_TO_DY", Order.get("DELI_TO_DY"), 10, 10, "desc=Delivery Period To,center,readOnly") %>
- <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
- </TD>
- </TR>
- </TABLE>
- <TABLE class="form-table" style="margin-top: 10px">
- <col width="160px"/>
- <col width="160px"/>
- <col width="29%"/>
- <col width="160px"/>
- <col/>
- <TR height="25">
- <TH>주요발주내용</TH>
- <TD colspan="2">
- <textarea name="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
- </TD>
- <TH>입찰업체선정사유</TH>
- <TD>
- <textarea name="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
- </TD>
- </TR>
- <TR height="25">
- <TH>특이사항 내부</TH>
- <TD colspan="2">
- <textarea name="INNER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("INNER_REMARKS")%></textarea>
- </TD>
- <TH> 특이사항 외부</TH>
- <TD>
- <textarea name="OUTER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("OUTER_REMARKS")%></textarea>
- </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>
- <table id=item_list width="100%">
- <colgroup>
- <col width="500" />
- <col width="*" />
- </colgroup>
- <tr>
- <th>
- <div class="application-info magT20">
- <div class="application-sub-title">
- <span class="title">견적의뢰내역</span>
- </div>
- </div>
- </th>
- <td align="right">
- </td>
- </tr>
- </table>
- <div id="sheet2_div" style="height: auto; min-height: 200px; overflow: auto;">
- <script>createIBSheet('sheet2','100%', '200px');</script>
- </div>
-
- <table width="100%" id="copr_list">
- <colgroup>
- <col width="500" />
- <col width="*" />
- </colgroup>
- <tr>
- <th>
- <div class="application-info magT15">
- <div class="application-sub-title">
- <span class="title">견적대상업체</span>
- </div>
- </div>
- </th>
- <td align="right">
- <span class="btnSearch center" id="corp_add"><a href="javascript:void(0);">추가</a></span>
- <span class="btnSearch center" id="btn_row_del"><a href="javascript:void(0);">삭제</a></span>
- </td>
- </tr>
- </table>
- <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
- <script>createIBSheet('sheet1','100%', '200px');</script>
- </div>
- </form>
|