SMRST02500_일별 입출고 금액 집계표.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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>일별 입출고 금액 집계표</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <instcd/>
  11. <goodflag/>
  12. <goodcd/>
  13. <goodnm/>
  14. <deptcd/>
  15. <deptnm/>
  16. </send>
  17. <main>
  18. <dailyinoutprintlist/>
  19. </main>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-ready">
  23. <![CDATA[
  24. //화면 Control을 초기화한다
  25. fInitialize();
  26. ]]>
  27. </script>
  28. <submission id="TRRST02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dailyinoutprintlist"/>
  29. </model>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  33. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  37. <script type="javascript">
  38. <![CDATA[
  39. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  40. function fInitialize() {
  41. model.resetInstanceNode("/root/send");
  42. rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
  43. rszfUserInstList(cmb_instcd,getUserInfo("userid"));
  44. // misfComboComCdListMulti("Z0007,R0025","cmb_instcd,cmb_goodflag" );
  45. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  46. model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("posdeptcd"));
  47. model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("posdeptnm"));
  48. misfGridInit(grd_dailyinoutprintlist);
  49. misfMsterDetailSet(grd_dailyinoutprintlist,null, "TRRST02501" ,"N");
  50. // var curdate = getCurrentDate();
  51. // model.setValue(ipt_delivetodd.attribute("ref") ,curdate);
  52. model.refresh();
  53. }
  54. //필수항목 체크하는 메소드
  55. function fCheckRetrieveData()
  56. {
  57. if(!isRequiredControls("cmb_instcd") )return false; // 기관코드 , commonweb/js/tfHelper.js
  58. if(!isRequiredControls("cmb_goodflag") )return false; // 물품구분
  59. if(!isRequiredControls("ipt_deptcd") )return false; // 부서코드
  60. // if(model.getValue(ipt_wintodd.attribute("ref")).length== 0 ) // 입고종료일자
  61. // {
  62. // messageBox("입고일자", "I003");
  63. // model.setFocus("ipt_wintodd");
  64. // return false;
  65. // }
  66. //if(!isRequiredControls("ipt_wintodd") )return false; // 입고종료일자
  67. //if(!isRequiredControls("cmb_stocdeptcd") )return false; // 부서코드
  68. }
  69. ]]>
  70. </script>
  71. </xhtml:head>
  72. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  73. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  74. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:209px; height:14px; ">일별 입출고 금액 집계표</caption>
  75. </group>
  76. <group id="group5" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  77. <caption id="caption21" class="tit_2" style="left:5px; top:83px; width:211px; height:13px; ">일별 입출고 금액 집계표</caption>
  78. <group id="group6" style="left:0px; top:13px; width:1195px; height:61; vertical-align:top; ">
  79. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <caption id="caption10" class="search_name" style="left:15px; top:35; width:93px; height:17px; ">출력기준 :</caption>
  81. <caption id="cap_goodflag" class="search_name" style="left:317px; top:35px; width:99px; height:17px; ">물품구분 :</caption>
  82. <caption id="cap_deptcd" class="search_name" style="left:317px; top:9px; width:112px; height:17px; ">부 서 :</caption>
  83. <select1 id="cmb_goodflag" ref="/root/send/goodflag" class="combo_s_essential" appearance="minimal" style="left:403px; top:34px; width:139px; height:19px; ">
  84. <choices>
  85. <itemset nodeset="/root/init/goodflag">
  86. <label ref="cdnm"/>
  87. <value ref="cdid"/>
  88. </itemset>
  89. </choices>
  90. </select1>
  91. <input id="input6" class="input_s_essential" inputtype="date" style="left:100px; top:34px; width:140px; height:19px; "/>
  92. <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_s_essential" style="left:649px; top:34px; width:70px; height:19px; ">
  93. <script type="javascript" ev:event="xforms-value-changed">
  94. <![CDATA[
  95. purfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + ",," + model.getValue(ipt_goodcd.attribute("ref")) + ",,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  96. model.refresh();
  97. ]]>
  98. </script>
  99. </input>
  100. <button id="btn_goodcd" class="icon_search" style="left:724px; top:36px; width:16px; height:16px; ">
  101. <caption/>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  105. model.refresh();
  106. ]]>
  107. </script>
  108. </button>
  109. <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_s_essential" style="left:744px; top:34px; width:152px; height:19px; "/>
  110. <caption id="caption1" class="search_name" style="left:563px; top:35px; width:87px; height:17px; ">물품코드 :</caption>
  111. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_s_essential" style="left:403px; top:8px; width:70px; height:19px; ">
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. misfValidationCheck("02", "", "deptcd,deptnm" );
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </input>
  119. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_s_essential" style="left:498px; top:8px; width:152px; height:19px; "/>
  120. <button id="button2" class="icon_search" style="left:478px; top:10px; width:16px; height:16px; ">
  121. <caption/>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. var recv_list = "deptcd,deptnm";
  125. misfOpenPopUpList("02", ipt_deptcd,"", recv_list) ;
  126. model.refresh();
  127. ]]>
  128. </script>
  129. </button>
  130. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:140px; height:19px; ">
  131. <choices>
  132. <itemset nodeset="/root/init/instcd">
  133. <label ref="cdnm"/>
  134. <value ref="cdid"/>
  135. </itemset>
  136. </choices>
  137. </select1>
  138. <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:99px; height:17px; ">기관코드 :</caption>
  139. <button id="button4" class="btn1_letter2" navindex="8" style="left:1125px; top:20px; width:56px; height:22px; text-align:left; ">
  140. <caption>조회</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. misfGridInit(grd_dailyinoutprintlist);
  144. // if(fCheckRetrieveData(false) == false)return;
  145. misfMsterDetailRetrieve();
  146. ]]>
  147. </script>
  148. </button>
  149. <line id="line14" class="line_4" style="x1:1110px; y1:9px; x2:1110px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  150. </group>
  151. <line id="line15" class="line_1" style="x1:0px; y1:97px; x2:1195px; y2:97px; "/>
  152. <datagrid id="grd_dailyinoutprintlist" nodeset="/root/main/dailyinoutprintlist" caption="일 자^이 월^정산입고^반 품^이송입고^입고금액^출고금액^재고금액^입출유형코드^입출유형명" colsep="^" colwidth="100, 100, 100, 101, 100, 150, 150, 150, 80, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:102px; width:1195px; height:632px; ">
  153. <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
  154. <col/>
  155. <col ref="iokindcd1"/>
  156. <col ref="iokindcd2"/>
  157. <col ref="iokindcd3"/>
  158. <col ref="winamt" format="#,###.##" style="text-align:right; "/>
  159. <col ref="deliveamt" format="#,###.##" style="text-align:right; "/>
  160. <col ref="stocamt" format="#,###.##" style="text-align:right; "/>
  161. <col ref="iokindcd" visibility="hidden"/>
  162. <col ref="iokindnm" visibility="hidden"/>
  163. </datagrid>
  164. </group>
  165. <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  166. <button id="button46" class="btn6_letter2" visibility="hidden" style="left:0; top:3px; width:56px; height:22px; ">
  167. <caption>출력</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. exeReportPreview("RPRST02501","XMLSTR");
  171. ]]>
  172. </script>
  173. </button>
  174. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  175. <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  176. <caption>초기화</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fInitialize();
  180. ]]>
  181. </script>
  182. </button>
  183. </group>
  184. </xhtml:body>
  185. </xhtml:html>