BidResult.jsp 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.08.08
  4. - Description: 외주_입찰결과상세
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="java.text.SimpleDateFormat" %>
  8. <%@ page import="java.util.Date" %>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="kr.co.udapsoft.common.code.*" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  15. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  16. <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
  17. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  18. <%@ include file="/jsp/work/taglib.jsp" %>
  19. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  20. <%
  21. ctx.init(request, response);
  22. HandlerStorage storage = ctx.getHandlerStorage();
  23. ValueObject params = storage.getParams();
  24. ValueObject user = storage.getUser();
  25. ValueObject Order = storage.getValueObject("Order");
  26. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  27. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  28. //공통코드
  29. CommCodeManager commCodeManager = new CommCodeManager();
  30. InitCombo initCombo = new InitCombo();
  31. initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_CHK_YN","DETAILCD","Y"), "DETAILNM", "DETAILCD");
  32. String BID_CHK_CD = initCombo.getCode();
  33. String BID_CHK_NM = initCombo.getCodeName();
  34. boolean o_reason = false; //2015.3.30 개찰의견
  35. boolean p_reason = false;
  36. boolean c_reason = false;
  37. boolean m_reason = false;
  38. boolean f_reason = false;
  39. if(Order.get("OPEN_OPINION").length()> 0){
  40. o_reason = true;
  41. }
  42. if(Order.get("POSTPONE_REASON").length()> 0){
  43. p_reason = true;
  44. }
  45. 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.get("FIB_REASON").length()> 0){
  52. f_reason = true;
  53. }
  54. ValueObject sign_info = storage.getValueObject("SIGN_INFO");
  55. String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  56. %>
  57. <SCRIPT language="JavaScript">
  58. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  59. /*예약함수*/
  60. var sheet1 = new ibsheetObject();
  61. var sheet2 = new ibsheetObject();
  62. var sheet1Row;
  63. var sheet1PageNo = 1;
  64. var pageLastRowIndex = 1;
  65. var validationResult = false;
  66. var filterShow = false;
  67. var succ_vendor = "";
  68. function _onReady(){
  69. /**
  70. * IBSheet object initialize
  71. */
  72. gridInit(sheet1);
  73. gridInit(sheet2);
  74. /**
  75. * Application Initialize
  76. */
  77. $("#btn_list").click(function() {
  78. $("#fevent").val("");
  79. $("#form1").attr("action", "/bid/outside/BidResultList.screen");
  80. $("#form1").attr("target", "_self");
  81. $("#form1").attr("method", "post");
  82. $("#form1").submit();
  83. });
  84. $("#btn_report").click(function() {
  85. var reportInfo = new ReportInfo();
  86. reportInfo.title = "견적대비표";
  87. reportInfo.reportName = "/report/mrd/buyer/bid/outside/bid_outside_rd.mrd";
  88. reportInfo.set($("#BID_NO").val()); // $1
  89. reportInfo.set($("#BID_DEG").val()); // $2
  90. reportInfo.width = 1000; // Default: 1024
  91. reportInfo.height = 700; // Default: 768
  92. reportInfo.showPopup();
  93. });
  94. $("#btn_tbecheckpop").click(function() {
  95. var win_id = "_TBECheckPop";
  96. var link = "/bid/outside/TBECheckPop.screen";
  97. link += "?pop_win_id="+win_id;
  98. link += "&BID_NO="+$("#BID_NO").val();
  99. link += "&BID_DEG="+$("#BID_DEG").val();
  100. fLayerPop(win_id, link, 900,210, '', '', 'YES');
  101. });
  102. //보고자 조회
  103. doSearchSheet2();
  104. }
  105. function doSearchSheet(){
  106. $("#fevent").val("GET_CORP_LIST");
  107. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidResult_sheet.screen";
  108. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  109. }
  110. function doSearchSheet2(){
  111. $("#fevent").val("GET_REPORT_EMP_LIST");
  112. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidPlan_sheet.screen";
  113. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
  114. }
  115. /**
  116. * IBSheet object initialize
  117. */
  118. function gridInit(sheetName){
  119. var init_sheet = {};
  120. if(sheetName.id == "sheet1"){
  121. init_sheet.Cfg = {SearchMode:2, Page:30 , MergeSheet:msHeaderOnly};
  122. init_sheet.Cols = [
  123. {Header:'삭제|삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  124. {Header:'Status|Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  125. {Header:'No.|No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  126. {Header:'지명부서|지명부서', Type:"Text", SaveName:"RECM_DEPT_NM", Width:100, Align:"Center" },
  127. {Header:'사업자번호|사업자번호', Type:"Text", SaveName:"VENDOR_NO", Width:100, Align:"Center", Format:"SaupNo"},
  128. {Header:'업체명|업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:100, Align:"Left" },
  129. {Header:'대표자명|대표자명', Type:"Text", SaveName:"REPRE_NO", Width:0, Align:"Center" },
  130. {Header:'담당자명|담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:110, Align:"Center" },
  131. {Header:'핸드폰|핸드폰', Type:"Text", SaveName:"CHAGE_HP", Width:100, Align:"Center" },
  132. {Header:'이메일|이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:150, Align:"Left" },
  133. {Header:'견적금액|견적금액', Type:"Text", SaveName:"ESTI_TOT_AMT", Width:100, Align:"Right", Cursor:"pointer"},
  134. {Header:'견적대비 \n실행율(%)|견적대비 \n실행율(%)', Type:"Text", SaveName:"ESTI_TOT_RATE", Width:100, Align:"Right" },
  135. {Header:'기술검토(TBE)|첨부파일', Type:"Text", SaveName:"FILE_CNT", Width:100, Align:"Center", Hidden:"True" },
  136. {Header:'기술검토(TBE)|TBE여부', Type:"Combo", SaveName:"TBEEVALUATE_YN", Width:100, Align:"Center", ComboText:"<%=BID_CHK_NM%>", ComboCode:"<%=BID_CHK_CD%>", Hidden:"True"},
  137. {Header:'기술검토(TBE)|기술검토(TBE)', Type:"Text", SaveName:"EVAL_RESULT_NM", Width:100, Align:"Center"},
  138. {Header:'업체\n선정|업체\n선정', Type:"Combo", SaveName:"SUCC_YN", Width:100, Align:"Center", ComboText:"<%=BID_CHK_NM%>", ComboCode:"<%=BID_CHK_CD%>"},
  139. {Header:'결격\n사유|결격\n사유', Type:"PopupEdit", SaveName:"DISQ_YN", Width:100, Align:"Center", Hidden:"True"},
  140. {Header:'DISQ_REASON|DISQ_REASONO', Type:"Text", SaveName:"DISQ_REASON", Width:100, Align:"Center", Hidden:"True"},
  141. {Header:'BID_NO|BID_NO', Type:"Text", SaveName:"BID_NO", Width:100, Align:"Center", Hidden:"True"},
  142. {Header:'BID_DEG|BID_DEG', Type:"Text", SaveName:"BID_DEG", Width:100, Align:"Center", Hidden:"True"},
  143. {Header:'VENDOR_CD|VENDOR_CD', Type:"Text", SaveName:"VENDOR_CD", Width:100, Align:"Center", Hidden:"True"},
  144. {Header:'FILE_GB|FILE_GB', Type:"Text", SaveName:"FILE_GB", Width:100, Align:"Center", Hidden:"True"},
  145. {Header:'EVAL_RESULT|EVAL_RESULT', Type:"Text", SaveName:"EVAL_RESULT", Width:100, Align:"Center", Hidden:"True"},
  146. {Header:'SIGN_DT|SIGN_DT', Type:"Text", SaveName:"SIGN_DT", Width:100, Align:"Center", Hidden:"True"}
  147. ];
  148. }else{
  149. init_sheet.Cfg = {SearchMode:2, Page:30 , MergeSheet:msHeaderOnly,SizeMode:1};
  150. init_sheet.Cols = [
  151. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  152. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  153. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  154. {Header:'계정ID', Type:"Text", SaveName:"ACCT_ID", Width:0, Align:"Center", Hidden:"True"},
  155. {Header:'이름', Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center", Edit:false},
  156. {Header:'부서명', Type:"Text", SaveName:"BUSEO_NAME", Width:150, Align:"Left", Edit:false},
  157. {Header:'직위명', Type:"Text", SaveName:"GRADE_NAME", Width:100, Align:"Center", Edit:false}
  158. ];
  159. }
  160. init_sheet.HeaderMode = {Sort:1};
  161. IBS_InitSheet(sheetName, init_sheet);
  162. sheetName.SetDataAutoTrim(0);
  163. sheetName.SetEditable(false);
  164. setGridSize();
  165. }
  166. /**
  167. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  168. */
  169. function sheet1_OnSearchEnd(code, message) {
  170. if(code == 0) {
  171. setGridSize();
  172. sheet1.SetColFontColor("ESTI_TOT_AMT", "#0000ff");
  173. var GrowCount = sheet1.LastRow();
  174. for(var i=1; i < GrowCount+1; i++)
  175. {
  176. if(sheet1.GetCellValue(i, "SUCC_YN") == "Y"){
  177. sheet1.SetRowBackColor(i,"#ffffcc");
  178. //sheet1.SetCellBackColor(i, "UNIT_COST", "#ccff99");
  179. sheet1.SetRangeFontBold(i,0,i,15,true);
  180. }
  181. }
  182. } else {
  183. //조회 에러 수행
  184. alert(message);
  185. }
  186. }
  187. /**
  188. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  189. */
  190. function sheet2_OnSearchEnd(code, message) {
  191. if(code == 0) {
  192. //sheet2.FitColWidth();
  193. //견적대상 업체 조회
  194. doSearchSheet();
  195. } else {
  196. //조회 에러 수행
  197. alert(message);
  198. }
  199. }
  200. /**
  201. * IBSheet size setting
  202. */
  203. function setGridSize() {
  204. sheet1.FitColWidth();
  205. }
  206. function f_gologin(login_id,login_pw){
  207. var f = document.form1;
  208. if('<%= user.get("ACCT_TYPE_CODE")%>' != "ADMIN"){
  209. alert("User who logged in as administrator only can do automatic log-in.");
  210. return;
  211. }
  212. f.login_id.value = login_id;
  213. f.login_pw.value = login_pw;
  214. if( !submitXmlRequest("/sign_on_check", "", document.form1) ) {
  215. alert("Log-in is being processed.");
  216. };
  217. }
  218. //첨부파일
  219. function doAttachFile(obj,No) {
  220. var file_div = "bid/outside/"+"<%=Order.get("BID_NO")%>"+"/";
  221. var fileName = "<%=Order.get("DEMANDED_NO")%>" + "(" + "<%=Order.get("DEMANDED_TITLE")%>" + ")_";
  222. if(obj==''){
  223. alert("After you have saved, you can attach a file.");
  224. }
  225. else if(obj != ''){
  226. if(No == 1){
  227. fileName += "내부자료";
  228. <%-- viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "N", file_div); --%>
  229. viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "N", file_div, null, null, null, null, "Y", fileName);
  230. }else if(No == 2){
  231. fileName += "외부자료";
  232. <%-- viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "N", file_div); --%>
  233. viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "N", file_div, null, null, null, null, "Y", fileName);
  234. }
  235. }
  236. }
  237. function sheet1_OnSmartResize(Width, Height) {
  238. sheet1.FitColWidth();
  239. autoResize();
  240. }
  241. function autoResize(){
  242. sheet1.SetSheetHeight(170);
  243. }
  244. /**
  245. * IBSheet Event: Click
  246. */
  247. function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  248. if(Col == 10){
  249. if(Value != ""){
  250. var win_id = "_BidAmtPop";
  251. var link = "/bid/outside/BidAmtPop.screen";
  252. link += "?pop_win_id="+win_id;
  253. link += "&ROW="+Row;
  254. link += "&VENDOR_CD="+sheet1.GetCellValue(Row,"VENDOR_CD");
  255. link += "&BID_NO="+sheet1.GetCellValue(Row,"BID_NO");
  256. link += "&BID_DEG="+sheet1.GetCellValue(Row,"BID_DEG");
  257. link += "&FILE_GB="+sheet1.GetCellValue(Row,"FILE_GB");
  258. link += "&VENDOR_NO="+sheet1.GetCellValue(Row,"VENDOR_NO");
  259. link += "&ESTI_TOT_AMT="+sheet1.GetCellValue(Row,"ESTI_TOT_AMT");
  260. link += "&SIGN_DT="+sheet1.GetCellValue(Row,"SIGN_DT");
  261. link += "&DEMANDED_ID="+$("#DEMANDED_ID").val();
  262. fLayerPop(win_id, link, 1000,600, '', '', 'NO');
  263. }
  264. }
  265. }
  266. function doSignFile(doc_id){
  267. //alert(doc_id);
  268. if(doc_id == ""){
  269. alert("결재 정보가 없습니다.");
  270. return;
  271. }
  272. var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
  273. doc_chk = doc_chk * 1;
  274. var link = "";
  275. var year = "<%=sign_info.get("year") %>";
  276. if (year > "20151213"){
  277. link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
  278. }
  279. else
  280. {
  281. link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
  282. }
  283. //var popOption = "width=400, height=450, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  284. window.open(link,"_viewDraft","");
  285. }
  286. </SCRIPT>
  287. <modular:search id="form1">
  288. <modular:key id="fevent" />
  289. </modular:search>
  290. <form id="form1" name="form1" method="post" modular:type="search">
  291. <INPUT type='hidden' name="fevent" id="fevent" value="">
  292. <!-- List Search -->
  293. <INPUT type="hidden" name="P_BID_MASTER_NM" id="P_BID_MASTER_NM" value="<%= params.get("P_BID_MASTER_NM") %>">
  294. <INPUT type="hidden" name="p_dept_nm" id="p_dept_nm" value="<%= params.get("p_dept_nm") %>">
  295. <INPUT type="hidden" name="p_dept_cd" id="p_dept_cd" value="<%= params.get("p_dept_cd") %>">
  296. <INPUT type="hidden" name="p_demanded_status" id="p_demanded_status" value="<%= params.get("p_demanded_status") %>">
  297. <!-- List Search -->
  298. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  299. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  300. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  301. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  302. <INPUT type='hidden' name="SITEPARTI_YN" value="Y">
  303. <table width="100%">
  304. <colgroup>
  305. <col width="*" />
  306. <col width="200" />
  307. </colgroup>
  308. <tr>
  309. <th>
  310. <div align="left" id="title">
  311. <ul><li>외주_입찰결과상세<font style="font-size:11px"> (<%=Order.get("STATUS_NM")%>)</font></li></ul>
  312. </div>
  313. </th>
  314. <td align="right">
  315. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  316. </td>
  317. </tr>
  318. </table>
  319. <%if(o_reason || p_reason || m_reason || c_reason || f_reason){ %>
  320. <TABLE class="form-table">
  321. <colgroup>
  322. <col width="150">
  323. <col/>
  324. </colgroup>
  325. <%if(o_reason){ %>
  326. <TR height="25">
  327. <TH>개찰 특기사항</TH>
  328. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("OPEN_OPINION"))%></TD>
  329. </TR>
  330. <%} %>
  331. <%if(c_reason){ %>
  332. <TR height="25">
  333. <TH>취소사유</TH>
  334. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("CANCEL_REASON"))%></TD>
  335. </TR>
  336. <%} %>
  337. <%if(p_reason){ %>
  338. <TR height="25">
  339. <TH>연기사유</TH>
  340. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("POSTPONE_REASON"))%></TD>
  341. </TR>
  342. <%} %>
  343. <%if(m_reason){ %>
  344. <TR height="25">
  345. <TH>정정사유</TH>
  346. <TD style="vertical-align: top"><%=StringUtils.cvtHTML(Order.get("MODIFY_REASON"))%></TD>
  347. </TR>
  348. <%} %>
  349. <%if(f_reason){ %>
  350. <TR height="25">
  351. <TH>유찰사유</TH>
  352. <TD style="vertical-align: top"><%=Order.get("FIB_REASON")%></TD>
  353. </TR>
  354. <%} %>
  355. </TABLE>
  356. <%}%>
  357. <%if(!Order.get("REBID_REASON").equals("") || !Order.get("REBID_OUTREASON").equals("")){%>
  358. <div class="application-info magT10">
  359. <div class="application-sub-title">
  360. <span class="title">재입찰사유</span>
  361. </div>
  362. <div class="application-location">
  363. </div>
  364. </div>
  365. <TABLE class="form-table">
  366. <colgroup>
  367. <col width="150"/>
  368. <col width="40%" />
  369. <col width="150" />
  370. <col width="*" />
  371. </colgroup>
  372. <TR height="25">
  373. <TH>재입찰사유<br>(내부보고)</TH>
  374. <TD><%=StringUtils.cvtHTML(Order.get("REBID_REASON"))%></TD>
  375. <TH>재입찰사유<br>(외부공지)
  376. </TH>
  377. <TD><%=StringUtils.cvtHTML(Order.get("REBID_OUTREASON"))%></TD>
  378. </TR>
  379. </TABLE>
  380. <%} %>
  381. <div class="application-info magT10">
  382. <div class="application-sub-title">
  383. <span class="title">발주의뢰정보</span>
  384. </div>
  385. </div>
  386. <!-- 발주의뢰정보 : 시작 -->
  387. <TABLE class="form-table">
  388. <colgroup>
  389. <col width="150"/>
  390. <col width="23%">
  391. <col width="150"/>
  392. <col width="23%">
  393. <col width="150"/>
  394. <col/>
  395. </colgroup>
  396. <TR height="25">
  397. <TH> 현장</TH>
  398. <TD><%=Order.get("dept_nm") %></TD>
  399. <TH> 발주의뢰번호</TH>
  400. <TD><a href="javascript:doSignFile('<%=sign_info.get("doc_id") %>');"><%=Order.get("DEMANDED_NO")%></a>
  401. </TD>
  402. <TH> 발주의뢰명</TH>
  403. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  404. </TR>
  405. <TR height="25">
  406. <TH> 발주의뢰일</TH>
  407. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  408. <TH> 발주의뢰부서</TH>
  409. <TD><%= Order.get("REQ_DEPT_NM")%></TD>
  410. <TH> 발주의뢰자</TH>
  411. <TD><%= Order.get("EMP_NM")%></TD>
  412. </TR>
  413. <TR height="25">
  414. <TH> 발주접수일자</TH>
  415. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  416. <TH> Pay Item</TH>
  417. <TD><%= Order.get("PAY_ITEM_NM") %></TD>
  418. <TH> 외주예산 (원)</TH>
  419. <TD><%= Formatter2.currency(Order.get("PUR_AMT"),0) %></TD> <!-- 2015.3.2 외주예산추가 MKLEE -->
  420. </TR>
  421. <TR height="25">
  422. <TH> 도급금액 (원)</TH>
  423. <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0) %></TD>
  424. <TH> 실행예산 (원)</TH>
  425. <TD><%=Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
  426. <TH> 도급대비실행율(%)</TH>
  427. <TD><%= Order.get("ACT_RATE")%></TD>
  428. </TR>
  429. <TR height="25">
  430. <TH>공사기간</TH>
  431. <TD><%=Order.get("DELI_FROM_DY") %> <%if(!Order.get("DELI_FROM_DY").isEmpty()||!Order.get("DELI_TO_DY").isEmpty()){ %>~<%} %> <%= Order.get("DELI_TO_DY") %></TD>
  432. <TH>공사장소</TH>
  433. <TD><%= Order.get("DELIVERY_PLACE") %></TD>
  434. <TH>공종</TH>
  435. <TD><%= Order.get("OUT_ITEM_NM") %></TD>
  436. </TR>
  437. <!-- 발주의뢰정보 : 종료 -->
  438. </table>
  439. <table width="100%">
  440. <colgroup>
  441. <col width="500" />
  442. <col width="*" />
  443. </colgroup>
  444. <tr>
  445. <th>
  446. <div class="application-info magT15">
  447. <div class="application-sub-title">
  448. <span class="title">견적업체 선정 결과</span>
  449. </div>
  450. </div>
  451. </th>
  452. <td align="right">
  453. <span class="btnSearch center" id="btn_report"><a href="javascript:void(0);">견적대비표</a></span>
  454. <span class="btnSearch center" id="btn_tbecheckpop"><a href="javascript:void(0);">기술검토결과서</a></span>
  455. </td>
  456. </tr>
  457. </table>
  458. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 180px; overflow: auto;">
  459. <script>createIBSheet('sheet1','100%', '170px');</script>
  460. </div>
  461. <div class="application-info magT15">
  462. <div class="application-sub-title">
  463. <span class="title">입찰기본정보</span>
  464. </div>
  465. </div>
  466. <TABLE class="form-table">
  467. <colgroup>
  468. <col width="145"/>
  469. <col width="145"/>
  470. <col width="29%"/>
  471. <col width="145"/>
  472. <col />
  473. </colgroup>
  474. <TR height="25">
  475. <TH> 입찰번호-차수</TH>
  476. <TD colspan="2">
  477. <%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>
  478. </TD>
  479. <TH> 온라인입찰여부</TH>
  480. <TD>
  481. <%=Order.get("ONBID_YN")%>
  482. </TD>
  483. </TR>
  484. <TR height="25">
  485. <TH> 입찰명</TH>
  486. <TD colspan="5">
  487. <%=Order.get("BID_MASTER_NM")%>
  488. </TD>
  489. </TR>
  490. <TR height="25">
  491. <TH> 경쟁방법</TH>
  492. <TD colspan="2">
  493. <%=Order.get("CMPT_NM")%>
  494. </TD>
  495. <TH> 낙찰자선정방법</TH>
  496. <TD>
  497. <%=Order.get("SUCC_NM") %>
  498. </TD>
  499. </TR>
  500. <!-- 발주의뢰정보 : 종료 -->
  501. </table>
  502. <div class="application-info magT15">
  503. <div class="application-sub-title">
  504. <span class="title">입찰진행</span>
  505. </div>
  506. </div>
  507. <TABLE class="form-table">
  508. <colgroup>
  509. <col width="145"/>
  510. <col width="145"/>
  511. <col width="29%"/>
  512. <col width="145"/>
  513. <col />
  514. </colgroup>
  515. <TR height="25">
  516. <TH>업체공지일자</TH>
  517. <TD colspan="4"><%=Order.get("NOTI_DY") %></TD>
  518. </TR>
  519. <TR height="25">
  520. <TH rowspan="3"> 견적설명회 정보</TH>
  521. <TH> 여부</TH>
  522. <TD><%=Order.get("SITEDESC_FLAG")%></TD>
  523. <TH> 담당자</TH>
  524. <TD><%=Order.get("SITEDESCCHRGPRSNNM")%></TD>
  525. </TR>
  526. <TR height="25">
  527. <TH> 담당자 전화번호</TH>
  528. <TD ><%=Order.get("SITEDESCTELNO")%></TD>
  529. <TH> 일시</TH>
  530. <TD ><%=Order.get("SITEDESCDATE")%></TD>
  531. </TR>
  532. <TR height="25">
  533. <TH> 담당자 E-Mail</TH>
  534. <TD ><%=Order.get("SITEDESCEMAIL")%></TD>
  535. <TH> 장소</TH>
  536. <TD ><%=Order.get("SITEDESCPLACE")%></TD>
  537. </TR>
  538. <TR height="25">
  539. <TH rowspan="4"> 견적 의뢰</TH>
  540. <TH> 견적제출기간</TH>
  541. <TD colspan="3"><%=Order.get("BID_FROM_DT")%> ~<%=Order.get("BID_TO_DT")%></TD>
  542. </TR>
  543. <TR height="25">
  544. <TH> 외주담당자</TH>
  545. <TD ><%=Order.get("PUREMPNM")%></TD>
  546. <TH> 외주담당자 전화번호</TH>
  547. <TD ><%=Order.get("PO_EMPNM")%></TD>
  548. </TR>
  549. <TR height="25">
  550. <TH> 개찰자</TH>
  551. <TD><%=Order.get("OPEN_EMPNM")%></TD>
  552. <TH> 개찰시간</TH>
  553. <TD><%=Order.get("OPEN_DT")%></TD>
  554. </TR>
  555. <TR height="25">
  556. <TH> 보고자</TH>
  557. <TD colspan="3">
  558. <div id="sheet2_div" style="width: 100%; height: 100%;">
  559. <script>createIBSheet('sheet2','100%', '100px');</script>
  560. </div>
  561. </TD>
  562. </TR>
  563. <TR height="25">
  564. <TH rowspan="2">기술검토(TBE)</TD>
  565. <TH> TBE 여부</TH>
  566. <TD ><%=Order.get("TBE_FLAG").equals("Y") ? "예" : "아니오"%></TD>
  567. <TH> TBE 완료일</TH>
  568. <TD ><%=Order.get("TBE_FIN_DT")%></TD>
  569. </TR>
  570. <TR height="25">
  571. <TH> TBE 심사자</TH>
  572. <TD><%=Order.get("EVAL_EMPNM")%></TD>
  573. <TH> TBE담당자 전화번호</TH>
  574. <TD ><%=Order.get("EVAL_TEL")%></TD>
  575. </TR>
  576. <!-- 발주의뢰정보 : 종료 -->
  577. </table>
  578. <div class="application-info magT15">
  579. <div class="application-sub-title">
  580. <span class="title">입찰조건</span>
  581. </div>
  582. </div>
  583. <TABLE class="form-table">
  584. <colgroup>
  585. <col width="145"/>
  586. <col width="145"/>
  587. <col width="29%"/>
  588. <col width="145"/>
  589. <col/>
  590. </colgroup>
  591. <TR height="25">
  592. <TH>통화구분</TH>
  593. <TD colspan="4"> <%=Order.get("CURRENCY_GB_NM") %>
  594. </TD>
  595. </TR>
  596. <TR height="25">
  597. <TH>계약형태</TH>
  598. <TD colspan="4">
  599. <%=Order.get("OBC_CONT_TYPE_NM") %>
  600. </TD>
  601. </TR>
  602. <TR height="25">
  603. <TH rowspan="2">공사대금</TH>
  604. <TH>선급금</TH>
  605. <TD><% if(!Order.get("OBC_FRST_CONT_RATE").isEmpty()){%> 계약금액의 : <%= Order.get("OBC_FRST_CONT_RATE") %>%<br><%}%>
  606. <%= Order.get("OBC_FRST_CONDI") %> <br>
  607. <%= Order.get("OBC_FRST_CNT_CONDI") %></TD>
  608. <TH>기성금</TH>
  609. <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><%}%>
  610. <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_MID_PAYDAY")%> 일 내 지급<br><%} %>
  611. <% if(!Order.get("OBC_MID_BILL_DATE").isEmpty()){%>어음일 경우, 어음 만기일은 목적물 수령일로부터 (<%= Order.get("OBC_MID_BILL_DATE")%>)일<br><%} %>
  612. <% if(!Order.get("OBC_MID_PAYDAY").isEmpty()){%><%=Order.get("OBC_MID_REQ_MONTH")%> 개월 당 <%=Order.get("OBC_MID_CNT")%> 회 말일에 청구<%}%>
  613. </TD>
  614. </TR>
  615. <TR height="25">
  616. <TH>준공금</TH>
  617. <TD colspan="3"><% 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")%>%<%}%>
  618. <%-- <br><% if(!Order.get("OBC_FIN_PAYDAY").isEmpty()){%>세금계산서 발행일로부터 <%=Order.get("OBC_FIN_PAYDAY")%> 일 내 지급<%}%><br>
  619. <%=Order.get("OBC_FIN_CONDI") %></TD> --%>
  620. </TR>
  621. <TR height="25">
  622. <TH rowspan="2">보증조건</TH>
  623. <TH>선급금보증</TH>
  624. <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){%>계약금액의 <%=Order.get("CBC_FIRST_RATE")%>%<%}%></TD>
  625. <TH>계약이행 보증</TH>
  626. <TD><% if(!Order.get("CONTFUL_RATE").isEmpty()){%>계약금액의 <%= Order.get("CONTFUL_RATE") %>%<%}%></TD>
  627. </TR>
  628. <TR height="25">
  629. <TH>하자이행 보증</TH>
  630. <TD><% if(!Order.get("WARR_RATE").isEmpty()){%>준공금액의 <%= Order.get("WARR_RATE")%>%<%}%></TD>
  631. <TH>하자담보기간</TH>
  632. <TD><% if(!Order.get("CBC_DEFECT_DAY").isEmpty()){%>준공일로부터 <%= Order.get("CBC_DEFECT_DAY")%> 개월<%}%></TD>
  633. </TR>
  634. <TR height="25">
  635. <TH>기타조건</TH>
  636. <TH>하도급대금<br>연동 기준비율</TH>
  637. <TD><% if(!Order.get("PAY_CON_RATE").isEmpty()){%> <%= Order.get("PAY_CON_RATE")%>%<%}%></TD>
  638. <TH>지체상금</TH>
  639. <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>
  640. </TR>
  641. <TR height="25">
  642. <TH rowspan="6">간접비 견적조건</TH>
  643. <TH>고용보험료</TH>
  644. <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
  645. <%}%><%=Order.get("OBC_EMP_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  646. <TH>연금보험료</TH>
  647. <TD><% if(!Order.get("OBC_PENSION_RATE").isEmpty()){%>직접노무비 <%=Order.get("OBC_PENSION_RATE")%> % &nbsp &nbsp &nbsp&nbsp &nbsp &nbsp
  648. <%}%><%=Order.get("OBC_PENSION_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  649. </TR>
  650. <TR height="25">
  651. <TH>건강보험료</TH>
  652. <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
  653. <%}%><%=Order.get("OBC_HEALTH_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  654. <TH>노인장기보험료</TH>
  655. <TD><% if(!Order.get("OBC_ELDER_RATE").isEmpty()){%>건강보험료 * <%=Order.get("OBC_ELDER_RATE")%> % &nbsp &nbsp&nbsp &nbsp &nbsp
  656. <%}%><%=Order.get("OBC_ELDER_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  657. </TR>
  658. <TR height="25">
  659. <TH>산재보험료</TH>
  660. <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
  661. <%}%><%=Order.get("OBC_WORK_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  662. <TH>퇴직공제부금</TH>
  663. <TD><% if(!Order.get("OBC_RESIGN_RATE").isEmpty()){%>노무비 * <%=Order.get("OBC_RESIGN_RATE")%> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  664. <%}%><%=Order.get("OBC_RESIGN_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  665. </TR>
  666. <TR height="25">
  667. <TH>안전관리비</TH>
  668. <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
  669. <%}%><%=Order.get("OBC_SAFE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  670. <TH>환경관리비</TH>
  671. <TD><% if(!Order.get("OBC_ENV_RATE").isEmpty()){%>재료비 * <%= Order.get("OBC_ENV_RATE")%> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp
  672. <%}%><%=Order.get("OBC_ENV_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  673. </TR>
  674. <TR height="25">
  675. <TH>현장관리비</TH>
  676. <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
  677. <%}%><%=Order.get("OBC_SITE_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  678. <TH>매입부가세</TH>
  679. <TD><% if(!Order.get("OBC_DUTY_RATE").isEmpty()){%>재료비 * 매입세율 <%= Order.get("OBC_DUTY_RATE")%> % &nbsp
  680. <%}%><%=Order.get("OBC_DUTY_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  681. </TR>
  682. <TR height="25">
  683. <TH>간접비 정산조건</TH>
  684. <TD><%=Order.get("OBC_IND_YN").equals("Y") ? "<font color='blue'>[실적정산]</font>" : "<font color='red'>[비례정산]</font>" %></TD>
  685. <TH>건설기계 수수료</TH>
  686. <TD><%=Order.get("OBC_WARR_YN").equals("Y") ? "<font color='blue'>[견적포함]</font>" : "<font color='red'>[견적미포함]</font>" %></TD>
  687. </TR>
  688. </TABLE>
  689. <TABLE class="form-table" style="margin-top:5px">
  690. <colgroup>
  691. <col width="145"/>
  692. <col width="145"/>
  693. <col width="29%"/>
  694. <col width="145"/>
  695. <col/>
  696. </colgroup>
  697. <TR height="100">
  698. <TH>주요발주내용</TH>
  699. <TD colspan="2" style="vertical-align: top">
  700. <%=StringUtils.cvtHTML(Order.get("MAIN_PR_CONTENTS"))%>
  701. </TD>
  702. <TH>입찰업체선정사유</TH>
  703. <TD style="vertical-align: top">
  704. <%=StringUtils.cvtHTML(Order.get("BID_SUPP_SELECT_REASON"))%>
  705. </TD>
  706. </TR>
  707. <TR height="100">
  708. <TH>특이사항 내부</TH>
  709. <TD colspan="2" style="vertical-align: top">
  710. <%=StringUtils.cvtHTML(Order.get("INNER_REMARKS"))%>
  711. </TD>
  712. <TH>특이사항 외부</TH>
  713. <TD style="vertical-align: top">
  714. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  715. </TD>
  716. </TR>
  717. <TR height="100">
  718. <TH>내부자료</TH>
  719. <TD colspan="2">
  720. <TEXTAREA name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get(Order.get("DOC_ETC_IN")) %></TEXTAREA>
  721. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,1);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  722. </TD>
  723. <TH>외부자료</TH>
  724. <TD>
  725. <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>
  726. <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;'>
  727. </TD>
  728. </TR>
  729. </TABLE>
  730. </form>