123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <repay>
- <repaylist/>
- </repay>
- <fixasetupdt>
- <fixasetupdtlist/>
- </fixasetupdt>
- </main>
- <send>
- <condition1>
- <instcd/>
- <fixasetcd/>
- <acntcd/>
- <fromdd/>
- <todd/>
- <dsplflag/>
- <mainmngtdeptcd/>
- <mainmngtdeptnm/>
- </condition1>
- <condition2>
- <instcd/>
- <fixasetcd/>
- </condition2>
- </send>
- <init/>
- <temp>
- <bfdsplflag>A</bfdsplflag>
- </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()
- {
- misfComboComCdList("R0366", cmb_acntcd, "Y");
- misfComboComCdListMulti("Z0007,R0044","cmb_instcd,chk_dsplflag");
-
- addComboItem( "chk_dsplflag", "전체", "A", "below" );
- chk_dsplflag.value = "A";
-
- model.removeNodeset(grd_fixasetlist.nodeset);
- model.removeNodeset(grd_repaylist.nodeset);
- model.removeNodeset(grd_fixasetupdtlist.nodeset);
-
- model.setValue(ipt_frdate.attribute("ref"), getCurrentDate());
- model.setValue(ipt_todate.attribute("ref"), getCurrentDate());
-
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- model.refresh();
- model.setFocus("btn_search");
- }
-
-
-
-
-
-
- ]]>
- </script>
- <submission id="TRRAA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition1" resultref="/root/main/fixaset"/>
- <submission id="TRRAA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition2" resultref="/root/main/repay"/>
- <submission id="TRRAA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition2" resultref="/root/main/fixasetupdt"/>
- </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:410px; 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_fixasetlist.nodeset);
- model.removeNodeset(grd_repaylist.nodeset);
- model.removeNodeset(grd_fixasetupdtlist.nodeset);
- submit("TRRAA00101");
- ]]>
- </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:210px; 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>
- <input id="ipt_todate" ref="/root/send/condition1/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:1004px; top:9px; width:91px; height:19px; "/>
- <input id="ipt_frdate" ref="/root/send/condition1/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:894px; top:9px; width:91px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:805px; top:10px; width:86px; height:17px; ">취득일자 :</caption>
- <caption id="caption5" visibility="visible" style="left:987px; top:11px; width:15px; height:20px; ">~</caption>
- <caption id="cap_goodflag_search" class="search_name" style="left:16px; top:35px; width:125px; height:17px; ">유형자산구분 :</caption>
- <select1 id="cmb_acntcd" ref="/root/send/condition1/acntcd" class="combo_default" navindex="1" appearance="minimal" style="left:145px; top:35px; width:190px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_dsplflag" ref="/root/send/condition1/dsplflag" disabled="false" overflow="visible" appearance="full" cellspacing="7" cols="7" sep="," style="left:444px; top:10px; width:350px; height:20px; text-align:center; border-style:hidden; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var bfdsplflag = model.getValue("/root/temp/bfdsplflag");
- var dsplflag = model.getValue(chk_dsplflag.attribute("ref"));
-
- if (isSearchString(bfdsplflag, 'A'))
- {
- model.setValue(chk_dsplflag.attribute("ref"), dsplflag.replace("A", ""));
- }
- else
- {
- dsplflagArr = dsplflag.split(",");
- for (var i=0; i< dsplflagArr.length; i++)
- {
- if (dsplflagArr[i] == "A")
- {
- model.setValue(chk_dsplflag.attribute("ref"), "A");
- break;
- }
- }
- }
- model.setValue("/root/temp/bfdsplflag", model.getValue(chk_dsplflag.attribute("ref")));
- chk_dsplflag.refresh();
- alert(chk_dsplflag.value);
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </select>
- <caption id="cap_dsplflag_search" class="search_name" style="left:345px; top:10px; width:99px; height:17px; ">처분 구분 :</caption>
- <caption id="caption8" class="search_name" style="left:805px; top:35px; width:93px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd" ref="/root/send/condition1/fixasetcd" class="input_search" appearance="input" style="left:894px; top:35px; width:201px; height:19px; "/>
- <caption id="cap_mainmngtdeptcd" class="search_name" style="left:345px; top:35px; width:117px; height:17px; ">입력 부서 :</caption>
- <button id="btn_mainmngtdeptcd" class="icon_search" disabled="false" style="left:535px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mainmngtdeptcd,"","mainmngtdeptcd,mainmngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mainmngtdeptnm" ref="/root/send/condition1/mainmngtdeptnm" class="input_fix" disabled="false" appearance="input" style="left:555px; top:35px; width:180px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mainmngtdeptnm.value.length == 0)
- ipt_mainmngtdeptnm.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_mainmngtdeptnm.value, "", "mainmngtdeptcd,mainmngtdeptnm",
- ipt_mainmngtdeptnm, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_mainmngtdeptcd" ref="/root/send/condition1/mainmngtdeptcd" class="input_default" disabled="false" style="left:445px; top:35px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mainmngtdeptcd.value.length == 0)
- ipt_mainmngtdeptcd.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_mainmngtdeptcd.value, "", "mainmngtdeptcd,mainmngtdeptnm",
- ipt_mainmngtdeptcd, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/fixaset/fixasetlist" caption="기관코드^취득일자^자산코드^물품명^처분구분^계정코드^부대비용^취득가액^상각구분^상각방법^내용년수^상각률^상각종료일^상각후잔액^주관리부서코드^주관리부서명" colsep="^" colwidth="0, 100, 80, 206, 80, 0, 100, 100, 80, 80, 80, 80, 80, 100, 0, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" selectionmode="free" style="left:2px; top:95px; width:408px; height:630px; ">
- <col ref="instcd" style="text-align:left; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="goodflaghngnm" style="text-align:left; "/>
- <col ref="dsplflag" style="text-align:left; "/>
- <col ref="acntcd" style="text-align:left; "/>
- <col ref="etcaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="possnamt" format="(-)#,###" style="text-align:right; "/>
- <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="repayenddd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="repaybal" format="(-)#,###" style="text-align:right; "/>
- <col ref="mainmngtdeptcd" style="text-align:left; "/>
- <col ref="mainmngtdeptnm" style="text-align:left; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(grd_fixasetlist.row >= grd_fixasetlist.fixedRows)
- {
- model.setValue("/root/send/condition2/instcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd")));
- model.setValue("/root/send/condition2/fixasetcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")));
- submit("TRRAA00102");
- submit("TRRAA00103");
- }
- grd_fixasetlist.dispatch("onmouseup")
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_repaylist" nodeset="/root/main/repay/repaylist" caption="기관코드^년월구분^자산코드^상각년월^취득증감^자산액^상각전잔액^상각액^잔액^상각구분^상각방법^내용년수^상각율" colsep="^" colwidth="0,0,0,100,100,100,100,100,100,80,100,80,80" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:415px; top:224px; width:780px; height:295px; ">
- <col ref="instcd" style="text-align:left; "/>
- <col ref="ymflag" style="text-align:left; "/>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="ymdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col ref="gainflucamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="fixasetamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="prevbalamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="redurepayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="balamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="repayflag" style="text-align:left; vertical-align:middle; "/>
- <col ref="repaymthd" style="text-align:left; vertical-align:middle; "/>
- <col ref="cntsyearno" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="repayrate" format="(-)#.###" style="text-align:right; vertical-align:middle; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:415px; y1:219px; x2:1195px; y2:219px; "/>
- <caption id="cap_repaylist" class="tit_2" style="left:415px; top:205px; width:131px; height:13px; ">감가상각내역</caption>
- <datagrid id="grd_fixasetupdtlist" nodeset="/root/main/fixasetupdt/fixasetupdtlist" caption="기관코드^고정자산코드^변동일자^일련번호^변동구분^변동부서코드^변동부서명^설치장소코드^설치장소명^거래처코드^거래처명^취득구분코드^외화액^화폐단위^고정자산금액^변동금액^적요^요청부서코드^요청부서명^반납일자^반납순번" colsep="^" colwidth="0, 0, 80, 60, 100, 100, 120, 0, 0, 0, 0, 0, 0, 0, 100, 100, 200, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:415px; top:540px; width:780px; height:185px; ">
- <col ref="instcd" style="text-align:left; "/>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="updtseq" style="text-align:center; "/>
- <col ref="updtflag" style="text-align:left; "/>
- <col ref="upddeptcd" style="text-align:left; "/>
- <col ref="upddeptnm" style="text-align:left; "/>
- <col ref="installplcecd" style="text-align:left; "/>
- <col ref="installplcenm" style="text-align:left; "/>
- <col ref="custcd" style="text-align:left; "/>
- <col ref="custnm" style="text-align:left; "/>
- <col ref="possnflagcd" style="text-align:left; "/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="curncyunit" style="text-align:left; "/>
- <col ref="fixasetamt" format="#,###" style="text-align:right; "/>
- <col ref="updtamt" format="#,###" style="text-align:right; "/>
- <col ref="mainrec" style="text-align:left; "/>
- <col ref="rtnreqdeptcd" style="text-align:left; "/>
- <col ref="rtnreqdeptnm" style="text-align:left; "/>
- <col ref="rtnreqdd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="rtnreqseq" style="text-align:left; "/>
- </datagrid>
- <caption id="cap_fixasetupdtlist" class="tit_2" style="left:415px; top:520px; width:131px; height:13px; ">변동내역</caption>
- <line id="line2" class="line_1" style="x1:415px; y1:535px; x2:1195px; y2:535px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|