PayItemPurDashBoardPop.jsp 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. <%--
  2. - FileName : purchaseRequestList.jsp
  3. - Author(s) : ok
  4. - Date : 2014.07.28
  5. - Copyright : Copyright (c) 2014 www.udapsoft.co.kr, Inc.
  6. - Description: (전자조달.구매대금) 대금신청현황의 대금신규등록 팝업
  7. --%>
  8. <%@page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
  9. <%@ page contentType="text/html; charset=utf-8" %>
  10. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  11. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ page import="kr.co.hsnc.common.util.Formatter"%>
  15. <%@ page import="kr.co.hsnc.common.config.WAFConfig"%>
  16. <%@ include file="/jsp/work/taglib.jsp" %>
  17. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  18. <%
  19. ctx.init(request, response);
  20. HandlerStorage storage = ctx.getHandlerStorage();
  21. ValueObject params = storage.getParams();
  22. ValueObject user = storage.getUser();
  23. String event = storage.getEvent();
  24. String _sBaseUrl = WAFConfig.get("waf.smb.url");
  25. String gwurl = "https://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  26. RowSet DashList1 = storage.getRowSet("DashList1");
  27. RowSet DashList2= storage.getRowSet("DashList2");
  28. RowSet DashList3= storage.getRowSet("DashList3");
  29. RowSet DashList4= storage.getRowSet("DashList4");
  30. %>
  31. <script language="javascript" src="/js/report.js"></script>
  32. <script type="text/javascript">
  33. $(function(){
  34. $(".icon_x").click(function(){
  35. window.close();
  36. });
  37. //페이지 로드시 콤마 찍어주기.
  38. $(".numberic").each(function(){
  39. $(this).text($(this).text().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  40. });
  41. });
  42. function getGiveUpFile(prepay_id, zip_file_nm)
  43. {
  44. var win_id = "_viewFileList";
  45. var link = "/common/file/FileListNew.screen";
  46. link += "?pop_win_id="+win_id;
  47. link += "&extFunction=viewFileListClose";
  48. link += "&file_gb=" + "PREPAYMENTS_GIVEUP";
  49. link += "&id=" + prepay_id;
  50. link += "&sys_gb=" + "payment/purchase/"+prepay_id;
  51. link += "&zip_down_yn=" + "Y";
  52. link += "&zip_down_name=" + encodeURIComponent(zip_file_nm);
  53. link += "&sModule=LM";
  54. var popOption = "width=750, height=450, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  55. window.open(link,"",popOption);
  56. }
  57. function getFile(prepay_id, zip_file_nm)
  58. {
  59. var win_id = "_viewFileList";
  60. var link = "/common/file/FileListNew.screen";
  61. link += "?pop_win_id="+win_id;
  62. link += "&extFunction=viewFileListClose";
  63. link += "&file_gb=" + "PURCHASE_"+prepay_id;
  64. link += "&id=" + "";
  65. link += "&sys_gb=" + "payment/purchase/"+prepay_id;
  66. link += "&zip_down_yn=" + "Y";
  67. link += "&zip_down_name=" + encodeURIComponent(zip_file_nm);
  68. link += "&sModule=LM";
  69. var popOption = "width=750, height=450, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  70. window.open(link,"",popOption);
  71. }
  72. function getPrepayFile(prepay_id, file_gb, zip_file_nm)
  73. {
  74. var win_id = "_viewFileList";
  75. var link = "/common/file/FileListNew.screen";
  76. link += "?pop_win_id="+win_id;
  77. link += "&extFunction=viewFileListClose";
  78. link += "&file_gb=" + file_gb;
  79. link += "&id=" + prepay_id;
  80. link += "&sys_gb=" + "prepay/purchase/"+prepay_id;
  81. link += "&zip_down_yn=" + "Y";
  82. link += "&zip_down_name=" + encodeURIComponent(zip_file_nm);
  83. link += "&sModule=LM";
  84. var popOption = "width=750, height=450, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  85. window.open(link,"",popOption);
  86. }
  87. //첨부파일
  88. function getFileListPop(gubun, code, isDirGubun, zip_file_nm)
  89. {
  90. var win_id = "_viewFileList";
  91. var link = "/common/file/FileListNew.screen";
  92. link += "?pop_win_id="+win_id;
  93. link += "&extFunction=viewFileListClose";
  94. link += "&file_gb=" + gubun;
  95. link += "&id=" + code;
  96. link += "&is_modify=" + "N";
  97. link += "&zip_down_yn=" + "Y";
  98. link += "&zip_down_name=" + encodeURIComponent(zip_file_nm);
  99. link += "&sModule=LM";
  100. if(isDirGubun == "1")
  101. {
  102. link += "&sys_gb=" + "cont/purchase/"+code;
  103. }
  104. else if(isDirGubun == "99") //2015.10.20
  105. {
  106. link += "&sys_gb=" + "cont/purchase/"+code;
  107. }
  108. else
  109. {
  110. link += "&sys_gb=" + "bid/purchase/"+code;
  111. }
  112. var popOption = "width=750, height=450, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  113. window.open(link,"",popOption);
  114. }
  115. function popOpenGuar(wG, wSeq, wCauseCd, wOnOff, wGStatus, wOffid, wConRefNo, wChgNo){
  116. var sGuarKind = wG; //보증서종류
  117. var sGuarSeq = wSeq; //일련번호
  118. var sGuarOnoffYn = wOnOff; //온오프여부
  119. var sGuarStatus = wGStatus; //보증진행상태
  120. var sChgNo = wChgNo; //계약차수
  121. var style = "";
  122. var src = "";
  123. var sGrtType = ""; // 보증종목구분
  124. if(sGuarKind == "1") sGrtType = "002"; //계약
  125. else if(sGuarKind == "2") sGrtType = "006"; //지급
  126. else if(sGuarKind == "3") sGrtType = "004"; //선급금
  127. else if(sGuarKind == "4") sGrtType = "005"; //근재
  128. else if(sGuarKind == "5") sGrtType = "003"; //하자
  129. //검토대기나 완료일경우
  130. if(sGuarOnoffYn == "Y" && sGuarStatus.length > 0 && (sGuarStatus == "08" || sGuarStatus == "09")){
  131. var sOffId = wOffid; // 수신기관 ID
  132. var conRefNo = wConRefNo; // 계약번호
  133. var sGrtSeq = wSeq; // 보증차수
  134. var sMsgFuncCode = "53"; // 문서기능
  135. var sModule = "EB"; // 모듈구분코드
  136. if(sChgNo == "")
  137. sChgNo = "00";
  138. else if(sChgNo.length == 1)
  139. sChgNo = "0" + sChgNo;
  140. if(sGrtSeq.length == 1)
  141. sGrtSeq = "0" + sGrtSeq;
  142. //parameter 확인 요함
  143. src = "http://211.38.140.242:8091/transure/view/KSCFCView.jsp?offID="+sOffId+"&conRefNo="+conRefNo+"&conSeqNo="+sChgNo+"&grtSeq="+sGrtSeq+"&grtType="+sGrtType+"&msgFuncCode="+sMsgFuncCode+"&module="+sModule;
  144. style = "width=720,height=800, loactionbar=visible, menubar=visible, scrollbars=no";
  145. }
  146. var id = "WARR";
  147. var clNew = window.open(src,id,style);
  148. if(clNew == null){
  149. // alert(" ▒【보증신청】페이지는 팝업창으로 구성되어 있습니다. ▒\n\n\n'팝업이 차단되었습니다. 팝업 또는 추가 옵션을 보려면 여기를 클릭하십시오.' 라는\n\n 메세지가 보일경우에는 그 메세지를 클릭하셔서 '현재 사이트의 팝업을 항상 허용'이나\n\n'임시로 팝업허용'으로 설정해주시기 바랍니다.");
  150. }else{
  151. clNew.focus();
  152. }
  153. }
  154. function conversationPop(conversationId)
  155. {
  156. var popUrl = "/payment/purchase/taxInfoPop.screen?CONVERSATION_ID="+conversationId
  157. var popOption = "width=750, height=500, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  158. window.open(popUrl,"_blank",popOption);
  159. }
  160. function btn_tbecheckpop(bid_no, bid_deg)
  161. {
  162. var win_id = "_TBECheckPop";
  163. var link = "/bid/purchase/TBECheckPop.screen";
  164. link += "?pop_win_id="+win_id;
  165. link += "&BID_NO="+bid_no;
  166. link += "&BID_DEG="+bid_deg;
  167. link += "&sModule=LM";
  168. var popOption = "width=900, height=210, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  169. window.open(link, "", popOption);
  170. }
  171. function doResult(resultObj) {
  172. try
  173. {
  174. if( resultObj.getRequestEvent() == "TEST")
  175. {
  176. if( resultObj.getSuccess() )
  177. {
  178. document.form1.isSubmit = false;
  179. var vo = resultObj.getValueObject();
  180. }
  181. else
  182. {
  183. alert(resultObj.getValueObject().get("errMsg"));
  184. document.form1.isSubmit = false;
  185. }
  186. }
  187. }
  188. catch(errorObject) {
  189. showErrorDlg("doResult()", errorObject);
  190. }
  191. }
  192. //2015.10.20 상세화면 생략.
  193. function popOpenGuarOff(purContModId, warrGubun, warrSeq, causeCode)
  194. {
  195. var param = "";
  196. var url = "";
  197. param = "?purContModId=" + purContModId;
  198. param = param + "&warrGubun=" + warrGubun;
  199. param = param + "&warrSeq=" + warrSeq;
  200. param = param + "&causeCode=" + causeCode;
  201. param = param + "&sModule=LM";
  202. url = "/portal/guar/contPurWarrPopup.screen"+param;
  203. var popOption = "width=800, height=600, resizable=no, scrollbars=no, status=no;"; //팝업창 옵션(optoin)
  204. window.open(url, "", popOption);
  205. }
  206. function getFileList(pur_cont_mod_id)
  207. {
  208. var param = "";
  209. var param = "?fevent=GET_FILE_LIST&p_job_div=P&p_pur_cont_mod_id=" + pur_cont_mod_id;
  210. param = param + "&sModule=LM";
  211. var url = "/payment/purchase/PayItemPurDashBoardFilePop.screen"+param;
  212. var popOption = "width=450, height=200, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  213. window.open(url, "", popOption);
  214. }
  215. function report(bid_no, bid_deg, pbc_cbe_type_cd)
  216. {
  217. var reportInfo = new ReportInfo();
  218. if(pbc_cbe_type_cd == "A")
  219. {
  220. reportInfo.title = "견적대비표";
  221. reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Atype.mrd";
  222. reportInfo.set(bid_no); // $1
  223. reportInfo.set(bid_deg); // $2
  224. }
  225. else if(pbc_cbe_type_cd == "B")
  226. {
  227. reportInfo.title = "견적대비표";
  228. reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Btype.mrd";
  229. reportInfo.set(bid_no); // $1
  230. reportInfo.set(bid_deg); // $2
  231. }
  232. else if(pbc_cbe_type_cd == "C")
  233. {
  234. reportInfo.title = "견적대비표";
  235. reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Ctype.mrd";
  236. reportInfo.set(bid_no); // $1
  237. reportInfo.set(bid_deg); // $2
  238. }
  239. reportInfo.width = 1000; // Default: 1024
  240. reportInfo.height = 700; // Default: 768
  241. reportInfo.showPopup();
  242. }
  243. function viewDraft(doc_id, year){
  244. var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
  245. var link = "";
  246. doc_chk = doc_chk * 1;
  247. if (year < "20151214") {
  248. link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
  249. }
  250. else{
  251. link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
  252. }
  253. //var popOption = "width=400, height=450, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  254. window.open(link,"_viewDraft","");
  255. }
  256. </script>
  257. <modular:search id="form1">
  258. <modular:key id="fevent" />
  259. </modular:search>
  260. <form id="form1" name="form1" method="post" modular:type="search" action="">
  261. <input type="hidden" name="fevent" id="fevent" value="">
  262. <input type="hidden" name="p_AttachFile1" id="p_AttachFile1" value="">
  263. <input type="hidden" name="prepay_id" id="prepay_id" value="">
  264. <div class="application-info magT10">
  265. <div class="application-sub-title">
  266. <span class="title">대금</span>
  267. </div>
  268. <div class="application-location"></div>
  269. </div>
  270. <table class="form-table" style="width: 100%;">
  271. <col width="10%"/>
  272. <col width="30%"/>
  273. <col width="15%"/>
  274. <col width="5%"/>
  275. <!-- <col width="10%"/> -->
  276. <!-- <col width="10%"/> -->
  277. <col width="10%"/>
  278. <col width="10%"/>
  279. <tr height="25">
  280. <th style="text-align: center; padding-left: 0px;">구분</th>
  281. <th style="text-align: center; padding-left: 0px;">상태</th>
  282. <th style="text-align: center; padding-left: 0px;">보증</th>
  283. <th style="text-align: center; padding-left: 0px;">결재</th>
  284. <!--
  285. <th style="text-align: center; padding-left: 0px;">세금계산서</th>
  286. <th style="text-align: center; padding-left: 0px;">계산서</th>
  287. -->
  288. <th style="text-align: center; padding-left: 0px;">포기각서</th>
  289. <th style="text-align: center; padding-left: 0px;">첨부문서</th>
  290. </tr>
  291. <% if(DashList1.size() != 0){%>
  292. <%for(int i=0; i < DashList1.size(); i++){
  293. RowSet fileRow = null;
  294. RowSet fileTaxRow = null;
  295. // 1 : 선급, 그외 대금
  296. if("1".equals(DashList1.getRow(i).get("DEPOSIT_CD"))){
  297. fileRow = FileManager.getFileList("PREPAYMENTS_BILLING", DashList1.getRow(i).get("PREPAY_ID"));
  298. // 선급 순발행인 경우 세금계산서 추가
  299. if("2".equals(DashList1.getRow(i).get("TAX_METHOD_CD"))){
  300. fileTaxRow = FileManager.getFileList("TAX_BILL", DashList1.getRow(i).get("PREPAY_ID"));
  301. } else if("3".equals(DashList1.getRow(i).get("TAX_METHOD_CD"))){
  302. fileTaxRow = FileManager.getFileList("PREPAYMENTS_INVOICE", DashList1.getRow(i).get("PREPAY_ID"));
  303. } else {
  304. fileTaxRow = new RowSetImpl();
  305. }
  306. } else {
  307. fileRow = FileManager.getFileList("PURCHASE_"+DashList1.getRow(i).get("PREPAY_ID"), "");
  308. }
  309. RowSet filePreRow = FileManager.getFileList("PREPAYMENTS_GIVEUP", DashList1.getRow(i).get("PREPAY_ID"));
  310. %>
  311. <tr height="25">
  312. <td style="vertical-align: middle;"><%=DashList1.getRow(i).get("DEPOSIT_NM") %></td>
  313. <td><%=DashList1.getRow(i).get("STATUS_NM") %></td>
  314. <td style="text-align: center;">
  315. <%=DashList1.getRow(i).get("WARR_GUBUN_NM") %>
  316. <%if(DashList1.getRow(i).get("GUAR_ONOFF_YN").equals("N")){ %>
  317. <%-- <img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList1.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_search_right.gif" border="0" onclick="popOpenGuarOff('<%=DashList1.getRow(i).get("PUR_CONT_MOD_ID")%>', '<%=DashList1.getRow(i).get("WARR_GUBUN")%>', '<%=DashList1.getRow(i).get("WARR_SEQ")%>', '<%=DashList1.getRow(i).get("CAUSECODE")%>');"/>
  318. --%>
  319. <img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList1.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('GUARCONT_PUR_'+'<%=DashList1.getRow(i).get("WARR_GUBUN")%>'+'_'+'<%=DashList1.getRow(i).get("WARR_SEQ")%>', '<%=DashList1.getRow(i).get("PUR_CONT_MOD_ID")%>', '99','<%=DashList1.getRow(i).get("WARR_GUBUN_NM") %>');"/>
  320. <%}else{ %>
  321. <img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList1.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_search_right.gif" border="0" onclick="popOpenGuar('<%=DashList1.getRow(i).get("WARR_GUBUN")%>','<%=DashList1.getRow(i).get("WARR_SEQ")%>','<%=DashList1.getRow(i).get("CAUSECODE")%>','<%=DashList1.getRow(i).get("GUAR_ONOFF_YN")%>','<%=DashList1.getRow(i).get("GUAR_STATUS")%>','<%=DashList1.getRow(i).get("WARR_GOFFICE_ID")%>','<%=DashList1.getRow(i).get("GRTREQNO")%>','<%=DashList1.getRow(i).get("MOD_NO")%>');" />
  322. <%} %>
  323. </td>
  324. <td style="text-align: center;">
  325. <%if(!"".equals(DashList1.getRow(i).get("DOC_ID")) ){ %>
  326. <img align="absmiddle" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="viewDraft('<%=DashList1.getRow(i).get("DOC_ID") %>','<%=DashList1.getRow(i).get("YEAR") %>');"/>
  327. <%} %>
  328. </td>
  329. <!--
  330. <td style="text-align: center;"><span class="btnSearch center"><a href="javascript:void(0);" onclick="conversationPop('<%=DashList1.getRow(i).get("CONVERSATION_ID1").trim()%>');" id="btnDashTest" <%=DashList1.getRow(i).get("CONVERSATION_ID1").trim().equals("") ? "style=\"display:none;\" " : "" %>>보기</a></span></td>
  331. <td style="text-align: center;"><span class="btnSearch center"><a href="javascript:void(0);" onclick="conversationPop('<%=DashList1.getRow(i).get("CONVERSATION_ID2").trim()%>');" id="btnDashTest" <%=DashList1.getRow(i).get("CONVERSATION_ID2").trim().equals("") ? "style=\"display:none;\" " : "" %>>보기</a></span></td>
  332. -->
  333. <td style="text-align: center;">
  334. <%if(filePreRow.size()>0){ %>
  335. <img align="absmiddle" id="fail_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getGiveUpFile('<%=DashList1.getRow(i).get("PREPAY_ID").trim() %>','포기각서');"/>
  336. <%} %>
  337. </td>
  338. <td style="text-align: center;">
  339. <%if("1".equals(DashList1.getRow(i).get("DEPOSIT_CD"))){
  340. if(fileRow.size()>0){ %>
  341. <img align="absmiddle" id="attch_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getPrepayFile('<%=DashList1.getRow(i).get("PREPAY_ID").trim() %>','PREPAYMENTS_BILLING','<%=DashList1.getRow(i).get("DEPOSIT_NM") %>')"/>
  342. <% }
  343. if(fileTaxRow.size()>0){
  344. if("2".equals(DashList1.getRow(i).get("TAX_METHOD_CD"))){ %>
  345. &nbsp;<img align="absmiddle" id="attch_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getPrepayFile('<%=DashList1.getRow(i).get("PREPAY_ID").trim() %>','TAX_BILL','<%=DashList1.getRow(i).get("DEPOSIT_NM") %>')"/>
  346. <% } else if("3".equals(DashList1.getRow(i).get("TAX_METHOD_CD"))){ %>
  347. &nbsp;<img align="absmiddle" id="attch_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getPrepayFile('<%=DashList1.getRow(i).get("PREPAY_ID").trim() %>','PREPAYMENTS_INVOICE','<%=DashList1.getRow(i).get("DEPOSIT_NM") %>')"/>
  348. <% }
  349. }
  350. } else {
  351. if(fileRow.size()>0){ %>
  352. <img align="absmiddle" id="attch_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFile('<%=DashList1.getRow(i).get("PREPAY_ID").trim() %>','<%=DashList1.getRow(i).get("DEPOSIT_NM") %>')"/>
  353. <% }
  354. } %>
  355. </td>
  356. </tr>
  357. <%} %>
  358. <%}else{ %>
  359. <tr height="25">
  360. <td style="vertical-align: middle; text-align: center;" colspan="6">검색된 내용이 없습니다.</td>
  361. </tr>
  362. <%} %>
  363. </table>
  364. <%String chk = params.get("job_auth");
  365. if (chk == null) chk = "";
  366. if (chk.equals("SITE_CONT") ||chk.equals("SITE_CONT2") ){
  367. }else{ %>
  368. <div class="application-info magT10">
  369. <div class="application-sub-title">
  370. <span class="title">계약</span>
  371. </div>
  372. <div class="application-location"></div>
  373. </div>
  374. <table class="form-table" style="width: 100%;">
  375. <col width="9%"/>
  376. <col width="5%"/>
  377. <col width="20%"/>
  378. <col width="30%"/>
  379. <col width="9%"/>
  380. <col width="9%"/>
  381. <!-- <col width="9%"/> -->
  382. <col width="9%"/>
  383. <tr height="25">
  384. <th style="text-align: center; padding-left: 0px;" rowspan="2">구분</th>
  385. <th style="text-align: center; padding-left: 0px;" rowspan="2">차수</th>
  386. <th style="text-align: center; padding-left: 0px;" rowspan="2">계약번호</th>
  387. <th style="text-align: center; padding-left: 0px;" rowspan="2">계약명</th>
  388. <th style="text-align: center; padding-left: 0px;" rowspan="2">발주의뢰</th> <!-- 2016.4.12 -->
  389. <th style="text-align: center; padding-left: 0px;" rowspan="2">시행결의</th>
  390. <th style="text-align: center; padding-left: 0px;" colspan="2">계약문서</th>
  391. </tr>
  392. <tr height="25">
  393. <th style="text-align: center; padding-left: 0px;">자동첨부</th>
  394. <th style="text-align: center; padding-left: 0px;">수동첨부</th>
  395. </tr>
  396. <% if(DashList2.size() != 0){%>
  397. <%for(int i=0; i < DashList2.size(); i++){
  398. RowSet fileRow = FileManager.getFileList("PUR_CONT_MOD_ID", DashList2.getRow(i).get("PUR_CONT_MOD_ID"));
  399. %>
  400. <tr height="25">
  401. <td style="vertical-align: middle;"><%=DashList2.getRow(i).get("MOD_DESC") %></td>
  402. <td style="text-align: center;"><%=DashList2.getRow(i).get("MOD_NO") %></td>
  403. <td><%=DashList2.getRow(i).get("ORD_DOC_NO") %></td>
  404. <td><%=DashList2.getRow(i).get("CST_DOC_NAME") %></td>
  405. <td style="text-align: center;">
  406. <%if(!"".equals(DashList2.getRow(i).get("DOC_ID0")) ){ %>
  407. <img align="absmiddle" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="viewDraft('<%=DashList2.getRow(i).get("DOC_ID0") %>','<%=DashList2.getRow(i).get("YEAR0") %>');"/>
  408. <%} %>
  409. </td>
  410. <td style="text-align: center;">
  411. <%if(!"".equals(DashList2.getRow(i).get("DOC_ID")) ){ %>
  412. <img align="absmiddle" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="viewDraft('<%=DashList2.getRow(i).get("DOC_ID") %>','<%=DashList2.getRow(i).get("YEAR") %>');"/>
  413. <%} %>
  414. </td>
  415. <td style="text-align: center;">
  416. <%if(!DashList2.getRow(i).get("AUTO_CNT").equals("0")){ %>
  417. <img align="absmiddle" id="fileList" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileList('<%=DashList2.getRow(i).get("PUR_CONT_MOD_ID") %>');"/>
  418. <%} %>
  419. </td>
  420. <td style="text-align: center;">
  421. <%if(fileRow.size()>0){ %>
  422. <img align="absmiddle" id="fileList2" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('PUR_CONT_MOD_ID', '<%=DashList2.getRow(i).get("PUR_CONT_MOD_ID")%>', '2','<%=DashList2.getRow(i).get("ORD_DOC_NO") %>'+'_'+'<%=DashList2.getRow(i).get("MOD_NO") %>'+'차 계약자료');"/>
  423. <%} %>
  424. </td>
  425. </tr>
  426. <%} %>
  427. <%}else{ %>
  428. <tr height="25">
  429. <td style="vertical-align: middle; text-align: center;" colspan="8">검색된 내용이 없습니다.</td>
  430. </tr>
  431. <%} %>
  432. </table>
  433. <%} %>
  434. <div class="application-info magT10">
  435. <div class="application-sub-title">
  436. <span class="title">보증</span>
  437. </div>
  438. <div class="application-location"></div>
  439. </div>
  440. <table class="form-table" style="width: 100%;">
  441. <col width="20%"/>
  442. <col width="5%"/>
  443. <col width="20%"/>
  444. <col width="15%"/>
  445. <col width="15%"/>
  446. <col width="25%"/>
  447. <tr height="25">
  448. <th style="text-align: center; padding-left: 0px;" >보증종류</th>
  449. <th style="text-align: center; padding-left: 0px;" >차수</th>
  450. <th style="text-align: center; padding-left: 0px;" >보증기관</th>
  451. <th style="text-align: center; padding-left: 0px;" >보증금액</th>
  452. <th style="text-align: center; padding-left: 0px;" >발급일</th>
  453. <th style="text-align: center; padding-left: 0px;" >보증기간</th>
  454. </tr>
  455. <% if(DashList4.size() != 0){%>
  456. <%for(int i=0; i < DashList4.size(); i++){ %>
  457. <tr>
  458. <td style="text-align: center;">
  459. <%=DashList4.getRow(i).get("WARR_GUBUN_NM") %>
  460. <%if(DashList4.getRow(i).get("GUAR_ONOFF_YN").equals("N")){ %>
  461. <!--<img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList4.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_search_right.gif" border="0" onclick="popOpenGuarOff('<%=DashList4.getRow(i).get("PUR_CONT_MOD_ID")%>', '<%=DashList4.getRow(i).get("WARR_GUBUN")%>', '<%=DashList4.getRow(i).get("WARR_SEQ")%>', '<%=DashList4.getRow(i).get("CAUSECODE")%>');"/>
  462. 2015.10.20 -->
  463. <img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList4.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('GUARCONT_PUR_'+'<%=DashList4.getRow(i).get("WARR_GUBUN")%>'+'_'+'<%=DashList4.getRow(i).get("WARR_SEQ")%>', '<%=DashList4.getRow(i).get("PUR_CONT_MOD_ID")%>', '99');"/>
  464. <%}else{ %>
  465. <img align="absmiddle" id="war_gubun" style="cursor: pointer; <%=DashList4.getRow(i).get("WARR_GUBUN_NM").trim().equals("") ? "display:none;" : "" %>" src="/img/buyer/button/bt_search_right.gif" border="0" onclick="popOpenGuar('<%=DashList4.getRow(i).get("WARR_GUBUN")%>','<%=DashList4.getRow(i).get("WARR_SEQ")%>','<%=DashList4.getRow(i).get("CAUSECODE")%>','<%=DashList4.getRow(i).get("GUAR_ONOFF_YN")%>','<%=DashList4.getRow(i).get("GUAR_STATUS")%>','<%=DashList4.getRow(i).get("WARR_GOFFICE_ID")%>','<%=DashList4.getRow(i).get("GRTREQNO")%>','<%=DashList4.getRow(i).get("MOD_NO")%>');" />
  466. <%} %>
  467. </td>
  468. <td style="text-align: center;"><%=DashList4.getRow(i).get("WARR_SEQ") %></td>
  469. <td style="text-align: center;"><%=DashList4.getRow(i).get("WARR_GOFFICE") %></td>
  470. <td style="text-align: right;" class="numberic"><%=DashList4.getRow(i).get("WARR_WAMT") %></td>
  471. <td style="text-align: center;"><%=DashList4.getRow(i).get("PAPERDATE") %></td>
  472. <td style="text-align: center;"><%=DashList4.getRow(i).get("WARR_SDATE") %> ~ <%=DashList4.getRow(i).get("WARR_EDATE") %></td>
  473. </tr>
  474. <%} %>
  475. <%}else{ %>
  476. <tr height="25">
  477. <td style="vertical-align: middle; text-align: center;" colspan="6">검색된 내용이 없습니다.</td>
  478. </tr>
  479. <%} %>
  480. </table>
  481. <!--
  482. <div class="application-info magT10">
  483. <div class="application-sub-title">
  484. <span class="title">입찰</span>
  485. </div>
  486. <div class="application-location"></div>
  487. </div>
  488. <table class="form-table" style="width: 100%;">
  489. <col width="20%"/>
  490. <col width="5%"/>
  491. <col width="15%"/>
  492. <col width="10%"/>
  493. <col width="10%"/>
  494. <col width="10%"/>
  495. <col width="10%"/>
  496. <col width="5%"/>
  497. <col width="5%"/>
  498. <col width="5%"/>
  499. <tr height="25">
  500. <th style="text-align: center; padding-left: 0px;" rowspan="2">입찰번호</th>
  501. <th style="text-align: center; padding-left: 0px;" rowspan="2">차수</th>
  502. <th style="text-align: center; padding-left: 0px;" rowspan="2">입찰명</th>
  503. <th style="text-align: center; padding-left: 0px;" colspan="2">TBE결과</th>
  504. <th style="text-align: center; padding-left: 0px;" rowspan="2">견적대비표</th>
  505. <th style="text-align: center; padding-left: 0px;" rowspan="2">입찰실시</th>
  506. <th style="text-align: center; padding-left: 0px;" colspan="3">첨부문서</th>
  507. </tr>
  508. <tr height="25">
  509. <th style="text-align: center; padding-left: 0px;">결과</th>
  510. <th style="text-align: center; padding-left: 0px;">보기</th>
  511. <th style="text-align: center; padding-left: 0px;">내부</th>
  512. <th style="text-align: center; padding-left: 0px;">외부</th>
  513. <th style="text-align: center; padding-left: 0px;">업체</th>
  514. </tr>
  515. <% if(DashList3.size() != 0){%>
  516. <%for(int i=0; i < DashList3.size(); i++){ %>
  517. <tr height="25">
  518. <td style="vertical-align: middle;"><%=DashList3.getRow(i).get("BID_NO") %></td>
  519. <td style="text-align: center;"><%=DashList3.getRow(i).get("BID_DEG") %></td>
  520. <td><%=DashList3.getRow(i).get("BID_MASTER_NM") %></td>
  521. <td style="text-align: center;">적합</td>
  522. <td style="text-align: center;"><span class="btnSearch center"><a href="javascript:void(0);" id="btnTbeResult" onclick="btn_tbecheckpop('<%=DashList3.getRow(i).get("BID_NO") %>','<%=DashList3.getRow(i).get("BID_DEG") %>');">보기</a></span></td>
  523. <td style="text-align: center;">
  524. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_report" onclick="report('<%=DashList3.getRow(i).get("BID_NO") %>','<%=DashList3.getRow(i).get("BID_DEG") %>','<%=DashList3.getRow(i).get("PBC_CBE_TYPE_CD") %>')">보기</a></span>
  525. </td>
  526. <td style="text-align: center;">
  527. <%if(!"".equals(DashList3.getRow(i).get("DOC_ID")) ){ %>
  528. <img align="absmiddle" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="viewDraft('<%=DashList3.getRow(i).get("DOC_ID") %>','<%=DashList3.getRow(i).get("YEAR") %>');"/>
  529. <%} %>
  530. </td>
  531. <td style="text-align: center;">
  532. <%if(!DashList3.getRow(i).get("BID_IN_CNT").equals("0") ){ %>
  533. <img align="absmiddle" id="file_in" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('<%=DashList3.getRow(i).get("DOC_ETC_IN") %>', '<%=DashList3.getRow(i).get("DEMANDED_ID") %>');"/>
  534. <%} %>
  535. </td>
  536. <td style="text-align: center;">
  537. <%if(!DashList3.getRow(i).get("BID_OUT_CNT").equals("0") ){ %>
  538. <img align="absmiddle" id="file_out" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('<%=DashList3.getRow(i).get("DOC_ETC_OUT") %>', '<%=DashList3.getRow(i).get("DEMANDED_ID") %>');"/>
  539. <%} %>
  540. </td>
  541. <td style="text-align: center;">
  542. <%if(!DashList3.getRow(i).get("CORP_CNT").equals("0") ){ %>
  543. <img align="absmiddle" id="corp_file" style="cursor: pointer;" src="/img/buyer/button/bt_change.gif" border="0" onclick="getFileListPop('<%=DashList3.getRow(i).get("FILE_GB") %>', '<%=DashList3.getRow(i).get("DEMANDED_ID") %>');"/>
  544. <%} %>
  545. </td>
  546. </tr>
  547. <%} %>
  548. <%}else{ %>
  549. <tr height="25">
  550. <td style="vertical-align: middle; text-align: center;" colspan="10">검색된 내용이 없습니다.</td>
  551. </tr>
  552. <%} %>
  553. </table>
  554. -->
  555. </form>