123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <list>
- <repayratelist/>
- </list>
- </main>
- <send>
- <retrparams>
- <repayratelist/>
- </retrparams>
- <repaymthd>1</repaymthd>
- </send>
- <temp/>
- <hidden>
- <repaymthd>
- <label>정액법</label>
- <value>1</value>
- <label>정률법</label>
- <value>2</value>
- </repaymthd>
- </hidden>
- </root>
- </instance>
- <submission id="TRRAI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TXRAI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" 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" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize()
- {
- model.removenode("/root/main/list/repayratelist");
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="810" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:610; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">상각율관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:660px; height:748px; ">
- <button id="btn_delrow" class="btn2_letter3" style="left:545px; top:67px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_repayratelist, "D");
- ]]>
- </script>
- </button>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:27px; width:660px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:190px; height:13px; ">내용연수에 따른 상각율</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:88px; x2:660px; y2:88px; "/>
- <line id="line21" class="line_4" style="x1:574px; y1:34px; x2:574px; y2:56px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:589px; top:34px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAI00501");
- misfSetReadOnlyCol(grd_repayratelist, "repaymthd,cntsyearno", true);
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_repayratelist" nodeset="/root/main/list/repayratelist" caption="상각방법^내용연수^상각율" colsep="^" colwidth="200, 200, 200" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:93px; width:660px; height:652px; ">
- <col disabled="true" ref="repaymthd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/repaymthd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="cntsyearno" type="input"/>
- <col ref="repayrate" type="input"/>
- </datagrid>
- <button id="btn_addrow" class="btn2_letter3" style="left:600px; top:67px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_repayratelist.addRow();
- grd_repayratelist.valueMatrix(grd_repayratelist.row, grd_repayratelist.colRef("repaymthd")) = cmb_repaymthd.value;
- ]]>
- </script>
- </button>
- <select1 id="cmb_repaymthd" ref="/root/send/repaymthd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:108px; top:36px; width:197px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/repaymthd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:19px; top:36px; width:86px; height:17px; ">상각방법 :</caption>
- </group>
- <button id="btn_save" class="btn4_letter2" navindex="23" style="left:600px; top:15px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(grd_mngtlist.getUpdateData());
- model.makeValue("/root/send/retrparams/repayratelist", grd_repayratelist.getUpdateData());
- submit("TXRAI00501");
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|