SMRSO22700_입출고현황조회(팝업).xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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. <delivemst>
  11. <delivemstlist>
  12. </delivemstlist>
  13. </delivemst>
  14. </main>
  15. <send>
  16. <search>
  17. <instcd/>
  18. <delivedd/>
  19. <delivedeptcd/>
  20. <delivedeptnm/>
  21. <opener/>
  22. <delivetodd/>
  23. </search>
  24. </send>
  25. <init/>
  26. <hidden/>
  27. <temp/>
  28. <popdata>
  29. <instcd/>
  30. <wareflag/>
  31. <wareflagnm/>
  32. <delivedd/>
  33. <opener/>
  34. </popdata>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. misfGridInit(grd_delivemst);
  40. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  41. misfMsterDetailSet(grd_delivemst, null, "TRRSO21051" ,"N");
  42. //Master 조회를 위한 parameter setting
  43. model.setValue("/root/send/search/instcd", model.getValue("/root/popdata/instcd"));
  44. model.setValue("/root/send/search/delivedd", model.getValue("/root/popdata/delivedd").substr(0,6)+"01");
  45. model.setValue("/root/send/search/delivetodd", model.getValue("/root/popdata/delivedd"));
  46. model.setValue("/root/send/search/delivedeptcd", model.getValue("/root/popdata/delivedeptcd"));
  47. model.setValue("/root/send/search/delivedeptnm", model.getValue("/root/popdata/delivedeptnm"));
  48. model.setValue("/root/send/search/opener", model.getValue("/root/popdata/opener"));
  49. model.refresh();
  50. misfMsterDetailRetrieve();
  51. ]]>
  52. </script>
  53. <submission id="TRRSO21051" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/delivemst"/>
  54. </model>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  60. </xhtml:head>
  61. <xhtml:body pagewidth="790" pageheight="400">
  62. <line id="line8" class="line_1" style="x1:10px; y1:107px; x2:780px; y2:107px; "/>
  63. <caption id="caption20" class="tit_2" style="left:11px; top:92px; width:184px; height:13px; ">출고내역</caption>
  64. <datagrid id="grd_delivemst" nodeset="/root/main/delivemst/delivemstlist" visibility="visible" caption="출고유형^일자^창고^부서명^입고여부^출고여부^^" colwidth="84, 100, 130, 160, 60, 60, 100, 100, 100" mergecellsfixedrows="bycolrec" style="left:10px; top:112px; width:770px; height:278px; ">
  65. <col ref="deliveflagnm" style="text-align:center; "/>
  66. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  67. <col ref="wareflagnm" type="output"/>
  68. <col ref="delivedeptnm"/>
  69. <col ref="wincallyn" style="text-align:center; "/>
  70. <col ref="delivecallyn" style="text-align:center; "/>
  71. <col ref="wareflag" visibility="hidden"/>
  72. <col ref="delivedeptcd" visibility="hidden"/>
  73. <col ref="instcd" visibility="hidden"/>
  74. </datagrid>
  75. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:10px; top:30px; width:770px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  76. <caption id="caption12" class="search_name" style="left:295px; top:39px; width:80px; height:17px; ">출고일자</caption>
  77. <button id="btn_cancel" class="btn4_letter2" style="left:725px; top:4px; width:56px; height:22px; ">
  78. <caption>닫기</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. //선택버튼을 click했는지 아닌지를 나타내는 구분값을 opener에 전달한다.
  82. //opener.model.setValue("/root/popdelive/selectyn", "N");
  83. window.close();
  84. ]]>
  85. </script>
  86. </button>
  87. <button id="btn_delivedeptcd" class="icon_search" navindex="5" style="left:195px; top:63px; width:16px; height:16px; ">
  88. <caption/>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. var vOrigDeptcd = ipt_delivedeptcd.value; //popup을 열기전 부서 저장
  92. var recv_list = "delivedeptcd,delivedeptnm";
  93. misfOpenPopUpList("02", ipt_delivedeptcd,"", recv_list) ;
  94. ipt_delivedeptcd.refresh();
  95. ipt_delivedeptnm.refresh();
  96. ]]>
  97. </script>
  98. </button>
  99. <caption id="caption1" class="search_name" style="left:20px; top:64px; width:81px; height:17px; vertical-align:middle; ">출고부서</caption>
  100. <output id="ipt_delivedeptnm" ref="/root/send/search/delivedeptnm" class="output_fix" appearance="output" style="left:215px; top:63px; width:136px; height:19px; "/>
  101. <input id="ipt_delivedeptcd" ref="/root/send/search/delivedeptcd" class="input_default" navindex="4" style="left:100px; top:63px; width:90px; height:19px; ">
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. misfValidationCheck("02", "", "delivedeptcd,delivedeptnm" );
  105. if(ipt_delivedeptcd.value == ""){
  106. ipt_delivedeptnm.value = "";
  107. }
  108. //2012.04.05 박준범 : 조회조건 변경시 Grid를 지워준다.
  109. if(grd_deptwinlist.rows > grd_deptwinlist.fixedRows) {
  110. misfGridInit(grd_deptwinlist);
  111. }
  112. ]]>
  113. </script>
  114. <script type="javascript" ev:event="onkeypress">
  115. <![CDATA[
  116. //2012.04.05 박준범 추가
  117. inputEnterKey("ipt_reqdeptcd", "xforms-value-changed");
  118. ]]>
  119. </script>
  120. </input>
  121. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:100px; top:38px; width:165px; height:19px; ">
  122. <choices>
  123. <itemset>
  124. <label/>
  125. <value/>
  126. </itemset>
  127. </choices>
  128. </select1>
  129. <caption id="caption8" class="search_name" style="left:20px; top:39px; width:105px; height:17px; ">소속기관</caption>
  130. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:295px; height:15px; ">출고내역팝업</caption>
  131. <line id="line3" class="line_4" style="x1:705px; y1:38px; x2:705px; y2:83px; border-color:#ffe4bb; border-left-style:solid; "/>
  132. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:715px; top:48px; width:56px; height:22px; text-align:left; ">
  133. <caption>조회</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. misfGridInit(grd_delivemst);
  137. misfMsterDetailRetrieve();
  138. ]]>
  139. </script>
  140. </button>
  141. <input id="ipt_delivedd" ref="/root/send/search/delivedd" inputtype="date" format="yyyy-mm-dd" style="left:375px; top:38px; width:90px; height:19px; text-align:center; "/>
  142. <input id="ipt_delivetodd" ref="/root/send/search/delivetodd" inputtype="date" format="yyyy-mm-dd" style="left:476px; top:38px; width:90px; height:19px; text-align:center; "/>
  143. <caption id="caption2" style="left:465px; top:38px; width:15px; height:20px; ">~</caption>
  144. </xhtml:body>
  145. </xhtml:html>