SMRSO22500_월수불장(선납)(경북대).xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.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. <stocklist/>
  11. </main>
  12. <send>
  13. <search>
  14. <instcd/>
  15. <endmonth/>
  16. <wareflag/>
  17. <acntfrom/>
  18. <acntto/>
  19. <format/>
  20. </search>
  21. <save/>
  22. </send>
  23. <init>
  24. <acnt/>
  25. </init>
  26. <hidden/>
  27. <temp>
  28. </temp>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. //화면 Control을 초기화한다
  34. makeReportPreview(0,123,1195,637);
  35. model.removenode( "/root/main/stocklist");
  36. //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
  37. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  38. misfComboComCdList("030M0001",cmb_wareflag, "Y"); //창고 (Y: 전체 item 추가시)
  39. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  40. model.setValue("/root/send/search/endmonth" , getCurrentDate().substr(0,6)); //년월 설정
  41. submit("TRRSO20602"); //계정 조회
  42. cmb_acntfrom.select(0); //계정 from 설정
  43. cmb_acntto.select(cmb_acntto.length - 1); //계정 to 설정
  44. model.setValue("/root/send/search/format", "세로"); //출력양식
  45. //test -> 향후 삭제할 것
  46. //model.setValue("/root/send/search/reqdd", "20110816");
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <submission id="TRRSO20602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/acnt"/>
  51. <submission id="TRRSO22501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  59. <script type="javascript">
  60. <![CDATA[
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">월 수불장(선납)</caption>
  67. </group>
  68. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  69. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
  70. </group>
  71. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  72. <group id="grp_search" style="left:0px; top:9px; width:1195px; height:48px; vertical-align:top; ">
  73. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  74. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1114px; top:9px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. model.removeNodeset("/root/main/stocklist");
  79. //년월에 입력된 값이 올바르지 않으면, 년월을 선택하라고 alert함
  80. if(ipt_endmonth.value.length < 6) {
  81. messageBox("조회년월이 올바로 선택되지 않았습니다. \n\n먼저 조회년월을 선택하십시요.", "E999", "");
  82. model.setFocus("ipt_endmonth");
  83. return;
  84. }
  85. if (submit("TRRSO22501") ){
  86. if ( model.getValue("/root/send/search/format") == "세로" ) {
  87. exeReportPreview("RPRSO22502", "XMLSTR");//, "/root/main/payamt"); //세로양식
  88. } else {
  89. exeReportPreview("RPRSO22501", "XMLSTR");//, "/root/main/payamt"); //가로양식
  90. }
  91. }
  92. ]]>
  93. </script>
  94. </button>
  95. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:102px; top:10px; width:136px; height:19px; ">
  96. <choices>
  97. <itemset nodeset="/root/main/init">
  98. <label ref="cnstnm"/>
  99. <value ref="cnstcd"/>
  100. </itemset>
  101. </choices>
  102. </select1>
  103. <caption id="cap_instcd" class="search_name" style="left:23px; top:10px; width:86px; height:17px; ">기관코드</caption>
  104. <input id="ipt_endmonth" ref="/root/send/search/endmonth" navindex="2" inputtype="date" format="yyyy-mm" style="left:311px; top:10px; width:74px; height:19px; "/>
  105. <caption id="caption20" class="search_name" style="left:576px; top:10px; width:59px; height:17px; vertical-align:middle; ">계정</caption>
  106. <line id="line30" class="line_4" style="x1:1100px; y1:4px; x2:1100px; y2:36px; "/>
  107. <caption id="caption2" class="search_name" style="left:405px; top:10px; width:55px; height:17px; ">창고</caption>
  108. <select1 id="cmb_wareflag" ref="/root/send/search/wareflag" class="combo_default" navindex="3" appearance="minimal" style="left:459px; top:10px; width:99px; height:19px; ">
  109. <choices>
  110. <itemset nodeset="/root/init/wareflag">
  111. <label ref="cdnm"/>
  112. <value ref="cdid"/>
  113. </itemset>
  114. </choices>
  115. </select1>
  116. <caption id="caption9" class="search_name" style="left:256px; top:10px; width:54px; height:17px; ">년월</caption>
  117. <select1 id="cmb_acntfrom" ref="/root/send/search/acntfrom" class="combo_default" navindex="4" appearance="minimal" editmode="search" showvalue="true" style="left:630px; top:10px; width:143px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/init/acnt/acntlist">
  120. <label ref="acntnm"/>
  121. <value ref="acntcd"/>
  122. </itemset>
  123. </choices>
  124. </select1>
  125. <select1 id="cmb_acntto" ref="/root/send/search/acntto" class="combo_default" navindex="5" appearance="minimal" editmode="search" showvalue="true" style="left:785px; top:10px; width:143px; height:19px; ">
  126. <choices>
  127. <itemset nodeset="/root/init/acnt/acntlist">
  128. <label ref="acntnm"/>
  129. <value ref="acntcd"/>
  130. </itemset>
  131. </choices>
  132. </select1>
  133. <caption id="caption3" style="left:774px; top:10px; width:10px; height:20px; font-weight:bold; ">-</caption>
  134. <caption id="caption4" class="search_name" style="left:945px; top:10px; width:55px; height:17px; ">양식</caption>
  135. <select1 id="rdo_format" ref="/root/send/search/format" navindex="6" appearance="full" cols="2" overflow="visible" style="left:999px; top:11px; width:91px; height:20px; border-style:none; ">
  136. <choices>
  137. <item>
  138. <label>세로</label>
  139. <value>세로</value>
  140. </item>
  141. <item>
  142. <label>가로</label>
  143. <value>가로</value>
  144. </item>
  145. </choices>
  146. </select1>
  147. </group>
  148. <line id="line1" class="line_1" style="x1:0px; y1:78px; x2:1195px; y2:78px; "/>
  149. <caption id="caption1" class="tit_2" style="left:0px; top:63px; width:180px; height:14px; ">창고재고 월 수불장(선납)</caption>
  150. </group>
  151. </xhtml:body>
  152. </xhtml:html>