SMRSG04000_계정별입출고재고현황출력.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="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: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">
  4. <xhtml:head>
  5. <xhtml:title>계정별 입출고 재고 현황출력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <acntiostocprescond/>
  11. </main>
  12. <init/>
  13. <send>
  14. <payym/>
  15. <instcd/>
  16. <prnflag/>
  17. <instnm/>
  18. <prncheck/>
  19. <goodflag> Y Z</goodflag>
  20. </send>
  21. <hidden/>
  22. </root>
  23. </instance>
  24. <script type="javascript" ev:event="xforms-ready">
  25. <![CDATA[
  26. // makeReportPreview(0,110,1195,650);
  27. var today = getCurrentDate();
  28. var cur_mm = today.substring(0, 6);
  29. model.setValue("/root/send/payym", cur_mm);
  30. ipt_payym.refresh();
  31. rdo_prnflag.select(0);
  32. misfComboComCdListMulti("Z0007", "cmb_instcd")
  33. cmb_instcd.value = getUserInfo("dutplceinstcd");
  34. model.refresh();
  35. ]]>
  36. </script>
  37. <submission id="TRRSG04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acntiostocprescond"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  43. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  44. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  45. </xhtml:head>
  46. <xhtml:body style="margin-left:8; margin-right:8; ">
  47. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  48. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">계정별 입출고 재고 현황출력</caption>
  49. </group>
  50. <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:765px; ">
  51. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
  52. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:18px; width:56px; height:22px; ">
  53. <caption>조회</caption>
  54. <script type="javascript" ev:event="DOMActivate">
  55. <![CDATA[
  56. ipt_instnm.value = cmb_instcd.label;
  57. ipt_prncheck.value = rdo_prnflag.label;
  58. // Append By Choi HR
  59. //var vGoodFlag = model.getValue("/root/send/selcls")
  60. //if (vGoodFlag != "") {
  61. // vGoodFlag = vGoodFlag.replace(/#/g, "\',\'");
  62. // }
  63. //model.setValue("/root/send/goodflag",vGoodFlag )
  64. submit("TRRSG04001");
  65. //exeReportPreview("RPRSG04001", "XMLSTR");//, "/root/main/payamt");
  66. ]]>
  67. </script>
  68. </button>
  69. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:58px; "/>
  70. <input id="ipt_payym" ref="/root/send/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:291px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  71. <line id="line193" class="line_1" style="x1:2px; y1:91px; x2:1192px; y2:91px; "/>
  72. <caption id="cap_instcd" class="search_name" style="left:10px; top:19px; width:70px; height:17px; ">기 관 :</caption>
  73. <caption id="caption2" class="search_name" style="left:406px; top:19px; width:86px; height:17px; ">출력구분 :</caption>
  74. <caption id="cap_payym" class="search_name" style="left:207px; top:19px; width:85px; height:17px; ">기준년월:</caption>
  75. <select1 id="rdo_prnflag" ref="/root/send/prnflag" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:485px; top:19px; width:160px; height:20px; border-style:none; ">
  76. <choices>
  77. <item>
  78. <label>전월대비</label>
  79. <value>1</value>
  80. </item>
  81. <item>
  82. <label>전년대비</label>
  83. <value>2</value>
  84. </item>
  85. </choices>
  86. </select1>
  87. <select1 id="cmb_instcd" ref="/root/send/instcd" appearance="minimal" style="left:85px; top:19px; width:100px; height:19px; ">
  88. <choices>
  89. <itemset>
  90. <label/>
  91. <value/>
  92. </itemset>
  93. </choices>
  94. </select1>
  95. <input id="ipt_prncheck" ref="/root/send/prncheck" visibility="hidden" style="left:320px; top:44px; width:50px; height:19px; "/>
  96. <input id="ipt_instnm" ref="/root/send/instnm" visibility="hidden" style="left:260px; top:45px; width:50px; height:19px; "/>
  97. <caption id="caption1" class="search_name" style="left:665px; top:19px; width:86px; height:17px; ">물품구분 :</caption>
  98. <select id="chk_selcls" ref="/root/send/goodflag" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:757px; top:20px; width:328px; height:36px; border-style:none; ">
  99. <choices>
  100. <item>
  101. <label>수리부품</label>
  102. <value>B</value>
  103. </item>
  104. <item>
  105. <label>의료장비</label>
  106. <value>E</value>
  107. </item>
  108. <item>
  109. <label>일반비품</label>
  110. <value>G</value>
  111. </item>
  112. <item>
  113. <label>의료비품</label>
  114. <value>U</value>
  115. </item>
  116. <item>
  117. <label>의료소모품</label>
  118. <value>Y</value>
  119. </item>
  120. <item>
  121. <label>일반소모품</label>
  122. <value>Z</value>
  123. </item>
  124. </choices>
  125. </select>
  126. <datagrid id="grd_source" nodeset="/root/main/acntiostocprescond" caption="계정코드^계정명^물품구분^전월재고^금월입고^금월출고^금월재고^전전월재고^전월입고^전월출고^전월재고^출고증감현황^출고증감비율" colsep="^" colwidth="1, 174, 1, 110, 110, 110, 110, 110, 110, 110, 1, 110, 83" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:97px; width:1190px; height:665px; ">
  127. <col ref="acntcd" visibility="hidden"/>
  128. <col ref="acntnm"/>
  129. <col ref="goodflag" visibility="hidden"/>
  130. <col ref="brngfwrdamt" format="(-)#,###" style="text-align:right; "/>
  131. <col ref="abwinamt" format="(-)#,###" style="text-align:right; "/>
  132. <col ref="deliveamt" format="(-)#,###" style="text-align:right; "/>
  133. <col ref="stocamt" format="(-)#,###" style="text-align:right; "/>
  134. <col ref="prebrngfwrdamt" format="(-)#,###" style="text-align:right; "/>
  135. <col ref="preabwinamt" format="(-)#,###" style="text-align:right; "/>
  136. <col ref="predeliveamt" format="(-)#,###" style="text-align:right; "/>
  137. <col ref="prestocamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  138. <col ref="delivepmamt" format="(-)#,###" style="text-align:right; "/>
  139. <col ref="delivepmyul" format="(-)#,###" style="text-align:right; "/>
  140. </datagrid>
  141. <button id="btn_excel" class="btn5_letter3" style="left:1129px; top:68px; width:53px; height:19px; ">
  142. <caption>Excel</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. misfSaveExcel(grd_source);
  146. ]]>
  147. </script>
  148. </button>
  149. <button id="btn_print" class="btn6_letter2" visibility="visible" style="left:1064px; top:67px; width:56px; height:22px; ">
  150. <caption>출력</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. exeReportPreview("RPRSG04001", "XMLSTR");//, "/root/main/payamt");
  154. ]]>
  155. </script>
  156. </button>
  157. </group>
  158. </xhtml:body>
  159. </xhtml:html>