SMRAI00500_상각율관리.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>상각율관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <repayratelist/>
  12. </list>
  13. </main>
  14. <send>
  15. <retrparams>
  16. <repayratelist/>
  17. </retrparams>
  18. <repaymthd>1</repaymthd>
  19. </send>
  20. <temp/>
  21. <hidden>
  22. <repaymthd>
  23. <label>정액법</label>
  24. <value>1</value>
  25. <label>정률법</label>
  26. <value>2</value>
  27. </repaymthd>
  28. </hidden>
  29. </root>
  30. </instance>
  31. <submission id="TRRAI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  32. <submission id="TXRAI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/temp"/>
  33. </model>
  34. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  37. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  38. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fInitialize();
  42. ]]>
  43. </script>
  44. <script type="javascript">
  45. <![CDATA[
  46. //========================================================================================
  47. //초기화
  48. //========================================================================================
  49. function fInitialize()
  50. {
  51. model.removenode("/root/main/list/repayratelist");
  52. btn_search.dispatch("DOMActivate");
  53. }
  54. ]]>
  55. </script>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="680" pageheight="810" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  58. <group id="group1" style="left:0px; top:0px; width:610; height:13px; ">
  59. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">상각율관리</caption>
  60. </group>
  61. <group id="group2" scroll="auto" style="left:0px; top:12px; width:660px; height:748px; ">
  62. <button id="btn_delrow" class="btn2_letter3" style="left:545px; top:67px; width:53px; height:19px; ">
  63. <caption>행삭제</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. misfGridIUD(grd_repayratelist, "D");
  67. ]]>
  68. </script>
  69. </button>
  70. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:27px; width:660px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:190px; height:13px; ">내용연수에 따른 상각율</caption>
  72. <line id="line2" class="line_1" style="x1:0px; y1:88px; x2:660px; y2:88px; "/>
  73. <line id="line21" class="line_4" style="x1:574px; y1:34px; x2:574px; y2:56px; "/>
  74. <button id="btn_search" class="btn1_letter2" style="left:589px; top:34px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. submit("TRRAI00501");
  79. misfSetReadOnlyCol(grd_repayratelist, "repaymthd,cntsyearno", true);
  80. model.refresh();
  81. ]]>
  82. </script>
  83. </button>
  84. <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; ">
  85. <col disabled="true" ref="repaymthd" type="combo">
  86. <choices>
  87. <itemset nodeset="/root/hidden/repaymthd">
  88. <label ref="label"/>
  89. <value ref="value"/>
  90. </itemset>
  91. </choices>
  92. </col>
  93. <col ref="cntsyearno" type="input"/>
  94. <col ref="repayrate" type="input"/>
  95. </datagrid>
  96. <button id="btn_addrow" class="btn2_letter3" style="left:600px; top:67px; width:53px; height:19px; ">
  97. <caption>행추가</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. grd_repayratelist.addRow();
  101. grd_repayratelist.valueMatrix(grd_repayratelist.row, grd_repayratelist.colRef("repaymthd")) = cmb_repaymthd.value;
  102. ]]>
  103. </script>
  104. </button>
  105. <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; ">
  106. <choices>
  107. <itemset nodeset="/root/hidden/repaymthd">
  108. <label ref="label"/>
  109. <value ref="value"/>
  110. </itemset>
  111. </choices>
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. btn_search.dispatch("DOMActivate");
  115. ]]>
  116. </script>
  117. </select1>
  118. <caption id="caption7" class="search_name" style="left:19px; top:36px; width:86px; height:17px; ">상각방법 :</caption>
  119. </group>
  120. <button id="btn_save" class="btn4_letter2" navindex="23" style="left:600px; top:15px; width:56px; height:22px; ">
  121. <caption>저장</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. //alert(grd_mngtlist.getUpdateData());
  125. model.makeValue("/root/send/retrparams/repayratelist", grd_repayratelist.getUpdateData());
  126. submit("TXRAI00501");
  127. btn_search.dispatch("DOMActivate");
  128. ]]>
  129. </script>
  130. </button>
  131. </xhtml:body>
  132. </xhtml:html>