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