123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <%--
- - Author(s) : Hyung min Son
- - Date : 2014.07.07
- - 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 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($("#CANCEL_REASON").val().length > 0){
- if(confirm("취소 하시겠습니까?")){
- replace();
- var f = document.form1;
- submitXmlRequest("/bid/outside/BidCancelPop_form.screen", "FORM_CANCEL_UPDATE", f);
- }
- }else{
- alert("취소사유는 필수 입니다.");
- }
- }
-
- function replace(){
- var content = $("#CANCEL_REASON").val();
- $("#cancelreason").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="STATUS_CD" value="92">
- <INPUT type="hidden" name="fevent" id="fevent" value="FROM_CANCEL_UPDATE">
- <INPUT type="hidden" name="cancelreason" id="cancelreason" 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="CANCEL_REASON" id="CANCEL_REASON" style="width:98%; height:140px; overflow-y:auto" maxlength="100" class="input byteChk ctrlTarget"></textarea>
- </TD>
- </TR>
- </TABLE>
- </FORM>
|