SMRSO23300_부서입고확인.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <deptwincheck>
  11. <deptwinchecklist/>
  12. </deptwincheck>
  13. </main>
  14. <send>
  15. <search>
  16. <fromdd/>
  17. <todd/>
  18. </search>
  19. </send>
  20. <init>
  21. </init>
  22. <hidden/>
  23. <temp>
  24. </temp>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. //화면 Control을 초기화한다
  30. misfGridInit(grd_deptwinchecklist);
  31. //misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  32. model.setValue("/root/send/search/fromdd" , getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD"));
  33. model.setValue("/root/send/search/todd" , getCurrentDate());
  34. model.refresh();
  35. ]]>
  36. </script>
  37. <submission id="TRRSO23301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/deptwincheck"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript">
  47. <![CDATA[
  48. ]]>
  49. </script>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="620" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <group id="grp_tle" style="left:0px; top:0px; width:595px; height:13px; ">
  53. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:15px; ">부서입고확인</caption>
  54. </group>
  55. <group id="group1" style="left:0px; top:12px; width:595px; height:27px; ">
  56. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:595px; y2:25px; "/>
  57. </group>
  58. <group id="group3" scroll="auto" style="left:0px; top:40px; width:595px; height:495px; ">
  59. <group id="grp_search" style="left:0px; top:0px; width:595px; height:35px; vertical-align:top; ">
  60. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:595px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  61. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:535px; top:5px; width:56px; height:22px; ">
  62. <caption>조회</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. misfGridInit(grd_deptwinchecklist);
  66. if(submit("TRRSO23301")){
  67. }
  68. ]]>
  69. </script>
  70. </button>
  71. <input id="ipt_fromdd" ref="/root/send/search/fromdd" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:10px; width:105px; height:19px; text-align:center; ">
  72. <script type="javascript" ev:event="xforms-value-changed">
  73. <![CDATA[
  74. ]]>
  75. </script>
  76. </input>
  77. <caption id="caption20" class="search_name" style="left:15px; top:10px; width:90px; height:17px; vertical-align:middle; ">출고일자 :</caption>
  78. <line id="line30" class="line_4" style="x1:522px; y1:4px; x2:522px; y2:29px; "/>
  79. <input id="ipt_todd" ref="/root/send/search/todd" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:10px; width:105px; height:19px; text-align:center; ">
  80. <script type="javascript" ev:event="xforms-value-changed">
  81. <![CDATA[
  82. ]]>
  83. </script>
  84. </input>
  85. <caption id="caption1" style="left:207px; top:11px; width:15px; height:20px; ">~</caption>
  86. </group>
  87. <caption id="caption4" class="tit_2" style="left:0px; top:45px; width:215px; height:15px; ">부서입고내역</caption>
  88. <line id="line3" class="line_1" style="x1:0px; y1:60px; x2:595px; y2:60px; "/>
  89. <datagrid id="grd_deptwinchecklist" nodeset="/root/main/deptwincheck/deptwinchecklist" class="datagrid2" caption="출고일자^출고번호^출고부서^부서코드^caption1" colsep="^" colwidth="103, 78, 376, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="9" style="left:0px; top:65px; width:595px; height:425px; ">
  90. <col ref="delivedd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  91. <col ref="deliveno" type="output"/>
  92. <col ref="delivedeptnm" type="output"/>
  93. <col ref="delivedeptcd" visibility="hidden"/>
  94. <col ref="deliveflag" visibility="hidden"/>
  95. <script type="javascript" ev:event="ondblclick">
  96. <![CDATA[
  97. //선택버튼을 click했는지 아닌지를 나타내는 구분값을 opener에 전달한다.
  98. opener.model.setValue("/root/popdelive/selectyn", "Y");
  99. //선택한 출고내역을 opener의 조회조건에 setting한다.
  100. opener.model.setValue("/root/send/search/deliveno", model.getValue(grd_deptwinchecklist.nodeset + "[" + grd_deptwinchecklist.row + "]/deliveno"));
  101. opener.model.setValue("/root/send/search/delivedeptcd", model.getValue(grd_deptwinchecklist.nodeset + "[" + grd_deptwinchecklist.row + "]/delivedeptcd"));
  102. opener.model.setValue("/root/send/search/delivedeptnm", model.getValue(grd_deptwinchecklist.nodeset + "[" + grd_deptwinchecklist.row + "]/delivedeptnm"));
  103. opener.model.setValue("/root/send/search/deliveflag", model.getValue(grd_deptwinchecklist.nodeset + "[" + grd_deptwinchecklist.row + "]/deliveflag"));
  104. opener.model.refreshpart("/root/send/search/deliveno");
  105. opener.model.refreshpart("/root/send/search/delivedeptcd");
  106. opener.model.refreshpart("/root/send/search/delivedeptnm");
  107. opener.model.refreshpart("/root/send/search/deliveflag");
  108. window.close();
  109. ]]>
  110. </script>
  111. </datagrid>
  112. </group>
  113. </xhtml:body>
  114. </xhtml:html>