SuppBidResult.jsp 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.08.08
  4. - Description: 입찰결과상세
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  8. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  9. <%@ page import="kr.co.udapsoft.common.code.*" %>
  10. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  11. <%@ page import="kr.co.hsnc.common.util.*"%>
  12. <%@ page import="kr.co.hsnc.common.sql.*" %>
  13. <%@ include file="/jsp/work/taglib.jsp" %>
  14. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  15. <%
  16. ctx.init(request, response);
  17. HandlerStorage storage = ctx.getHandlerStorage();
  18. ValueObject params = storage.getParams();
  19. ValueObject user = storage.getUser();
  20. ValueObject Order = storage.getValueObject("Order");
  21. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  22. String reason = "";
  23. boolean b_reason = false;
  24. if(Order.get("RNNC_REASON").length()> 0){
  25. reason = Order.get("RNNC_REASON");
  26. b_reason = true;
  27. }
  28. String bidflag = "<font color='red'><b>미투찰</b></font>";
  29. if(Order.get("SIGN_DT") != null){
  30. bidflag = "<font color='blue'><b>투찰</b></font>";
  31. }
  32. %>
  33. <SCRIPT language="JavaScript">
  34. /*예약함수*/
  35. var sheet1 = new ibsheetObject();
  36. var pageLastRowIndex = 1;
  37. var validationResult = false;
  38. var filterShow = false;
  39. var must_msg = "(은)는 필수 입력 항목입니다.";
  40. function _onReady(){
  41. /**
  42. * IBSheet object initialize
  43. */
  44. gridInit(sheet1);
  45. /**
  46. * Application Initialize
  47. */
  48. $("#btn_list").click(function() {
  49. $("#fevent").val("");
  50. $("#form1").attr("action", "/portal/bid/SuppBidResultList.screen");
  51. $("#form1").attr("target", "_self");
  52. $("#form1").attr("method", "post");
  53. $("#form1").submit();
  54. });
  55. $("#btn_signdata").click(function() {
  56. $("#fevent").val("FORM_SELECT");
  57. if($("#DEMANDED_KIND").val() == "O"){
  58. $("#form1").attr("action", "/portal/bid/OutEstmWriteView.screen");
  59. $("#form1").attr("target", "_self");
  60. $("#form1").attr("method", "post");
  61. $("#form1").submit();
  62. }else{
  63. $("#form1").attr("action", "/portal/bid/OutEstmWritePurchaseView.screen");
  64. $("#form1").attr("target", "_self");
  65. $("#form1").attr("method", "post");
  66. $("#form1").submit();
  67. }
  68. });
  69. $("#btn_giveup").click(function() {
  70. var win_id = "_BidGiveupPop";
  71. var link = "/portal/bid/BidGiveupPop.screen";
  72. link += "?pop_win_id="+win_id;
  73. link += "&VENDOR_CD="+$("#VENDOR_CD").val();
  74. link += "&BID_NO="+$("#BID_NO").val();
  75. link += "&BID_DEG="+$("#BID_DEG").val();
  76. fLayerPop(win_id, link, 600,190, '', '', 'NO');
  77. });
  78. //견적대상 업체 조회
  79. var esti = "<%=Order.get("ESTI_YN")%>";
  80. if(esti == "불가능" || esti == "입찰포기"){
  81. $("#btn_signdata").hide();
  82. $("#btn_giveup").hide();
  83. }
  84. if("<%=Order.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Order.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Order.get("CBC_DERECT_TERM_CD2")%>"!=""){
  85. $("#addGuar").attr("checked", true);
  86. $(".checkAdd").show();
  87. }
  88. doSearchSheet();
  89. }
  90. /**
  91. * IBSheet object initialize
  92. */
  93. function gridInit(sheetName){
  94. var init_sheet = {};
  95. init_sheet.Cfg = {SearchMode:2, Page:30};
  96. init_sheet.Cols = [
  97. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:50, Align:"Center", Hidden:"True"},
  98. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  99. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  100. {Header:'자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:80, Align:"Center"},
  101. {Header:'자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:220, Align:"Left"},
  102. {Header:'규격', Type:"Text", SaveName:"STD", Width:70, Align:"Left"},
  103. {Header:'단위', Type:"Text", SaveName:"UNIT_KIND", Width:50, Align:"Center"},
  104. {Header:'투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:80, Align:"Center"},
  105. {Header:'견적의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:80, Align:"Right"}
  106. ];
  107. init_sheet.HeaderMode = {Sort:1};
  108. IBS_InitSheet(sheetName, init_sheet);
  109. sheetName.SetDataAutoTrim(0);
  110. sheetName.SetEditable(false);
  111. setGridSize();
  112. }
  113. function doSignData(VendorCd, sContHash){
  114. unisign.SignDataNVerifyVID( sContHash, null, VendorCd, function( resultObject ) {
  115. if( !resultObject || resultObject.resultCode != 0 ){
  116. if( resultObject.resultCode == '14208'){
  117. alert("주민번호/사업자번호를 확인할 수 없는 인증서입니다.");
  118. } else if( resultObject.resultCode == '999'){
  119. alert("사용자 DN 선택이 취소 되었습니다.");
  120. } else {
  121. alert( resultObject.resultMessage);
  122. }
  123. return ;
  124. }
  125. var signeddata = resultObject.signedData;
  126. // var userdn = resultObject.certAttrs.subjectName;
  127. $('.b-iframe').get(0).contentWindow.doSetPop(signeddata);
  128. // $("#signeddata").val(signeddata);
  129. // return true;
  130. });
  131. }
  132. function doSearchSheet(){
  133. $("#fevent").val("GET_ITEM_LIST");
  134. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/QuotRequest_sheet.screen";
  135. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  136. }
  137. /**
  138. * IBSheet size setting
  139. */
  140. function setGridSize() {
  141. sheet1.FitColWidth();
  142. }
  143. function sheet1_OnSmartResize(Width, Height) {
  144. sheet1.FitColWidth();
  145. autoResize();
  146. }
  147. function autoResize(){
  148. sheet1.SetSheetHeight(300);
  149. }
  150. /**
  151. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  152. */
  153. function sheet1_OnSearchEnd(code, message) {
  154. if(code == 0) {
  155. setGridSize();
  156. <%if("Y".equals(Order.get("DIV_PO_YN"))){ %>
  157. var GrowCount = sheet1.LastRow();
  158. for(var i=0; i < GrowCount; i++)
  159. {
  160. sheet1.SetCellValue(i+1,"DEMANDED_QTY",1);
  161. }
  162. <%}%>
  163. } else {
  164. //조회 에러 수행
  165. alert(message);
  166. }
  167. }
  168. function fnact(){
  169. $("#fevent").val("FORM_SELECT");
  170. if($("#DEMANDED_KIND").val() == "O"){
  171. $("#form1").attr("action", "/portal/bid/OutEstmWriteView.screen");
  172. $("#form1").attr("target", "_self");
  173. $("#form1").attr("method", "post");
  174. $("#form1").submit();
  175. }else{
  176. $("#form1").attr("action", "/portal/bid/OutEstmWritePurchaseView.screen");
  177. $("#form1").attr("target", "_self");
  178. $("#form1").attr("method", "post");
  179. $("#form1").submit();
  180. }
  181. }
  182. function flist(){
  183. $("#fevent").val("");
  184. $("#form1").attr("action", "/portal/bid/SuppBidResultList.screen");
  185. $("#form1").attr("target", "_self");
  186. $("#form1").attr("method", "post");
  187. $("#form1").submit();
  188. }
  189. //첨부파일
  190. function doAttachFile(obj,No) {
  191. var file_div = "";
  192. <%if(!Order.get("DEMANDED_KIND").equals("O")){%>
  193. file_div = "bid/purchase/<%=Order.get("BID_NO")%>/";
  194. <%}else{%>
  195. file_div = "bid/outside/<%=Order.get("BID_NO")%>/";
  196. <%}%>
  197. if(obj==''){
  198. alert("After you have saved, you can attach a file.");
  199. }
  200. else if(obj != ''){
  201. if(No == 1){
  202. viewFileListNew("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", file_div);
  203. }else{
  204. viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", file_div);
  205. }
  206. }
  207. }
  208. function doResult(resultObj) {
  209. try {
  210. if( resultObj.getRequestEvent() == "FORM_UPDATE") {
  211. if( resultObj.getSuccess() ) {
  212. alert("저장 되었습니다.");
  213. $("#btn_list").click();
  214. }
  215. else {
  216. dlgErrorMsg(resultObj);
  217. }
  218. }
  219. if( resultObj.getRequestEvent() == "FORM_DELETE") {
  220. if( resultObj.getSuccess() ) {
  221. alert("삭제 되었습니다.");
  222. $("#btn_list").click();
  223. }
  224. else {
  225. dlgErrorMsg(resultObj);
  226. }
  227. }
  228. } catch(errorObject) {
  229. showErrorDlg("doResult()", errorObject);
  230. }
  231. }
  232. function PopClose(win_id,result){
  233. if( result != null ){
  234. if(result[0] == 0){
  235. setTimeout(function(){ fLayerPopClose(win_id);},100);
  236. if(result[1].length> 0)alert(result[1]);
  237. $("#btn_list").click();
  238. }
  239. }else{
  240. setTimeout(function(){ fLayerPopClose(win_id); },100);
  241. }
  242. }
  243. </SCRIPT>
  244. <modular:search id="form1">
  245. <modular:key id="fevent" />
  246. </modular:search>
  247. <form id="form1" name="form1" method="post" modular:type="search">
  248. <INPUT type='hidden' name="fevent" id="fevent" value="">
  249. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  250. <INPUT type='hidden' name="DEMANDED_KIND" value="<%=Order.get("DEMANDED_KIND")%>">
  251. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  252. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  253. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  254. <INPUT type='hidden' name="VENDOR_CD" value="<%=user.get("CORP_ID")%>">
  255. <INPUT type='hidden' name="FILE_GB" value="<%=Order.get("FILE_GB")%>">
  256. <table width="100%" border="0">
  257. <colgroup>
  258. <col width="*" />
  259. <col width="240" />
  260. </colgroup>
  261. <tr>
  262. <th>
  263. <div align="left" id="title" >
  264. <ul><li>입찰결과상세</li></ul>
  265. </div>
  266. </th>
  267. <td align="right">
  268. <span class="btnSearch center" id="btn_signdata"><a href="javascript:fnact();">제출견적서보기</a></span>
  269. <span class="btnSearch center" id="btn_list"><a href="javascript:flist();">목록</a></span>
  270. </td>
  271. </tr>
  272. </table>
  273. <%if(b_reason){ %>
  274. <div class="application-info">
  275. <div class="application-sub-title">
  276. <span class="title">입찰포기정보</span>
  277. </div>
  278. </div>
  279. <TABLE class="form-table">
  280. <colgroup>
  281. <col width="145"/>
  282. <col/>
  283. </colgroup>
  284. <TR height="25">
  285. <TH style="text-align:left">포기자명</TH>
  286. <TD colspan="5"><%=Order.get("BID_RNNC_NM")%></TD>
  287. </TR>
  288. <TR height="25">
  289. <TH style="text-align:left">포기일시</TH>
  290. <TD colspan="5"><%=Order.get("BID_RNNC_DT")%></TD>
  291. </TR>
  292. <TR height="25">
  293. <TH style="text-align:left">포기사유</TH>
  294. <TD colspan="5"><%=reason%></TD>
  295. </TR>
  296. </TABLE>
  297. <%}%>
  298. <div class="application-info magT10">
  299. <div class="application-sub-title">
  300. <span class="title">입찰기본정보</span>
  301. </div>
  302. </div>
  303. <!-- 발주의뢰정보 : 시작 -->
  304. <TABLE class="form-table">
  305. <colgroup>
  306. <col width="145"/>
  307. <col width="145"/>
  308. <col width="29%"/>
  309. <col width="145"/>
  310. <col/>
  311. </colgroup>
  312. <TR height="25">
  313. <TH style="text-align:left"> 입찰번호-차수</TH>
  314. <TD colspan="2"><%=Order.get("bid_no") %> - <%=Order.get("bid_deg") %></TD>
  315. <TH style="text-align:left"> 온라인입찰여부</TD>
  316. <TD><%=Order.get("ONBID_YN")%></TD>
  317. </TR>
  318. <TR height="25">
  319. <TH style="text-align:left"> 입찰명</TD>
  320. <TD colspan="4"><%=Order.get("BID_MASTER_NM")%></TD>
  321. </TR>
  322. <TR height="25">
  323. <TH style="text-align:left"> 경쟁방법</TD>
  324. <TD colspan="2"><%=Order.get("CMPT_NM") %></TD>
  325. <TH style="text-align:left"> 낙찰자선정방법</TD>
  326. <TD><%= Order.get("SUCC_NM") %></TD>
  327. </TR>
  328. <!-- 발주의뢰정보 : 종료 -->
  329. </table>
  330. <div class="application-info magT15">
  331. <div class="application-sub-title">
  332. <span class="title">입찰진행</span>
  333. </div>
  334. </div>
  335. <TABLE class="form-table">
  336. <colgroup>
  337. <col width="145"/>
  338. <col width="145"/>
  339. <col width="29%"/>
  340. <col width="145"/>
  341. <col/>
  342. </colgroup>
  343. <TR height="25">
  344. <TH style="text-align:left">공고일자</TD>
  345. <TD colspan="4">
  346. <%=Order.get("NOTI_DY") %>
  347. </TD>
  348. </TR>
  349. <TR height="25">
  350. <TH rowspan="4" style="text-align:left"> 견적설명회 정보</TD>
  351. <TH style="text-align:left"> 여부</TD>
  352. <TD><%=Order.get("SITEDESC_FLAG")%></TD>
  353. <TH style="text-align:left"> 담당자</TD>
  354. <TD><%=Order.get("SITEDESCCHRGPRSNNM")%></TD>
  355. </TR>
  356. <TR height="25">
  357. <TH style="text-align:left"> 담당자 전화번호</TD>
  358. <TD><%=Order.get("SITEDESCTELNO")%></TD>
  359. <TH style="text-align:left"> 일시</TD>
  360. <TD><%=Order.get("SITEDESCDATE")%></TD>
  361. </TR>
  362. <%
  363. String siteparti = "";
  364. if(Order.get("SITEPARTI_YN").equals("Y"))
  365. {
  366. siteparti = "<font color='blue'><b>참석</b></font>";
  367. }
  368. else
  369. {
  370. siteparti = "<font color='red'><b>미참석</b></font>";
  371. }
  372. %>
  373. <TR height="25">
  374. <TH style="text-align:left"> 담당자 E-Mail</TD>
  375. <TD><%=Order.get("SITEDESCEMAIL")%></TD>
  376. <TH style="text-align:left"> 장소</TD>
  377. <TD><%=Order.get("SITEDESCPLACE")%></TD>
  378. </TR>
  379. <TR height="25">
  380. <TH style="background:#ffe1b5;text-align:left">참석여부</TD>
  381. <TD colspan="3"><%=siteparti%></TD>
  382. </TR>
  383. <TR height="25">
  384. <TH style="text-align:left" rowspan="3"> 견적 의뢰</TD>
  385. <TH style="text-align:left"> 견적제출기간</TD>
  386. <TD colspan="3"><%=Order.get("BID_FROM_DT")%> ~<%=Order.get("BID_TO_DT")%>
  387. </TR>
  388. <TR height="25">
  389. <TH style="text-align:left"> <%if(Order.get("DEMANDED_KIND").equals("O")){%>외주<%}else{%>구매<%}%>담당자</TD>
  390. <TD><%=Order.get("PUREMPNM")%></TD>
  391. <TH style="text-align:left"> <%if(Order.get("DEMANDED_KIND").equals("O")){%>외주<%}else{%>구매<%}%>담당자 전화번호</TD>
  392. <TD><%=Order.get("PO_EMPNM")%></TD>
  393. </TR>
  394. <%
  395. String succ_nm = "";
  396. String SignDt = "";
  397. if(Order.get("SUCC_YN").equals("Y"))
  398. {
  399. succ_nm = "<font color='blue'><b>선정</b></font>";
  400. SignDt = "<font color='blue'><b>"+Order.get("SIGN_DT")+"</b></font>";
  401. }
  402. else
  403. {
  404. succ_nm = "<font color='red'><b>미선정</b></font>";
  405. SignDt = "<font color='red'><b>"+Order.get("SIGN_DT")+"</b></font>";
  406. }
  407. %>
  408. <TR height="25">
  409. <TH style="background:#ffe1b5;text-align:left"> 최종 견적제출시간</TD>
  410. <TD><B><%=SignDt%></B></TD>
  411. <TH style="background:#ffe1b5;text-align:left"> 투찰여부</TD>
  412. <TD><B><%=bidflag%></B></TD>
  413. </TR>
  414. <TR height="25">
  415. <TH rowspan="2" style="text-align:left">기술검토(TBE)</TD>
  416. <TH style="text-align:left">TBE 여부</TD>
  417. <TD>
  418. <%=Order.get("TBE_FLAG").equals("Y") ? "예" : "아니오"%>
  419. </TD>
  420. <TH style="text-align:left">TBE 일자</TD>
  421. <TD>
  422. <%=Order.get("SUPP_REQ_DY_NM")%>
  423. </TD>
  424. </TR>
  425. <TR height="25">
  426. <TH style="background:#ffe1b5;text-align:left">TBE 심사결과</TD>
  427. <TD colspan="3">
  428. <%=Order.get("EVAL_RESULT_NM")%>
  429. </TD>
  430. </TR>
  431. <TR height="25">
  432. <TH rowspan="2" style="text-align:left">입찰결과</TD>
  433. <TH style="background:#ffe1b5;text-align:left">선정여부</TD>
  434. <TD colspan="3"><%=succ_nm %></TD>
  435. </TR>
  436. <TR height="25">
  437. <TH style="background:#ffe1b5;text-align:left">진행상태</TD>
  438. <TD colspan="3">
  439. <%=Order.get("STATUS_NM")%>
  440. </TD>
  441. </TR>
  442. <!-- 발주의뢰정보 : 종료 -->
  443. </table>
  444. <div class="application-info magT15">
  445. <div class="application-sub-title">
  446. <span class="title">입찰조건</span>
  447. </div>
  448. </div>
  449. <%if(Order.get("DEMANDED_KIND").equals("O")){ %>
  450. <TABLE class="form-table">
  451. <colgroup>
  452. <col width="160"/>
  453. <col width="160"/>
  454. <col width="29%"/>
  455. <col width="160"/>
  456. <col/>
  457. </colgroup>
  458. <TR height="25">
  459. <TH style="text-align:left">통화구분</TH>
  460. <TD colspan="4"><%=Order.get("CURRENCY_GB_NM") %>
  461. </TD>
  462. </TR>
  463. <TR height="25">
  464. <TH style="text-align:left">계약형태</TH>
  465. <TD colspan="4">
  466. <%=Order.get("OBC_CONT_TYPE_NM") %>
  467. </TD>
  468. </TR>
  469. <TR height="50">
  470. <TH rowspan="2" style="text-align:left">공사대금</TH>
  471. <TH style="text-align:left">선급금</TH>
  472. <TD><% if(!Order.get("OBC_FRST_CONT_RATE").isEmpty()){%> 계약금액의 : <%= Order.get("OBC_FRST_CONT_RATE") %>%<br><%}%>
  473. <%= Order.get("OBC_FRST_CONDI") %><br>
  474. <%= Order.get("OBC_FRST_CNT_CONDI") %></TD>
  475. <TH style="text-align:left">기성금</TH>
  476. <TD><% if(!Order.get("CPC_MID_RATE").isEmpty()){%> 계약금액의 :<%= Order.get("CPC_MID_RATE")%>% ,<%}%><% if(!Order.get("OBC_MID_CASH_RATE").isEmpty()){%>현금 : <%= Order.get("OBC_MID_CASH_RATE")%>% <%}%><% if(!Order.get("OBC_MID_BILL_RATE").isEmpty()){%>어음 : <%= Order.get("OBC_MID_BILL_RATE")%>%<%}%><br>
  477. <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_MID_PAYDAY")%>일 내 지급<br>
  478. <% if(!Order.get("OBC_MID_BILL_DATE").isEmpty()){%>어음일 경우, 어음 만기일은 목적물 수령일로부터 (<%= Order.get("OBC_MID_BILL_DATE")%>)일<br><%} %>
  479. <%=Order.get("OBC_MID_REQ_MONTH")%>개월 당 <%=Order.get("OBC_MID_CNT")%>회 말일에 청구<%}%>
  480. </TD>
  481. </TR>
  482. <TR height="25">
  483. <TH style="text-align:left">준공금</TH>
  484. <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")%>%<%}%>
  485. <%-- <br><% if(!Order.get("OBC_FIN_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_FIN_PAYDAY")%>일 내 지급<%}%><br>
  486. <%=Order.get("OBC_FIN_CONDI") %></TD> --%>
  487. </TR>
  488. <TR height="25">
  489. <TH rowspan="2" style="text-align:left">보증조건</TH>
  490. <TH style="text-align:left">선급금보증</TH>
  491. <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){%>계약금액의 <%=Order.get("CBC_FIRST_RATE")%>%<%}%></TD>
  492. <TH style="text-align:left">계약이행 보증</TH>
  493. <TD><% if(!Order.get("CONTFUL_RATE").isEmpty()){%>계약금액의 <%= Order.get("CONTFUL_RATE") %>%<%}%></TD>
  494. </TR>
  495. <TR height="25">
  496. <TH style="text-align:left">하자이행 보증</TH>
  497. <TD><% if(!Order.get("WARR_RATE").isEmpty()){%>준공금액의 <%= Order.get("WARR_RATE")%>%<%}%></TD>
  498. <TH style="text-align:left">하자담보기간</TH>
  499. <TD><% if(!Order.get("CBC_DEFECT_DAY").isEmpty()){%>준공일로부터 <%= Order.get("CBC_DEFECT_DAY")%>개월<%}%></TD>
  500. </TR>
  501. <TR height="35">
  502. <TH style="text-align:left">기타조건</TH>
  503. <TH style="text-align:left">하도급대금<br>연동 기준비율</TH>
  504. <TD><% if(!Order.get("PAY_CON_RATE").isEmpty()){%> <%= Order.get("PAY_CON_RATE")%>%<%}%></TD>
  505. <TH style="text-align:left">지체상금</TH>
  506. <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>
  507. </TR>
  508. <TR height="25">
  509. <TH rowspan="6" style="text-align:left">간접비 견적조건</TH>
  510. <TH style="text-align:left">고용보험료</TH>
  511. <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
  512. <%}%><%=Order.get("OBC_EMP_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  513. <TH style="text-align:left">연금보험료</TH>
  514. <TD><% if(!Order.get("OBC_PENSION_RATE").isEmpty()){%>직접노무비 <%=Order.get("OBC_PENSION_RATE")%>% &nbsp &nbsp &nbsp&nbsp &nbsp &nbsp
  515. <%}%><%=Order.get("OBC_PENSION_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  516. </TR>
  517. <TR height="25">
  518. <TH style="text-align:left">건강보험료</TH>
  519. <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
  520. <%}%><%=Order.get("OBC_HEALTH_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  521. <TH style="text-align:left">노인장기보험료</TH>
  522. <TD><% if(!Order.get("OBC_ELDER_RATE").isEmpty()){%>건강보험료 * <%=Order.get("OBC_ELDER_RATE")%>% &nbsp &nbsp&nbsp &nbsp &nbsp
  523. <%}%><%=Order.get("OBC_ELDER_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  524. </TR>
  525. <TR height="25">
  526. <TH style="text-align:left">산재보험료</TH>
  527. <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
  528. <%}%><%=Order.get("OBC_WORK_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  529. <TH style="text-align:left">퇴직공제부금</TH>
  530. <TD><% if(!Order.get("OBC_RESIGN_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_RESIGN_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  531. <%}%><%=Order.get("OBC_RESIGN_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  532. </TR>
  533. <TR height="25">
  534. <TH style="text-align:left">안전관리비</TH>
  535. <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
  536. <%}%><%=Order.get("OBC_SAFE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  537. <TH style="text-align:left">환경관리비</TH>
  538. <TD><% if(!Order.get("OBC_ENV_RATE").isEmpty()){%>재료비 * <%= Order.get("OBC_ENV_RATE")%>% &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  539. <%}%><%=Order.get("OBC_ENV_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  540. </TR>
  541. <TR height="25">
  542. <TH style="text-align:left">현장관리비</TH>
  543. <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
  544. <%}%><%=Order.get("OBC_SITE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  545. <TH style="text-align:left">매입부가세</TH>
  546. <TD><% if(!Order.get("OBC_DUTY_RATE").isEmpty()){%>재료비 * 매입세율 <%= Order.get("OBC_DUTY_RATE")%>% &nbsp
  547. <%}%><%=Order.get("OBC_DUTY_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  548. </TR>
  549. <TR height="25">
  550. <TH style="text-align:left">간접비 정산조건</TH>
  551. <TD><%=Order.get("OBC_IND_YN").equals("Y") ? "<font color='blue'>[실적정산]</font>" : "<font color='red'>[비례정산]</font>" %></TD>
  552. <TH style="text-align:left">건설기계 수수료</TH>
  553. <TD><%=Order.get("OBC_WARR_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  554. </TR>
  555. </TABLE>
  556. <%}else{ %>
  557. <TABLE class="form-table">
  558. <colgroup>
  559. <col width="160"/>
  560. <col width="20%">
  561. <col width="160"/>
  562. <col width="20%">
  563. <col width="160"/>
  564. <col/>
  565. </colgroup>
  566. <TR height="25">
  567. <TH style="text-align:left">통화구분</TH>
  568. <TD colspan="5"><%=Order.get("CURRENCY_GB_NM") %>&nbsp&nbsp
  569. <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "[업체변경가능]" : "[업체변경불가능]" %>
  570. </TD>
  571. </TR>
  572. <TR height="25">
  573. <TH style="text-align:left">Installation</TH><!-- 설치비 포함여부 -->
  574. <TD><%=Order.get("PBC_INSTALL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  575. <TH style="text-align:left">Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  576. <TD><%=Order.get("PBC_COMMISS_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  577. <TH style="text-align:left">Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  578. <TD><%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  579. </TR>
  580. <TR height="25">
  581. <TH style="text-align:left">Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  582. <TD><%=Order.get("PBC_TEST_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  583. <TH style="text-align:left">Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  584. <TD><%=Order.get("PBC_DOC_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  585. <TH style="text-align:left">Packing cost</TH><!-- 포장비용 포함여부 -->
  586. <TD><%=Order.get("PBC_PACK_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  587. </TR>
  588. <TR height="25">
  589. <TH style="text-align:left">Inland Transportaion</TH><!-- 내륙운송비 -->
  590. <TD><%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  591. <TH style="text-align:left">Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  592. <TD colspan="3">
  593. <%if(!Order.get("DELIVERY_CONDITION_NM").isEmpty()){ %><%=Order.get("DELIVERY_CONDITION_NM") %>&nbsp&nbsp <%}%><%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "[업체변경가능]" : "[업체 변경 불가능]" %></TD>
  594. </TR>
  595. <TR height="25">
  596. <TH style="text-align:left">OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  597. <TD colspan="5">A. Supervision fee &nbsp <%=Order.get("PBC_FEE_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %>
  598. &nbsp&nbsp <%if(!Order.get("PBC_OPTION_COMMENT").isEmpty()){ %> B. <%= Order.get("PBC_OPTION_COMMENT")%>&nbsp<%=Order.get("PBC_OPTION_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %><%}%></TD>
  599. </TR>
  600. <TR height="25">
  601. <TH style="text-align:left">Liquidated Damages</TH><!-- 지체상금 fix -->
  602. <TD colspan="5"><%if(!Order.get("CBC_DAMAGE_RATE").isEmpty()){ %><%= Order.get("CBC_DAMAGE_RATE")%>% <%= Order.get("CBC_DAMAGE_NM")%>,<%}%>
  603. <%if(!Order.get("CBC_DAMAGE_MAXRATE").isEmpty()){ %>Max <%= Order.get("CBC_DAMAGE_MAXRATE")%>%<%}%></TD>
  604. </TR>
  605. <TR height="25">
  606. <TH style="text-align:left">선급금</TH>
  607. <TD><%=Order.get("CBC_FIRST_RATE") %>% <%= Order.get("PBC_FIRST_CONDI")%></TD>
  608. <TH style="text-align:left">중도금</TH>
  609. <TD><%= Order.get("CPC_MID_RATE")%>% <%=Order.get("PBC_MID_CONDI")%></TD>
  610. <TH style="text-align:left">잔금</TH>
  611. <TD><%= Order.get("PBC_REST_RATE") %>% <%=Order.get("PBC_REST_CONDI")%></TD>
  612. </TR>
  613. <TR height="25">
  614. <TH style="text-align:left">First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  615. <TD><%if(!Order.get("PBC_FRSTGUAR_RATE").isEmpty()){ %><%= Order.get("PBC_FRSTGUAR_RATE") %>% <%}%><%= Order.get("PBC_FRSTGUAR_CONDI")%></TD>
  616. <TH style="text-align:left">Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  617. <TD><%if(!Order.get("CONTFUL_RATE").isEmpty()){ %><%= Order.get("CONTFUL_RATE") %>%<%}%><%=Order.get("CONTFUL_CONDI") %></TD>
  618. <TH style="text-align:left">Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  619. <TD><%if(!Order.get("WARR_RATE").isEmpty()){ %><%= Order.get("WARR_RATE") %>%<%}%><%= Order.get("WARR_CONDI")%></TD>
  620. </TR>
  621. <TR height="25">
  622. <TH style="text-align:left">Guarantee Period</TH><!-- 하자보수기간 -->
  623. <TD colspan="3"><%=Order.get("PBC_DEFECT_CONDI") %><%=Order.get("CBC_DEFECT_DAY") %>
  624. <%=Order.get("CBC_DERECT_TERM_NM") %>간
  625. <input type="checkbox" id="addGuar" style="margin-top:2px; display:none;">
  626. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  627. <%=Order.get("PBC_DEFECT_CONDI2") %> <%=Order.get("CBC_DEFECT_DAY2")%>
  628. <%if(Order.get("CBC_DERECT_TERM_CD2").equals("01")){%>
  629. <span>일 간 중 선도래일</span>
  630. <%}else if(Order.get("CBC_DERECT_TERM_CD2").equals("02")){%>
  631. <span>개월 간 중 선도래일</span>
  632. <%} %>
  633. </span>
  634. </TD>
  635. <TH style="text-align:left">Delivery Period</TH><!-- 납기일 fix -->
  636. <TD><%if(!Order.get("DELI_FROM_DY").isEmpty() || !Order.get("DELI_TO_DY").isEmpty()){ %>
  637. <%=Order.get("DELI_FROM_DY_NM") %>~
  638. <%= Order.get("DELI_TO_DY_NM") %><%}%>
  639. </TD>
  640. </TR>
  641. </TABLE>
  642. <%} %>
  643. <TABLE class="form-table" style="margin-top:5px">
  644. <colgroup>
  645. <col width="160"/>
  646. <col/>
  647. </colgroup>
  648. <TR height="25">
  649. <TH style="text-align:left">특이사항</TH>
  650. <TD >
  651. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  652. </TD>
  653. </TR>
  654. <TR height="100">
  655. <TH style="text-align:left">첨부파일</TH>
  656. <TD>
  657. <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>
  658. <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;'>
  659. </TD>
  660. </TR>
  661. </TABLE>
  662. <%if(!Order.get("DEMANDED_KIND").equals("O")){ %>
  663. <div class="application-info magT15">
  664. <div class="application-sub-title">
  665. <span class="title">구매견적내역</span>
  666. </div>
  667. </div>
  668. <div id="sheet1_div" style="height: auto; min-height: 300px; overflow: auto;">
  669. <!-- <div id="sheet_div" style="padding-top:5px; width:100%; height:100%;" valign="top">-->
  670. <script>createIBSheet('sheet1','100%', '300px');</script>
  671. </div>
  672. <%} %>
  673. </form>
  674. <!-- 전자인증 모듈 설정 //-->
  675. <link rel="stylesheet" type="text/css" href="/CrossCert/CC_WSTD_home/unisignweb/rsrc/css/certcommon.css?v=1" />
  676. <script type="text/javascript" src="/CrossCert/CC_WSTD_home/unisignweb/js/unisignwebclient.js?v=1"></script>
  677. <script type="text/javascript" src="/CrossCert/UniSignWeb_Multi_Init_Nim.js?v=1"></script>
  678. <!-- 전자인증 모듈 설정 //-->