123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <gooddet>
- <gooddetlist>
- <goodcd/>
- <todd/>
- <instcd/>
- <fromdd/>
- <prefromdd/>
- <useyn/>
- <goodflag/>
- <goodflagnm/>
- <goodnm/>
- <pregoodnm/>
- <goodhngnm/>
- <goodengnm/>
- <goodspec/>
- <goodmodel/>
- <pregoodspec/>
- <pregoodmodel/>
- <asetflag/>
- <asetflagnm/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <smlcd/>
- <smlnm/>
- <proddrugsetflag/>
- <proddrugsetflagnm/>
- <winacnt/>
- <winacntnm/>
- <amtacnt/>
- <amtacntnm/>
- <mainmngtdeptcd/>
- <mainmngtdeptnm/>
- <mainusedeptcd/>
- <mainusedeptnm/>
- <purclnkgoodcd/>
- <stocmngtflag/>
- <stocmngtflagnm/>
- <purcunit/>
- <prepurcunit/>
- <deliveunit/>
- <predeliveunit/>
- <exchqty/>
- <preexchqty/>
- <minexch/>
- <reuseyn/>
- <reuseynnm/>
- <divusenvalqty/>
- <calcscorinfoacptstat/>
- <calcscorinfoacptdd/>
- <insuyn/>
- <edicd/>
- <preedicd/>
- <newrgstdd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqpsn/>
- <reqpsnnm/>
- <reqflag/>
- <reqflagnm/>
- <reqmthd/>
- <reqmthdnm/>
- <reqprid/>
- <reqpridnm/>
- <iopsnflag/>
- <prodplce/>
- <prodplcenm/>
- <prodcmpycd/>
- <preprodcmpycd/>
- <prodcmpynm/>
- <maincustlastsuplplce/>
- <premaincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <suppcustcd/>
- <presuppcustcd/>
- <suppcustnm/>
- <conflag/>
- <conflagnm/>
- <fromconterm/>
- <toconterm/>
- <estmamt/>
- <forgncurncyunitcost/>
- <curncyunit/>
- <curncyunitnm/>
- <goodunitcost/>
- <pregoodunitcost/>
- <purcflag/>
- <purcflagnm/>
- <allsizeyn/>
- <setplceordflag/>
- <setplceordflagnm/>
- <plceordbase/>
- <plceordqtycretflag/>
- <plceordnonusedd/>
- <addtaxrate/>
- <lastpurcdd/>
- <nonusetretresn/>
- <mngtflag/>
- <bnscd/>
- <cntrdrugyn/>
- <narcflag/>
- <expnyn/>
- <cntsunit/>
- <cntsqty/>
- <specvol/>
- <drugkind/>
- <cooppurcyn/>
- <autrampharm/>
- <keepmthd/>
- <specldrug/>
- <gnrlspcl/>
- <welfprt/>
- <welfprtnm/>
- <goodtype/>
- <com/>
- <limdrugyn/>
- <cmt/>
- <safestocappdd/>
- <safestocqty/>
- <ddavguseqty/>
- <mmavgusescheqty/>
- <mmavguseqty/>
- <prprtystocpossndayno/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <lastupdtrnm/>
- <tmpreqflag/>
- <putrunitcost/>
- <oldcd/>
- <prcpunit/>
- <prcpexchqty/>
- <insucost/>
- <orgloc/>
- <specunit/>
- <pemtkeepmthd/>
- <comnm/>
- <purcqty/>
- <prcpqty/>
- <csrusecmt/>
- <goodpurccost/>
- <allsizecnt/>
- <grupsnglflag/>
- <hospdrguvol/>
- <hospdrguunit/>
- <orginspplce/>
- <calcmthdcd/>
- <frgstdd/>
- <calcscorinfotranyn/>
- </gooddetlist>
- </gooddet>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(checkOpener()) {
- model.makeValue("/root/send/instcd", model.property("instcd"));
- model.makeValue("/root/send/goodcd", model.property("goodcd"));
- model.makeValue("/root/send/goodflag", model.property("goodflag"));
-
- misfComboComCdListMulti("R0092,R0069,R0068,R0047,R0035,R0093,R0095,R0110,R0111","cmb_reqmthd,cmb_stocmngtflag,cmb_proddrugsetflag,cmb_curncyunit,cmb_prodplce,cmb_reqprid,cmb_conflag,cmb_setplceordflag,cmb_purcflag");
-
- rszfComboUnitList (cmb_prcpunit,model.getValue("/root/send/instcd"), model.getValue("/root/send/goodflag"));
- misfComboCopyItemSet(cmb_prcpunit, "", cmb_purcunit , ""); //포장단위
- misfComboCopyItemSet(cmb_prcpunit, "", cmb_deliveunit, ""); //수불단위
-
-
-
-
- //model.property("goodcd")
- submit("TRRSC05302");
- } else {
- messageBox("상위화면을 찾을수 없어 프로그램을 종료합니다.", "E");
- window.close();
- }
-
-
-
- ]]>
- </script>
- <submission id="TRRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gooddet"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="635" guideline="1,663;1,672;2,636;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_detail" style="left:0px; top:25px; width:660px; height:585px; ">
- <line id="line5" class="line_2" style="x1:0px; y1:402px; x2:653px; y2:402px; "/>
- <caption id="caption57" class="cell_1" style="left:0px; top:182px; width:55px; height:23px; vertical-align:middle; ">견적가</caption>
- <input id="ipt_estmamt" ref="/root/main/gooddet/gooddetlist/estmamt" class="input_default" maxlength="14.2" format="#,###.00" style="left:76px; top:183px; width:101px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_toconterm");
- else model.setFocus("ipt_forgncurncyunitcost");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <line id="line14" class="line_2" style="x1:0px; y1:571px; x2:653px; y2:571px; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:498px; x2:653px; y2:498px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:330px; x2:653px; y2:330px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:72px; x2:653px; y2:72px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:96px; x2:653px; y2:96px; "/>
- <input id="ipt_goodcd" ref="/root/main/gooddet/gooddetlist/goodcd" class="input_s_essential" disabled="true" editable="false" maxlength="12" _chartype="upper" style="left:72px; top:27px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if(event.keyCode == 9)model.setFocus("ipt_goodnm");
- event.preventDefault();
- ]]>
- </script>
- </input>
- <output id="opt_winacntnm" ref="/root/main/gooddet/gooddetlist/winacntnm" class="output_fix" appearance="output" style="left:517px; top:99px; width:139px; height:19px; "/>
- <output id="opt_amtacntnm" ref="/root/main/gooddet/gooddetlist/amtacntnm" class="output_fix" appearance="output" style="left:517px; top:123px; width:139px; height:19px; "/>
- <button id="btn_winacnt" class="icon_search" disabled="true" style="left:500px; top:102px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_winacnt,"","winacnt,winacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodspec" ref="/root/main/gooddet/gooddetlist/goodspec" class="input_default" disabled="true" editable="false" style="left:72px; top:75px; width:238px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_goodmodel" ref="/root/main/gooddet/gooddetlist/goodmodel" class="input_default" disabled="true" editable="false" maxlength="150" style="left:414px; top:75px; width:242px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_prodcmpycd");
- else model.setFocus("ipt_goodspec");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_goodspec");
- ]]>
- </script>
- </input>
- <button id="btn_amtacnt" class="icon_search" disabled="true" style="left:500px; top:125px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_winacnt,"","amtacnt,amtacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:337px; top:122px; width:75px; height:23px; vertical-align:middle; ">비용계정</caption>
- <input id="ipt_winacnt" ref="/root/main/gooddet/gooddetlist/winacnt" class="input_essential" disabled="true" style="left:414px; top:99px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_winacnt.attribute("ref")) ,"","winacnt,winacntnm" ,ipt_winacnt,"PPRAC00100","","");
- model.refresh();
- model.setFocus("ipt_amtacnt");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_lrgcd");
- else model.setFocus("ipt_amtacnt");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpycd" ref="/root/main/gooddet/gooddetlist/prodcmpycd" class="input_default" disabled="true" style="left:455px; top:27px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(opt_prodcmpynm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + model.getValue(ipt_prodcmpycd.attribute("ref"))+"," ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_prodplce");
- else model.setFocus("ipt_goodmodel");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_goodengnm" ref="/root/main/gooddet/gooddetlist/goodengnm" class="input_essential" disabled="true" imemode="alpha" maxlength="200" style="left:72px; top:51px; width:389px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodhngnm");
- else model.setFocus("cmb_prodplce");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_amtacnt" ref="/root/main/gooddet/gooddetlist/amtacnt" class="input_default" disabled="true" style="left:414px; top:123px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
- model.refresh();
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_winacnt");
- else model.setFocus("ipt_fromdd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_prodplce" ref="/root/main/gooddet/gooddetlist/prodplce" class="combo" disabled="true" appearance="minimal" style="left:72px; top:100px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prodplce">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodengnm");
- else model.setFocus("ipt_prodcmpycd");
- }
- if(event.keyCode == 9)model.setFocus("ipt_prodcmpycd");
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/prodplcenm",cmb_prodplce.label)
- model.setFocus("ipt_prodcmpycd");
- ]]>
- </script>
- </select1>
- <output id="opt_prodcmpynm" ref="/root/main/gooddet/gooddetlist/prodcmpynm" class="output_fix" appearance="output" style="left:517px; top:27px; width:139px; height:19px; "/>
- <select1 id="cmb_goodflag" ref="/root/main/gooddet/gooddetlist/goodflag" class="combo_essential" visibility="hidden" appearance="minimal" editmode="search" style="left:74px; top:51px; width:211px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_goodnm" ref="/root/main/gooddet/gooddetlist/goodnm" class="input_essential" disabled="true" maxlength="200" style="left:72px; top:51px; width:389px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodcd");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <caption id="caption22" class="tit_2" style="left:0px; top:289px; width:95px; height:13px; ">품목세부사항</caption>
- <button id="btn_mngtdeptcd" class="icon_search" disabled="true" style="left:508px; top:335px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mainmngtdeptcd,mainmngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_purcunit" ref="/root/main/gooddet/gooddetlist/purcunit" disabled="true" appearance="minimal" style="left:528px; top:357px; width:128px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/purcunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <button id="btn_useinstinfo" class="btn2_letter7" disabled="true" style="left:232px; top:333px; width:97px; height:19px; ">
- <caption>타기관내용복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInstGoodCdCopy();
- ]]>
- </script>
- </button>
- <!--
- [20090409 YYJ] 최소 청구량 => 최소 처방량으로 변경 20090409 16:50 이혜숙 차장님 요청사항
- 기존 청구시점에서 청구시 수량에 대한 규제를 위해 설정 되었던 항목을
- 구매팀에서 물품에 대한 참고 치로 사용을 한다 함. ( EDI와의 환산 수량의 의미 ).. 최소 처방량에 대한 단위는 관리 하지 않는다 함
- -->
- <input id="ipt_minexch" ref="/root/main/gooddet/gooddetlist/minexch" disabled="true" maxlength="9" format="#,###" style="left:113px; top:429px; width:114px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_deliveunit");
- else model.setFocus("chk_reuseyn");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_photinfo" class="btn2_letter2" disabled="true" style="left:185px; top:28px; width:42px; height:19px; ">
- <caption>사진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //SPRSC00210
- rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- ]]>
- </script>
- </button>
- <input id="ipt_divusenvalqty" ref="/root/main/gooddet/gooddetlist/divusenvalqty" class="input_default" disabled="true" maxlength="9" format="#,###.##" style="left:527px; top:477px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("chk_reuseyn");
- else model.setFocus("cmb_stocmngtflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select id="chk_reuseyn" ref="/root/main/gooddet/gooddetlist/reuseyn" overflow="visible" appearance="full" style="left:325px; top:479px; width:101px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>분할사용여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_minexch");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select>
- <input id="ipt_mngtdeptcd" ref="/root/main/gooddet/gooddetlist/mainmngtdeptcd" class="input_essential" disabled="true" style="left:414px; top:333px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
- model.refresh();
- model.setFocus("ipt_reqflag");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_fromdd");
- else model.setFocus("ipt_reqflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_deliveunit" ref="/root/main/gooddet/gooddetlist/deliveunit" disabled="true" appearance="minimal" style="left:342px; top:357px; width:95px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/deliveunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_deliveunit");
- else model.setFocus("ipt_minexch");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <input id="ipt_exchqty" ref="/root/main/gooddet/gooddetlist/exchqty" disabled="true" maxlength="9" format="#,###" style="left:342px; top:381px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("cmb_deliveunit");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <output id="opt_mngtdeptnm" ref="/root/main/gooddet/gooddetlist/mainmngtdeptnm" class="output_fix" appearance="output" style="left:528px; top:333px; width:128px; height:19px; "/>
- <select1 id="cmb_reqflag" ref="/root/main/gooddet/gooddetlist/reqflag" disabled="true" appearance="minimal" style="left:113px; top:405px; width:114px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/reqflagnm",cmb_reqflag.label)
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/main/gooddet/gooddetlist/fromdd" class="input_search" disabled="true" inputtype="date" style="left:113px; top:333px; width:114px; height:19px; background-color:#ffffff; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_fromdd");
- else model.setFocus("cmb_smlcd");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var fromdd = model.getValue(ipt_fromdd.attribute("ref"));
- var prefromdd = model.getValue(ipt_prefromdd.attribute("ref"));
- // 미래일자 비교
- var FutFromDD = model.getValue("/root/main/list/gooddet/goodconstlist["+1+"]/fromdd");
-
- var CurrentDD = getCurrentDate();
- if(fromdd < CurrentDD) {
- messageBox("오늘보다 이전일자로 변경할수 없습니다.", "E");
- model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
-
- ipt_fromdd.refresh();
- return;
- }
-
- if(fromdd < prefromdd) {
- messageBox("현 적용일자보다 이전일자로 변경할수 없습니다.", "E");
- model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
- ipt_fromdd.refresh();
- return;
- }
- if(FutFromDD > CurrentDD) {
- messageBox("현 적용일자보다 미래일자가 적용되어","I010");
- model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
- ipt_fromdd.refresh();
- return;
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_setplceordflag" ref="/root/main/gooddet/gooddetlist/setplceordflag" class="combo_default" disabled="true" appearance="minimal" style="left:113px; top:453px; width:114px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/setplceordflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_setplceordflag");
- else model.setFocus("ipt_nonusetretdd");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/setplceordflagnm",cmb_setplceordflag.label)
- ]]>
- </script>
- </select1>
- <button id="btn_goodsetrgst" class="btn2_letter2" disabled="true" style="left:613px; top:453px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(model.getValue(cmb_proddrugsetflag.attribute("ref")).length == 0)
- {
- messageBox("SET등록을 하시려면 SET구분을 반드시" ,"C002");
- model.setFocus("cmb_proddrugsetflag");
- return;
- }
- /*
- if(model.getValue(cmb_setplceordflag.attribute("ref")).length == 0)
- {
- messageBox("SET등록을 하시려면 SET발주구분을 반드시" ,"C002");
- model.setFocus("cmb_setplceordflag");
- return;
- }
- */
- rszfOpenPopUpListByWndName(cmb_proddrugsetflag,"","","SPRSC00210","instcd,goodcd,goodnm,goodflag,proddrugsetflag","opt_instcd,ipt_goodcd,ipt_goodnm,cmb_goodflag,cmb_proddrugsetflag");
- ]]>
- </script>
- </button>
- <select1 id="cmb_reqmthd" ref="/root/main/gooddet/gooddetlist/reqmthd" disabled="true" appearance="minimal" style="left:342px; top:405px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_stocmngtflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/reqmthdnm",cmb_reqmthd.label)
- ]]>
- </script>
- </select1>
- <caption id="caption12" class="cell_1" style="left:0px; top:476px; width:110px; height:23px; vertical-align:middle; ">재고관리기준</caption>
- <select1 id="cmb_proddrugsetflag" ref="/root/main/gooddet/gooddetlist/proddrugsetflag" class="combo_default" disabled="true" appearance="minimal" style="left:435px; top:453px; width:174px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/proddrugsetflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_allsizeyny");
- else model.setFocus("cmb_setplceordflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/proddrugsetflagnm",cmb_proddrugsetflag.label)
- ]]>
- </script>
- </select1>
- <select1 id="rdo_expnyny" ref="/root/main/gooddet/gooddetlist/expnyn" disabled="true" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:528px; top:383px; width:31px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/expnyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption59" class="cell_1" visibility="hidden" style="left:440px; top:380px; width:85px; height:23px; vertical-align:middle; ">고가여부</caption>
- <select1 id="rdo_allsizeyny" ref="/root/main/gooddet/gooddetlist/allsizeyn" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:113px; top:310px; width:107px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_plceordnonusedd");
- else model.setFocus("cmb_proddrugsetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_reqflag" ref="/root/main/gooddet/gooddetlist/tmpreqflag" disabled="true" overflow="visible" appearance="full" cols="2" style="left:313px; top:431px; width:124px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_addtaxrate");
- else model.setFocus("ipt_addtaxrate");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <button id="btn_allsizergst" class="btn2_letter2" disabled="true" style="left:287px; top:310px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue(ipt_goodcd.attribute("ref")).length == 0)
- {
- messageBox("물품코드를" ,"C001");
- return;
- }
- if(model.getValue(rdo_allsizeyny.attribute("ref")) != "Y")
- {
- messageBox("ALL SIZE 여부를 [예]로" ,"C001");
- return;
- }
- if(model.getValue(cmb_purcunit.attribute("ref")).length == 0)
- {
- messageBox("규격단위를" ,"C001");
- return;
- }
-
- rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","instcd,instnm,goodcd,goodnm,goodunit","SPRSC00212","instcd,instnm,goodcd,goodnm,goodunit","opt_instcd,opt_instnm,ipt_goodcd,ipt_goodnm,cmb_purcunit");
- var allsizeinfo = model.getValue(gvParamPath +"/SPRSC00212_/SPRSC00212_value");
-
- if(allsizeinfo != "" && allsizeinfo != null) {
- allsizeinfo = allsizeinfo.split("|");
- if(allsizeinfo[0] > 0)model.setValue(rdo_allsizeyny.attribute("ref"),"Y");
- else model.setValue(rdo_allsizeyny.attribute("ref"),"N");
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_reqprid" ref="/root/main/gooddet/gooddetlist/reqprid" disabled="true" appearance="minimal" style="left:528px; top:405px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqprid">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/reqpridnm",cmb_reqprid.label)
- ]]>
- </script>
- </select1>
- <input id="ipt_mmavgusescheqty" ref="/root/main/gooddet/gooddetlist/mmavgusescheqty" class="input_default" disabled="true" maxlength="14.2" format="#,###.00" style="left:556px; top:429px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_mngtflag");
- else model.setFocus("ipt_reqdeptcd");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_nonusetretdd" ref="/root/main/gooddet/gooddetlist/todd" class="input_default" disabled="true" inputtype="date" style="left:113px; top:501px; width:112px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var CompTodd = model.getValue("/root/init/oldgoodlist/todd");
- var CompFromdd = model.getValue("/root/init/oldgoodlist/fromdd");
- var FromDD = model.getValue("/root/main/list/gooddet/goodconstlist["+1+"]/fromdd");
- if(CompTodd!="99991231"){
-
- if(FromDD!=CompFromdd){
- messageBox("이미 불용된 코드","I009");
- model.setValue("/root/main/gooddet/gooddetlist/todd",CompTodd);
- ipt_nonusetretdd.refresh();
- return;
- }
- }
- ]]>
- </script>
- </input>
- <output id="opt_reqpsnnm" ref="/root/main/gooddet/gooddetlist/reqpsnnm" class="output_fix" appearance="output" style="left:505px; top:525px; width:150px; height:19px; "/>
- <button id="btn_reqpsn" class="icon_search" disabled="true" style="left:485px; top:527px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- rszfOpenPopUpListByWndName(ipt_reqpsn,"","reqpsn,reqpsnnm","SPZSU10100","","");
- var userinfo = model.getValue(gvParamPath +"/SPZSU10100_/SPZSU10100_value");
-
- if(userinfo != "" && userinfo != null) {
- userinfo = userinfo.split("|");
- model.setValue(ipt_reqpsn.attribute("ref"),userinfo[0]);
- model.setValue(opt_reqpsnnm.attribute("ref"),userinfo[1]);
- }
- model.refresh();
- */
- var recv_list = "reqpsn,reqpsnnm";
- misfOpenPopUpList("12", ipt_reqpsn,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqpsn" ref="/root/main/gooddet/gooddetlist/reqpsn" class="input_default" disabled="true" style="left:390px; top:525px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_reqdeptcd");
- else model.setFocus("tar_cmt");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_nonusetretresn" ref="/root/main/gooddet/gooddetlist/nonusetretresn" class="input_default" disabled="true" style="left:113px; top:525px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_nonusetretdd");
- else model.setFocus("cmb_mngtflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <textarea id="tar_cmt" ref="/root/main/gooddet/gooddetlist/cmt" disabled="true" dragmode="true" style="left:113px; top:549px; width:542px; height:30px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_reqpsn");
- else model.setFocus("ipt_lastpurcdd");
- }
- //event.preventDefault();
- ]]>
- </script>
- </textarea>
- <button id="btn_reqdeptcd" class="icon_search" disabled="true" style="left:485px; top:504px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption17" class="cell_1" style="left:0px; top:549px; width:110px; height:33px; vertical-align:middle; ">비고</caption>
- <output id="opt_reqdeptnm" ref="/root/main/gooddet/gooddetlist/reqdeptnm" class="output_fix" appearance="output" style="left:505px; top:500px; width:150px; height:19px; "/>
- <input id="ipt_reqdeptcd" ref="/root/main/gooddet/gooddetlist/reqdeptcd" class="input_default" disabled="true" style="left:390px; top:501px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- model.setFocus("ipt_mmavgusescheqty");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_mngtflag");
- else model.setFocus("ipt_reqpsn");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_oldcd" ref="/root/main/gooddet/gooddetlist/oldcd" class="input_search" disabled="true" maxlength="12" style="left:414px; top:309px; width:90px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:230px; top:380px; width:109px; height:23px; vertical-align:middle; ">수불/구매환산수량</caption>
- <caption id="caption28" class="cell_1" style="left:445px; top:476px; width:80px; height:23px; vertical-align:middle; ">분할사용수치</caption>
- <select1 id="cmb_prcpunit" ref="/root/main/gooddet/gooddetlist/prcpunit" disabled="true" appearance="minimal" style="left:113px; top:357px; width:114px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="cell_1" style="left:0px; top:380px; width:110px; height:23px; vertical-align:middle; ">처방/수불환산수량</caption>
- <input id="ipt_prcpexchqty" ref="/root/main/gooddet/gooddetlist/prcpexchqty" disabled="true" format="#,###" style="left:113px; top:381px; width:114px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <input id="ipt_edicd" ref="/root/main/gooddet/gooddetlist/edicd" disabled="true" editable="false" _chartype="upper" style="left:303px; top:27px; width:87px; height:19px; "/>
- <select1 id="rdo_insuyn" ref="/root/main/gooddet/gooddetlist/insuyn" disabled="true" overflow="visible" appearance="full" cols="2" style="left:245px; top:99px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_addtaxrate");
- else model.setFocus("ipt_addtaxrate");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <output id="opt_maincustlastsuplplcenm" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:200px; top:231px; width:191px; height:19px; "/>
- <output id="opt_suppcustnm" ref="/root/main/gooddet/gooddetlist/suppcustnm" class="output_fix" appearance="output" style="left:200px; top:255px; width:191px; height:19px; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplce" disabled="true" style="left:76px; top:231px; width:101px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","opt_instcd");
- model.refresh();
- model.setFocus("ipt_suppcustcd");
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcflag");
- else model.setFocus("ipt_suppcustcd");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" disabled="true" style="left:180px; top:258px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","suppcustcd,suppcustnm","SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption31" class="tit_2" style="left:1px; top:163px; width:69px; height:13px; ">구매정보</caption>
- <input id="ipt_lastpurcdd" ref="/root/main/gooddet/gooddetlist/lastpurcdd" class="input_default" disabled="true" inputtype="date" style="left:282px; top:207px; width:109px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("tar_cmt");
- else model.setFocus("cmb_purcflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_maincustlastsuplplce" class="icon_search" disabled="true" style="left:180px; top:232px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption37" class="cell_1" style="left:0px; top:254px; width:74px; height:23px; vertical-align:middle; ">보조거래처</caption>
- <select1 id="cmb_purcflag" ref="/root/main/gooddet/gooddetlist/purcflag" disabled="true" appearance="minimal" style="left:76px; top:207px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcflag");
- else model.setFocus("ipt_maincustlastsuplplce");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/purcflagnm",cmb_purcflag.label)
- if (cmb_purcflag.value == "1") {
- model.setValue(cmb_stocmngtflag.attribute("ref"),"1")
- } else {
- model.setValue(cmb_stocmngtflag.attribute("ref"),"3")
- }
- cmb_stocmngtflag.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_suppcustcd" ref="/root/main/gooddet/gooddetlist/suppcustcd" disabled="true" style="left:76px; top:255px; width:101px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")), "","suppcustcd,suppcustnm" ,ipt_suppcustcd,"SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_maincustlastsuplplce");
- else model.setFocus("cmb_conflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <caption id="caption63" class="search_no_b" style="left:551px; top:255px; width:12px; height:17px; ">~</caption>
- <input id="ipt_forgncurncyunitcost" ref="/root/main/gooddet/gooddetlist/forgncurncyunitcost" class="input_default" disabled="true" format="#,###.##" style="left:282px; top:183px; width:109px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_estmamt");
- else model.setFocus("cmb_curncyunit");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_conflag" ref="/root/main/gooddet/gooddetlist/conflag" class="combo_default" disabled="true" appearance="minimal" style="left:461px; top:231px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/conflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_suppcustcd");
- else model.setFocus("ipt_fromconterm");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/conflagnm",cmb_conflag.label)
- ]]>
- </script>
- </select1>
- <select1 id="cmb_curncyunit" ref="/root/main/gooddet/gooddetlist/curncyunit" class="combo_default" disabled="true" appearance="minimal" style="left:461px; top:183px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/curncyunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_forgncurncyunitcost");
- else model.setFocus("ipt_goodunitcost");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/curncyunitnm",cmb_curncyunit.label)
- ]]>
- </script>
- </select1>
- <input id="ipt_fromconterm" ref="/root/main/gooddet/gooddetlist/fromconterm" class="input_search" disabled="true" inputtype="date" style="left:461px; top:255px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue(ipt_toconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
- {
- messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
- model.setFocus("ipt_fromconterm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_conflag");
- else model.setFocus("ipt_toconterm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_toconterm" ref="/root/main/gooddet/gooddetlist/toconterm" class="input_search" disabled="true" inputtype="date" style="left:565px; top:255px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue(ipt_fromconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
- {
- messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
- model.setFocus("ipt_toconterm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_fromconterm");
- else model.setFocus("ipt_estmamt");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_addtaxrate" ref="/root/main/gooddet/gooddetlist/addtaxrate" class="input_default" disabled="true" style="left:461px; top:207px; width:87px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <input id="ipt_goodunitcost" ref="/root/main/gooddet/gooddetlist/goodunitcost" class="input_default" disabled="true" maxlength="14.2" format="#,###.##" style="left:76px; top:183px; width:102px; height:19px; font-weight:bold; text-align:right; ">
- <!-- <input id="ipt_goodunitcost" ref="/root/main/gooddet/gooddetlist/goodunitcost" class="input_default" style="left:78px; top:204px; width:101px; height:19px; font-weight:bold; text-align:right; "> -->
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9 && event.shiftKey)model.setFocus("cmb_curncyunit");
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_goodhngnm" ref="/root/main/gooddet/gooddetlist/goodhngnm" class="input_s_essential" disabled="true" editable="false" imemode="hangul" maxlength="200" style="left:72px; top:51px; width:584px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodnm");
- else model.setFocus("ipt_goodengnm");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <line id="line22" class="line_2" style="x1:0px; y1:48px; x2:653px; y2:48px; "/>
- <caption id="caption23" class="cell_1" style="left:178px; top:98px; width:65px; height:23px; vertical-align:middle; ">수가여부</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:24px; x2:653px; y2:24px; "/>
- <caption id="caption32" class="cell_1" style="left:395px; top:254px; width:63px; height:23px; vertical-align:middle; ">계약기간</caption>
- <line id="line26" class="line_1" style="x1:0px; y1:177px; x2:653px; y2:177px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:354px; x2:653px; y2:354px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:450px; x2:653px; y2:450px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:303px; x2:653px; y2:303px; "/>
- <input id="input2" ref="/root/main/gooddet/gooddetlist/edicd" disabled="true" visibility="hidden" _chartype="upper" style="left:167px; top:153px; width:77px; height:19px; "/>
- <caption id="caption39" class="cell_1" visibility="hidden" style="left:100px; top:150px; width:65px; height:23px; vertical-align:middle; ">통합EDI</caption>
- <input id="input3" ref="/root/main/gooddet/gooddetlist/edicd" disabled="true" visibility="hidden" _chartype="upper" style="left:317px; top:153px; width:77px; height:19px; "/>
- <caption id="caption44" class="cell_1" visibility="hidden" style="left:250px; top:150px; width:65px; height:23px; vertical-align:middle; ">기관EDI</caption>
- <select id="checkbox1" ref="/root/main/gooddet/gooddetlist/mngtflag" disabled="true" overflow="visible" appearance="full" style="left:230px; top:455px; width:115px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>SET여부</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_minexch");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select>
- <output id="cpt_allsizecnt" ref="/root/main/gooddet/gooddetlist/allsizecnt" class="output_fix" appearance="output" style="left:225px; top:309px; width:59px; height:19px; color:#ff00ff; text-align:center; "/>
- <input id="cmb_lrgcd" ref="/root/main/gooddet/gooddetlist/lrgcd" class="input_default" disabled="true" style="left:75px; top:3px; width:25px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="input8" ref="/root/main/gooddet/gooddetlist/mdlcd" class="input_default" disabled="true" style="left:315px; top:3px; width:25px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="input9" ref="/root/main/gooddet/gooddetlist/smlcd" class="input_default" disabled="true" style="left:525px; top:3px; width:25px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="input4" ref="/root/main/gooddet/gooddetlist/lrgnm" class="input_default" disabled="true" style="left:73px; top:3px; width:155px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/main/gooddet/gooddetlist/mdlnm" class="input_default" disabled="true" style="left:303px; top:3px; width:140px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/main/gooddet/gooddetlist/smlnm" class="input_default" disabled="true" style="left:517px; top:3px; width:139px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodmodel");
- //else model.setFocus("cmb_asetflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/gooddet/gooddetlist/reuseyn" style="left:237px; top:478px; width:193px; height:20px; text-align:left; "/>
- <bool id="bool2" disabled="true" checkvalue="Y,N" ref="/root/main/gooddet/gooddetlist/reuseyn" style="left:327px; top:478px; width:13px; height:20px; text-align:left; "/>
- <select1 id="cmb_stocmngtflag" ref="/root/main/gooddet/gooddetlist/stocmngtflag" appearance="minimal" style="left:113px; top:477px; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/stocmngtflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_divusenvalqty");
- else model.setFocus("cmb_reqmthd");
- }
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/stocmngtflagnm",cmb_stocmngtflag.label)
- ]]>
- </script>
- </select1>
- <input id="ipt_prefromdd" ref="/root/main/gooddet/gooddetlist/prefromdd" visibility="hidden" style="left:528px; top:309px; width:100px; height:19px; "/>
- <caption id="caption65" class="cell_1" visibility="hidden" style="left:535px; top:279px; width:67px; height:23px; vertical-align:middle; ">이전적용일</caption>
- <caption id="caption69" class="cell_1" style="left:0px; top:122px; width:70px; height:23px; vertical-align:middle; ">최초등록일</caption>
- <input id="input7" ref="/root/main/gooddet/gooddetlist/frgstdd" class="input_search" disabled="true" inputtype="date" style="left:72px; top:124px; width:103px; height:19px; background-color:#ffffff; "/>
- <caption id="caption66" class="cell_1" style="left:450px; top:2px; width:65px; height:23px; vertical-align:middle; ">소분류</caption>
- <caption id="caption68" class="cell_1" style="left:0px; top:2px; width:70px; height:23px; vertical-align:middle; ">대분류</caption>
- <caption id="caption29" class="cell_1" style="left:235px; top:2px; width:65px; height:23px; vertical-align:middle; ">중분류</caption>
- <caption id="caption50" class="cell_1" style="left:0px; top:26px; width:70px; height:23px; vertical-align:middle; ">물품코드</caption>
- <caption id="caption42" class="cell_1" style="left:393px; top:26px; width:60px; height:23px; vertical-align:middle; ">제조회사</caption>
- <caption id="caption15" class="cell_1" style="left:235px; top:26px; width:65px; height:23px; vertical-align:middle; ">EDI코드</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:50px; width:70px; height:23px; vertical-align:middle; ">물 품 명</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:120px; x2:653px; y2:120px; "/>
- <caption id="caption72" class="cell_1" style="left:0px; top:98px; width:70px; height:23px; vertical-align:middle; ">제조국</caption>
- <caption id="caption35" class="cell_1" style="left:337px; top:98px; width:75px; height:23px; vertical-align:middle; ">입고계정</caption>
- <caption id="caption30" class="cell_1" style="left:337px; top:74px; width:75px; height:23px; vertical-align:middle; ">모델명</caption>
- <caption id="caption45" class="cell_1" style="left:0px; top:74px; width:70px; height:23px; vertical-align:middle; ">규격</caption>
- <line id="line25" class="line_3" style="x1:0px; y1:144px; x2:655px; y2:144px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:204px; x2:653px; y2:204px; "/>
- <caption id="caption62" class="cell_1" style="left:395px; top:182px; width:63px; height:23px; vertical-align:middle; ">화폐단위</caption>
- <caption id="caption67" class="cell_1" style="left:0px; top:182px; width:74px; height:23px; vertical-align:middle; ">제품단가</caption>
- <caption id="caption58" class="cell_1" style="left:200px; top:182px; width:79px; height:23px; vertical-align:middle; ">외화단가</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:228px; x2:653px; y2:228px; "/>
- <caption id="caption40" class="cell_1" style="left:0px; top:206px; width:74px; height:23px; vertical-align:middle; ">구매구분</caption>
- <caption id="caption43" class="cell_1" style="left:200px; top:206px; width:79px; height:23px; vertical-align:middle; ">최종구매일자</caption>
- <caption id="caption46" class="cell_1" style="left:395px; top:206px; width:63px; height:23px; vertical-align:middle; ">부가세율</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:252px; x2:653px; y2:252px; "/>
- <caption id="caption41" class="cell_1" style="left:395px; top:230px; width:63px; height:23px; vertical-align:middle; ">계약구분</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:230px; width:74px; height:23px; vertical-align:middle; ">주거래처</caption>
- <line id="line27" class="line_3" style="x1:0px; y1:276px; x2:653px; y2:276px; "/>
- <caption id="caption83" class="cell_1" style="left:337px; top:308px; width:75px; height:23px; vertical-align:middle; ">구코드</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:308px; width:110px; height:23px; vertical-align:middle; ">ALL SIZE 유무</caption>
- <caption id="caption53" class="cell_1" style="left:0px; top:332px; width:110px; height:23px; vertical-align:middle; ">적용일자</caption>
- <caption id="caption16" class="cell_1" style="left:337px; top:332px; width:75px; height:23px; vertical-align:middle; ">관리부서</caption>
- <line id="line9" class="line_2" style="x1:0px; y1:378px; x2:653px; y2:378px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:356px; width:110px; height:23px; vertical-align:middle; ">처방단위</caption>
- <caption id="caption3" class="cell_1" style="left:440px; top:356px; width:85px; height:23px; vertical-align:middle; ">구매단위</caption>
- <caption id="caption24" class="cell_1" style="left:230px; top:356px; width:109px; height:23px; vertical-align:middle; ">수불단위</caption>
- <line id="line12" class="line_2" style="x1:0px; y1:426px; x2:653px; y2:426px; "/>
- <caption id="caption33" class="cell_1" style="left:440px; top:404px; width:85px; height:23px; vertical-align:middle; ">청구주기</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:404px; width:110px; height:23px; vertical-align:middle; ">청구구분</caption>
- <caption id="caption19" class="cell_1" style="left:230px; top:404px; width:109px; height:23px; vertical-align:middle; ">청구방법</caption>
- <caption id="caption85" class="cell_1" style="left:0px; top:428px; width:110px; height:23px; vertical-align:middle; ">최소처방수량</caption>
- <caption id="caption49" class="cell_1" style="left:440px; top:428px; width:108px; height:23px; vertical-align:middle; ">월평균예정사용량</caption>
- <caption id="caption18" class="cell_1" style="left:230px; top:428px; width:80px; height:23px; vertical-align:middle; ">임의청구구분</caption>
- <line id="line13" class="line_2" style="x1:0px; y1:474px; x2:653px; y2:474px; "/>
- <caption id="caption54" class="cell_1" style="left:350px; top:452px; width:82px; height:23px; vertical-align:middle; ">GROUP 구분</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:452px; width:110px; height:23px; vertical-align:middle; ">SET 발주구분</caption>
- <line id="line18" class="line_2" style="x1:113px; y1:522px; x2:651px; y2:522px; "/>
- <caption id="caption13" class="cell_1" style="left:322px; top:500px; width:65px; height:23px; vertical-align:middle; ">신청부서</caption>
- <line id="line19" class="line_2" style="x1:0px; y1:546px; x2:650px; y2:546px; "/>
- <caption id="caption51" class="cell_1" style="left:322px; top:524px; width:65px; height:23px; vertical-align:middle; ">신청자</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:500px; width:110px; height:48px; vertical-align:middle; ">코드불용일/사유</caption>
- <line id="line16" class="line_3" style="x1:0px; y1:581px; x2:653px; y2:581px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:659px; y2:21px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:7px; width:69px; height:13px; ">물품정보</caption>
- <button id="btn_close" class="btn2_letter2" style="left:618px; top:1px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|