QuotRequest.jsp 45 KB

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