body.jsp 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. <%@ page contentType="text/html; charset=utf-8" %>
  2. <%@ page import="kr.co.hsnc.common.util.*" %>
  3. <%@ page import="com.udapsoft.waf.common.util.DateUtil" %>
  4. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  5. <%@ page import="kr.co.hsnc.common.sql.*" %>
  6. <%@ include file="/jsp/work/taglib.jsp" %>
  7. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  8. <%
  9. ctx.init(request, response);
  10. // ValueObject user = ctx.getUser();
  11. HandlerStorage storage = ctx.getHandlerStorage();
  12. ValueObject params = storage.getParams();
  13. ValueObject user = storage.getUser();
  14. ValueObject getSuppCnt = new ValueObject();
  15. RowSet getMainBidList = new RowSetImpl();
  16. RowSet getContIngList = new RowSetImpl();
  17. RowSet PayRequestList = new RowSetImpl();
  18. RowSet MainNotice = new RowSetImpl();
  19. RowSet MainBbs = new RowSetImpl();
  20. RowSet MainTax = new RowSetImpl();
  21. getSuppCnt = storage.getValueObject("getSuppCnt");
  22. getMainBidList = storage.getRowSet("getMainBidList");
  23. getContIngList = storage.getRowSet("getContIngList");
  24. PayRequestList = storage.getRowSet("PayRequestList");
  25. MainNotice = storage.getRowSet("MainNotice");
  26. MainBbs = storage.getRowSet("MainBbs");
  27. MainTax = storage.getRowSet("MainTax");
  28. %>
  29. <!-- 로그인 디자인 1 -->
  30. <!-- <div align="center">
  31. <table width="676" border="0" cellpadding="0" cellspacing="0">
  32. <tr>
  33. <td height="80">&nbsp;</td>
  34. </tr>
  35. <tr>
  36. <td height="464" align="left" valign="middle">
  37. <table width="676" border="0" cellpadding="0" cellspacing="0">
  38. <tr>
  39. <td height="218" align="center">&nbsp;<span style="color:#000; line-height:25px;font-size:32px;">E-TEC ePMCS</span><BR><span style="color:#000; line-height:25px;font-size:16px;">SGC이앤씨 플랜트 자재관리 시스템</span></td>
  40. </tr>
  41. <tr>
  42. <td>&nbsp;</td>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. </table>
  48. </div> -->
  49. <style type="text/css">
  50. <!--
  51. .style1 {
  52. color: #FF6600;
  53. font-weight: bold;
  54. }
  55. .style2 {
  56. color: #1f94b7;
  57. font-weight: bold;
  58. }
  59. .style3 {color: #2b4976}
  60. .list_title002{text-align:center; line-height:26px; background-color:#d8e3f0 ;border-right:#c3c3c3 solid 1px; padding:0px 5px }
  61. .list_title002_R{ text-align:center; line-height:26px; background-color:#d8e3f0 ;padding:0px 3px }
  62. .list_title003{ text-align:left; line-height:22px; text-indent:5px; font-size:12px; color:#333333}
  63. .list_title003 a:link{ text-align:left; line-height:22px; text-indent:5px; font-size:12px; color:#333333; text-decoration:none}
  64. .list_title003 a:visited{color:#8897aa; text-decoration:none;},
  65. .list_title003 a:hover,
  66. .list_title003 a:active,{ text-align:left; line-height:22px; text-indent:5px; font-size:12px; text-decoration:underline; color:#3386cc}
  67. /* 타이틀 */
  68. #title002{}
  69. #title002 ul{ margin:0; padding:0; display: inline-block; line-height:23px; background-image:url(img/sys_title_bg_03.gif); background-repeat:no-repeat; width:363px}
  70. #title002 ul li{ display:inline;font-size:12px; color:#ffffff; text-align:left; list-style:none; margin-left:29px; font-weight:bold;}
  71. .list_field002{ text-align:center; line-height:29px;border-right:#c3c3c3 solid 1px;}
  72. .list_field002_R{ text-align:center; line-height:29px;}
  73. #index_content {
  74. width: 1100px;
  75. height: 200px;
  76. margin: 0 auto;
  77. top: 50px;
  78. position: relative;
  79. background-color: #fff;
  80. }
  81. -->
  82. </style>
  83. <script type="text/javascript">
  84. <!--
  85. var right_name = "<%=user.get("RIGHT_NAME")%>";
  86. $(document).ready(function(){
  87. $("#PayRequest_more").css("display", "none");
  88. if(right_name != "PURCHASE" && right_name != "OUTSIDE" )
  89. {
  90. $("#go_detail").css("display", "none");
  91. $("#contIng_more").css("display", "none");
  92. }
  93. if(right_name == "PURCHASE")
  94. {
  95. $("#bid_all").attr("href", "/bid/purchase/BidIngList.screen");
  96. $("#cont_all").attr("href", "/cont/purchase/ContIngList.screen");
  97. // $("#pay_all").attr("href", "payment/purchase/PayRequestList.screen");
  98. }
  99. else if(right_name == "OUTSIDE" )
  100. {
  101. $("#bid_all").attr("href", "/bid/outside/BidIngList.screen");
  102. $("#cont_all").attr("href", "/cont/outside/ContIngList.screen");
  103. // $("#pay_all").attr("href", "/bid/purchase/BidIngList.screen");
  104. }
  105. });
  106. $("#go_detail").click(function(){
  107. if(right_name == "PURCHASE")
  108. {
  109. location.href="/bid/purchase/BidIngList.screen";
  110. }
  111. else if(right_name == "OUTSIDE")
  112. {
  113. location.href="/bid/outside/BidIngList.screen";
  114. }
  115. });
  116. function goBidDetail(status_cd, bid_no, bid_deg, demanded_id)
  117. {
  118. var job_div = "<%=params.get("job_div")%>";
  119. $("#bid_no").val(bid_no);
  120. $("#bid_deg").val(bid_deg);
  121. $("#demanded_id").val(demanded_id);
  122. if(job_div == "P")
  123. {
  124. if(status_cd == "03")
  125. {
  126. $("#fevent").val("FORM_SELECT_SITE");
  127. $("#form1").attr("action", "/bid/purchase/SiteExplanIng.screen");
  128. }
  129. else if(status_cd == "04")
  130. {
  131. $("#fevent").val("FORM_SELECT");
  132. $("#form1").attr("action", "/bid/purchase/BidIng.screen");
  133. }
  134. else if(status_cd == "05" || status_cd == "06" || status_cd == "07")
  135. {
  136. $("#fevent").val("FORM_SELECT");
  137. $("#form1").attr("action", "/bid/purchase/SuccessBid.screen");
  138. }
  139. }
  140. else if(job_div == "O")
  141. {
  142. if(status_cd == "03")
  143. {
  144. $("#fevent").val("FORM_SELECT_SITE");
  145. $("#form1").attr("action", "/bid/outside/SiteExplanIng.screen");
  146. }
  147. else if(status_cd == "04")
  148. {
  149. $("#fevent").val("FORM_SELECT");
  150. $("#form1").attr("action", "/bid/outside/BidIng.screen");
  151. }
  152. else if(status_cd == "05" || status_cd == "06" || status_cd == "07")
  153. {
  154. $("#fevent").val("FORM_SELECT");
  155. $("#form1").attr("action", "/bid/outside/SuccessBid.screen");
  156. }
  157. }
  158. $("#form1").attr("target", "_self");
  159. $("#form1").attr("method", "post");
  160. $("#form1").submit();
  161. }
  162. function goiDetail(seq, gubun)
  163. {
  164. if(gubun == "NOTICE")
  165. {
  166. $("#seq").val(seq);
  167. $("#fevent").val("GET_NOTI_DETAIL");
  168. $("#form1").attr("action", "/center/center/NotiDetail.screen");
  169. $("#form1").attr("target", "_self");
  170. $("#form1").attr("method", "post");
  171. $("#form1").submit();
  172. }
  173. else if(gubun == "BBS")
  174. {
  175. $("#seq").val(seq);
  176. $("#fevent").val("GET_REFERENCE_DETAIL");
  177. $("#form1").attr("action", "/center/center/ReferenceDetail.screen");
  178. $("#form1").attr("target", "_self");
  179. $("#form1").attr("method", "post");
  180. $("#form1").submit();
  181. }
  182. }
  183. function getConIngDetail(pur_cont_mod_id, template_cd, chg_cont_yn)
  184. {
  185. var job_div = "<%=params.get("job_div")%>";
  186. if(job_div == "P")
  187. {
  188. $("#PUR_CONT_MOD_ID").val(pur_cont_mod_id);
  189. $("#TEMPLATE_CD").val(template_cd);
  190. $("#ChgCont").val(chg_cont_yn);
  191. $("#fevent").val("FORM_SELECT");
  192. $("#form1").attr("action", "/cont/purchase/ContDetail.screen");
  193. $("#form1").attr("target", "_self");
  194. $("#form1").attr("method", "get");
  195. $("#form1").submit();
  196. }
  197. else if(job_div == "O")
  198. {
  199. $("#SUB_CONT_MOD_ID").val(pur_cont_mod_id);
  200. $("#TEMPLATE_CD").val(template_cd);
  201. $("#ChgCont").val(chg_cont_yn);
  202. $("#fevent").val("FORM_SELECT");
  203. $("#form1").attr("action", "/cont/outside/ContDetail.screen");
  204. $("#form1").attr("target", "_self");
  205. $("#form1").attr("method", "get");
  206. $("#form1").submit();
  207. }
  208. }
  209. function goPayDetail(cont_mod_id, gubun, pay_div, payreq_id)
  210. {
  211. var job_div = "<%=params.get("job_div")%>";
  212. if(job_div == "P")
  213. {
  214. if(gubun == "S")
  215. {
  216. $("#selectSubContModId").val(cont_mod_id);
  217. $("#fevent").val("");
  218. $("#form1").attr("action", "/payment/purchase/Prepayments.screen");
  219. $("#form1").attr("target", "_self");
  220. $("#form1").attr("method", "post");
  221. $("#form1").submit();
  222. }
  223. else
  224. {
  225. $("#purContId").val(cont_mod_id);
  226. $("#payreqId").val(payreq_id);
  227. if(pay_div == "1"){
  228. $("#fevent").val("");
  229. $("#form1").attr("action", "/payment/purchase/PayInstallResult.screen");
  230. $("#form1").attr("target", "_self");
  231. $("#form1").attr("method", "post");
  232. $("#form1").submit();
  233. }else if(pay_div == "2"){
  234. $("#fevent").val("");
  235. $("#form1").attr("action", "/payment/purchase/PayItemResult.screen");
  236. $("#form1").attr("target", "_self");
  237. $("#form1").attr("method", "post");
  238. $("#form1").submit();
  239. }
  240. }
  241. }
  242. else
  243. {
  244. $("#selectSubContModId").val(cont_mod_id); //변경계약ID
  245. $("#fevent").val("");
  246. $("#form1").attr("action", "/payment/outside/AdvencePayment.screen");
  247. $("#form1").attr("target", "_self");
  248. $("#form1").attr("method", "post");
  249. $("#form1").submit();
  250. }
  251. }
  252. function getTaxDetail(job_div)
  253. {
  254. if(job_div == "P")
  255. {
  256. $("#fevent").val("FORM_SELECT");
  257. $("#form1").attr("action", "/payment/purchase/TaxList.screen");
  258. $("#form1").attr("target", "_self");
  259. $("#form1").attr("method", "get");
  260. $("#form1").submit();
  261. }
  262. else if(job_div == "O")
  263. {
  264. $("#fevent").val("FORM_SELECT");
  265. $("#form1").attr("action", "/payment/outside/TaxList.screen");
  266. $("#form1").attr("target", "_self");
  267. $("#form1").attr("method", "get");
  268. $("#form1").submit();
  269. }
  270. }
  271. //-->
  272. </script>
  273. <modular:search id="form1">
  274. <modular:key id="fevent" />
  275. </modular:search>
  276. <form id="form1" name="form1">
  277. <input type="hidden" id="fevent" name="fevent" value=""/>
  278. <input type="hidden" id="seq" name="seq" value=""/>
  279. <input type="hidden" name="PUR_CONT_MOD_ID" value="">
  280. <input type="hidden" name="SUB_CONT_MOD_ID" value="">
  281. <input type="hidden" name="TEMPLATE_CD" value="">
  282. <input type='hidden' name="ChgCont">
  283. <input type='hidden' name="selectSubContModId" id="selectSubContModId" value="" />
  284. <input type='hidden' name="purContId" id="purContId" value="" />
  285. <input type='hidden' name="payreqId" id="payreqId" value="" />
  286. <input type='hidden' name="bid_no" id="bid_no" value="" />
  287. <input type='hidden' name="bid_deg" id="bid_deg" value="" />
  288. <input type='hidden' name="demanded_id" id="demanded_id" value="" />
  289. <input type='hidden' name="acct_id" value="<%= user.get("acct_id") %>">
  290. </form>
  291. <div id="index_content">
  292. <table width="1100">
  293. <tr>
  294. <td >
  295. <table width="1100" border="0" cellspacing="0" cellpadding="0">
  296. <tr>
  297. <td width="790" align="left" valign="top" >
  298. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  299. <tr>
  300. <td>
  301. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#4a5562; height:30px; color:#FFFFFF; width:100%">
  302. <tr>
  303. <td><img src="/img/buyer/index/n_t00.gif" alt="입찰현황" /></td>
  304. <td style="text-align:right; padding-right:10px;"><a href="#" id="bid_all"><img src="/img/buyer/index/view_more.png" alt="더보기" width="38" height="10" border="0" id="go_detail"/></a></td>
  305. </tr>
  306. </table>
  307. </td>
  308. </tr>
  309. <tr>
  310. <td height="10"></td>
  311. </tr>
  312. <tr>
  313. <td>
  314. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:#c3c3c3 solid 1px;">
  315. <col width="19%"/>
  316. <col width="24%"/>
  317. <col width="9%"/>
  318. <col width="9%"/>
  319. <col width="9%"/>
  320. <col width="10%"/>
  321. <col width="9%"/>
  322. <col width="10%"/>
  323. <tr>
  324. <td class="list_title002">현장명</td>
  325. <td class="list_title002">발주의뢰명</td>
  326. <td class="list_title002">현장설명</td>
  327. <td class="list_title002">견적마감</td>
  328. <td class="list_title002">기술검토</td>
  329. <td class="list_title002">견적서 개찰</td>
  330. <td class="list_title002">시행결의</td>
  331. <td class="list_title002_R">진행상태</td>
  332. </tr>
  333. <tr>
  334. <td colspan="8" height="1" bgcolor="#c3c3c3"></td>
  335. </tr>
  336. <%
  337. if(getMainBidList.size() != 0)
  338. {
  339. for(int i=0; i < getMainBidList.size(); i++)
  340. {
  341. %>
  342. <tr onclick="goBidDetail('<%=getMainBidList.getRow(i).get("STATUS_CD")%>', '<%=getMainBidList.getRow(i).get("BID_NO")%>', '<%=getMainBidList.getRow(i).get("BID_DEG")%>', '<%=getMainBidList.getRow(i).get("DEMANDED_ID")%>')" style="cursor: pointer;">
  343. <td class="list_field002" style="text-align: left;">&nbsp;<%=getMainBidList.getRow(i).get("DEPT_NM").length() > 13 ? getMainBidList.getRow(i).get("DEPT_NM").substring(0, 13) + "..." : getMainBidList.getRow(i).get("DEPT_NM")%></td>
  344. <td class="list_field002" style="text-align: left;"><div style="text-overflow:ellipsis; overflow:hidden; white-space:nowrap;">&nbsp;<%=getMainBidList.getRow(i).get("DEMANDED_TITLE").length() > 15 ? getMainBidList.getRow(i).get("DEMANDED_TITLE").substring(0, 15) + "..." : getMainBidList.getRow(i).get("DEMANDED_TITLE")%></div></td>
  345. <td class="list_field002"><%=getMainBidList.getRow(i).get("SITEDESCDATE") %></td>
  346. <td class="list_field002"><%=getMainBidList.getRow(i).get("BID_TO_DT") %></td>
  347. <td class="list_field002"><%=getMainBidList.getRow(i).get("TBE_FIN_DT") %></td>
  348. <td class="list_field002"><%=getMainBidList.getRow(i).get("OPEN_DT") %></td>
  349. <td class="list_field002"><%=getMainBidList.getRow(i).get("CONT_APP_DATE") %></td>
  350. <td class="list_field002_R"><%=getMainBidList.getRow(i).get("STATUS_NM") %></td>
  351. </tr>
  352. <%if(i < getMainBidList.size()-1){ %>
  353. <tr>
  354. <td colspan="8" height="1" bgcolor="#c3c3c3"></td>
  355. </tr>
  356. <%} %>
  357. <%
  358. }
  359. %>
  360. <%
  361. }else{
  362. %>
  363. <tr>
  364. <td class="list_field002" colspan="8">입찰현황 내용이 없습니다.</td>
  365. </tr>
  366. <tr>
  367. <td colspan="8" height="1" bgcolor="#c3c3c3"></td>
  368. </tr>
  369. <%
  370. }
  371. %>
  372. </table>
  373. </td>
  374. </tr>
  375. </table>
  376. </td>
  377. <td width="15">&nbsp;</td>
  378. <td align="right" valign="top">
  379. <table height="159" width="283" border="0" cellpadding="0" cellspacing="0" style="background-image:url(/img/buyer/index/notice_bg002.gif); background-repeat:no-repeat;">
  380. <tr>
  381. <td height="34" colspan="4" style=" padding-left:10px; font-weight:bold; font-size:12px; text-align:left; line-height:34px;">협력업체현황</td>
  382. </tr>
  383. <tr>
  384. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  385. <td class="list_title003">총업체수 : <%=getSuppCnt.get("ALL_CNT") %></td>
  386. <td width="15" align="right" ></td>
  387. <td class="list_title003"></td>
  388. </tr>
  389. <tr>
  390. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  391. <td class="list_title003">가입요청 : <%=getSuppCnt.get("REQUEST_CNT") %></td>
  392. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  393. <td class="list_title003">대&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;기 : <%=getSuppCnt.get("READY_CNT") %></td>
  394. </tr>
  395. <tr>
  396. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  397. <td class="list_title003">가&nbsp;&nbsp;등&nbsp;록 : <%=getSuppCnt.get("PROV_CNT") %></td>
  398. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  399. <td class="list_title003">등&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;록 : <%=getSuppCnt.get("REGIST_CNT") %></td>
  400. </tr>
  401. <tr>
  402. <td width="15" align="right" ><img src="/img/buyer/index/icon.gif" /></td>
  403. <td class="list_title003">거래중지 : <%=getSuppCnt.get("STOP_CNT") %></td>
  404. <td width="15" align="right"><img src="/img/buyer/index/icon.gif" /></td>
  405. <td class="list_title003">거래취소 : <%=getSuppCnt.get("CANCEL_CNT") %> </td>
  406. </tr>
  407. </table>
  408. </td>
  409. </tr>
  410. </table></td>
  411. </tr>
  412. <tr>
  413. <td height="20">&nbsp;</td>
  414. </tr>
  415. <tr>
  416. <td>
  417. <table width="1100" border="0" cellspacing="0" cellpadding="0">
  418. <tr>
  419. <td width="540">
  420. <table width="540" border="0" cellpadding="0" cellspacing="0">
  421. <tr>
  422. <td colspan="3">
  423. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#8897aa; height:30px; color:#FFFFFF; width:100%">
  424. <tr>
  425. <td align="left"><img src="/img/buyer/index/n_t01.gif" alt="계약현황" /></td>
  426. <td style="text-align:right; padding-right:10px;"><a href="#" id="cont_all" ><img src="/img/buyer/index/view_more.png" alt="더보기" width="38" height="10" border="0" style="cursor: pointer;" id="contIng_more" /></a></td>
  427. </tr>
  428. </table>
  429. </td>
  430. </tr>
  431. <tr>
  432. <td colspan="3" height="10"></td>
  433. </tr>
  434. <%
  435. if(getContIngList.size() != 0)
  436. {
  437. for(int i = 0; i < getContIngList.size(); i++)
  438. {
  439. %>
  440. <tr>
  441. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  442. <td class="list_title003"><a href="#" onclick="getConIngDetail('<%=getContIngList.getRow(i).get("CONT_MOD_ID") %>', '<%=getContIngList.getRow(i).get("TEMPLATE_CD") %>', '<%=getContIngList.getRow(i).get("CHG_CONT_YN")%>');"> <%=getContIngList.getRow(i).get("TITLE").length() > 40 ? getContIngList.getRow(i).get("TITLE").substring(0, 40) + "..." : getContIngList.getRow(i).get("TITLE")%></a></td>
  443. <td width="100" align="right" style="padding-right:10px;"><%=getContIngList.getRow(i).get("NOTI_DATE") %></td>
  444. </tr>
  445. <%
  446. }
  447. if(getContIngList.size() < 5)
  448. {
  449. for(int i=0; i < 5-getContIngList.size(); i++)
  450. {
  451. %>
  452. <tr>
  453. <td width="20" style="padding-left:10px;"></td>
  454. <td class="list_title003"><a href="#"></a>&nbsp;</td>
  455. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  456. </tr>
  457. <%
  458. }
  459. }
  460. }else{
  461. for(int i=0; i < 5-getContIngList.size(); i++)
  462. {
  463. %>
  464. <tr>
  465. <td width="20" style="padding-left:10px;"><%=i == 0 ? "<img src=\"/img/buyer/index/n_icon.gif\" />" : "" %></td>
  466. <td class="list_title003"><%=i == 0 ? "검색된 내용이 없습니다." : "&nbsp;" %></td>
  467. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  468. </tr>
  469. <%
  470. }
  471. }
  472. %>
  473. </table>
  474. </td>
  475. <td>&nbsp;</td>
  476. <td width="540">
  477. <table width="540" border="0" cellpadding="0" cellspacing="0">
  478. <tr>
  479. <td colspan="3">
  480. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#8897aa; height:30px; color:#FFFFFF; width:100%">
  481. <tr>
  482. <td align="left"><img src="/img/buyer/index/n_t03.gif" alt="대금현황" /></td>
  483. <td style="text-align:right; padding-right:10px;"><a href="#" id="pay_all" ><img src="/img/buyer/index/view_more.png" alt="더보기" width="38" height="10" border="0" style="cursor: pointer;" id="PayRequest_more" name="PayRequest_more" /></a></td>
  484. </tr>
  485. </table>
  486. </td>
  487. </tr>
  488. <tr>
  489. <td colspan="3" height="10"></td>
  490. </tr>
  491. <%
  492. if(PayRequestList.size() != 0)
  493. {
  494. for(int i = 0; i < PayRequestList.size(); i++)
  495. {
  496. %>
  497. <tr>
  498. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  499. <td class="list_title003"><a href="#" id="go_detail" onclick="goPayDetail('<%=PayRequestList.getRow(i).get("CONT_MOD_ID")%>', '<%=PayRequestList.getRow(i).get("GUBUN")%>', '<%=PayRequestList.getRow(i).get("PAY_DIV")%>', '<%=PayRequestList.getRow(i).get("PAYREQ_ID")%>');"><%=PayRequestList.getRow(i).get("TITLE").length() > 40 ? PayRequestList.getRow(i).get("TITLE").substring(0, 40) + "..." : PayRequestList.getRow(i).get("TITLE")%></a></td>
  500. <td width="100" align="right" style="padding-right:10px;"><%=PayRequestList.getRow(i).get("NOTI_DATE") %></td>
  501. </tr>
  502. <%
  503. }
  504. if(PayRequestList.size() < 5)
  505. {
  506. for(int i=0; i < 5-PayRequestList.size(); i++)
  507. {
  508. %>
  509. <tr>
  510. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  511. <td class="list_title003"><a href="#"></a>&nbsp;</td>
  512. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  513. </tr>
  514. <%
  515. }
  516. }
  517. }else{
  518. for(int i=0; i < 5-PayRequestList.size(); i++)
  519. {
  520. %>
  521. <tr>
  522. <td width="20" style="padding-left:10px;"><%=i == 0 ? "<img src=\"/img/buyer/index/n_icon.gif\" />" : "" %></td>
  523. <td class="list_title003"><%=i == 0 ? "검색된 내용이 없습니다." : "&nbsp;" %></td>
  524. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  525. </tr>
  526. <%
  527. }
  528. }
  529. %>
  530. </table>
  531. </td>
  532. </tr>
  533. </table>
  534. </td>
  535. </tr>
  536. <tr>
  537. <td>&nbsp;</td>
  538. </tr>
  539. <tr>
  540. <td>
  541. <table width="1100" border="0" cellspacing="0" cellpadding="0">
  542. <tr>
  543. <td width="540" valign="top">
  544. <table width="540" border="0" cellpadding="0" cellspacing="0">
  545. <tr>
  546. <td colspan="3">
  547. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#8897aa; height:30px; color:#FFFFFF; width:100%">
  548. <tr>
  549. <td align="left"><img src="/img/buyer/index/n_t02.gif" alt="공지사항" /></td>
  550. <td style="text-align:right; padding-right:10px;"><a href="/center/center/NotiList.screen"><img src="/img/buyer/index/view_more.png" alt="더보기" width="38" height="10" border="0" /></a></td>
  551. </tr>
  552. </table>
  553. </td>
  554. </tr>
  555. <tr>
  556. <td colspan="3" height="10"></td>
  557. </tr>
  558. <%
  559. if(MainNotice.size() != 0)
  560. {
  561. for(int i = 0; i < MainNotice.size(); i++)
  562. {
  563. %>
  564. <tr>
  565. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  566. <td class="list_title003"><a href="#" onclick="goiDetail('<%=MainNotice.getRow(i).get("SEQ")%>', 'NOTICE');"><%=MainNotice.getRow(i).get("TITLE").length() > 40 ? MainNotice.getRow(i).get("TITLE").substring(0, 40) + "..." : MainNotice.getRow(i).get("TITLE")%></a></td>
  567. <td width="100" align="right" style="padding-right:10px;"><%=MainNotice.getRow(i).get("NOTI_DATE") %></td>
  568. </tr>
  569. <%
  570. }
  571. if(MainNotice.size() < 5)
  572. {
  573. for(int i=0; i < 5-MainNotice.size(); i++)
  574. {
  575. %>
  576. <tr>
  577. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  578. <td class="list_title003"><a href="#"></a>&nbsp;</td>
  579. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  580. </tr>
  581. <%
  582. }
  583. }
  584. }else{
  585. for(int i=0; i < 5-MainNotice.size(); i++)
  586. {
  587. %>
  588. <tr>
  589. <td width="20" style="padding-left:10px;"><%=i == 0 ? "<img src=\"/img/buyer/index/n_icon.gif\" />" : "" %></td>
  590. <td class="list_title003"><%=i == 0 ? "검색된 내용이 없습니다." : "&nbsp;" %></td>
  591. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  592. </tr>
  593. <%
  594. }
  595. }
  596. %>
  597. </table>
  598. </td>
  599. <td>&nbsp;</td>
  600. <%if(params.get("job_div").equals("P")||params.get("job_div").equals("O")||user.get("RIGHT_NAME").equals("ADMIN NEW")){%>
  601. <td width="540">
  602. <table width="540" border="0" cellpadding="0" cellspacing="0">
  603. <tr>
  604. <td colspan="3">
  605. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#8897aa; height:30px; color:#FFFFFF; width:100%">
  606. <tr>
  607. <td align="left"><img src="/img/buyer/index/n_t05.gif" alt="국세청미전송" /></td>
  608. <td style="text-align:right; padding-right:10px;"></td>
  609. </tr>
  610. </table>
  611. </td>
  612. </tr>
  613. <tr>
  614. <td colspan="3" height="10"></td>
  615. </tr>
  616. <%
  617. if(MainTax.size() != 0)
  618. {
  619. for(int i = 0; i < MainTax.size(); i++)
  620. {
  621. %>
  622. <tr>
  623. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  624. <td class="list_title003"><a href="#" onclick="getTaxDetail('<%=MainTax.getRow(i).get("JOB_DIV")%>');"><%=MainTax.getRow(i).get("CST_DOC_NAME").length() > 40 ? MainTax.getRow(i).get("CST_DOC_NAME").substring(0, 40) + "..." : MainTax.getRow(i).get("CST_DOC_NAME")%></a></td>
  625. <td width="100" align="right" style="padding-right:10px;"><%=MainTax.getRow(i).get("DTI_WDATE") %></td>
  626. </tr>
  627. <%
  628. }
  629. if(MainTax.size() < 5)
  630. {
  631. for(int i=0; i < 5-MainTax.size(); i++)
  632. {
  633. %>
  634. <tr>
  635. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  636. <td class="list_title003"><a href="#"></a>&nbsp;</td>
  637. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  638. </tr>
  639. <%
  640. }
  641. }
  642. }else{
  643. for(int i=0; i < 5-MainTax.size(); i++)
  644. {
  645. %>
  646. <tr>
  647. <td width="20" style="padding-left:10px;"><%=i == 0 ? "<img src=\"/img/buyer/index/n_icon.gif\" />" : "" %></td>
  648. <td class="list_title003"><%=i == 0 ? "검색된 내용이 없습니다." : "&nbsp;" %></td>
  649. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  650. </tr>
  651. <%
  652. }
  653. }
  654. %>
  655. </table>
  656. <%}else{%>
  657. <td width="540">
  658. <table width="540" border="0" cellpadding="0" cellspacing="0">
  659. <tr>
  660. <td colspan="3">
  661. <table border="0" cellpadding="0" cellspacing="0" style=" background-color:#8897aa; height:30px; color:#FFFFFF; width:100%">
  662. <tr>
  663. <td align="left"><img src="/img/buyer/index/n_t04.gif" alt="자료실" /></td>
  664. <td style="text-align:right; padding-right:10px;"><a href="/center/center/ReferenceList.screen"><img src="/img/buyer/index/view_more.png" alt="더보기" width="38" height="10" border="0" /></a></td>
  665. </tr>
  666. </table>
  667. </td>
  668. </tr>
  669. <tr>
  670. <td colspan="3" height="10"></td>
  671. </tr>
  672. <%
  673. if(MainBbs.size() != 0)
  674. {
  675. for(int i = 0; i < MainBbs.size(); i++)
  676. {
  677. %>
  678. <tr>
  679. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  680. <td class="list_title003"><a href="#" onclick="goiDetail('<%=MainBbs.getRow(i).get("SEQ") %>', 'BBS')"><%=MainBbs.getRow(i).get("TITLE").length() > 40 ? MainBbs.getRow(i).get("TITLE").substring(0, 40) + "..." : MainBbs.getRow(i).get("TITLE")%></a></td>
  681. <td width="100" align="right" style="padding-right:10px;"><%=MainBbs.getRow(i).get("NOTI_DATE") %></td>
  682. </tr>
  683. <%
  684. }
  685. if(MainBbs.size() < 5)
  686. {
  687. for(int i=0; i < 5-MainBbs.size(); i++)
  688. {
  689. %>
  690. <tr>
  691. <td width="20" style="padding-left:10px;"><img src="/img/buyer/index/n_icon.gif" /></td>
  692. <td class="list_title003"><a href="#"></a>&nbsp;</td>
  693. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  694. </tr>
  695. <%
  696. }
  697. }
  698. }else{
  699. for(int i=0; i < 5-MainBbs.size(); i++)
  700. {
  701. %>
  702. <tr>
  703. <td width="20" style="padding-left:10px;"><%=i == 0 ? "<img src=\"/img/buyer/index/n_icon.gif\" />" : "" %></td>
  704. <td class="list_title003"><%=i == 0 ? "검색된 내용이 없습니다." : "&nbsp;" %></td>
  705. <td width="100" align="right" style="padding-right:10px;">&nbsp;</td>
  706. </tr>
  707. <%
  708. }
  709. }
  710. %>
  711. </table>
  712. <%}%>
  713. </tr>
  714. <tr>
  715. <td>&nbsp;</td>
  716. </tr>
  717. <tr>
  718. <td>&nbsp;</td>
  719. </tr>
  720. <tr>
  721. <td>&nbsp;</td>
  722. </tr>
  723. </table>
  724. </td>
  725. </tr>
  726. </table>
  727. </div>