SMRAR02100_년감가상각집계.xrw 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>년 감가상각 집계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <maindatalist>
  11. <nmgcode/>
  12. <sanctslipdd/>
  13. <no/>
  14. <ymdaction/>
  15. <nmcr/>
  16. <giganfrom/>
  17. <giganto/>
  18. <usedate/>
  19. <drcrflag/>
  20. </maindatalist>
  21. </main>
  22. <send>
  23. <instcd/>
  24. <yyyy/>
  25. <yyyymm/>
  26. </send>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. makeReportPreview(0,110,1195,650);
  32. model.removenode( "/root/main/maindatalist");
  33. var today = getCurrentDate();
  34. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  35. model.setFocus("ipt_yyyy");
  36. model.refresh();
  37. ]]>
  38. </script>
  39. <script type="javascript">
  40. <![CDATA[
  41. //조회
  42. function fGetMainDataList() {
  43. if (ipt_yyyy.value == ""){
  44. messageBox("작업년도를 ","C001");
  45. model.setFocus("ipt_yyyy");
  46. return false;
  47. }
  48. if ( (ipt_yyyy.value).length != 4 ){
  49. messageBox("작업년도를 4 자리로","C001");
  50. model.setFocus("ipt_yyyy");
  51. return false;
  52. }
  53. return true;
  54. }
  55. ]]>
  56. </script>
  57. <submission id="TRRAR02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/maindatalist"/>
  58. <submission id="TXRAR02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  64. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  65. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  66. </xhtml:head>
  67. <xhtml:body style="margin-left:8; margin-right:8; ">
  68. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  69. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">년 감가상각 집계</caption>
  70. </group>
  71. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  72. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <button id="btn_search" class="btn1_letter2" style="left:1010px; top:17px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. grp_execond.visible = false;
  78. if( fGetMainDataList() ) {
  79. setAlertOn();
  80. if (submit("TRRAR02101") ){
  81. exeReportPreview("SMRAR02101", "XMLSTR");//, "/root/main/payamt");
  82. }
  83. }
  84. ]]>
  85. </script>
  86. </button>
  87. <line id="line13" class="line_4" style="x1:1000px; y1:10px; x2:1000px; y2:44px; "/>
  88. <caption id="caption22" class="search_name" style="left:20px; top:18px; width:85px; height:17px; ">상각년도:</caption>
  89. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:260px; height:13px; ">년 감가상각 집계 출력</caption>
  90. <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
  91. <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; "/>
  92. <button id="btn_depreciation" class="btn4_letter6" style="left:1075px; top:17px; width:104px; height:22px; ">
  93. <caption>감가상각실행</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. grp_execond.visible = true;
  97. if ( ipt_yyyy.value == ""
  98. || (ipt_yyyy.value).length != 4)
  99. {
  100. debugger;
  101. ipt_yyyymm.value = "";
  102. model.setFocus("ipt_yyyymm");
  103. }
  104. else
  105. {
  106. ipt_yyyymm.value = model.getValue("/root/send/yyyy") + "12";
  107. model.setFocus("btn_prtlabel");
  108. }
  109. ]]>
  110. </script>
  111. </button>
  112. <group id="grp_execond" visibility="hidden" style="left:775px; top:6px; width:215px; height:55px; background-color:#87CEFA; ">
  113. <caption id="caption11" class="tit_2" style="left:0px; top:5px; width:209px; height:14px; ">상각처리년월을 입력하십시오.</caption>
  114. <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:110px; top:25px; width:42px; height:19px; ">
  115. <caption>확인</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. if (ipt_yyyymm.value == ""){
  119. messageBox("상각처리년월 ","C001");
  120. model.setFocus("ipt_yyyymm");
  121. return;
  122. }
  123. if ( (ipt_yyyymm.value).length != 6 ){
  124. messageBox("상각처리년월을 6 자리로","C001");
  125. model.setFocus("ipt_yyyymm");
  126. return;
  127. }
  128. rtn = messageBox("입력하신 조건대로 감가상각 처리를 합니다.","Q002");
  129. if ( rtn == "6" ) {
  130. setAlertOn();
  131. submit("TXRAR02101")
  132. model.refresh();
  133. }
  134. ]]>
  135. </script>
  136. </button>
  137. <button id="button9" class="btn5_letter2" navindex="23" style="left:155px; top:25px; width:42px; height:19px; ">
  138. <caption>취소</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. grp_execond.visible = false;
  142. ]]>
  143. </script>
  144. </button>
  145. <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; "/>
  146. </group>
  147. </group>
  148. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  149. </xhtml:body>
  150. </xhtml:html>