123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAVT00400.xrw
- * 설 명 : 조직은행 보관장소관리
- * 설 계 자 : 손승현
- * 작 성 자 : 손승현
- * 작 성 일 : 2010.08.23
- * 수정이력 : 2010.08.23 손승현 신규
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>보관장소 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <roomlist>
- <item>
- <no/>
- <a/>
- <b/>
- <c/>
- <d/>
- <e/>
- <f/>
- <g/>
- <h/>
- </item>
- </roomlist>
- </main>
- <send>
- <srchpartcode/>
- <srchpartname/>
- <req>
- <savedata/>
- </req>
- </send>
- <init>
- <combobscdlst/>
- </init>
- <hidden>
- <item/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetRoomList();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- /**
- * 보관장소 리스트 조회
- */
- function fGetRoomList(){
- model.removeNodeset("/root/main/ptcdlst/item");
- model.refresh();
- var ret = submit("TRAVT00401");
- return ret;
- }
- /**
- * 부위코드 저장
- */
- function fSaveExer() {
- if( ! getGridUpdateData(grd_ptcdlst) )
- {
- messageBox( "저장할 내역이", "I004" );
- return ;
- }
-
- var rsv_cnt = grd_ptcdlst.rows ;
- var sNode = grd_ptcdlst.nodeset+ "[";
- for( var i = 1; i < rsv_cnt ; i++){
- if( model.getValue(sNode + i + "]/partcode" ) == "") {
- messageBox( "부위코드의 코드값", "E014" );
- return ;
- }
- }
-
- var ret = false;
- if ( messageBox("부위코드정보를","Q002")==6 ) {
- model.setValue("/root/send/req/savedata", grd_ptcdlst.getUpdateData());
- ret = submit("TXAVB00201");
- }
-
- return ret;
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
- <submission id="TRAVB00001"/>
- <submission id="TRAVT00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ptcdlst"/>
- <submission id="TXAVB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/req" replace="instance" resultref="root/hidden"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" ref="tissuemcd" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRoomList();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">부위코드 :</caption>
- <input id="ipt_partcd" ref="/root/send/srchpartcode" class="input_search" style="left:103px; top:8px; width:70px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:195px; top:9px; width:90px; height:17px; ">부 위 명 :</caption>
- <input id="ipt_partnm" ref="/root/send/srchpartname" class="input_search" style="left:280px; top:8px; width:200px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:14px; ">보관장소 관리</caption>
- <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
- <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; ">
- <col ref="no" type="output" style="text-align:center; "/>
- <col ref="a" style="text-align:left; "/>
- <col ref="b" style="text-align:left; "/>
- <col ref="c" style="text-align:left; "/>
- <col ref="d" style="text-align:left; "/>
- <col ref="e" style="text-align:left; "/>
- <col ref="f" style="text-align:left; "/>
- <col ref="g" style="text-align:left; "/>
- <col ref="h" style="text-align:left; "/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fSaveExer() == true ){
- submit("TRAVB00201");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">조직은행 보관장소관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|