123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <drugidlist>
- <sel/>
- <phot/>
- <char1/>
- <char2/>
- <longax/>
- <shrtax/>
- <hngnm/>
- <drugcd/>
- <comcnts/>
- <efcysmm/>
- <homodrugflag/>
- <samedrug/>
- <photoid/>
- <useyn/>
- <atccode/>
- </drugidlist>
- <item>
- <shapecd/>
- </item>
- </main>
- <send>
- <drugidinfo/>
- <drugidlist/>
- <srchuseyn/>
- </send>
- <init>
- <comboitem>
- <drugtype>
- <A0044>
- <cdid/>
- <cdnm/>
- </A0044>
- </drugtype>
- </comboitem>
- </init>
- <hidden>
- <drugidinfo>
- <srchflag>1</srchflag>
- <char/>
- <drugcd/>
- <comcnts/>
- <hngnm/>
- <engnm/>
- <srchname/>
- <drugtype/>
- <shapecd/>
- <prodcmpynm/>
- <divline1/>
- <divline2/>
- <color/>
- <shape/>
- <atccodeyn/>
- </drugidinfo>
- <receiveshape>
- <shape/>
- <shapecd/>
- </receiveshape>
- <useyninfo>
- <useyn/>
- </useyninfo>
- <recieveprodcmpy>/root/hidden/drugidinfo/prodcmpynm</recieveprodcmpy>
- </hidden>
- <temp>
- <tmpdrugtype>2|3</tmpdrugtype>
- <etcdrugtype/>
- <drugphot/>
- <retri>
- <restr/>
- <retype/>
- </retri>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/pharmacyweb/js/SPADC60300.js"/>
- <submission id="TRZBC00101"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRADB60301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drugidinfo" replace="instance" resultref="/root/main/drugidlist"/>
- <submission id="TRADB60302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchuseyn" replace="instance" resultref="/root/hidden/useyninfo"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="2,11;1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">약품식별 약품검색</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:345px; height:735px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:350px; y1:49px; x2:1190px; y2:49px; "/>
- <line id="line2" class="line_3" style="x1:350px; y1:755px; x2:1190px; y2:755px; "/>
- <select1 id="radio2" ref="/root/hidden/drugidinfo/srchflag" class="radio_search" appearance="full" cols="2" rows="1" overflow="visible" style="left:225px; top:80px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>포함</label>
- <value>1</value>
- </item>
- <item>
- <label>일치</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line3" class="line_2" style="x1:5px; y1:50px; x2:340px; y2:50px; border-left-style:solid; "/>
- <caption id="caption5" class="search_name" style="left:10px; top:55px; width:86px; height:17px; ">문자 :</caption>
- <input id="input1" ref="/root/hidden/drugidinfo/char" class="input_search" style="left:115px; top:55px; width:220px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:10px; top:105px; width:86px; height:17px; ">원내코드 :</caption>
- <caption id="caption2" class="search_name" style="left:10px; top:155px; width:86px; height:17px; ">성분명 :</caption>
- <caption id="caption3" class="search_name" style="left:10px; top:175px; width:150px; height:17px; ">상품명(한글/영문) :</caption>
- <input id="input2" ref="/root/hidden/drugidinfo/drugcd" class="input_search" style="left:115px; top:105px; width:220px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- /*
- setInputNodeCurText();
- if(model.getValue("/root/hidden/drugidinfo/drugcd") != ""){
- model.setValue("/root/hidden/drugidinfo/atccodeyn", "Y");
- }else{
- model.setValue("/root/hidden/drugidinfo/atccodeyn", "");
- }
- chk_atccodeyn.refresh();
-
- if(event.keyCode == "13"){
- btn_sea.dispatch("DOMActivate");
- }
- */
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/hidden/drugidinfo/comcnts" class="input_search" style="left:155px; top:155px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input4" ref="/root/hidden/drugidinfo/srchname" class="input_search" style="left:155px; top:175px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line5" style="x1:5px; y1:270px; x2:340px; y2:270px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption6" class="search_name" style="left:10px; top:275px; width:86px; height:17px; ">제형 :</caption>
- <select id="chk_atccodeyn" ref="/root/hidden/drugidinfo/atccodeyn" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" style="left:185px; top:129px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>같은 ATC 성분코드포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption8" class="search_name" style="left:10px; top:450px; width:86px; height:17px; ">모양 :</caption>
- <caption id="caption9" class="search_name" style="left:10px; top:470px; width:86px; height:17px; ">회사 :</caption>
- <caption id="caption10" class="search_name" style="left:10px; top:490px; width:86px; height:17px; ">문양 :</caption>
- <caption id="caption11" class="search_name" style="left:10px; top:520px; width:86px; height:17px; ">분할선 :</caption>
- <caption id="caption13" class="search_name" style="left:10px; top:595px; width:86px; height:17px; ">색깔 :</caption>
- <select1 id="combo2" ref="/root/hidden/drugidinfo/shapecd" class="combo_search" appearance="minimal" style="left:115px; top:450px; width:220px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>원형</label>
- <value>1</value>
- </item>
- <item>
- <label>타원형</label>
- <value>2</value>
- </item>
- <item>
- <label>삼각형</label>
- <value>3</value>
- </item>
- <item>
- <label>사각형</label>
- <value>4</value>
- </item>
- <item>
- <label>육각형</label>
- <value>5</value>
- </item>
- <item>
- <label>팔각형</label>
- <value>6</value>
- </item>
- <item>
- <label>반원형</label>
- <value>7</value>
- </item>
- <item>
- <label>마름모형</label>
- <value>8</value>
- </item>
- <item>
- <label>장방형</label>
- <value>9</value>
- </item>
- <item>
- <label>오각형</label>
- <value>10</value>
- </item>
- <item>
- <label>기타</label>
- <value>11</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_prodcmpynm" ref="/root/hidden/drugidinfo/prodcmpynm" class="input_search" style="left:115px; top:470px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_shape" ref="/root/hidden/drugidinfo/shape" class="input_search" style="left:115px; top:490px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button61" class="icon_search" style="left:315px; top:470px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPADB63400",0,50,50,"SPADB63400","/root/hidden/recieveprodcmpy","/root/hidden/receiveref");
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="icon_search" style="left:315px; top:490px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPADB62600",0,100,150,"SPADB62600","/root/hidden/receiveshape","/root/hidden/receiveref");
- model.setValue("/root/hidden/drugidinfo/shape",model.getValue("/root/hidden/receiveshape/shapecd"));
-
- model.resetInstanceNode("/root/main/hidden/receiveshape");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="output2" class="output_search" style="left:255px; top:490px; width:55px; height:19px; "/>
- <select1 id="rdo_devline1" ref="/root/hidden/drugidinfo/divline1" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:30px; top:545px; width:280px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>없음</label>
- <value>0</value>
- </item>
- <item>
- <label>- 형</label>
- <value>1</value>
- </item>
- <item>
- <label>+ 형</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" ref="/root/hidden/drugidinfo/divline2" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:30px; top:570px; width:280px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>없음</label>
- <value>0</value>
- </item>
- <item>
- <label>- 형</label>
- <value>1</value>
- </item>
- <item>
- <label>+ 형</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" style="left:14px; top:546px; width:15px; height:15px; vertical-align:middle; ">뒤</caption>
- <caption id="caption15" style="left:14px; top:570px; width:15px; height:15px; vertical-align:middle; ">앞</caption>
- <line id="line6" style="x1:5px; y1:407px; x2:340px; y2:407px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line7" style="x1:5px; y1:518px; x2:340px; y2:518px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line8" style="x1:5px; y1:593px; x2:340px; y2:593px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select id="checkbox2" ref="/root/hidden/drugidinfo/color" class="checkbox_search" overflow="visible" appearance="full" cellspacing="6" cols="6" rows="4" vcellspacing="30" style="left:25px; top:618px; width:305px; height:132px; border-style:none; ">
- <choices>
- <item>
- <label>하양</label>
- <value>1</value>
- </item>
- <item>
- <label>주황</label>
- <value>2</value>
- </item>
- <item>
- <label>노랑</label>
- <value>3</value>
- </item>
- <item>
- <label>분홍</label>
- <value>4</value>
- </item>
- <item>
- <label>빨강</label>
- <value>5</value>
- </item>
- <item>
- <label>보라</label>
- <value>6</value>
- </item>
- <item>
- <label>초록</label>
- <value>7</value>
- </item>
- <item>
- <label>파랑</label>
- <value>8</value>
- </item>
- <item>
- <label>갈색</label>
- <value>9</value>
- </item>
- <item>
- <label>회색</label>
- <value>10</value>
- </item>
- <item>
- <label>검정</label>
- <value>11</value>
- </item>
- <item>
- <label>연두</label>
- <value>12</value>
- </item>
- <item>
- <label>청록</label>
- <value>13</value>
- </item>
- <item>
- <label>남색</label>
- <value>14</value>
- </item>
- <item>
- <label>자주</label>
- <value>15</value>
- </item>
- <item>
- <label>투명</label>
- <value>16</value>
- </item>
- </choices>
- </select>
- <caption id="caption18" style="left:80px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff6600; "/>
- <caption id="caption20" style="left:130px; top:613px; width:40px; height:20px; vertical-align:middle; background-color:#ffff00; "/>
- <caption id="caption21" style="left:179px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff99cc; "/>
- <caption id="caption22" style="left:228px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff0000; "/>
- <caption id="caption16" style="left:31px; top:615px; width:40px; height:20px; vertical-align:middle; background-color:#ffffff; "/>
- <caption id="caption17" style="left:275px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff00ff; "/>
- <caption id="caption23" style="left:231px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#000000; "/>
- <caption id="caption24" style="left:30px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#00ff00; "/>
- <caption id="caption25" style="left:80px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#0000ff; "/>
- <caption id="caption26" style="left:129px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#993300; "/>
- <caption id="caption27" style="left:178px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#c0c0c0; "/>
- <caption id="caption28" style="left:128px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#800000; "/>
- <caption id="caption29" style="left:79px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#000080; "/>
- <caption id="caption30" style="left:30px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#008080; "/>
- <caption id="caption31" style="left:280px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#ccffcc; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:280px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var tmp_atccodeyn = model.getValue("/root/hidden/drugidinfo/atccodeyn");
- var tmp_drugcd = model.getValue("/root/hidden/drugidinfo/drugcd");
- if(tmp_atccodeyn == "Y" && tmp_drugcd == ""){
- messageBox("[원내코드]를","C001");
- return;
- }else if(tmp_atccodeyn == "Y" && tmp_drugcd != ""){
- model.setValue("/root/hidden/drugidinfo/atccodeyn", tmp_atccodeyn);
- model.setValue("/root/hidden/drugidinfo/drugcd", tmp_drugcd);
- model.refresh();
- }
-
- fSrchDrugId();
- ]]>
- </script>
- </button>
- <button id="btn_ins" class="btn4_letter2" style="left:355px; top:24px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInsOpenerDrugID();
- ]]>
- </script>
- </button>
- <datagrid id="grd_drugid" nodeset="/root/main/drugidlist" autoresize="false" backcoloralternate="#f0f0f0" caption="선택^사진정보^문자1^문자2^장축^단축^제품명^코드^성분 및 함량^idcd^caption1^효능 및 효과^동종약^동효약" colsep="^" colwidth="40, 270, 45, 45, 45, 45, 100, 80, 140, 100, 100, 0, 0, 0, 100, 100" dataheight="100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:352px; top:55px; width:835px; height:695px; ">
- <col ref="sel" type="checkbox"/>
- <col ref="phot" type="output" style="background-stretch:stretch; "/>
- <col ref="char1"/>
- <col ref="char2"/>
- <col ref="longax"/>
- <col ref="shrtax"/>
- <col ref="hngnm"/>
- <col ref="drugcd"/>
- <col ref="comcnts"/>
- <col ref="idcd" visibility="hidden"/>
- <col ref="efcysmm" visibility="hidden"/>
- <col ref="homodrugflag" visibility="hidden"/>
- <col ref="samedrug" visibility="hidden"/>
- <col ref="photoid" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="atccode" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_drugid.mouseCol == grd_drugid.colRef("phot")){
- model.setValue("/root/temp/drugphot", model.getValue("/root/main/drugidlist["+grd_drugid.row+"]/phot"));
- setImageRefInstance("/root/temp/drugphot");
- img_drugphot.visible = true;
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button8" class="btn2_letter4" visibility="hidden" style="left:203px; top:293px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDrugTypeChk("A");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" visibility="hidden" style="left:271px; top:293px; width:64px; height:19px; ">
- <caption>선택지움</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDrugTypeChk("D");
- ]]>
- </script>
- </button>
- <select id="chk_drugtype" ref="/root/hidden/drugidinfo/drugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:325px; width:315px; height:75px; border-style:none; ">
- <!--<choices>
- <itemset nodeset="/root/init/comboitem/drugtype/A0044">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- -->
- <choices>
- <item>
- <label>나정</label>
- <value>10</value>
- </item>
- <item>
- <label>필름코팅정</label>
- <value>11</value>
- </item>
- <item>
- <label>설하정</label>
- <value>12</value>
- </item>
- <item>
- <label>붕해현탁정</label>
- <value>13</value>
- </item>
- <item>
- <label>당의정</label>
- <value>14</value>
- </item>
- <item>
- <label>다층정</label>
- <value>15</value>
- </item>
- <item>
- <label>정제</label>
- <value>16</value>
- </item>
- <item>
- <label>츄어블정</label>
- <value>17</value>
- </item>
- <item>
- <label>서방정</label>
- <value>18</value>
- </item>
- <item>
- <label>장용정</label>
- <value>19</value>
- </item>
- </choices>
- </select>
- <select id="checkbox1" ref="/root/hidden/drugidinfo/drugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:295px; width:170px; height:20px; border-style:none; ">
- <!--<choices>
- <itemset nodeset="/root/init/comboitem/drugtype/A0044">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- -->
- <choices>
- <item>
- <label>정제류</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fDrugTypeChk("A");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fDrugTypeChk("D");
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/temp/tmpdrugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:415px; width:165px; height:20px; border-style:none; ">
- <!--<choices>
- <itemset nodeset="/root/init/comboitem/drugtype/A0044">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- -->
- <choices>
- <item>
- <label>경질캡슐</label>
- <value>2</value>
- </item>
- <item>
- <label>연질캡슐</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_etcdrugtype" ref="/root/temp/etcdrugtype" appearance="minimal" style="left:185px; top:415px; width:145px; height:19px; ">
- <choices>
- <item>
- <label>과립제</label>
- <value>4</value>
- </item>
- <item>
- <label>겔제</label>
- <value>5</value>
- </item>
- <item>
- <label>산제</label>
- <value>6</value>
- </item>
- <item>
- <label>내용액</label>
- <value>7</value>
- </item>
- <item>
- <label>외용액</label>
- <value>8</value>
- </item>
- <item>
- <label>외용연고/크림</label>
- <value>9</value>
- </item>
- <item>
- <label>질정</label>
- <value>20</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var drugtype = model.getValue("/root/hidden/drugidinfo/drugtype");
- if(drugtype != ""){
- drugtype += "|" + cmb_etcdrugtype.value;
- }else drugtype = cmb_etcdrugtype.value;
-
- model.setValue("/root/hidden/drugidinfo/drugtype",drugtype);
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line4" style="x1:5px; y1:317px; x2:340px; y2:317px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line9" style="x1:5px; y1:445px; x2:340px; y2:445px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button3" class="btn4_letter2" style="left:417px; top:24px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <img id="img_drugphot" ref="/root/temp/drugphot" visibility="hidden" style="left:410px; top:270px; width:685px; height:255px; background-stretch:stretch; border-color:#0000ff; border-width:2px; border-style:solid; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/temp/drugphot", "");
- img_drugphot.visible = false;
- model.refresh();
- ]]>
- </script>
- </img>
- <input id="input5" ref="/root/temp/retri/restr" class="input_search" style="left:15px; top:245px; width:225px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button4" class="btn1_letter3" style="left:254px; top:243px; width:68px; height:22px; ">
- <caption>재조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var strstr = model.getValue("/root/temp/retri/restr")
- strstr = strstr.toUpperCase() ;
- var strtype = model.getValue("/root/temp/retri/retype")
- if( strstr != "" ) {
- }else{
- messageBox("최소 1글자 이상","C001");
- model.setFocus("inp_restr");
- return;
- }
-
- var r_cnt = grd_drugid.rows ;
- for( var j = 1 ; j < r_cnt ; j++ ) {
- var datastr = "" ;
- if (strtype == 1) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/char1");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 2) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/char2");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 3) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/longax");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 4) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/shrtax");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 5) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/hngnm");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 6) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/drugcd");
- datastr = datastr.toUpperCase() ;
- }
- if (strtype == 7) {
- datastr = model.getValue("/root/main/drugidlist["+j+"]/comcnts");
- datastr = datastr.toUpperCase() ;
- }
- // alert(j + " " + strstr + " " + datastr) ;
- // alert(j + " " + isSearchString(datastr, strstr) ) ;
- if ( strstr != "") {
- if( isSearchString(datastr, strstr) == false) {
- grd_drugid.rowHidden(j) = true;
- // alert(j + " 사라지기") ;
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/temp/retri/retype" appearance="full" cellspacing="30" cols="4" overflow="visible" style="left:15px; top:205px; width:305px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>문자1</label>
- <value>1</value>
- </item>
- <item>
- <label>문자2</label>
- <value>2</value>
- </item>
- <item>
- <label>장축</label>
- <value>3</value>
- </item>
- <item>
- <label>단축</label>
- <value>4</value>
- </item>
- <item>
- <label>제품명</label>
- <value>5</value>
- </item>
- <item>
- <label>코드</label>
- <value>6</value>
- </item>
- <item>
- <label>성분</label>
- <value>7</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|