123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>감가상각내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <depreciation>
- <depreciationlist/>
- </depreciation>
- <repay>
- <repaylist/>
- </repay>
- </main>
- <send>
- <condition1>
- <instcd/>
- <acntyy/>
- </condition1>
- <condition2>
- <instcd/>
- <ymflag/>
- <ymdd/>
- </condition2>
- </send>
- <init/>
- <temp/>
- </root>
- </instance>
- <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/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fOpenForm();
- //sCdGrupid = model.getValue("/root/init/comcode/cdgrupid");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm() {
-
-
- model.removeNodeset(grd_depreciationlist.nodeset);
- model.removeNodeset(grd_repaylist.nodeset);
- model.refresh();
-
- model.setValue(ipt_acntyy.attribute("ref"), radfgetAcntYY(getUserInfo("dutplceinstcd"), getCurrentDate()));
- ipt_acntyy.refresh();
- misfComboComCdList("Z0007", cmb_instcd, "N");
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- cmb_instcd.refresh();
- btn_search.dispatch("DOMActivate");
-
-
- }
-
-
-
-
-
-
- ]]>
- </script>
- <submission id="TRRAA00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition1" resultref="/root/main/depreciation"/>
- <submission id="TRRAA00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition2" resultref="/root/main/repay"/>
- <submission id="TXRAA00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition2" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">감가상각내역</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:730px; ">
- <line id="line3" class="line_1" style="x1:2px; y1:90px; x2:270px; y2:90px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:75px; width:131px; height:13px; ">감가상각목록</caption>
- <upload id="upload1" style="left:735px; top:415px; width:100px; height:20px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195; height:60px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="16" style="left:1124; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset(grd_depreciationlist.nodeset);
- model.removeNodeset(grd_repaylist.nodeset);
- submit("TRRAA00301");
- ]]>
- </script>
- </button>
- <line id="line30" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
- <select1 id="cmb_instcd" ref="/root/send/condition1/instcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:125px; top:9px; width:205px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:16px; top:9px; width:104px; height:17px; text-align:left; ">기 관 :</caption>
- <button id="btn_next" class="icon_next" navindex="-1" style="left:209px; top:35px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vYYYY = model.getValue(ipt_acntyy.attribute("ref"));
- var vNum = parseInt(vYYYY, 10);
-
- if (vNum != 1)
- {
- vNum++;
- }
- else
- {
- return;
- }
- model.setValue(ipt_acntyy.attribute("ref"), vNum);
- ipt_acntyy.refresh();
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:16px; top:35px; width:109px; height:17px; ">회계 년도 :</caption>
- <input id="ipt_acntyy" ref="/root/send/condition1/acntyy" class="input_s_essential" navindex="1" maxlength="4" style="left:139px; top:34px; width:68px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_pre" class="icon_pre" navindex="-1" style="left:124px; top:35px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vYYYY = model.getValue(ipt_acntyy.attribute("ref"));
- var vNum = parseInt(vYYYY, 10);
-
- if (vNum != 1)
- {
- vNum--;
- }
- else
- {
- return;
- }
- model.setValue(ipt_acntyy.attribute("ref"), vNum);
- ipt_acntyy.refresh();
-
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter4" visibility="visible" style="left:1015px; top:20px; width:80px; height:22px; ">
- <caption>자료전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_repaylist.rows > grd_repaylist.fixedRows)
- {
- model.setValue("/root/send/condition2/instcd", grd_depreciationlist.valueMatrix(grd_depreciationlist.row, grd_depreciationlist.colRef("instcd")));
- model.setValue("/root/send/condition2/ymdd", grd_depreciationlist.valueMatrix(grd_depreciationlist.row, grd_depreciationlist.colRef("ymdd")));
- if(submit("TXRAA00301"))
- {
- messageBox("자료가 전송", "I002");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_depreciationlist" nodeset="/root/main/depreciation/depreciationlist" caption="기관코드^년월구분^상각일^실행일^담당자" colsep="^" colwidth="0, 0, 90, 90, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" selectionmode="free" style="left:2px; top:95px; width:268px; height:630px; ">
- <col ref="instcd" style="text-align:left; "/>
- <col ref="ymflag" style="text-align:left; "/>
- <col ref="ymdd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="exedd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="repaypsn" style="text-align:left; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(grd_depreciationlist.row >= grd_depreciationlist.fixedRows)
- {
- model.setValue("/root/send/condition2/instcd", grd_depreciationlist.valueMatrix(grd_depreciationlist.row, grd_depreciationlist.colRef("instcd")));
- model.setValue("/root/send/condition2/ymflag", grd_depreciationlist.valueMatrix(grd_depreciationlist.row, grd_depreciationlist.colRef("ymflag")));
- model.setValue("/root/send/condition2/ymdd", grd_depreciationlist.valueMatrix(grd_depreciationlist.row, grd_depreciationlist.colRef("ymdd")));
- submit("TRRAA00302");
-
- }
- grd_depreciationlist.dispatch("onmouseup")
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_repaylist" nodeset="/root/main/repay/repaylist" caption="기관코드^년월구분^자산코드^자산명^취득일^상각일^상각종료일^계정코드^계정명^상각구분^상각방법^내용년수^상각율^기초잔액^취득증감^상각액^잔액" colsep="^" colwidth="0,0,100,120,80,80,80,80,100,80,80,80,80,100,100,100,100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:275px; top:95px; width:920px; height:630px; ">
- <col ref="instcd" style="text-align:left; "/>
- <col ref="ymflag" style="text-align:left; "/>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="goodflaghngnm" style="text-align:left; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="ymdd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="cntsyearnotodd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="acntcd" style="text-align:left; "/>
- <col ref="acntnm" style="text-align:left; "/>
- <col ref="repayflag" style="text-align:left; "/>
- <col ref="repaymthd" style="text-align:left; "/>
- <col ref="cntsyearno" format="#,###" style="text-align:right; "/>
- <col ref="repayrate" format="#.###" style="text-align:right; "/>
- <col ref="fixasetamt" format="#,###" style="text-align:right; "/>
- <col ref="gainflucamt" format="#,###" style="text-align:right; "/>
- <col ref="redurepayamt" format="#,###" style="text-align:right; "/>
- <col ref="balamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:275px; y1:90px; x2:1195px; y2:90px; "/>
- <caption id="caption1" class="tit_2" style="left:245px; top:75px; width:131px; height:13px; ">감가상각내역</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|