123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <%--
- - Author(s) : Hyung min Son
- - Date : 2014.07.28
- - Description: 유찰 사유 팝업
- --%>
- <%@page import="monfox.toolkit.snmp.agent.modules.SnmpV2Mib.SysOREntry"%>
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="kr.co.udapsoft.common.*" %>
- <%@ page import="com.udapsoft.waf.system.*" %>
- <%@ page import="com.udapsoft.waf.common.*" %>
- <%@ page import="com.udapsoft.waf.common.ui.HTMLMaker" %>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="kr.co.hsnc.common.util.ValueObject" %>
- <%@ page import="kr.co.hsnc.common.sql.*" %>
- <%@ page import="kr.co.hsnc.common.sql.RowSet" %>
- <%@ page import="kr.co.hsnc.common.sql.util.*" %>
- <%-- <%@ include file="/jsp/work/taglib.jsp" %> --%>
- <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
- <%
- ctx.init(request, response);
- HandlerStorage storage = ctx.getHandlerStorage();
- ValueObject params = storage.getParams();
- ValueObject user = ctx.getUser();
- String DEMANDED_ID = (String) storage.get("DEMANDED_ID");
- String BID_NO = (String) storage.get("BID_NO");
- String BID_DEG = (String) storage.get("BID_DEG");
- String ONBID_YN = (String) storage.get("ONBID_YN");
- String pop_win_id = (String) storage.get("pop_win_id");
- %>
- <%@ page contentType="text/html; charset=utf-8" %>
- <SCRIPT language="JavaScript">
- function doPageInit() {
-
- }
-
- function doClose()
- {
- returnValue = null;
- parent.PopClose("<%=pop_win_id%>",returnValue);
- }
- function postpone(){
- if($("#FIB_REASON").val().length > 0){
- if(stringByteSize4UTF($("#FIB_REASON").val())>3000){
- alert("유찰 사유는 한글 1000자,영문 3000자를 넘길 수 없습니다.");
- return;
- }else{
- if(confirm("유찰 하시겠습니까?")){
- $("#FIBREASON").val($("#FIB_REASON").val());
- var f = document.form1;
- submitXmlRequest("/bid/purchase/CancelBidPop_form.screen", "FORM_CANCEL_UPDATE", f);
- }
- }
- }else{
- alert("유찰사유는 필수 입니다.");
- }
- }
- /*
- function replace(){
- var content = $("#FIB_REASON").val();
- content = content.replace(/\r\n/g, '<br>');
- content = content.replace(/\n/g, '<br>');
- content = content.replace(/\r/g, '<br>');
- $("#FIBREASON").val(content);
- } */
-
- function doResult(resultObj) {
- try {
- if( resultObj.getRequestEvent() == "FORM_CANCEL_UPDATE") {
- if( resultObj.getSuccess() ) {
- returnValue = new Array(0,"유찰 되었습니다.");
- parent.PopClose("<%=pop_win_id%>",returnValue);
- }
- else {
- dlgErrorMsg(resultObj);
- }
- // document.form1.isSubmit = false;
- }
- }
- catch(errorObject) {
- showErrorDlg("doResult()", errorObject);
- }
- }
- </SCRIPT>
- <FORM name="form1" method="post">
- <TABLE width="580px">
- <INPUT type="hidden" name="DEMANDED_ID" value="<%=DEMANDED_ID%>">
- <INPUT type="hidden" name="BID_NO" value="<%=BID_NO%>">
- <INPUT type="hidden" name="BID_DEG" value="<%=BID_DEG%>">
- <INPUT type="hidden" name="ONBID_YN" value="<%=ONBID_YN%>">
- <INPUT type="hidden" name="STATUS_CD" value="92">
- <INPUT type="hidden" name="fevent" id="fevent" value="FROM_CANCEL_UPDATE">
- <INPUT type="hidden" name="FIBREASON" id="FIBREASON" value="">
- <TR height="2"><TD colspan="2"></TD></TR>
- <TR height="25">
- <TD>
- <table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0" class="ftit_table">
- <colgroup>
- <col width="*" />
- <col width="150" />
- </colgroup>
- <tr>
- <th>
- </th>
- <td align="right">
- <span class="btnSearch center"><a href="javascript:postpone();">유찰</a></span>
- </td>
- </tr>
- </table>
- </TD>
- </TR>
- </TABLE>
- <!-- 버튼 영역 : 시작 -->
- <!-- 유찰 사유 -->
- <TABLE class="form-table">
- <TR height="100">
- <TH width="15%" class="required">유찰사유</TH>
- <TD width="35%">
- <textarea name="FIB_REASON" id="FIB_REASON" style="width:98%; height:140px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"></textarea>
- </TD>
- </TR>
- </TABLE>
- </FORM>
|