BidOpenPop.jsp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.07.07
  4. - Description: 개찰 의견 팝업
  5. --%>
  6. <%@page import="monfox.toolkit.snmp.agent.modules.SnmpV2Mib.SysOREntry"%>
  7. <%@ page contentType="text/html; charset=utf-8" %>
  8. <%@ page import="java.util.*"%>
  9. <%@ page import="kr.co.udapsoft.common.*" %>
  10. <%@ page import="com.udapsoft.waf.system.*" %>
  11. <%@ page import="com.udapsoft.waf.common.*" %>
  12. <%@ page import="com.udapsoft.waf.common.ui.HTMLMaker" %>
  13. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  14. <%@ page import="kr.co.hsnc.common.util.*"%>
  15. <%@ page import="kr.co.hsnc.common.util.ValueObject" %>
  16. <%@ page import="kr.co.hsnc.common.sql.*" %>
  17. <%@ page import="kr.co.hsnc.common.sql.RowSet" %>
  18. <%@ page import="kr.co.hsnc.common.sql.util.*" %>
  19. <%@page import="java.net.URLDecoder"%>
  20. <%-- <%@ include file="/jsp/work/taglib.jsp" %> --%>
  21. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  22. <%
  23. ctx.init(request, response);
  24. HandlerStorage storage = ctx.getHandlerStorage();
  25. ValueObject params = storage.getParams();
  26. ValueObject user = ctx.getUser();
  27. String DEMANDED_ID = (String) storage.get("DEMANDED_ID");
  28. String BID_NO = (String) storage.get("BID_NO");
  29. String BID_DEG = (String) storage.get("BID_DEG");
  30. String TBE_STATUS_CD = (String) storage.get("TBE_STATUS_CD");
  31. String TBE_FLAG = (String) storage.get("TBE_FLAG");
  32. //String OPEN_VALUE = (String) storage.get("OPEN_OPINION");
  33. String OPEN_VALUE = URLDecoder.decode(request.getParameter("OPEN_OPINION"),"UTF-8") ;
  34. System.out.println(OPEN_VALUE);
  35. String pop_win_id = (String) storage.get("pop_win_id");
  36. %>
  37. <%@ page contentType="text/html; charset=utf-8" %>
  38. <SCRIPT language="JavaScript">
  39. function doPageInit() {
  40. }
  41. function doClose()
  42. {
  43. returnValue = null;
  44. parent.PopClose("<%=pop_win_id%>",returnValue);
  45. }
  46. function postpone(){
  47. $("#fevent").val("FORM_OPEN_OPI_SAVE");
  48. var f = document.form1;
  49. submitXmlRequest("/bid/purchase/BidOpen_form.screen", "FORM_OPEN_OPI_SAVE", f);
  50. //개찰의견 필수는 아님.
  51. }
  52. function doResult(resultObj) {
  53. try {
  54. if( resultObj.getRequestEvent() == "FORM_OPEN_OPI_SAVE") {
  55. if( resultObj.getSuccess() ) {
  56. returnValue = new Array(0,"저장 되었습니다.", $("#OPEN_OPINION").val());
  57. parent.PopClose("<%=pop_win_id%>",returnValue);
  58. }
  59. else {
  60. dlgErrorMsg(resultObj);
  61. }
  62. }
  63. }
  64. catch(errorObject) {
  65. showErrorDlg("doResult()", errorObject);
  66. }
  67. }
  68. </SCRIPT>
  69. <FORM name="form1" method="post">
  70. <TABLE width="580px">
  71. <INPUT type="hidden" name="DEMANDED_ID" value="<%=DEMANDED_ID%>">
  72. <INPUT type="hidden" name="BID_NO" value="<%=BID_NO%>">
  73. <INPUT type="hidden" name="BID_DEG" value="<%=BID_DEG%>">
  74. <INPUT type="hidden" name="TBE_STATUS_CD" value="<%=TBE_STATUS_CD%>">
  75. <INPUT type="hidden" name="TBE_FLAG" value="<%=TBE_FLAG%>">
  76. <INPUT type="hidden" name="fevent" id="fevent" value="FORM_OPEN_OPI_SAVE">
  77. <TR height="2"><TD colspan="2"></TD></TR>
  78. <TR height="25">
  79. <TD>
  80. <table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0" class="ftit_table">
  81. <colgroup>
  82. <col width="*" />
  83. <col width="150" />
  84. </colgroup>
  85. <tr>
  86. <th>
  87. </th>
  88. <td align="right">
  89. <span class="btnSearch center"><a href="javascript:postpone();">저장</a></span>
  90. </td>
  91. </tr>
  92. </table>
  93. </TD>
  94. </TR>
  95. </TABLE>
  96. <!-- 버튼 영역 : 시작 -->
  97. <!-- 발주의뢰정보 : 시작 -->
  98. <TABLE class="form-table">
  99. <TR height="100">
  100. <TH width="15%" class="required">특기사항</TH>
  101. <TD width="35%">
  102. <textarea name="OPEN_OPINION" id="OPEN_OPINION" style="width:98%; height:140px; overflow-y:auto" maxlength="100"><%=OPEN_VALUE %></textarea>
  103. </TD>
  104. </TR>
  105. </TABLE>
  106. </FORM>