CancelBidPop.jsp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.07.28
  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. <%-- <%@ 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 = ctx.getUser();
  25. String DEMANDED_ID = (String) storage.get("DEMANDED_ID");
  26. String BID_NO = (String) storage.get("BID_NO");
  27. String BID_DEG = (String) storage.get("BID_DEG");
  28. String pop_win_id = (String) storage.get("pop_win_id");
  29. %>
  30. <%@ page contentType="text/html; charset=utf-8" %>
  31. <SCRIPT language="JavaScript">
  32. function doPageInit() {
  33. }
  34. function doClose()
  35. {
  36. returnValue = null;
  37. parent.PopClose("<%=pop_win_id%>",returnValue);
  38. }
  39. function postpone(){
  40. if($("#FIB_REASON").val().length > 0){
  41. if(stringByteSize4UTF($("#FIB_REASON").val())>3000){
  42. alert("유찰 사유는 한글 1000자,영문 3000자를 넘길 수 없습니다.");
  43. return;
  44. }else{
  45. if(confirm("유찰 하시겠습니까?")){
  46. $("#FIBREASON").val($("#FIB_REASON").val());
  47. var f = document.form1;
  48. submitXmlRequest("/bid/outside/CancelBidPop_form.screen", "FORM_CANCEL_UPDATE", f);
  49. }
  50. }
  51. }else{
  52. alert("유찰사유는 필수 입니다.");
  53. }
  54. }
  55. function doResult(resultObj) {
  56. try {
  57. if( resultObj.getRequestEvent() == "FORM_CANCEL_UPDATE") {
  58. if( resultObj.getSuccess() ) {
  59. returnValue = new Array(0,"유찰 되었습니다.");
  60. parent.PopClose("<%=pop_win_id%>",returnValue);
  61. }
  62. else {
  63. dlgErrorMsg(resultObj);
  64. }
  65. // document.form1.isSubmit = false;
  66. }
  67. }
  68. catch(errorObject) {
  69. showErrorDlg("doResult()", errorObject);
  70. }
  71. }
  72. </SCRIPT>
  73. <FORM name="form1" method="post">
  74. <TABLE width="580px">
  75. <INPUT type="hidden" name="DEMANDED_ID" value="<%=DEMANDED_ID%>">
  76. <INPUT type="hidden" name="BID_NO" value="<%=BID_NO%>">
  77. <INPUT type="hidden" name="BID_DEG" value="<%=BID_DEG%>">
  78. <INPUT type="hidden" name="STATUS_CD" value="92">
  79. <INPUT type="hidden" name="fevent" id="fevent" value="FROM_CANCEL_UPDATE">
  80. <INPUT type="hidden" name="FIBREASON" id="FIBREASON" value="">
  81. <TR height="2"><TD colspan="2"></TD></TR>
  82. <TR height="25">
  83. <TD>
  84. <table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0" class="ftit_table">
  85. <colgroup>
  86. <col width="*" />
  87. <col width="150" />
  88. </colgroup>
  89. <tr>
  90. <th>
  91. </th>
  92. <td align="right">
  93. <span class="btnSearch center"><a href="javascript:postpone();">유찰</a></span>
  94. </td>
  95. </tr>
  96. </table>
  97. </TD>
  98. </TR>
  99. </TABLE>
  100. <!-- 버튼 영역 : 시작 -->
  101. <!-- 유찰 사유 -->
  102. <TABLE cellspacing="1" cellpadding="0" class="search_table">
  103. <TR height="100">
  104. <TD width="15%" class="insert_table_title required">유찰사유</TD>
  105. <TD width="35%" class="search_table_data" >
  106. &nbsp;&nbsp; <textarea name="FIB_REASON" id="FIB_REASON" style="width:95%; height:140px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"></textarea>
  107. </TD>
  108. </TR>
  109. </TABLE>
  110. </FORM>