SMRSG04300_증가품목리스트.xrw 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>증가품목 List</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <rstsymstlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <instcd/>
  16. <goodflag/>
  17. <stocym/>
  18. <percent>10</percent>
  19. <printflag/>
  20. </send>
  21. <init>
  22. <printflag>
  23. <label>전월대비</label>
  24. <value>M</value>
  25. <label>전년대비</label>
  26. <value>Y</value>
  27. </printflag>
  28. </init>
  29. <temp/>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. //화면 Control을 초기화한다
  35. fInitialize();
  36. ]]>
  37. </script>
  38. <submission id="TRRSG04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/rstsymstlist"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript">
  47. <![CDATA[
  48. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  49. function fInitialize() {
  50. misfGridInit(grd_rstsymstlist);
  51. // misfMsterDetailSet(grd_rstsymstlist, null, "TRRSG04301", "N");
  52. rszfGoodFlagListByPgmGubn(cmb_goodflag,"1","N");
  53. addComboItem( "cmb_goodflag", "전체", "", "above");
  54. misfComboComCdListMulti("Z0007","cmb_instcd" );
  55. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  56. cmb_goodflag.select(0);
  57. rdo_printflag.select(0);
  58. // 현재 날짜 기본 입력
  59. model.setValue(ipt_stocym.attribute("ref"), getCurrentDate().toDate("YYYYMMDD").getDateFormat("YYYYMM"));
  60. model.refresh();
  61. }
  62. ]]>
  63. </script>
  64. </xhtml:head>
  65. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">증가품목 LIST</caption>
  68. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  69. </group>
  70. <group id="group3" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  71. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:63px; vertical-align:top; ">
  72. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:19px; width:56px; height:22px; text-align:left; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. if(!isRequiredControls("cmb_instcd"))return;
  78. if(!isRequiredControls("ipt_stocym"))return;
  79. if(!isRequiredControls("ipt_percent"))return;
  80. misfGridInit(grd_rstsymstlist);
  81. submit("TRRSG04301");
  82. ]]>
  83. </script>
  84. </button>
  85. <caption id="cap_instcd" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  86. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  87. <input id="ipt_stocym" ref="/root/send/stocym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:835px; top:8px; width:120px; height:19px; text-align:center; "/>
  88. <caption id="cap_stocym" class="search_name" style="left:750px; top:9px; width:86px; height:17px; ">기준년월 :</caption>
  89. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:101px; top:8px; width:145px; height:19px; text-align:center; ">
  90. <choices>
  91. <itemset>
  92. <label/>
  93. <value/>
  94. </itemset>
  95. </choices>
  96. </select1>
  97. <caption id="cap_percent" class="search_name" style="left:16px; top:35px; width:88px; height:17px; ">비 율 :</caption>
  98. <select1 id="rdo_printflag" ref="/root/send/printflag" class="radio_search" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:460px; top:35px; width:170px; height:20px; vertical-align:middle; border-style:none; ">
  99. <choices>
  100. <itemset nodeset="/root/init/printflag">
  101. <label ref="label"/>
  102. <value ref="value"/>
  103. </itemset>
  104. </choices>
  105. </select1>
  106. <caption id="cap_printflag" class="search_name" style="left:375px; top:35px; width:98px; height:17px; ">출력구분 :</caption>
  107. <input id="ipt_percent" ref="/root/send/percent" class="input_s_essential" format="#,### %" style="left:101px; top:34px; width:145px; height:19px; text-align:center; "/>
  108. <select1 id="cmb_goodflag" ref="/root/send/goodflag" class="combo_s_essential" appearance="minimal" style="left:460px; top:8px; width:145px; height:19px; text-align:center; ">
  109. <choices>
  110. <itemset>
  111. <label/>
  112. <value/>
  113. </itemset>
  114. </choices>
  115. </select1>
  116. <caption id="cap_goodflag" class="search_name" style="left:375px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
  117. </group>
  118. <button id="button5" class="btn2_letter3" style="left:1080px; top:408px; width:53px; height:19px; ">
  119. <caption>줄추가</caption>
  120. </button>
  121. <button id="button6" class="btn2_letter3" style="left:1135px; top:408px; width:53px; height:19px; ">
  122. <caption>줄삭제</caption>
  123. </button>
  124. <line id="line3" class="line_1" style="x1:0px; y1:99px; x2:1195px; y2:99px; "/>
  125. <datagrid id="grd_rstsymstlist" nodeset="/root/main/list/rstsymstlist" caption="물품코드^품명^규격^수량(금월)^금액(금월)^수량(전월)^금액(전월)^비율" colsep="^" colwidth="89, 333, 255, 90, 120, 90, 120, 53" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:105px; width:1195px; height:629px; ">
  126. <col ref="goodcd" style="text-align:center; "/>
  127. <col ref="goodnm"/>
  128. <col ref="goodspec"/>
  129. <col ref="stocqty" format="#,###" style="text-align:right; "/>
  130. <col ref="stocamt" format="#,###" style="text-align:right; "/>
  131. <col ref="stocqty1" format="#,###" style="text-align:right; "/>
  132. <col ref="stocamt1" format="#,###" style="text-align:right; "/>
  133. <col ref="percent" format="#,### %" style="text-align:right; "/>
  134. <script type="javascript" ev:event="onaftersort">
  135. <![CDATA[
  136. grd_rstsymstlist.gridToInstance();
  137. ]]>
  138. </script>
  139. </datagrid>
  140. <button id="btn_filesave" class="btn2_letter4" style="left:1131px; top:78px; width:64px; height:19px; ">
  141. <caption>File저장</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. var fileName = window.fileDialog("save", ",", false, "증가품목List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  145. if (fileName != "")
  146. {
  147. grd_rstsymstlist.saveExcel(fileName, "증가품목List", true, true, "");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. <caption id="caption21" class="tit_2" style="left:5px; top:84px; width:131px; height:13px; ">증가품목 목록</caption>
  153. </group>
  154. <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  155. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  156. </group>
  157. </xhtml:body>
  158. </xhtml:html>