SMRST00100_월수불마감작업.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <example>Sample</example>
  10. <init>
  11. <stocym/>
  12. <sss>200706</sss>
  13. </init>
  14. <send>
  15. <iudflag/>
  16. <instcd/>
  17. <goodflag/>
  18. <stocym/>
  19. <stocdeptcd/>
  20. <stocdeptnm/>
  21. <orginspym/>
  22. </send>
  23. </root>
  24. </instance>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. //화면 Control을 초기화한다
  28. fInitialize();
  29. ]]>
  30. </script>
  31. <submission id="TXRST00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/temp"/>
  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/miscommonweb/js/RSZ001.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  41. function fInitialize() {
  42. rszfUserGoodFlagList(cmb_goodflag,getUserInfo("userid"));
  43. rszfUserInstList(cmb_instcd,getUserInfo("userid"));
  44. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  45. model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("dutplcecd"));
  46. model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("dutplcenm"));
  47. model.refresh();
  48. }
  49. ]]>
  50. </script>
  51. </xhtml:head>
  52. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  53. <line id="line7" class="line_1" style="x1:0px; y1:37px; x2:377px; y2:37px; "/>
  54. <line id="line19" class="line_2" style="x1:0px; y1:88px; x2:377px; y2:88px; "/>
  55. <line id="line28" class="line_2" style="x1:0px; y1:136px; x2:377px; y2:136px; "/>
  56. <line id="line1" class="line_2" style="x1:0px; y1:64px; x2:377px; y2:64px; "/>
  57. <line id="line35" class="line_3" style="x1:0px; y1:160px; x2:377px; y2:160px; "/>
  58. <line id="line23" class="line_2" style="x1:0px; y1:112px; x2:377px; y2:112px; "/>
  59. <group id="grp_tle" style="left:0px; top:0px; width:380; height:13px; ">
  60. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">월수불마감작업</caption>
  61. </group>
  62. <shape id="rectangle9" fillStyle="solid" shape="rectangle" fillColor="#bbbbbb" style="left:0px; top:12px; width:380px; height:159px; border-color:#788daf; "/>
  63. <button id="btn_gen" class="btn2_letter2" style="left:290px; top:17px; width:42px; height:19px; ">
  64. <caption>생성</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. model.setValue("/root/send/iudflag","I");
  68. model.setValue("/root/send/stocym",model.getValue(ipt_stocym.attribute("ref")));
  69. submit("TXRST00101");
  70. if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
  71. ]]>
  72. </script>
  73. </button>
  74. <button id="btn_del" class="btn2_letter2" style="left:335px; top:17px; width:42px; height:19px; ">
  75. <caption>삭제</caption>
  76. <script type="javascript" ev:event="DOMFocusIn">
  77. <![CDATA[
  78. model.setValue("/root/send/iudflag","D");
  79. model.setValue("/root/send/stocym",model.getValue(ipt_stocym.attribute("ref")));
  80. submit("TXRST00101");
  81. if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
  82. ]]>
  83. </script>
  84. </button>
  85. <button id="button39" img="/com/commonweb/images/geomsaek4.gif" hoverImg="/com/commonweb/images/geomsaek4_o.gif" style="left:180px; top:127px; width:23px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; ">
  86. <script id="script3" type="javascript" ev:event="xforms-activate">
  87. <![CDATA[
  88. var pParam = "2▦1▦▦"; //jobgbn▦srtgbn▦srhtxt▦cond1▦...
  89. ERP_FOpenBuSeoHelp("", pParam, "/root/MainData/condition/deptcd","/root/MainData/condition/deptnm", "");
  90. model.setfocus("checkbox1");
  91. ]]>
  92. </script>
  93. <caption/>
  94. </button>
  95. <caption id="caption61" class="tit_2" style="left:5px; top:22px; width:69px; height:13px; ">월마감</caption>
  96. <caption id="caption44" class="cell_1" style="left:0px; top:90px; width:108px; height:23px; vertical-align:middle; ">마감년월</caption>
  97. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_essential" appearance="minimal" style="left:110px; top:44px; width:213px; height:19px; ">
  98. <choices>
  99. <itemset nodeset="/root/init/instcd">
  100. <label ref="cdnm"/>
  101. <value ref="cdid"/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <caption id="caption2" class="cell_1" style="left:0px; top:138px; width:108px; height:23px; vertical-align:middle; ">실사량</caption>
  106. <caption id="caption1" class="cell_1" style="left:0px; top:114px; width:108px; height:23px; vertical-align:middle; ">작업부서</caption>
  107. <input id="ipt_deptcd" ref="/root/send/stocdeptcd" class="input_default" appearance="input" style="left:110px; top:116px; width:79px; height:19px; ">
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. if(ipt_deptcd.value.length == 0)
  111. ipt_deptnm.value = "";
  112. else
  113. misfValidationCheck("02", "", "stocdeptcd,stocdeptnm" );
  114. model.refresh();
  115. ]]>
  116. </script>
  117. </input>
  118. <input id="ipt_deptnm" ref="/root/send/stocdeptnm" class="input_default" appearance="input" style="left:213px; top:116px; width:162px; height:19px; ">
  119. <script type="javascript" ev:event="xforms-value-changed">
  120. <![CDATA[
  121. if(ipt_deptnm.value.length == 0)
  122. ipt_deptcd.value = "";
  123. else
  124. misfValidationCheck("02", "", "stocdeptcd,stocdeptnm" );
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </input>
  129. <button id="button29" class="icon_search" style="left:194px; top:116px; width:16px; height:16px; ">
  130. <caption/>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. var recv_list = "stocdeptcd,stocdeptnm";
  134. misfOpenPopUpList("02", ipt_deptcd,"", recv_list) ;
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </button>
  139. <input id="ipt_stocym" ref="/root/init/stocym" class="input_default" inputtype="date" format="yyyy-mm" style="left:110px; top:92px; width:90px; height:19px; "/>
  140. <select id="chk_orginspym" ref="/root/send/orginspym" overflow="visible" appearance="full" style="left:110px; top:141px; width:145px; height:15px; border-style:none; ">
  141. <choices>
  142. <item>
  143. <label>실사량내역유지</label>
  144. <value>Y</value>
  145. </item>
  146. </choices>
  147. </select>
  148. <caption id="caption8" class="cell_1" style="left:0px; top:42px; width:108px; height:23px; vertical-align:middle; ">기관코드</caption>
  149. <select1 id="cmb_goodflag" ref="/root/send/goodflag" class="combo_essential" appearance="minimal" style="left:110px; top:68px; width:213px; height:19px; ">
  150. <choices>
  151. <itemset nodeset="/root/init/goodflag">
  152. <label ref="cdnm"/>
  153. <value ref="cdid"/>
  154. </itemset>
  155. </choices>
  156. </select1>
  157. <caption id="caption3" class="cell_1" style="left:0px; top:66px; width:108px; height:23px; vertical-align:middle; ">물품구분</caption>
  158. </xhtml:body>
  159. </xhtml:html>