SMRSO22200_입고유형별입고내역(경북대).xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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: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. <winlist/>
  11. </main>
  12. <send>
  13. <search>
  14. <instcd/>
  15. <winkind/>
  16. <winddfrom/>
  17. <winddto/>
  18. <windeptcd/>
  19. <windeptnm/>
  20. </search>
  21. <save/>
  22. </send>
  23. <init>
  24. </init>
  25. <hidden/>
  26. <temp>
  27. </temp>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. //화면 Control을 초기화한다
  33. misfGridInit(grd_winlist);
  34. misfMsterDetailSet(grd_winlist, null, "TRRSO22201" ,"Y");
  35. //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
  36. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  37. misfComboComCdList("030R0019",cmb_winkind, "Y"); //입고유형 (Y: 전체 item 추가시)
  38. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  39. model.setValue("/root/send/search/winddfrom" , getCurrentDate()); //일자 설정
  40. model.setValue("/root/send/search/winddto" , getCurrentDate()); //일자 설정
  41. model.setValue("/root/send/search/winkind" , ""); //입고유형 설정("": 전체)
  42. //test -> 향후 삭제할 것
  43. //model.setValue("/root/send/search/reqdd", "20110816");
  44. model.refresh();
  45. ]]>
  46. </script>
  47. <submission id="TRRSO22201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/winlist"/>
  48. </model>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  54. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  55. <script type="javascript">
  56. <![CDATA[
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">입고 유형별 입고 내역</caption>
  63. </group>
  64. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  65. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
  66. </group>
  67. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  68. <group id="grp_search" style="left:0px; top:9px; width:1195px; height:48px; vertical-align:top; ">
  69. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  70. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1109px; top:9px; width:56px; height:22px; ">
  71. <caption>조회</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. //부서에 선택된 값이 없으면, 부서를 선택하라고 alert함
  75. if(ipt_windeptcd.value == "") {
  76. messageBox("부서가 선택되지 않았습니다. \n\n먼저 부서를 선택하십시요.", "E999", "");
  77. model.setFocus("ipt_windeptcd");
  78. return;
  79. }
  80. misfMsterDetailRetrieve();
  81. ]]>
  82. </script>
  83. </button>
  84. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:112px; top:10px; width:136px; height:19px; ">
  85. <choices>
  86. <itemset nodeset="/root/main/init">
  87. <label ref="cnstnm"/>
  88. <value ref="cnstcd"/>
  89. </itemset>
  90. </choices>
  91. </select1>
  92. <caption id="cap_instcd" class="search_name" style="left:33px; top:10px; width:77px; height:17px; ">기관코드</caption>
  93. <input id="ipt_winddfrom" ref="/root/send/search/winddfrom" navindex="2" inputtype="date" style="left:330px; top:10px; width:89px; height:19px; "/>
  94. <caption id="caption20" class="search_name" style="left:546px; top:10px; width:54px; height:17px; vertical-align:middle; ">부서</caption>
  95. <line id="line30" class="line_4" style="x1:1095px; y1:4px; x2:1095px; y2:36px; "/>
  96. <caption id="caption2" class="search_name" style="left:275px; top:10px; width:55px; height:17px; ">기간</caption>
  97. <select1 id="cmb_winkind" ref="/root/send/search/winkind" class="combo_default" navindex="6" appearance="minimal" style="left:970px; top:10px; width:99px; height:19px; ">
  98. <choices>
  99. <itemset nodeset="/root/init/winkind">
  100. <label ref="cdnm"/>
  101. <value ref="cdid"/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <button id="btn_windeptcd" class="icon_search" navindex="5" style="left:673px; top:10px; width:16px; height:16px; ">
  106. <caption/>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. var recv_list = "windeptcd,windeptnm";
  110. misfOpenPopUpList("02", ipt_windeptcd,"", recv_list) ;
  111. ipt_windeptcd.refresh();
  112. opt_windeptnm.refresh();
  113. ]]>
  114. </script>
  115. </button>
  116. <input id="ipt_windeptcd" ref="/root/send/search/windeptcd" class="input_default" navindex="4" style="left:601px; top:10px; width:70px; height:19px; ">
  117. <script type="javascript" ev:event="xforms-value-changed">
  118. <![CDATA[
  119. misfValidationCheck("02", "", "windeptcd,windeptnm" );
  120. ]]>
  121. </script>
  122. </input>
  123. <output id="opt_windeptnm" ref="/root/send/search/windeptnm" class="output_fix" appearance="output" style="left:691px; top:10px; width:174px; height:19px; "/>
  124. <caption id="caption9" class="search_name" style="left:891px; top:10px; width:79px; height:17px; ">입고유형</caption>
  125. <input id="ipt_winddto" ref="/root/send/search/winddto" navindex="3" inputtype="date" style="left:432px; top:10px; width:89px; height:19px; "/>
  126. <caption id="caption3" style="left:420px; top:12px; width:10px; height:15px; font-weight:bold; text-align:center; ">-</caption>
  127. </group>
  128. <line id="line1" class="line_1" style="x1:0px; y1:78px; x2:1195px; y2:78px; "/>
  129. <caption id="caption1" class="tit_2" style="left:0px; top:63px; width:180px; height:14px; ">유형별 입고 내역</caption>
  130. <datagrid id="grd_winlist" nodeset="/root/main/winlist" class="datagrid2" caption="품목코드^품목명^입고유형^단위^단가^수량^금액^창고" colsep="^" colwidth="103, 428, 73, 59, 100, 90, 112, 61" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:83px; width:1195px; height:607px; ">
  131. <col ref="goodcd" style="text-align:center; "/>
  132. <col ref="goodnm"/>
  133. <col ref="winkindnm" style="text-align:center; "/>
  134. <col ref="deliveunit" style="text-align:center; "/>
  135. <col ref="winunitcost" format="#,###" style="text-align:right; padding-right:2; "/>
  136. <col ref="winqty" format="(-)#,###.##" style="text-align:right; padding-right:2; "/>
  137. <col ref="winamt" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  138. <col ref="wareflag" style="text-align:center; "/>
  139. </datagrid>
  140. <button id="btn_excel" class="btn2_letter3" navindex="8" style="left:1138px; top:57px; width:53px; height:19px; ">
  141. <caption>엑셀</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. misfSaveExcel(grd_winlist);
  145. ]]>
  146. </script>
  147. </button>
  148. </group>
  149. </xhtml:body>
  150. </xhtml:html>