TBERequest.jsp 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.08.08
  4. - Description: 기술문서등록 상세
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="java.text.SimpleDateFormat" %>
  8. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  9. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  10. <%@ page import="kr.co.udapsoft.common.code.*" %>
  11. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. ValueObject Order = storage.getValueObject("Order");
  22. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  23. SimpleDateFormat sd = new SimpleDateFormat("yyyyMMdd");
  24. SimpleDateFormat sd2 = new SimpleDateFormat("yyyyMMddHHmm");
  25. String nowTime = sd.format(new Date());
  26. String to_yyyy = Order.get("BID_TO_DT").substring(0, 4);
  27. String to_MM = Order.get("BID_TO_DT").substring(5, 7);
  28. String to_dd = Order.get("BID_TO_DT").substring(8, 10);
  29. String to_hh = Order.get("BID_TO_DT").substring(11, 13);
  30. String to_mi = Order.get("BID_TO_DT").substring(14, 16);
  31. String nowTime_yyyy = nowTime.substring(0, 4);
  32. String nowTime_MM = nowTime.substring(4, 6);
  33. String nowTime_dd = nowTime.substring(6, 8);
  34. SimpleDateFormat SeverTime = new SimpleDateFormat("yyyy-MM-dd");
  35. String str = SeverTime.format(new Date());
  36. to_MM = (Integer.valueOf(to_MM)-1)+""; //2016.03.30 전자조달과 동일하게
  37. nowTime_MM = (Integer.valueOf(nowTime_MM)-1)+"";//2016.03.30
  38. boolean MODIFY_YN = true;
  39. boolean p_reason = false;
  40. boolean c_reason = false;
  41. boolean m_reason = false;
  42. if(Order.get("POSTPONE_REASON").length()> 0){
  43. p_reason = true;
  44. }else if(Order.get("CANCEL_REASON").length()> 0){
  45. c_reason = true;
  46. }
  47. if(Order.get("MODIFY_REASON").length()> 0){
  48. m_reason = true;
  49. }
  50. if(Order.getInt("MODIFY_CNT") > 0){
  51. MODIFY_YN = false;
  52. }
  53. %>
  54. <SCRIPT language="JavaScript">
  55. /*예약함수*/
  56. var sheet1 = new ibsheetObject();
  57. var sheet2 = new ibsheetObject();
  58. var pageLastRowIndex = 1;
  59. var validationResult = false;
  60. var filterShow = false;
  61. var must_msg = "(은)는 필수 입력 항목입니다.";
  62. var TBE_req_deg = "<%=Order.get("REQ_DEG")%>";
  63. var edit = "<%=Order.get("EDIT")%>";
  64. var filediv = "bid/";
  65. var doc_row = null;
  66. //TBE + CORP_ID + BID_NO + BID_DEG + 요청차수(REQ_DEG) + COUNT NUM
  67. var TBEFILE_GB = "TBE"+"<%=Order.get("VENDOR_CD")%>" + "<%=Order.get("BID_NO")%>" + "<%=Order.get("BID_DEG")%>";
  68. function _onReady(){
  69. $("#return_file").hide();
  70. /**
  71. * IBSheet object initialize
  72. */
  73. <%if(!"O".equals(Order.get("DEMANDED_KIND"))){%>
  74. gridInit(sheet1);
  75. <%}%>
  76. gridInit(sheet2);
  77. doSearchTBESheet();
  78. /**
  79. * Application Initialize
  80. */
  81. $("#btn_list").click(function() {
  82. //alert($("#return_file").val());
  83. $("#fevent").val("");
  84. $("#form1").attr("action", "/portal/bid/TBERequestList.screen");
  85. $("#form1").attr("target", "_self");
  86. $("#form1").attr("method", "post");
  87. $("#form1").submit();
  88. });
  89. $("#btn_save").click(function() {
  90. if(!TBE_file_Ck()){
  91. return;
  92. }
  93. if (confirm("저장 하시겠습니까?")){
  94. $("#fevent").val("SAVE");
  95. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/TBERequest_sheet.screen";
  96. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  97. }
  98. });
  99. $("#btn_tbe").click(function() {
  100. if(!TBE_file_Ck()){
  101. return;
  102. }
  103. if (confirm("문서를 최종제출 하시겠습니까?")){
  104. $("#fevent").val("TBE_SAVE");
  105. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/TBERequest_sheet.screen";
  106. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  107. }
  108. });
  109. $("#btn_radd").click(function() {
  110. var lastrow = sheet2.RowCount();
  111. var countnumber = sheet2.GetCellValue(1,"NUM")+1;
  112. var row = sheet2.DataInsert(1);
  113. var olddeg = sheet2.GetCellValue(2,"REQ_DEG");
  114. if(olddeg != TBE_req_deg)countnumber = 1;//요청 차수가 다른경우 카운트 1부터 다시 시작
  115. if(countnumber == 0 || countnumber == "" || countnumber == null)
  116. countnumber = 1;
  117. sheet2.SetCellValue(row,"REQ_DEG",$("#REQ_DEG").val());
  118. sheet2.SetCellValue(row,"EVAL_FILE_GB",TBEFILE_GB+""+$("#REQ_DEG").val()+""+countnumber);
  119. sheet2.SetCellValue(row,"NUM",countnumber);
  120. sheet2.SetCellValue(row,"EVAL_FILE_ID","<%=Order.get("DEMANDED_ID")%>");
  121. if(lastrow > 0){
  122. if(sheet2.GetCellValue(row+1,"REG_DT") == "" || sheet2.GetCellValue(row+1,"REG_DT") == null){
  123. sheet2.SetCellValue(row,"REG_DT",$("#REG_DT").val());
  124. }else{
  125. sheet2.SetCellValue(row,"REG_DT",sheet2.GetCellValue(row+1,"REG_DT"));
  126. }
  127. }
  128. });
  129. //삭제
  130. $("#btn_rdel").click(function() {
  131. var rowcnt = sheet2.RowCount();
  132. if(rowcnt> 0){
  133. var Save = true;
  134. for(var r=1; r < rowcnt+1; r++)
  135. {
  136. if(sheet2.GetCellValue(r,"DEL_CHECK") == 1 || sheet2.GetCellValue(r,"DEL_CHECK") == true){//이전차수 일경우 수정못하게
  137. Save = false;
  138. }
  139. }
  140. if(Save){
  141. alert("삭제할 문서를 선택해 주세요.");
  142. return;
  143. }
  144. if (confirm("선택된 문서를 삭제 하시겠습니까?")){
  145. for(var r=1; r < rowcnt+1; r++)
  146. {
  147. if(sheet2.GetCellValue(r,"DEL_CHECK") == 1 || sheet2.GetCellValue(r,"DEL_CHECK") == true){//이전차수 일경우 수정못하게
  148. sheet2.SetCellValue(r,"STATUS","D");
  149. sheet2.RowDelete(r,false);
  150. }
  151. }
  152. }
  153. }
  154. });
  155. //견적포기
  156. $("#btn_giveup").click(function() {
  157. var bid_to_dt = "<%=Order.get("BID_TO_DT")%>";
  158. var bid_from_dt = "<%=Order.get("BID_FROM_DT")%>";
  159. var today = "<%=str%>";
  160. var now = new Date();
  161. hours = now.getHours();
  162. if (hours < 10)
  163. hours = "0" + hours;
  164. minutes = now.getMinutes();
  165. now = today + " " + hours + ":" + minutes;
  166. var esti = "<%=Order.get("ESTI_YN")%>";
  167. if(bid_from_dt > now || bid_to_dt <= now){
  168. alert("견적서 제출 기간이 아닙니다.");
  169. return;
  170. }
  171. var win_id = "_BidGiveupPop";
  172. var link = "/portal/bid/BidGiveupPop.screen";
  173. link += "?pop_win_id="+win_id;
  174. link += "&VENDOR_CD="+$("#VENDOR_CD").val();
  175. link += "&BID_NO="+$("#BID_NO").val();
  176. link += "&BID_DEG="+$("#BID_DEG").val();
  177. fLayerPop(win_id, link, 600,210, '', '', 'NO');
  178. });
  179. var esti = "<%=Order.get("ESTI_YN")%>";
  180. if(esti == "불가능"){
  181. $("#btn_signdata").hide();
  182. $("#btn_giveup").hide();
  183. }else if(esti == "입찰포기"){
  184. $("#btn_signdata").hide();
  185. $("#btn_giveup").hide();
  186. $("#btn_save").hide();
  187. $("#btn_tbe").hide();
  188. }
  189. //return_file
  190. //견적대상 업체 조회
  191. $("#return_file").on("change",function() {
  192. var doc_nm = $("#return_file").val();
  193. if(doc_nm.length > 0){
  194. var doc1 = doc_nm.split(": ");
  195. var doc2 = doc1[1].split(" ( ");
  196. if(doc_row != null)sheet2.SetCellValue(doc_row,"FILE_NM",doc2[0]);
  197. }
  198. });
  199. if("<%=Order.get("DOC_ETC_IN")%>" == "O"){
  200. filediv += "outside/";
  201. }else{
  202. filediv += "purchase/";
  203. }
  204. filediv += "<%=Order.get("BID_NO")%>" +"/"+ "<%=Order.get("VENDOR_CD")%>";
  205. if(edit == "N"){//차수가 달라진 경우
  206. TBE_req_deg++;
  207. $("#REQ_DEG").val(TBE_req_deg);
  208. }
  209. var TBE_STATUS_CD = $("#TBE_STATUS_CD").val();
  210. if(TBE_STATUS_CD == "01" || TBE_STATUS_CD == "10"){//문서 제출 일경우 버튼 숨김.
  211. $("#btn_radd").hide();
  212. $("#btn_rdel").hide();
  213. $("#btn_save").hide();
  214. $("#btn_tbe").hide();
  215. }
  216. }
  217. /**
  218. * IBSheet object initialize
  219. */
  220. function gridInit(sheetName){
  221. var init_sheet = {};
  222. init_sheet.Cfg = {SearchMode:2, Page:30};
  223. if(sheetName.id == "sheet1"){
  224. init_sheet.Cols = [
  225. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:50, Align:"Center", Hidden:"True"},
  226. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  227. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  228. {Header:'자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:60, Align:"Center"},
  229. {Header:'자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:220, Align:"Left"},
  230. {Header:'규격', Type:"Text", SaveName:"STD", Width:70, Align:"Left"},
  231. {Header:'단위', Type:"Text", SaveName:"UNIT_KIND", Width:40, Align:"Center"},
  232. {Header:'투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:40, Align:"Center"},
  233. {Header:'견적의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:50, Align:"Right"}
  234. ];
  235. sheetName.SetEditable(false);
  236. }else{
  237. init_sheet.Cols = [
  238. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:50, ColMerge:false, Align:"Center"},
  239. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  240. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  241. {Header:'요청차수', Type:"Int", SaveName:"REQ_DEG", Width:60, ColMerge:false, Align:"Center", Edit:false},
  242. {Header:'문서명', Type:"Text", SaveName:"DOC_NM", Width:160, ColMerge:false, Align:"Left", EditLen:250},
  243. {Header:'파일명', Type:"Popup", SaveName:"FILE_NM", Width:140, ColMerge:false, Align:"Left" },
  244. {Header:'상태', Type:"Text", SaveName:"STATUS_NM", Width:60, ColMerge:false, Align:"Center", Edit:false},
  245. {Header:'의뢰일', Type:"Text", SaveName:"REG_DT", Width:60, ColMerge:false, Align:"Center", Edit:false},
  246. {Header:'작성일', Type:"Text", SaveName:"DOC_DT", Width:60, ColMerge:false, Align:"Center", Edit:false},
  247. {Header:'비고', Type:"Text", SaveName:"NOTI", Width:120, ColMerge:true, Align:"Left", Edit:false},
  248. {Header:'BID_NO', Type:"Text", SaveName:"BID_NO", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  249. {Header:'BID_DEG', Type:"Text", SaveName:"BID_DEG", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  250. {Header:'STATUS_CD', Type:"Text", SaveName:"STATUS_CD", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  251. {Header:'EVAL_FILE_GB', Type:"Text", SaveName:"EVAL_FILE_GB", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  252. {Header:'EVAL_FILE_ID', Type:"Text", SaveName:"EVAL_FILE_ID", Width:0, ColMerge:false, Align:"Center", Hidden:"True"},
  253. {Header:'NUM', Type:"Int", SaveName:"NUM", Width:0, ColMerge:false, Align:"Center", Hidden:"True"}
  254. ];
  255. sheetName.SetMergeSheet(msBaseColumnMerge);
  256. }
  257. init_sheet.HeaderMode = {Sort:0};
  258. IBS_InitSheet(sheetName, init_sheet);
  259. sheetName.SetDataAutoTrim(0);
  260. setGridSize();
  261. }
  262. function TBE_file_Ck(){
  263. var bChk = true;
  264. var rowcnt = sheet2.RowCount();
  265. if(rowcnt> 0){
  266. for(var r=1; r < rowcnt+1; r++)
  267. {
  268. if(sheet2.GetCellValue(r,"DOC_NM").length == 0){//이전차수 일경우 수정못하게
  269. alert("문서명은 필수 입니다.");
  270. $("#sheet2_div").focus();
  271. bChk = false;
  272. break;
  273. //return true;
  274. }
  275. if(sheet2.GetCellValue(r,"FILE_NM").length == 0){//같은 차수이나 재요청들어온경우 수정못하게
  276. alert("파일을 등록해 주세요.");
  277. $("#sheet2_div").focus();
  278. bChk = false;
  279. break;
  280. //return true;
  281. }
  282. }
  283. }else
  284. {
  285. alert("파일을 등록해 주세요.");
  286. bChk = false;
  287. }
  288. return bChk;
  289. }
  290. function doSearchSheet(){
  291. $("#fevent").val("GET_ITEM_LIST");
  292. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/TBERequest_sheet.screen";
  293. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  294. }
  295. function doSearchTBESheet(){
  296. $("#fevent").val("GET_TBE_LIST");
  297. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/TBERequest_sheet.screen";
  298. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
  299. }
  300. function sheet2_OnSaveEnd(code, msg)
  301. {
  302. var fevent = $("#fevent").val();
  303. if(code >= "0"){
  304. if(fevent == "SAVE"){
  305. alert("저장 되었습니다.");
  306. $("#fevent").val("FORM_SELECT");
  307. $("#form1").attr("action", "/portal/bid/TBERequest.screen");
  308. $("#form1").attr("target", "_self");
  309. $("#form1").attr("method", "post");
  310. $("#form1").submit();
  311. }
  312. if(fevent == "TBE_SAVE"){
  313. alert("최종제출 하였습니다.");
  314. $("#fevent").val("FORM_SELECT");
  315. $("#form1").attr("action", "/portal/bid/TBERequest.screen");
  316. $("#form1").attr("target", "_self");
  317. $("#form1").attr("method", "post");
  318. $("#form1").submit();
  319. }
  320. }else{
  321. alert("에러가 발생하였습니다.\n"+msg);
  322. }
  323. }
  324. /**
  325. * IBSheet Event: DBLCLICK
  326. */
  327. function sheet2_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  328. if(Col == 5){
  329. doc_row =Row;
  330. var filegb = sheet2.GetCellValue(Row,"EVAL_FILE_GB");
  331. var fileid = sheet2.GetCellValue(Row,"EVAL_FILE_ID");
  332. //수정 불가 행은 업로드 못하게 막기
  333. var upload = "Y";
  334. if(sheet2.GetRowEditable(Row) != 1){
  335. upload = "N";
  336. }
  337. if(sheet2.GetCellValue(Row,"STATUS_CD") == "01"){//문서제출인 경우 업로드나 삭제 불가능
  338. upload = "N";
  339. }
  340. viewFileListNew(filegb, fileid, document.form1.return_file, upload, filediv);
  341. }
  342. }
  343. /**
  344. * IBSheet size setting
  345. */
  346. function setGridSize() {
  347. <%if(!"O".equals(Order.get("DEMANDED_KIND"))){%>
  348. sheet1.FitColWidth();
  349. <%}%>
  350. sheet2.FitColWidth();
  351. autoResize();
  352. }
  353. function sheet1_OnSmartResize(Width, Height) {
  354. setGridSize();
  355. autoResize();
  356. }
  357. function autoResize(){
  358. <%if(!"O".equals(Order.get("DEMANDED_KIND"))){%>
  359. sheet1.SetSheetHeight(250);
  360. <%}%>
  361. sheet2.SetSheetHeight(250);
  362. }
  363. /**
  364. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  365. */
  366. function sheet1_OnSearchEnd(code, message) {
  367. var fevent = $("#fevent").val();
  368. if(code == 0) {
  369. setGridSize();
  370. } else {
  371. //조회 에러 수행
  372. alert(message);
  373. }
  374. }
  375. /**
  376. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  377. */
  378. function sheet2_OnSearchEnd(code, message) {
  379. var fevent = $("#fevent").val();
  380. if(code == 0) {
  381. var rowcnt = sheet2.RowCount();
  382. if(rowcnt> 0){
  383. for(var r=1; r < rowcnt+1; r++)
  384. {
  385. if(sheet2.GetCellValue(r,"REQ_DEG") < TBE_req_deg){//이전차수 일경우 수정못하게
  386. sheet2.SetRowEditable(r,false);
  387. }
  388. if(edit == "N"){
  389. if(sheet2.GetCellValue(r,"REQ_DEG") == TBE_req_deg){//같은 차수이나 재요청들어온경우 수정못하게
  390. sheet2.SetRowEditable(r,false);
  391. }
  392. }
  393. if(sheet2.GetCellValue(r,"STATUS_CD") == "01" ||sheet2.GetCellValue(r,"STATUS_CD") == "02" ||sheet2.GetCellValue(r,"STATUS_CD") == "10"){//문서제출 한 행은 수정 불가능
  394. sheet2.SetRowEditable(r,false);
  395. }
  396. }
  397. }
  398. if(fevent == "GET_TBE_LIST"){
  399. <%if(!"O".equals(Order.get("DEMANDED_KIND"))){%>
  400. doSearchSheet();
  401. <%}%>
  402. }
  403. setGridSize();
  404. } else {
  405. //조회 에러 수행
  406. alert(message);
  407. }
  408. }
  409. //첨부파일
  410. function doAttachFile(obj,No) {
  411. if(obj==''){
  412. alert("After you have saved, you can attach a file.");
  413. }
  414. else if(obj != ''){
  415. if(No == 1){
  416. viewFileListNew("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", filediv);
  417. }else{
  418. viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", filediv);
  419. }
  420. }
  421. }
  422. function doResult(resultObj) {
  423. try {
  424. if( resultObj.getRequestEvent() == "FORM_UPDATE") {
  425. if( resultObj.getSuccess() ) {
  426. alert("저장 되었습니다.");
  427. $("#btn_list").click();
  428. }
  429. else {
  430. dlgErrorMsg(resultObj);
  431. }
  432. }
  433. if( resultObj.getRequestEvent() == "FORM_DELETE") {
  434. if( resultObj.getSuccess() ) {
  435. alert("삭제 되었습니다.");
  436. $("#btn_list").click();
  437. }
  438. else {
  439. dlgErrorMsg(resultObj);
  440. }
  441. }
  442. } catch(errorObject) {
  443. showErrorDlg("doResult()", errorObject);
  444. }
  445. }
  446. function PopClose(win_id,result){
  447. if( result != null ){
  448. if(result[0] == 0){
  449. setTimeout(function(){ fLayerPopClose(win_id);},100);
  450. if(result[1].length> 0)alert(result[1]);
  451. $("#btn_list").click();
  452. }
  453. }else{
  454. setTimeout(function(){ fLayerPopClose(win_id); },100);
  455. }
  456. }
  457. function fLayerPopClose(layerID){
  458. $("#return_file").change();
  459. var oNode = document.getElementById(layerID);
  460. if(oNode != null)
  461. {
  462. $('#'+layerID+ '_divcontent').empty();
  463. $('#'+layerID).bPopup().close();
  464. document.body.removeChild(oNode);
  465. }
  466. }
  467. function doSignData(VendorCd, sContHash){
  468. unisign.SignDataNVerifyVID( sContHash, null, VendorCd, function( resultObject ) {
  469. if( !resultObject || resultObject.resultCode != 0 ){
  470. if( resultObject.resultCode == '14208'){
  471. alert("주민번호/사업자번호를 확인할 수 없는 인증서입니다.");
  472. } else if( resultObject.resultCode == '999'){
  473. alert("사용자 DN 선택이 취소 되었습니다.");
  474. } else {
  475. alert( resultObject.resultMessage);
  476. }
  477. return ;
  478. }
  479. var signeddata = resultObject.signedData;
  480. $('.b-iframe').get(0).contentWindow.doSetPop(signeddata);
  481. });
  482. }
  483. </SCRIPT>
  484. <modular:search id="form1">
  485. <modular:key id="fevent" />
  486. </modular:search>
  487. <form id="form1" name="form1" method="post" modular:type="search">
  488. <INPUT type='hidden' name="fevent" id="fevent" value="">
  489. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  490. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  491. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  492. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  493. <INPUT type='hidden' name="VENDOR_CD" value="<%=user.get("CORP_ID")%>">
  494. <INPUT type='hidden' name="FILE_GB" value="<%=Order.get("FILE_GB")%>">
  495. <INPUT type='hidden' name="REQ_DEG" value="<%=Order.get("REQ_DEG")%>">
  496. <INPUT type='hidden' name="REG_DT" value="<%=Order.get("REG_DT")%>">
  497. <INPUT type='hidden' name="TBE_STATUS_CD" value="<%=Order.get("TBE_STATUS_CD")%>">
  498. <table width="100%" border="0">
  499. <colgroup>
  500. <col width="*" />
  501. <col width="240" />
  502. </colgroup>
  503. <tr>
  504. <th>
  505. <div align="left" id="title" >
  506. <ul><li>기술문서등록 상세</li></ul>
  507. </div>
  508. </th>
  509. <td align="right">
  510. <span class="btnSearch center" id="btn_save"><a href="javascript:void(0);">저장</a></span>
  511. <span class="btnSearch center" id="btn_tbe"><a href="javascript:void(0);">최종제출</a></span>
  512. <span class="btnSearch center" id="btn_giveup"><a href="javascript:void(0);">입찰포기</a></span>
  513. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  514. </td>
  515. </tr>
  516. </table>
  517. <div class="application-info magT10">
  518. <div class="application-sub-title">
  519. <span class="title">입찰기본정보</span>
  520. </div>
  521. </div>
  522. <!-- 발주의뢰정보 : 시작 -->
  523. <TABLE class="form-table">
  524. <colgroup>
  525. <col width="145"/>
  526. <col width="145"/>
  527. <col width="29%"/>
  528. <col width="145"/>
  529. <col/>
  530. </colgroup>
  531. <TR height="25">
  532. <TH style="text-align:left"> 입찰번호-차수</TH>
  533. <TD colspan="2"><%=Order.get("bid_no") %>-<%=Order.get("bid_deg") %></TD>
  534. <TH style="text-align:left"> 온라인입찰여부</TH>
  535. <TD><%=Order.get("ONBID_YN").equals("Y") ? "온라인" : "오프라인"%></TD>
  536. </TR>
  537. <TR height="25">
  538. <TH style="text-align:left"> 입찰명</TH>
  539. <TD colspan="2"><%=Order.get("BID_MASTER_NM")%></TD>
  540. <TH style="text-align:left"> 경쟁방법</TH>
  541. <TD><%=Order.get("CMPT_NM") %></TD>
  542. </TR>
  543. <TR height="25">
  544. <%if(Order.get("DEMANDED_KIND").equals("O")){ %>
  545. <TH style="text-align:left">낙찰자선정방법</TH>
  546. <TD colspan="2"><%=Order.get("SUCC_NM") %></TD>
  547. <TH style="text-align:left"> 공종</TH>
  548. <TD><%= Order.get("OUT_ITEM_NM") %></TD>
  549. <%}else{ %>
  550. <TH style="text-align:left">낙찰자선정방법</TH>
  551. <TD colspan="4"><%=Order.get("SUCC_NM") %></TD>
  552. <%} %>
  553. </TR>
  554. <%if(Order.get("DEMANDED_KIND").equals("O")){ %>
  555. <TR height="25">
  556. <TH style="text-align:left">공사기간</TH>
  557. <TD colspan="2"><%=Order.get("DELI_FROM_DY_NM") %> <%if(!Order.get("DELI_FROM_DY_NM").isEmpty()||!Order.get("DELI_TO_DY_NM").isEmpty()){ %>~<%} %> <%=Order.get("DELI_TO_DY_NM") %></TD>
  558. <TH style="text-align:left"> 공사장소</TH>
  559. <TD><%= Order.get("DELIVERY_PLACE") %></TD>
  560. </TR>
  561. <%}else{ %>
  562. <TR height="25">
  563. <TH style="text-align:left">납품기간</TH>
  564. <TD colspan="2"><%=Order.get("DELI_START_DT") %> <%if(!Order.get("DELI_START_DT").isEmpty()||!Order.get("DELI_END_DT").isEmpty()){ %>~<%} %> <%=Order.get("DELI_END_DT") %></TD>
  565. <TH style="text-align:left"> 납품장소</TH>
  566. <TD><%= Order.get("DELI_END_PLACE") %></TD>
  567. </TR>
  568. <%}%>
  569. <!-- 발주의뢰정보 : 종료 -->
  570. </table>
  571. <%if(p_reason || m_reason || c_reason){ %>
  572. <div class="application-info magT15">
  573. <div class="application-sub-title">
  574. <span class="title">입찰사유</span>
  575. </div>
  576. </div>
  577. <TABLE class="form-table">
  578. <colgroup>
  579. <col width="145">
  580. <col/>
  581. </colgroup>
  582. <%if(c_reason){ %>
  583. <TR height="25">
  584. <TH style="text-align:left">취소사유</TH>
  585. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("CANCEL_REASON"))%></TD>
  586. </TR>
  587. <%} %>
  588. <%if(p_reason){ %>
  589. <TR height="25">
  590. <TH style="text-align:left">연기사유</TH>
  591. <TD style="vertical-align: top" ><%=StringUtils.cvtHTML(Order.get("POSTPONE_REASON"))%></TD>
  592. </TR>
  593. <%} %>
  594. <%if(m_reason){ %>
  595. <TR height="25">
  596. <TH style="text-align:left">정정사유</TH>
  597. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("MODIFY_REASON"))%></TD>
  598. </TR>
  599. <%} %>
  600. </TABLE>
  601. <%}%>
  602. <div class="application-info magT15">
  603. <div class="application-sub-title">
  604. <span class="title">입찰조건</span>
  605. </div>
  606. </div>
  607. <%if(Order.get("DEMANDED_KIND").equals("O")){ %>
  608. <TABLE class="form-table">
  609. <colgroup>
  610. <col width="145"/>
  611. <col width="145"/>
  612. <col width="29%"/>
  613. <col width="145"/>
  614. <col/>
  615. </colgroup>
  616. <TR height="25">
  617. <TH style="text-align:left">통화구분</TH>
  618. <TD colspan="4"><%=Order.get("CURRENCY_GB_NM") %>
  619. </TD>
  620. </TR>
  621. <TR height="25">
  622. <TH style="text-align:left">계약형태</TH>
  623. <TD colspan="4">
  624. <%=Order.get("OBC_CONT_TYPE_NM") %>
  625. </TD>
  626. </TR>
  627. <TR height="50">
  628. <TH rowspan="2" style="text-align:left">공사대금</TH>
  629. <TH style="text-align:left">선급금</TH>
  630. <TD><% if(!Order.get("OBC_FRST_CONT_RATE").isEmpty()){%> 계약금액의 : <%= Order.get("OBC_FRST_CONT_RATE") %>%<br><%}%>
  631. <%= Order.get("OBC_FRST_CONDI") %><br>
  632. <%= Order.get("OBC_FRST_CNT_CONDI") %></TD>
  633. <TH style="text-align:left">기성금</TH>
  634. <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>
  635. <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_MID_PAYDAY")%>일 내 지급<br>
  636. <%=Order.get("OBC_MID_REQ_MONTH")%>개월 당 <%=Order.get("OBC_MID_CNT")%>회 말일에 청구<%}%>
  637. </TD>
  638. </TR>
  639. <TR height="25">
  640. <TH style="text-align:left">준공금</TH>
  641. <TD colspan="3" style="text-align:left"><% 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")%>%<%}%>
  642. <%-- <br><% if(!Order.get("OBC_FIN_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_FIN_PAYDAY")%>일 내 지급<%}%><br>
  643. <%=Order.get("OBC_FIN_CONDI") %></TD> --%>
  644. </TR>
  645. <TR height="25">
  646. <TH rowspan="2" style="text-align:left">보증조건</TH>
  647. <TH style="text-align:left">선급금보증</TH>
  648. <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){%>계약금액의 <%=Order.get("CBC_FIRST_RATE")%>%<%}%></TD>
  649. <TH style="text-align:left">계약이행 보증</TH>
  650. <TD><% if(!Order.get("CONTFUL_RATE").isEmpty()){%>계약금액의 <%= Order.get("CONTFUL_RATE") %>%<%}%></TD>
  651. </TR>
  652. <TR height="25">
  653. <TH style="text-align:left">하자이행 보증</TH>
  654. <TD><% if(!Order.get("WARR_RATE").isEmpty()){%>준공금액의 <%= Order.get("WARR_RATE")%>%<%}%></TD>
  655. <TH style="text-align:left">하자담보기간</TH>
  656. <TD><% if(!Order.get("CBC_DEFECT_DAY").isEmpty()){%>준공일로부터 <%= Order.get("CBC_DEFECT_DAY")%>개월<%}%></TD>
  657. </TR>
  658. <TR height="35">
  659. <TH style="text-align:left">기타조건</TH>
  660. <TH style="text-align:left">하도급대금<br>연동 기준비율</TH>
  661. <TD><% if(!Order.get("PAY_CON_RATE").isEmpty()){%> <%= Order.get("PAY_CON_RATE")%>%<%}%></TD>
  662. <TH style="text-align:left">지체상금</TH>
  663. <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>
  664. </TR>
  665. <TR height="25">
  666. <TH rowspan="6" style="text-align:left">간접비 견적조건</TH>
  667. <TH style="text-align:left">고용보험료</TH>
  668. <TD><% if(!Order.get("OBC_EMP_RATE").isEmpty()){%>노무비 * <%= Order.get("OBC_EMP_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  669. <%}%><%=Order.get("OBC_EMP_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  670. <TH style="text-align:left">연금보험료</TH>
  671. <TD><% if(!Order.get("OBC_PENSION_RATE").isEmpty()){%>직접노무비 <%=Order.get("OBC_PENSION_RATE")%>% &nbsp &nbsp &nbsp&nbsp &nbsp &nbsp
  672. <%}%><%=Order.get("OBC_PENSION_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  673. </TR>
  674. <TR height="25">
  675. <TH style="text-align:left">건강보험료</TH>
  676. <TD><% if(!Order.get("OBC_HEALTH_RATE").isEmpty()){%>직접노무비 * <%=Order.get("OBC_HEALTH_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  677. <%}%><%=Order.get("OBC_HEALTH_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  678. <TH style="text-align:left">노인장기보험료</TH>
  679. <TD><% if(!Order.get("OBC_ELDER_RATE").isEmpty()){%>건강보험료 * <%=Order.get("OBC_ELDER_RATE")%>% &nbsp &nbsp&nbsp &nbsp &nbsp
  680. <%}%><%=Order.get("OBC_ELDER_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  681. </TR>
  682. <TR height="25">
  683. <TH style="text-align:left">산재보험료</TH>
  684. <TD><% if(!Order.get("OBC_WORK_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_WORK_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  685. <%}%><%=Order.get("OBC_WORK_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  686. <TH style="text-align:left">퇴직공제부금</TH>
  687. <TD><% if(!Order.get("OBC_RESIGN_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_RESIGN_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  688. <%}%><%=Order.get("OBC_RESIGN_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  689. </TR>
  690. <TR height="25">
  691. <TH style="text-align:left">안전관리비</TH>
  692. <TD><% if(!Order.get("OBC_SAFE_RATE").isEmpty()){%>노무비 * <%= Order.get("OBC_SAFE_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  693. <%}%><%=Order.get("OBC_SAFE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  694. <TH style="text-align:left">환경관리비</TH>
  695. <TD><% if(!Order.get("OBC_ENV_RATE").isEmpty()){%>재료비 * <%= Order.get("OBC_ENV_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  696. <%}%><%=Order.get("OBC_ENV_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  697. </TR>
  698. <TR height="25">
  699. <TH style="text-align:left">현장관리비</TH>
  700. <TD><% if(!Order.get("OBC_SITE_RATE").isEmpty()){%>직접비 * <%=Order.get("OBC_SITE_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  701. <%}%><%=Order.get("OBC_SITE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  702. <TH style="text-align:left">매입부가세</TH>
  703. <TD><% if(!Order.get("OBC_DUTY_RATE").isEmpty()){%>재료비 * 매입세율 <%= Order.get("OBC_DUTY_RATE")%>% &nbsp
  704. <%}%><%=Order.get("OBC_DUTY_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  705. </TR>
  706. <TR height="25">
  707. <TH style="text-align:left">간접비 정산조건</TH>
  708. <TD><%=Order.get("OBC_IND_YN").equals("Y") ? "<font color='blue'>[실적정산]</font>" : "<font color='red'>[비례정산]</font>" %></TD>
  709. <TH style="text-align:left">건설기계 수수료</TH>
  710. <TD><%=Order.get("OBC_WARR_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  711. </TR>
  712. </TABLE>
  713. <%}else{ %>
  714. <TABLE class="form-table">
  715. <colgroup>
  716. <col width="145"/>
  717. <col width="20%">
  718. <col width="145"/>
  719. <col width="20%">
  720. <col width="145"/>
  721. <col/>
  722. </colgroup>
  723. <TR height="25">
  724. <TH style="text-align:left">통화구분</TH>
  725. <TD colspan="5"><%=Order.get("CURRENCY_GB_NM") %>&nbsp&nbsp
  726. <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "[업체변경가능]" : "[업체변경불가능]" %>
  727. </TD>
  728. </TR>
  729. <TR height="25">
  730. <TH style="text-align:left">Installation</TH><!-- 설치비 포함여부 -->
  731. <TD><%=Order.get("PBC_INSTALL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  732. <TH style="text-align:left">Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  733. <TD><%=Order.get("PBC_COMMISS_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  734. <TH style="text-align:left">Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  735. <TD><%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  736. </TR>
  737. <TR height="25">
  738. <TH style="text-align:left">Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  739. <TD><%=Order.get("PBC_TEST_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  740. <TH style="text-align:left">Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  741. <TD><%=Order.get("PBC_DOC_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  742. <TH style="text-align:left">Packing cost</TH><!-- 포장비용 포함여부 -->
  743. <TD><%=Order.get("PBC_PACK_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  744. </TR>
  745. <TR height="25">
  746. <TH style="text-align:left">Inland Transportaion</TH><!-- 내륙운송비 -->
  747. <TD><%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  748. <TH style="text-align:left">Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  749. <TD colspan="3">
  750. <%if(!Order.get("DELIVERY_CONDITION_NM").isEmpty()){ %><%=Order.get("DELIVERY_CONDITION_NM") %>&nbsp&nbsp <%}%><%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "[업체변경가능]" : "[업체 변경 불가능]" %></TD>
  751. </TR>
  752. <TR height="25">
  753. <TH style="text-align:left">OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  754. <TD colspan="5">A. Supervision fee &nbsp <%=Order.get("PBC_FEE_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %>
  755. &nbsp&nbsp <%if(!Order.get("PBC_OPTION_COMMENT").isEmpty()){ %>B. <%= Order.get("PBC_OPTION_COMMENT")%>&nbsp<%=Order.get("PBC_OPTION_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %><%}%></TD>
  756. </TR>
  757. <TR height="25">
  758. <TH style="text-align:left">Liquidated Damages</TH><!-- 지체상금 fix -->
  759. <TD colspan="5"><%if(!Order.get("CBC_DAMAGE_RATE").isEmpty()){ %><%= Order.get("CBC_DAMAGE_RATE")%>% <%=Order.get("CBC_DAMAGE_NM") %>,<%}%>
  760. <%if(!Order.get("CBC_DAMAGE_MAXRATE").isEmpty()){ %>Max <%= Order.get("CBC_DAMAGE_MAXRATE")%>%<%}%></TD>
  761. </TR>
  762. <TR height="25">
  763. <TH style="text-align:left">선급금</TH>
  764. <TD><%if(!Order.get("CBC_FIRST_RATE").isEmpty()){ %><%= Order.get("CBC_FIRST_RATE") %>% <%}%><%= Order.get("PBC_FIRST_CONDI")%></TD>
  765. <TH style="text-align:left">중도금</TH>
  766. <TD><%if(!Order.get("CPC_MID_RATE").isEmpty()){ %><%= Order.get("CPC_MID_RATE") %>% <%}%><%=Order.get("PBC_MID_CONDI")%></TD>
  767. <TH style="text-align:left">잔금</TH>
  768. <TD><%if(!Order.get("PBC_REST_RATE").isEmpty()){ %><%= Order.get("PBC_REST_RATE") %>% <%}%><%=Order.get("PBC_REST_CONDI")%></TD>
  769. </TR>
  770. <TR height="25">
  771. <TH style="text-align:left">First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  772. <TD><%if(!Order.get("PBC_FRSTGUAR_RATE").isEmpty()){ %><%= Order.get("PBC_FRSTGUAR_RATE") %>% <%}%><%= Order.get("PBC_FRSTGUAR_CONDI")%></TD>
  773. <TH style="text-align:left">Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  774. <TD><%if(!Order.get("CONTFUL_RATE").isEmpty()){ %><%= Order.get("CONTFUL_RATE") %>%<%}%><%=Order.get("CONTFUL_CONDI") %></TD>
  775. <TH style="text-align:left">Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  776. <TD><%if(!Order.get("WARR_RATE").isEmpty()){ %><%= Order.get("WARR_RATE") %>%<%}%><%= Order.get("WARR_CONDI")%></TD>
  777. </TR>
  778. <TR height="25">
  779. <TH style="text-align:left">Guarantee Period</TH><!-- 하자보수기간 -->
  780. <TD colspan="3"><%=Order.get("PBC_DEFECT_CONDI") %><%=Order.get("CBC_DEFECT_DAY") %>
  781. <%=Order.get("CBC_DERECT_TERM_NM") %>간
  782. <input type="checkbox" id="addGuar" style="margin-top:2px; display:none;">
  783. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  784. <%=Order.get("PBC_DEFECT_CONDI2") %> <%=Order.get("CBC_DEFECT_DAY2")%>
  785. <%if(Order.get("CBC_DERECT_TERM_CD2").equals("01")){%>
  786. <span>일 간 중 선도래일</span>
  787. <%}else if(Order.get("CBC_DERECT_TERM_CD2").equals("02")){%>
  788. <span>개월 간 중 선도래일</span>
  789. <%} %>
  790. </span>
  791. </TD>
  792. <TH style="text-align:left">Delivery Period</TH><!-- 납기일 fix -->
  793. <TD><%if(!Order.get("DELI_FROM_DY").isEmpty() || !Order.get("DELI_TO_DY").isEmpty()){ %>
  794. <%=Order.get("DELI_FROM_DY_NM") %>~
  795. <%= Order.get("DELI_TO_DY_NM") %><%}%>
  796. </TD>
  797. </TR>
  798. </TABLE>
  799. <%} %>
  800. <TABLE class="form-table" style="margin-top:5px">
  801. <colgroup>
  802. <col width="145"/>
  803. <col/>
  804. </colgroup>
  805. <TR height="25">
  806. <TH style="text-align:left">특이사항</TH>
  807. <TD >
  808. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  809. </TD>
  810. </TR>
  811. <TR height="100">
  812. <TH style="text-align:left">첨부파일</TH>
  813. <TD>
  814. <TEXTAREA name="p_AttachFile2" id="p_AttachFile2" style="width:97%;height:80px" rows="1" class="input" readOnly><%=fileout.get(Order.get("DOC_ETC_OUT")) %></TEXTAREA>
  815. <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;'>
  816. </TD>
  817. </TR>
  818. </TABLE>
  819. <%if(!"O".equals(Order.get("DEMANDED_KIND"))){%>
  820. <div class="application-info magT15">
  821. <div class="application-sub-title">
  822. <span class="title">구매견적내역</span>
  823. </div>
  824. </div>
  825. <div id="sheet1_div" style="height: auto; min-height: 300px; overflow: auto;">
  826. <!-- <div id="sheet_div" style="padding-top:5px; width:100%; height:100%;" valign="top">-->
  827. <script>createIBSheet('sheet1','100%', '450px');</script>
  828. </div>
  829. <%}%>
  830. <div class="application-info magT15">
  831. <div class="application-sub-title">
  832. <span class="title">기술검토 정보</span>
  833. </div>
  834. </div>
  835. <TABLE class="form-table">
  836. <colgroup>
  837. <col width="160px"/>
  838. <col width="20%"/>
  839. <col width="160px"/>
  840. <col width="20%"/>
  841. <col width="160px"/>
  842. <col width="20%"/>
  843. </colgroup>
  844. <TR height="25">
  845. <TH style="text-align:left">심사자명</TH>
  846. <TD><%=Order.get("EVAL_EMPNM") %></TD>
  847. <TH style="text-align:left">심사자 연락처</TH>
  848. <TD><%=Order.get("EVAL_TEL")%></TD>
  849. <TH style="text-align:left">심사자 이메일</TH>
  850. <TD><%=Order.get("EVAL_EMAIL")%></TD>
  851. </TR>
  852. </TABLE>
  853. <table width="100%" border="0" style="margin-top:5px">
  854. <colgroup>
  855. <col width="*" />
  856. <col width="240" />
  857. </colgroup>
  858. <tr>
  859. <th align="left">
  860. <span style="color:red;">*CBE 관련문서는 견적서의뢰에 등록 하십시오.</span>
  861. </th>
  862. <td align="right">
  863. <span class="btnSearch center" id="btn_radd"><a href="javascript:void(0);">추가</a></span>
  864. <span class="btnSearch center" id="btn_rdel"><a href="javascript:void(0);">삭제</a></span>
  865. </td>
  866. </tr>
  867. </table>
  868. <div id="sheet2_div" style="height: auto; min-height: 300px; overflow: auto;">
  869. <!-- <div id="sheet_div" style="padding-top:5px; width:100%; height:100%;" valign="top">-->
  870. <script>createIBSheet('sheet2','100%', '300px');</script>
  871. </div>
  872. <textarea name="return_file" id="return_file" value=""></textarea>
  873. </form>
  874. <!-- 전자인증 모듈 설정 //-->
  875. <link rel="stylesheet" type="text/css" href="/CrossCert/CC_WSTD_home/unisignweb/rsrc/css/certcommon.css?v=1" />
  876. <script type="text/javascript" src="/CrossCert/CC_WSTD_home/unisignweb/js/unisignwebclient.js?v=1"></script>
  877. <script type="text/javascript" src="/CrossCert/UniSignWeb_Multi_Init_Nim.js?v=1"></script>
  878. <!-- 전자인증 모듈 설정 //-->