SMLMF00700_보관균주그룹관리.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLMF00700.xrw
  4. * 설 명 : 보관균주코드관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 송요셉
  7. * 작 성 일 : 2007.09.18
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <keepbaclist>
  20. <keepbaccd/>
  21. <keepbacfromdd/>
  22. <keepbactodd/>
  23. <keepbacnm/>
  24. <keepbacscrnm/>
  25. <keepbacprntnm/>
  26. </keepbaclist>
  27. </main>
  28. <send>
  29. <refgbn/>
  30. <data1/>
  31. </send>
  32. <init>
  33. </init>
  34. <hidden>
  35. <ref>
  36. <refgbn>1</refgbn>
  37. </ref>
  38. <default/>
  39. </hidden>
  40. </root>
  41. </instance>
  42. <script type="javascript" ev:event="xforms-model-construct-done">
  43. <![CDATA[
  44. fSetInit();
  45. ]]>
  46. </script>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  51. <submission id="TRLMF00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/keepbaclist"/>
  52. <submission id="TXLMF00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
  53. </model>
  54. <script type="javascript">
  55. <![CDATA[
  56. function fgetkeepbaclist() {
  57. model.removeNodeset("/root/main/keepbaclist");
  58. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  59. submit("TRLMF00701");
  60. checkKeyColumn("grdkeep");
  61. }
  62. function fstartdd() {
  63. grdkeep.addRow();
  64. var row = grdkeep.rows-1;
  65. model.setvalue("/root/main/keepbaclist["+ row +"]/keepbacfromdd", getCurrentDate());
  66. model.setvalue("/root/main/keepbaclist["+ row +"]/keepbactodd" , "99991231");
  67. }
  68. function fExekeeplist() {
  69. model.setvalue("/root/send/data1" , grdkeep.getUpdateData());
  70. submit("TXLMF00701");
  71. }
  72. function fSetInit() {
  73. model.removeNodeset("/root/main/keepbaclist");
  74. model.refresh();
  75. }
  76. ]]>
  77. </script>
  78. </xhtml:head>
  79. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  81. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  82. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:147px; height:14px; ">보관균주코드상세내역</caption>
  83. <datagrid id="grdkeep" nodeset="/root/main/keepbaclist" class="datagrid2" caption="균주그룹코드^사용시작일자^사용종료일자^균주그룹명^균주그룹화면명^균주그룹출력명" colwidth="80, 100, 100, 250, 250, 250" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="▩" colsep="▦" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:650; ">
  84. <col ref="keepbaccd" type="input" _key="true"/>
  85. <col ref="keepbacfromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
  86. <col ref="keepbactodd" type="inputdate" format="yyyy-mm-dd"/>
  87. <col ref="keepbacnm" type="input"/>
  88. <col ref="keepbacscrnm" type="input"/>
  89. <col ref="keepbacprntnm" type="input"/>
  90. <script type="javascript" ev:event="onaftersort">
  91. <![CDATA[
  92. grdkeep.gridToInstance();
  93. ]]>
  94. </script>
  95. </datagrid>
  96. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
  97. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  98. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회구분 :</caption>
  99. <line id="line14" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
  100. <select1 id="cmb_refflag" ref="/root/hidden/ref/refgbn" class="combo_search" appearance="minimal" style="left:108px; top:8px; width:150px; height:19px; ">
  101. <choices>
  102. <item>
  103. <label>사용가능자료</label>
  104. <value>1</value>
  105. </item>
  106. <item>
  107. <label>전체자료</label>
  108. <value>2</value>
  109. </item>
  110. </choices>
  111. </select1>
  112. <button id="btn_ref" class="btn1_letter2" style="left:1120px; top:7px; width:56px; height:22px; ">
  113. <caption>조회</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. fgetkeepbaclist();
  117. ]]>
  118. </script>
  119. </button>
  120. </group>
  121. <button id="btn_addrow" class="btn2_letter3" style="left:1141px; top:49px; width:53px; height:19px; ">
  122. <caption>행추가</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. fstartdd();
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  131. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  132. <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  133. <caption>저장</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. fExekeeplist();
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  141. <caption>초기화</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. fSetInit();
  145. ]]>
  146. </script>
  147. </button>
  148. </group>
  149. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  150. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">보관균주그룹관리</caption>
  151. </group>
  152. </xhtml:body>
  153. </xhtml:html>