QuotRequest.jsp 41 KB

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