123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>년 감가상각 집계</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <maindatalist>
- <nmgcode/>
- <sanctslipdd/>
- <no/>
- <ymdaction/>
- <nmcr/>
- <giganfrom/>
- <giganto/>
- <usedate/>
- <drcrflag/>
- </maindatalist>
- </main>
- <send>
- <instcd/>
- <yyyy/>
- <yyyymm/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- makeReportPreview(0,110,1195,650);
- model.removenode( "/root/main/maindatalist");
- var today = getCurrentDate();
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setFocus("ipt_yyyy");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //조회
- function fGetMainDataList() {
- if (ipt_yyyy.value == ""){
- messageBox("작업년도를 ","C001");
- model.setFocus("ipt_yyyy");
- return false;
- }
- if ( (ipt_yyyy.value).length != 4 ){
- messageBox("작업년도를 4 자리로","C001");
- model.setFocus("ipt_yyyy");
- return false;
- }
- return true;
- }
- ]]>
- </script>
- <submission id="TRRAR02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/maindatalist"/>
- <submission id="TXRAR02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">년 감가상각 집계</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1010px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_execond.visible = false;
- if( fGetMainDataList() ) {
- setAlertOn();
- if (submit("TRRAR02101") ){
- exeReportPreview("SMRAR02101", "XMLSTR");//, "/root/main/payamt");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1000px; y1:10px; x2:1000px; y2:44px; "/>
- <caption id="caption22" class="search_name" style="left:20px; top:18px; width:85px; height:17px; ">상각년도:</caption>
- <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:260px; height:13px; ">년 감가상각 집계 출력</caption>
- <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
- <input id="ipt_yyyy" ref="/root/send/yyyy" class="input_s_essential" navindex="3" maxlength="4" style="left:105px; top:17px; width:80px; height:19px; "/>
- <button id="btn_depreciation" class="btn4_letter6" style="left:1075px; top:17px; width:104px; height:22px; ">
- <caption>감가상각실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_execond.visible = true;
- if ( ipt_yyyy.value == ""
- || (ipt_yyyy.value).length != 4)
- {
- debugger;
- ipt_yyyymm.value = "";
- model.setFocus("ipt_yyyymm");
- }
- else
- {
- ipt_yyyymm.value = model.getValue("/root/send/yyyy") + "12";
- model.setFocus("btn_prtlabel");
- }
- ]]>
- </script>
- </button>
- <group id="grp_execond" visibility="hidden" style="left:775px; top:6px; width:215px; height:55px; background-color:#87CEFA; ">
- <caption id="caption11" class="tit_2" style="left:0px; top:5px; width:209px; height:14px; ">상각처리년월을 입력하십시오.</caption>
- <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:110px; top:25px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (ipt_yyyymm.value == ""){
- messageBox("상각처리년월 ","C001");
- model.setFocus("ipt_yyyymm");
- return;
- }
- if ( (ipt_yyyymm.value).length != 6 ){
- messageBox("상각처리년월을 6 자리로","C001");
- model.setFocus("ipt_yyyymm");
- return;
- }
- rtn = messageBox("입력하신 조건대로 감가상각 처리를 합니다.","Q002");
- if ( rtn == "6" ) {
- setAlertOn();
- submit("TXRAR02101")
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn5_letter2" navindex="23" style="left:155px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_execond.visible = false;
- ]]>
- </script>
- </button>
- <input id="ipt_yyyymm" ref="/root/send/yyyymm" class="input_s_essential" navindex="21" maxlength="6" style="left:15px; top:25px; width:80px; height:19px; "/>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|