SMRSG03200_기간별품목별입고현황조회.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <init>
  10. <instcd/>
  11. <winacnt/>
  12. <winacntnm/>
  13. <maincustlastsuplplce/>
  14. <maincustlastsuplplcenm/>
  15. <lrgcd/>
  16. <lrgnm/>
  17. <mdlcd/>
  18. <mdlnm/>
  19. <goodcd/>
  20. <goodnm/>
  21. <winfrdd/>
  22. <wintodd/>
  23. </init>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. //화면 Control을 초기화한다
  29. fInitialize();
  30. ]]>
  31. </script>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  36. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  41. function fInitialize() {
  42. misfComboComCdListMulti("Z0007","cmb_instcd" );
  43. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  44. model.refresh();
  45. }
  46. ]]>
  47. </script>
  48. </xhtml:head>
  49. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  50. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  51. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">기간별 품목별 입고현황 조회</caption>
  52. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  53. </group>
  54. <group id="group3" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  55. <datagrid id="datagrid1" nodeset="/root/main" caption="물품코드^품명^규격^입고수량^입고금액" colwidth="100, 240, 120, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:152px; width:705px; height:582px; ">
  56. <col ref="e"/>
  57. <col/>
  58. <col/>
  59. <col/>
  60. <col/>
  61. </datagrid>
  62. <line id="line1" class="line_1" style="x1:0px; y1:147px; x2:705px; y2:147px; "/>
  63. <group id="group4" style="left:0px; top:10px; width:1195px; height:113px; vertical-align:top; ">
  64. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:113px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="button1" navindex="7" class="btn1_letter2" style="left:1124px; top:44px; width:56px; height:22px; text-align:left; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. ]]>
  70. </script>
  71. </button>
  72. <caption id="caption7" class="search_name" style="left:15px; top:61; width:89px; height:17px; ">계 정 :</caption>
  73. <line id="line3" class="line_4" style="top:54; x1:1109px; y1:12px; x2:1109px; y2:99px; "/>
  74. <caption id="caption1" class="search_name" style="left:249px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
  75. <select1 id="radio2" class="radio_search" overflow="visible" appearance="full" cols="2" cellspacing="50" style="left:334px; top:10px; width:145px; height:20px; vertical-align:middle; border-style:none; ">
  76. <choices>
  77. <item>
  78. <label>금액</label>
  79. <value>radio2</value>
  80. </item>
  81. <item>
  82. <label>수량</label>
  83. <value/>
  84. </item>
  85. </choices>
  86. </select1>
  87. <caption id="caption8" class="search_name" style="left:505px; top:9px; width:88px; height:17px; ">대 분 류 :</caption>
  88. <caption id="caption13" class="search_name" style="left:505px; top:61px; width:89px; height:17px; ">거 래 처 :</caption>
  89. <caption id="caption2" class="search_name" style="left:15; top:35; width:86px; height:17px; ">입고일자 :</caption>
  90. <caption id="caption3" style="left:230px; top:35px; width:15px; height:20px; font-weight:bold; ">~</caption>
  91. <input id="input1" ref="/root/init/winfrdd" class="input_s_essential" inputtype="date" style="left:100px; top:34px; width:126px; height:19px; "/>
  92. <input id="input3" ref="/root/init/wintodd" class="input_s_essential" inputtype="date" style="left:247px; top:34px; width:126px; height:19px; "/>
  93. <caption id="caption14" class="search_name" style="left:15; top:9; width:91px; height:17px; ">기관코드 :</caption>
  94. <select1 id="cmb_instcd" ref="/root/init/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:126px; height:19px; ">
  95. <choices>
  96. <itemset nodeset="/root/init/instcd">
  97. <label ref="cdnm"/>
  98. <value ref="cdid"/>
  99. </itemset>
  100. </choices>
  101. </select1>
  102. <caption id="caption15" class="search_name" style="left:15px; top:87; width:89px; height:17px; ">물품코드 :</caption>
  103. <caption id="caption16" class="search_name" style="left:505px; top:35px; width:88px; height:17px; ">중 분 류 :</caption>
  104. <button id="btn_lrgcd" class="icon_search" style="left:692px; top:10px; width:16px; height:16px; ">
  105. <caption/>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. purcfOpenPopUpListByWndName(ipt_lrgcd,"","lrgcd,lrgnm","SPRSD00130","goodflag","cmb_goodflag");
  109. model.refresh();
  110. model.setFocus("ipt_mdlcd");
  111. ]]>
  112. </script>
  113. </button>
  114. <output id="opt_lrgnm" ref="/root/init/lrgnm" class="output_fix" appearance="output" style="left:715px; top:8px; width:210px; height:19px; "/>
  115. <input id="ipt_lrgcd" ref="/root/init/lrgcd" class="input_s_essential" style="left:587px; top:8px; width:100px; height:19px; ">
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. purfValidationCheck("TRRSD00131", "lrglist", "refcond,goodflag,lrgcd,lrgnm","lrgnm," + model.getValue(cmb_goodflag.attribute("ref")) +",," + model.getValue(ipt_lrgcd.attribute("ref")),"","lrgcd,lrgnm" ,ipt_lrgcd,"SPRSD00130","goodflag","cmb_goodflag");
  119. model.refresh();
  120. ]]>
  121. </script>
  122. <script type="javascript" ev:event="onkeydown">
  123. <![CDATA[
  124. if(event.keyCode == 9)
  125. {
  126. if(event.shiftKey)model.setFocus("cmb_asetflag");
  127. else model.setFocus("ipt_mdlcd");
  128. }
  129. event.preventDefault();
  130. ]]>
  131. </script>
  132. </input>
  133. <output id="opt_maincustlastsuplplcenm" ref="/root/init/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:715px; top:60px; width:210px; height:19px; "/>
  134. <input id="ipt_maincustlastsuplplce" ref="/root/init/maincustlastsuplplce" class="input_default" style="left:587px; top:60px; width:100px; height:19px; ">
  135. <script type="javascript" ev:event="xforms-value-changed">
  136. <![CDATA[
  137. purfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,custnm", model.getValue(cmb_instcd.attribute("ref")) +"," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
  138. model.refresh();
  139. model.setFocus("ipt_suppcustcd");
  140. ]]>
  141. </script>
  142. <script type="javascript" ev:event="onkeydown">
  143. <![CDATA[
  144. if(event.keyCode == 9)
  145. {
  146. if(event.shiftKey)model.setFocus("cmb_purcflag");
  147. else model.setFocus("ipt_suppcustcd");
  148. }
  149. event.preventDefault();
  150. ]]>
  151. </script>
  152. </input>
  153. <button id="btn_maincustlastsuplplce" class="icon_search" style="left:692px; top:61px; width:16px; height:16px; ">
  154. <caption/>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. //purcfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
  158. purcfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </button>
  163. <button id="btn_goodcd" class="icon_search" style="left:204px; top:85px; width:16px; height:16px; ">
  164. <caption/>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. purcfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  168. model.refresh();
  169. ]]>
  170. </script>
  171. </button>
  172. <input id="ipt_goodcd" ref="/root/init/goodcd" navindex="6" class="input_s_essential" style="left:100px; top:86px; width:100px; height:19px; ">
  173. <script type="javascript" ev:event="xforms-value-changed">
  174. <![CDATA[
  175. 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");
  176. model.refresh();
  177. ]]>
  178. </script>
  179. </input>
  180. <output id="input2" ref="/root/init/goodnm" navindex="6" class="output_fix" style="left:225px; top:86px; width:210px; height:19px; "/>
  181. <output id="opt_winacntnm" ref="/root/init/winacntnm" class="output_fix" appearance="output" style="left:225px; top:60px; width:210px; height:19px; "/>
  182. <button id="btn_winacnt" class="icon_search" style="left:204px; top:63px; width:16px; height:16px; ">
  183. <caption/>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. purcfOpenPopUpListByWndName(ipt_winacnt,"","winacnt,winacntnm","PPRAC00100","","");
  187. model.refresh();
  188. ]]>
  189. </script>
  190. </button>
  191. <input id="ipt_winacnt" ref="/root/init/winacnt" class="input_essential" style="left:100px; top:60px; width:100px; height:19px; ">
  192. <script type="javascript" ev:event="xforms-value-changed">
  193. <![CDATA[
  194. purfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_winacnt.attribute("ref")) ,"","winacnt,winacntnm" ,ipt_winacnt,"PPRAC00100","","");
  195. model.refresh();
  196. model.setFocus("ipt_amtacnt");
  197. ]]>
  198. </script>
  199. <script type="javascript" ev:event="onkeydown">
  200. <![CDATA[
  201. if(event.keyCode == 9)
  202. {
  203. if(event.shiftKey)model.setFocus("ipt_lrgcd");
  204. else model.setFocus("ipt_amtacnt");
  205. }
  206. event.preventDefault();
  207. ]]>
  208. </script>
  209. </input>
  210. <button id="btn_mdlcd" class="icon_search" style="left:692px; top:36px; width:16px; height:16px; ">
  211. <caption/>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. purcfOpenPopUpListByWndName(ipt_mdlcd,"","mdlcd,mdlnm","SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,opt_lrgnm");
  215. model.refresh();
  216. ]]>
  217. </script>
  218. </button>
  219. <output id="opt_mdlnm" ref="/root/init/mdlnm" class="output_fix" appearance="output" style="left:715px; top:34px; width:210px; height:19px; "/>
  220. <input id="ipt_mdlcd" ref="/root/init/mdlcd" class="input_default" style="left:587px; top:34px; width:100px; height:19px; ">
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. purfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd,mdlnm","mdlnm," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_lrgcd.attribute("ref")) + ",," + model.getValue(ipt_mdlcd.attribute("ref"))
  224. ,"","mdlcd,mdlnm" ,ipt_mdlcd,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,opt_lrgnm");
  225. model.refresh();
  226. model.setFocus("ipt_smlcd");
  227. ]]>
  228. </script>
  229. <script type="javascript" ev:event="onkeydown">
  230. <![CDATA[
  231. if(event.keyCode == 9)
  232. {
  233. if(event.shiftKey)model.setFocus("ipt_lrgcd");
  234. else model.setFocus("ipt_smlcd");
  235. }
  236. event.preventDefault();
  237. ]]>
  238. </script>
  239. </input>
  240. </group>
  241. <line id="line4" class="line_1" style="x1:710px; y1:147px; x2:1195px; y2:147px; "/>
  242. <datagrid id="datagrid2" nodeset="/root/main" caption="년월^성모^강남^의정부" colwidth="100, 100, 120, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:710px; top:152px; width:485px; height:582px; ">
  243. <col ref="e"/>
  244. <col/>
  245. <col/>
  246. <col/>
  247. </datagrid>
  248. <caption id="caption21" class="tit_2" style="left:5px; top:132px; width:131px; height:13px; ">품목 목록</caption>
  249. <caption id="caption12" class="tit_2" style="left:715px; top:132px; width:131px; height:13px; ">기관별 입고 목록</caption>
  250. </group>
  251. <group id="group2" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  252. <line id="line2" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  253. <button id="button16" class="btn4_letter2" style="left:1069px; top:3px; width:56px; height:22px; ">
  254. <caption>저장</caption>
  255. </button>
  256. <button id="button18" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  257. <caption>초기화</caption>
  258. </button>
  259. </group>
  260. </xhtml:body>
  261. </xhtml:html>