SMAVT00400_조직보관장소.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAVT00400.xrw
  4. * 설 명 : 조직은행 보관장소관리
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2010.08.23
  8. * 수정이력 : 2010.08.23 손승현 신규
  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>보관장소 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <roomlist>
  20. <item>
  21. <no/>
  22. <a/>
  23. <b/>
  24. <c/>
  25. <d/>
  26. <e/>
  27. <f/>
  28. <g/>
  29. <h/>
  30. </item>
  31. </roomlist>
  32. </main>
  33. <send>
  34. <srchpartcode/>
  35. <srchpartname/>
  36. <req>
  37. <savedata/>
  38. </req>
  39. </send>
  40. <init>
  41. <combobscdlst/>
  42. </init>
  43. <hidden>
  44. <item/>
  45. </hidden>
  46. </root>
  47. </instance>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. fGetRoomList();
  51. ]]>
  52. </script>
  53. <script type="javascript">
  54. <![CDATA[
  55. /**
  56. * 보관장소 리스트 조회
  57. */
  58. function fGetRoomList(){
  59. model.removeNodeset("/root/main/ptcdlst/item");
  60. model.refresh();
  61. var ret = submit("TRAVT00401");
  62. return ret;
  63. }
  64. /**
  65. * 부위코드 저장
  66. */
  67. function fSaveExer() {
  68. if( ! getGridUpdateData(grd_ptcdlst) )
  69. {
  70. messageBox( "저장할 내역이", "I004" );
  71. return ;
  72. }
  73. var rsv_cnt = grd_ptcdlst.rows ;
  74. var sNode = grd_ptcdlst.nodeset+ "[";
  75. for( var i = 1; i < rsv_cnt ; i++){
  76. if( model.getValue(sNode + i + "]/partcode" ) == "") {
  77. messageBox( "부위코드의 코드값", "E014" );
  78. return ;
  79. }
  80. }
  81. var ret = false;
  82. if ( messageBox("부위코드정보를","Q002")==6 ) {
  83. model.setValue("/root/send/req/savedata", grd_ptcdlst.getUpdateData());
  84. ret = submit("TXAVB00201");
  85. }
  86. return ret;
  87. }
  88. ]]>
  89. </script>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
  93. <submission id="TRAVB00001"/>
  94. <submission id="TRAVT00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ptcdlst"/>
  95. <submission id="TXAVB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/req" replace="instance" resultref="root/hidden"/>
  96. </model>
  97. </xhtml:head>
  98. <xhtml:body guideline="1,1195;" ref="tissuemcd" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  99. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  100. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  101. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  102. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  103. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  104. <caption>조회</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. fGetRoomList();
  108. ]]>
  109. </script>
  110. </button>
  111. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">부위코드 :</caption>
  112. <input id="ipt_partcd" ref="/root/send/srchpartcode" class="input_search" style="left:103px; top:8px; width:70px; height:19px; "/>
  113. <caption id="caption3" class="search_name" style="left:195px; top:9px; width:90px; height:17px; ">부 위 명 :</caption>
  114. <input id="ipt_partnm" ref="/root/send/srchpartname" class="input_search" style="left:280px; top:8px; width:200px; height:19px; "/>
  115. </group>
  116. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:14px; ">보관장소 관리</caption>
  117. <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
  118. <datagrid id="grd_ptcdlst" nodeset="/root/main/roomlist/item" caption="No.^A^B^C^D^E^F^G^H" colsep="^" colwidth="40, 138, 138, 138, 138, 138, 138, 138, 138" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:90px; width:1191px; height:650px; ">
  119. <col ref="no" type="output" style="text-align:center; "/>
  120. <col ref="a" style="text-align:left; "/>
  121. <col ref="b" style="text-align:left; "/>
  122. <col ref="c" style="text-align:left; "/>
  123. <col ref="d" style="text-align:left; "/>
  124. <col ref="e" style="text-align:left; "/>
  125. <col ref="f" style="text-align:left; "/>
  126. <col ref="g" style="text-align:left; "/>
  127. <col ref="h" style="text-align:left; "/>
  128. </datagrid>
  129. </group>
  130. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  131. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  132. <caption>저장</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. if( fSaveExer() == true ){
  136. submit("TRAVB00201");
  137. }
  138. ]]>
  139. </script>
  140. </button>
  141. </group>
  142. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  143. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">조직은행 보관장소관리</caption>
  144. </group>
  145. </xhtml:body>
  146. </xhtml:html>