12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="kr.co.hsnc.common.sql.*" %>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="kr.co.hsnc.common.config.*"%>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
- <%@ 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();
- String event = storage.getEvent();
- ValueObject pdf = storage.getValueObject("pdf");
- %>
- <style type="text/css">
- .view_title {
- BACKGROUND-COLOR : #5F86B6 ;
- FONT-FAMILY : "굴림", "Verdana" ;
- FONT-SIZE : 9pt ;
- COLOR : #ffffff ;
- TEXT-INDENT : 9px ;
- }
- </style>
- <SCRIPT language="JavaScript">
- function test(){
- document.location.href = '/common/file/PdfDownloadServlet?PROOF_DEPT='+$("#PROOF_DEPT").val()+'&PROOFDATE='+$("#PROOFDATE").val()+'&PROOF_NO='+$("#PROOF_NO").val()+'&PROOF_SEQ='+$("#PROOF_SEQ").val()+'&JOB_GU='+$("#JOB_GU").val()+'&PAGES_YN=N&zoom=100';
- }
- function create(){
- if (confirm("생성 하시겠습니까?")){
- var f = document.form1;
- $("#fevent").val("CREATE_PDF");
- submitXmlRequest("/common/file/PdfViewerBiz_form.screen", "CREATE_PDF", f);
- }
- }
- function doResult(resultObj) {
- document.form1.isSubmit = false;
- try {
- if( resultObj.getRequestEvent() == "CREATE_PDF") {
- if( resultObj.getSuccess() ) {
- alert("완료되었습니다.");
- } else {
- dlgErrorMsg(resultObj);
- }
- }
- } catch(errorObject) {
- showErrorDlg("doResult()", errorObject);
- }
- }
- </SCRIPT>
- <FORM id="form1" name="form1" method="post">
- <INPUT type="hidden" name="fevent" id="fevent" value="">
-
- <table class="form-table">
- <colgroup>
- <col width="20%" />
- <col width="20%" />
- </colgroup>
- <tr height="25">
- <td style="text-align: center;">ACMP_ID</td>
- <td style="text-align: center;"><INPUT type="text" name="ACMP_ID" id="ACMP_ID" value=""></td>
- </tr>
- <tr height="25">
- <td style="text-align: center;">JOB_GU(01 외주기성,선급/02 구매기성,선급)</td><!-- 20 외주선급/21 구매선급 -->
- <td style="text-align: center;"><INPUT type="text" name="JOB_GU" id="JOB_GU" value=""></td>
- </tr>
- <tr height="25">
- <td style="text-align: center;"><a href="javascript:create();">생성</a></td>
- <td style="text-align: center;"><a href="javascript:test();">Viewer</a></td>
- </tr>
- </table>
-
- </FORM>
-
- <script>
- </script>
|