12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>기관별 물품코드 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <good>
- <goodlist/>
- <instgoodlist/>
- </good>
- <gooddet>
- <gooddetlist/>
- <goodconstlist/>
- <goodinstlist/>
- <excelgooddetlist/>
- <oldcdinfo/>
- <rscdgchglist/>
- <rscdtchglist/>
- </gooddet>
- <appinstgoodlists/>
- <rscdtchglist2/>
- </list>
- <costhistinfolist>
- <appdd/>
- <rctpdisburseunitcost/>
- <medcarecalcscor/>
- <suplplcecd/>
- </costhistinfolist>
- <item/>
- <gooddet>
- <gooddetlist/>
- </gooddet>
- <goodcopy>
- <goodlist/>
- </goodcopy>
- </main>
- <send>
- <save>
- <goodlist/>
- <gooddetlist/>
- <setautoins>
- <setyn>N</setyn>
- </setautoins>
- </save>
- <goodlist>
- <goodflag/>
- <goodnm/>
- <lrgcd/>
- <instcd/>
- <edicd/>
- <goodcd/>
- <mdlcd/>
- <spec/>
- <prodcmpy/>
- <smlcd/>
- <model/>
- <prodcmpynm/>
- <instflag/>
- <oldcd/>
- <fr_fromdd/>
- <to_fromdd/>
- <filecls>D</filecls>
- <instcdcopy/>
- <userinstcd/>
- <suppcustcd/>
- <suppcustnm/>
- <nonusegoodview/>
- <mngtflag/>
- <insuyn/>
- <proddrugsetflag/>
- <appinstdata/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- </goodlist>
- <gooddetlist>
- <goodcd/>
- <fromdd/>
- <useyn/>
- <instcd/>
- <tabname>RSCDGOOD</tabname>
- <goodflag/>
- <changedt>20080101</changedt>
- </gooddetlist>
- <goodcopy>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- </goodcopy>
- </send>
- <init>
- <instflag>
- <label>기관</label>
- <value>Y</value>
- <label>전체</label>
- <value/>
- </instflag>
- <goodflag/>
- <deliveunit/>
- <reqprid/>
- <mngtflag/>
- <purcflag/>
- <instcd/>
- <proddrugsetflag/>
- <wareflag/>
- <instnm/>
- <allsizeyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </allsizeyn>
- <tmpreqflag>
- <label>청구가능</label>
- <value>Y</value>
- <label>청구불가능</label>
- <value>N</value>
- </tmpreqflag>
- <radio2>
- <label>신청유</label>
- <value>Y</value>
- <label>신청무</label>
- <value>N</value>
- </radio2>
- <expnyn>
- <label>고가</label>
- <value>Y</value>
- <label>고가아님</label>
- <value>N</value>
- </expnyn>
- <insuyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </insuyn>
- <oldgoodlist>
- <name1/>
- <name2/>
- </oldgoodlist>
- <nonusegoodview>
- <label>전체</label>
- <value>Y</value>
- <label>사용</label>
- <value/>
- <label>휴면</label>
- <value>only</value>
- </nonusegoodview>
- </init>
- <hidden/>
- <temp>
- <currentunit>
- <instcd/>
- <goodflag/>
- </currentunit>
- <memolist>
- <memoitem>
- <goodcd/>
- <memo/>
- <goodnm/>
- <goodspec/>
- <prtflag/>
- </memoitem>
- </memolist>
- <rscmpric>
- <rscmpricitem>
- <afupperlimit>
- </afupperlimit>
- <basedd/>
- <unit/>
- </rscmpricitem>
- </rscmpric>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitForm();
- ]]>
- </script>
- <submission id="TRRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
- <submission id="TRRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcopy" resultref="/root/main/goodcopy"/>
- <submission id="TRRSC05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/gooddet/excelgooddetlist"/>
- <submission id="TRRSC03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet/rscdgchglist"/>
- <submission id="TRRSC05317" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/temp/memolist"/>
- <submission id="TRRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
- <submission id="TRRSC05314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/rscdtchglist2"/>
- <submission id="TRRSC05310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/instgoodlists"/>
- <submission id="TRRSC05311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/appinstgoodlists"/>
- <submission id="TRRSC05319" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/temp/rscmpric"/>
- <submission id="TXRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/gooddet/gooddetlist" resultref="/root/hidden/temp"/>
- <submission id="TXRSC05304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRSC05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRSC05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delivedata" resultref="/root/hidden/temp"/>
- <submission id="TXRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/memolist" resultref="/root/hidden/temp"/>
- </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"/>
- <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05303.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/misMemo.js"/>
- <script type="javascript">
- <![CDATA[
- function fMemoListCheck( ) {
- grp_rscdmemo.visible = false;
- submit("TRRSC05317"); // 메모조회
- var memo = model.getValue("/root/temp/memolist/memoitem/memo");
- if(memo != ""){
- grp_rscdmemo.visible = true;
- model.makeNode("/root/temp/memolist/memoitem/mode");
- model.setValue("/root/temp/memolist/memoitem/mode" , "u"); //실행구분
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1210" pageheight="800" guideline="1,1196;2,774;1,401;">
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1205px; height:760px; ">
- <caption id="caption1" class="tit_2" style="left:545px; top:125px; width:140px; height:13px; ">기관물품세부정보</caption>
- <switch id="switch2" style="left:0px; top:606px; width:535px; height:150px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:533px; height:173px; ">
- <datagrid id="grd_costhistinfo" nodeset="/root/main/list/gooddet/goodconstlist" caption="적용일자^제품단가^구매구분^구매구분^주거래처^주거래처^보조거래처^보조거래처^처방단위^수불단위^청구주기^청구주기^청구방법^청구방법^AllSizeYN^비고^견적가^수불단가^의료수가^제조국^한글명^영문명^규격^모델^관리부서^수정자" colsep="^" colwidth="80, 80, 0, 70, 0, 124, 0, 124, 64, 59, 0, 64, 0, 70, 67, 271, 80, 80, 120, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" navindex="99" style="left:0px; top:0px; width:533px; height:148px; ">
- <col ref="fromdd"/>
- <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="purcflag"/>
- <col ref="purcflagnm"/>
- <col ref="maincustlastsuplplce"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="prcpunit"/>
- <col ref="deliveunit"/>
- <col ref="reqprid"/>
- <col ref="reqpridnm"/>
- <col ref="reqmthd"/>
- <col ref="reqmthdnm"/>
- <col ref="allsizeyn"/>
- <col ref="cmt"/>
- <col ref="forgncurncyunitcost" format="#,###" style="text-align:right; "/>
- <col format="#,###" style="text-align:right; "/>
- <col ref="prodplce" format="#,###" style="text-align:right; "/>
- <col ref="goodnm"/>
- <col ref="goodhngnm"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="mainmngtdeptnm"/>
- <col ref="lastupdtrnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_goodlist.row > 0)
- {
- model.setValue("/root/send/gooddetlist/goodcd", model.getValue(grd_goodlist.nodeset + "["+ grd_goodlist.row + "]/goodcd" ));
- model.setValue("/root/send/gooddetlist/fromdd", model.getValue(grd_costhistinfo.nodeset + "["+ grd_costhistinfo.row + "]/fromdd" ));
- model.setValue("/root/send/gooddetlist/useyn" , model.getValue(grd_costhistinfo.nodeset + "["+ grd_costhistinfo.row + "]/useyn" ));
- // model.setValue("/root/send/gooddetlist/useyn", "N");
- submit("TRRSC05302");
- fAfterRetrGoodList();
- model.setValue("/root/send/gooddetlist/fromdd","" );
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <line id="line49" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
- <group id="grp_etcgood" style="left:0px; top:29px; width:533px; height:106px; ">
- <line id="line50" class="line_2" style="x1:0px; y1:22px; x2:533px; y2:22px; "/>
- <line id="line53" class="line_3" style="x1:0px; y1:49px; x2:533px; y2:49px; "/>
- <caption id="caption74" class="cell_1" style="left:0px; top:24px; width:108px; height:23px; vertical-align:middle; ">일평균사용량</caption>
- <caption id="caption76" class="cell_1" style="left:264px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주생성구분</caption>
- <select1 id="cmb_plceordbase" ref="/root/main/gooddet/gooddetlist/plceordbase" class="combo_essential" appearance="minimal" style="left:110px; top:1px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/plceordbase">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption78" class="cell_1" style="left:0px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주기준</caption>
- <input id="ipt_mmavguseqty" ref="/root/main/gooddet/gooddetlist/ddavguseqty" class="input_default" style="left:110px; top:26px; width:152px; height:19px; text-align:right; "/>
- <caption id="caption79" class="cell_1" style="left:264px; top:24px; width:108px; height:23px; vertical-align:middle; ">재고보유일수</caption>
- <input id="ipt_prprtystocpossndayno" ref="/root/main/gooddet/gooddetlist/prprtystocpossndayno" class="input_default" style="left:374px; top:26px; width:155px; height:19px; text-align:right; "/>
- <select1 id="cmb_plceordqtycretflag" ref="/root/main/gooddet/gooddetlist/plceordqtycretflag" class="combo_essential" appearance="minimal" style="left:374px; top:1px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/plceordqtycretflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption64" class="cell_1" style="left:0px; top:53px; width:108px; height:23px; vertical-align:middle; ">Angio물품여부</caption>
- <bool id="bool3" checkvalue="Y,N" ref="/root/main/gooddet/gooddetlist/limdrugyn" style="left:110px; top:55px; width:30px; height:20px; text-align:left; "/>
- </group>
- <caption id="caption26" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">부가입력정보</caption>
- </case>
- <case id="case4">
- <button id="button5" class="btn5_letter6" navindex="90" style="left:441px; top:3px; width:86px; height:19px; ">
- <caption>물품기관복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_instcopy.visible = true;
- ]]>
- </script>
- </button>
- <group id="grp_instcopy" visibility="hidden" style="left:145px; top:1px; width:385px; height:25px; ">
- <select1 id="cmb_instcopy" ref="/root/send/goodlist/instcdcopy" class="combo_s_essential" appearance="minimal" style="left:100px; top:2px; width:146px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcopy">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption47" class="search_name" style="left:10px; top:2px; width:91px; height:17px; ">대상기관 :</caption>
- <button id="button4" class="btn5_letter5" navindex="46" style="left:250px; top:2px; width:75px; height:19px; ">
- <caption>Copy 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue(grd_instinfo.nodeset+"[instcd='"+cmb_instcopy.value+"']/instcd") !="") {
- alert("선택 기관에 이미 있는 물품입니다");
- return;
- }
- fSaveGoodInstCopy();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter2" style="left:329px; top:1px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_instcopy.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="103, 410" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:29px; width:533px; height:116px; ">
- <col ref="instcd"/>
- <col ref="instnm"/>
- </datagrid>
- <caption id="caption87" class="tit_2" style="left:5px; top:9px; width:95px; height:13px; ">사용기관정보</caption>
- <line id="line35" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
- </case>
- <case id="case5">
- <datagrid id="grd_rscdgchglist" nodeset="/root/main/list/gooddet/rscdgchglist" caption="적용일자^고시^OLD 단가^NEW 단가^OLD Edi Code^NEW Edi Code^OLD 공급처 Code^NEW 공급처 Code^기관코드^물품코드" colsep="^" colwidth="93, 157, 100, 100, 100, 100, 2, 0, 55, 76" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:533px; height:148px; ">
- <col ref="fromdd" format="yyyy-mm-dd" _key="true"/>
- <col ref="chgcmt"/>
- <col ref="oldgoodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="newgoodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="oldedicd"/>
- <col ref="newedicd"/>
- <col ref="oldsuppcustcd" visibility="hidden"/>
- <col ref="newsuppcustcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="goodcd" visibility="hidden" _key="true"/>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="grd_oldcdinfo" nodeset="/root/main/list/gooddet/oldcdinfo" caption="구코드^물품명" colsep="^" colwidth="103, 410" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:533px; height:148px; ">
- <col ref="oldcd"/>
- <col ref="goodnm"/>
- </datagrid>
- </case>
- <case id="case8">
- <datagrid id="datagrid1" nodeset="/root/main/list/gooddet/rscdtchglist" caption="기관코드^테이블^테이블명^변경일시^물품분류^물품코드^컬럼^변경항목^컬럼코멘드^변경전변경값^변경전^변경후변경값^변경후^컬럼구분^비고^수정자^수정자명" colsep="^" colwidth="0, 0, 0, 117, 0, 0, 0, 105, 0, 0, 100, 0, 100, 0, 100, 0, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:533px; height:148px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="tabname" visibility="hidden"/>
- <col ref="comments" visibility="hidden"/>
- <col ref="changedt"/>
- <col ref="changefl" visibility="hidden"/>
- <col ref="changecd" visibility="hidden"/>
- <col ref="colname"/>
- <col ref="colcomt"/>
- <col ref="colcomt2"/>
- <col ref="oldvalue"/>
- <col ref="oldvalnm"/>
- <col ref="newvalue"/>
- <col ref="newvalnm"/>
- <col ref="colflag"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtridnm"/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_insert" class="btn2_letter2" navindex="91" visibility="hidden" style="left:605px; top:120px; width:42px; height:19px; ">
- <caption>입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_gooddetlist);
- misfGridIUD(grd_gooddetlist, "A");
- fDefaultSetting();
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
- //if(cmb_asetflag.length> 0) cmb_asetflag.selectedindex= 0;
-
- if(ipt_fromdd.attribute("background-color") == "#c0c0c0")ipt_fromdd.attribute("background-color") = "#ffffff";
- model.refresh();
- model.setFocus("ipt_goodcd");
- ]]>
- </script>
- </button>
- <button id="btn_choidel" class="btn2_letter5" navindex="35" visibility="hidden" style="left:540px; top:120px; width:75px; height:19px; ">
- <caption>선택행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_gooddetlist, "D");
- misfGridIUD(grd_goodlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_instcd" class="btn_sw" group="tab2" style="left:255px; top:584px; width:90px; height:22px; ">
- <caption>사용기관정보</caption>
- <toggle case="case4" ev:event="DOMActivate"/>
- </button>
- <button id="btn_addinfo" class="btn_sw" group="tab2" style="left:165px; top:584px; width:90px; height:22px; ">
- <caption>부가입력정보</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <button id="button2" class="btn2_letter8" navindex="38" style="left:929px; top:119px; width:108px; height:19px; ">
- <caption>신규재료신청등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode(gvParamPath +"/SMRSD04500_/SMRSD04500_value");
-
- rszfOpenPopUpListByWndName(ipt_winacnt,"","","SMRSD04500","newmatrprcsstat,openergoodmgt","5,Y");
- model.removenode("/root/copynode");
- model.makeNode("/root/copynode");
- var CSV = model.getValue(gvParamPath + "/SMRSD04500_/SMRSD04500_value");
- setCSVToNode("/root/copynode", CSV, "newmstgood");
-
- var copynode = "/root/copynode/newmstgood";
- var newgoodcd = model.getValue(copynode + "/goodcd");
- if(newgoodcd.length > 0)
- {
- var currow = grd_goodlist.findRow(newgoodcd,grd_goodlist.fixedRows, grd_goodlist.colRef("goodcd"), false,true);
- //신규코드로 등록된 코드가 존재한다면(존재할 경우는 없지만서도..)
- if(currow > -1)
- {
- grd_goodlist.row = currow;
- return;
- }
- else
- {
- /*
- if(model.getValue(grd_gooddetlist.nodeset + "/goodflag") != model.getValue(cmb_goodflag.attribute("ref"))
- {
- messageBox("신규재료 물품과 물품구분이 맞지 않습니다[" +model.getValue(grd_gooddetlist.nodeset + "/goodcd") + "]" ,"I");
- return;
- }
- */
- misfGridInit(grd_gooddetlist);
- misfGridIUD(grd_gooddetlist, "A");
-
- model.setValue(grd_gooddetlist.nodeset + "/goodflag" , model.getValue(copynode + "/goodflag"));
- model.setValue(grd_gooddetlist.nodeset + "/goodcd" , model.getValue(copynode + "/goodcd"));
- model.setValue(grd_gooddetlist.nodeset + "/fromdd" , getCurrentDate());
- model.setValue(grd_gooddetlist.nodeset + "/lrgcd" , model.getValue(copynode + "/lrgcd"));
- model.setValue(grd_gooddetlist.nodeset + "/lrgnm" , model.getValue(copynode + "/lrgnm"));
- model.setValue(grd_gooddetlist.nodeset + "/mdlcd" , model.getValue(copynode + "/mdlcd"));
- model.setValue(grd_gooddetlist.nodeset + "/mdlnm" , model.getValue(copynode + "/mdlnm"));
- model.setValue(grd_gooddetlist.nodeset + "/prodcmpycd", model.getValue(copynode + "/prodcmpycd"));
- model.setValue(grd_gooddetlist.nodeset + "/prodcmpynm", model.getValue(copynode + "/prodcmpynm"));
- model.setValue(grd_gooddetlist.nodeset + "/goodhngnm" , model.getValue(copynode + "/goodhngnm"));
- model.setValue(grd_gooddetlist.nodeset + "/goodengnm" , model.getValue(copynode + "/goodengnm"));
- model.setValue(grd_gooddetlist.nodeset + "/asetflag" , model.getValue(copynode + "/asetflag"));
- model.setValue(grd_gooddetlist.nodeset + "/goodspec" , model.getValue(copynode + "/goodspec"));
- model.setValue(grd_gooddetlist.nodeset + "/goodmodel" , model.getValue(copynode + "/goodmodel"));
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
- grp_detail.refresh();
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_costhistinfo" class="btn_sw" group="tab2" selected="true" style="left:90px; top:584px; width:75px; height:22px; ">
- <caption>이력정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <line id="line2" class="line_1" style="x1:540px; y1:140px; x2:1195px; y2:140px; "/>
- <group id="grp_title" style="left:0px; top:9px; width:1195px; height:106px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:105px; "/>
- <input id="ipt_prodcmpynm_search" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:952px; top:55px; width:153px; height:19px; "/>
- <caption id="caption88" class="search_name" style="left:5px; top:33px; width:90px; height:17px; ">EDI코드 :</caption>
- <caption id="caption89" class="search_name" style="left:486px; top:10px; width:85px; height:17px; ">물품코드:</caption>
- <caption id="caption90" class="search_name" style="left:235px; top:10px; width:86px; height:17px; ">물품구분:</caption>
- <caption id="caption91" class="search_name" style="left:235px; top:33px; width:86px; height:17px; ">대 분 류 :</caption>
- <caption id="caption93" class="search_name" style="left:486px; top:56px; width:85px; height:17px; ">규 격 :</caption>
- <caption id="caption95" class="search_name" style="left:773px; top:56px; width:95px; height:17px; ">제조회사 :</caption>
- <caption id="caption96" class="search_name" style="left:235px; top:79px; width:86px; height:17px; ">소 분 류 :</caption>
- <caption id="caption97" class="search_name" style="left:486px; top:79px; width:85px; height:17px; ">모 델 :</caption>
- <line id="line36" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:98px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="31" style="left:1124px; top:42px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/temp/rscmpric");
- ipt_afupperlimit.attribute("background-color") ="#ffffff";
- ipt_afupperlimit.refresh();
-
- if ( switch1.selectedIndex == 0) {
- var node = instance1.selectNodes("/root/temp/good");
- if(node.length < 0 ){
- if (fCheckRetrieveData() == false)return;
- }
-
- misfGridInit(grd_goodlist );
- misfGridInit(grd_instgoodlist);
- model.setValue("/root/send/goodlist/filecls","D");
- fRetrGoodList(false);
- }
-
- if ( switch1.selectedIndex == 1) {
- model.setValue("/root/send/goodlist/filecls","M");
- model.setValue("/root/send/goodlist/filecls","M");
- submit("TRRSC05310");
- }
-
- if ( switch1.selectedIndex == 2) {
- model.setValue("/root/send/goodlist/filecls","M");
- model.setValue("/root/send/goodlist/appinstdata",getUserInfo("dutplceinstcd"));
- submit("TRRSC05311");
- }
-
- if( switch1.selectedindex == 3) {
- submit("TRRSC05314");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodflag_search" ref="/root/send/goodlist/goodflag" class="combo_default" navindex="16" appearance="minimal" editmode="search" style="left:320px; top:9px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_goodlist);
- misfGridInit(grd_gooddetlist);
- misfGridInit(grd_costhistinfo);
- misfGridInit(grd_instinfo);
- misfGridInit(grd_oldcdinfo);
- model.resetInstanceNode("/root/main/gooddet/gooddetlist");
-
- //권한체크.
- fSetGoodFlagAuth();
-
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
-
- cmb_mdlcd_search.value='';
- cmb_smlcd_search.value='';
-
- model.refresh();
- //misfGridInit(grd_gooddetlist);
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" navindex="21" style="left:570px; top:32px; width:184px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_edicd_search" ref="/root/send/goodlist/edicd" class="input_search" navindex="13" imemode="disabled" _chartype="upper" style="left:90px; top:32px; width:131px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/goodlist/goodcd","");
- ipt_goodcd_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" navindex="20" imemode="disabled" maxlength="12" _chartype="upper" style="left:570px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/goodlist/edicd","");
- ipt_edicd_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodspec_search" ref="/root/send/goodlist/spec" class="input_search" navindex="22" style="left:570px; top:55px; width:184px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpy_search" ref="/root/send/goodlist/prodcmpy" class="input_search" navindex="29" style="left:860px; top:55px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpy_search.value != "")
- {
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + model.getValue(ipt_prodcmpy_search.attribute("ref")) + "," ,
- "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpynm_search.value = "";
- }
- grp_title.refresh();
- ]]>
- </script>
- </input>
- <button id="button6" class="icon_search" style="left:934px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy_search,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- grp_title.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodmodel_search" ref="/root/send/goodlist/model" class="input_search" navindex="23" style="left:570px; top:78px; width:184px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption98" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">기 관 :</caption>
- <caption id="caption99" class="search_name" style="left:5px; top:56px; width:90px; height:17px; ">구 코 드 :</caption>
- <select1 id="rbo_instflag" ref="/root/send/goodlist/instflag" visibility="hidden" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:704px; top:10px; width:30px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/instflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" navindex="14" imemode="disabled" maxlength="12" _chartype="upper" style="left:90px; top:55px; width:131px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" class="combo_default" navindex="17" appearance="minimal" style="left:320px; top:32px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
- cmb_mdlcd_search.value="";
- cmb_mdlcd_search.refresh();
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" class="combo_default" navindex="19" appearance="minimal" style="left:320px; top:78px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" class="combo_default" navindex="18" appearance="minimal" style="left:320px; top:55px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y", "Y");
- cmb_smlcd_search.value="";
- cmb_smlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption34" style="left:957px; top:8px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="input23" ref="/root/send/goodlist/fr_fromdd" class="input_search" navindex="24" inputtype="date" style="left:860px; top:9px; width:95px; height:19px; "/>
- <input id="input1" ref="/root/send/goodlist/to_fromdd" class="input_search" navindex="25" inputtype="date" style="left:972px; top:9px; width:95px; height:19px; "/>
- <caption id="caption36" class="search_name" style="left:773px; top:10px; width:87px; height:17px; ">적용기간 :</caption>
- <caption id="caption94" class="search_name" style="left:235px; top:56px; width:86px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_userinstcd" ref="/root/send/goodlist/userinstcd" style="left:90px; top:9px; width:60px; height:19px; "/>
- <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_s_essential" navindex="12" appearance="minimal" style="left:90px; top:9px; width:131px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button7" class="icon_search" style="left:934px; top:81px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce_search,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
- grp_title.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_maincustlastsuplplce_search" ref="/root/send/goodlist/maincustlastsuplplce" class="input_search" navindex="30" style="left:860px; top:78px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- setInputNodeCurText();
- misfSearchCust(output2,cmb_instcd);
- ]]>
- </script>
- </input>
- <input id="output2" ref="/root/send/goodlist/maincustlastsuplplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:952px; top:78px; width:153px; height:19px; "/>
- <caption id="caption55" class="search_name" style="left:773px; top:79px; width:97px; height:17px; ">주거래처 :</caption>
- <caption id="caption52" class="search_name" style="left:5px; top:79px; width:90px; height:17px; ">사용여부 :</caption>
- <select1 id="rdo_nonusegoodview" ref="/root/send/goodlist/nonusegoodview" navindex="15" appearance="full" cols="3" overflow="visible" style="left:90px; top:78px; width:130px; height:17px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/nonusegoodview">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption56" class="search_name" style="left:486px; top:33px; width:94px; height:17px; ">물 품 명 :</caption>
- <select id="checkbox2" ref="/root/send/goodlist/mngtflag" navindex="26" overflow="visible" appearance="full" style="left:860px; top:34px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>SET여부</label>
- <value>S</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send/goodlist/insuyn" navindex="27" overflow="visible" appearance="full" style="left:940px; top:34px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>수가여부</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/send/goodlist/proddrugsetflag" navindex="28" overflow="visible" appearance="full" style="left:1020px; top:34px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>그룹여부</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <caption id="caption61" class="search_name" style="left:773px; top:35px; width:87px; height:17px; ">세부구분 :</caption>
- </group>
- <button id="btn_excel" class="btn5_letter5" navindex="37" style="left:851px; top:119px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if(fCheckRetrieveData() == false)return;
-
- //submit("TRRSC05306"); 20090826 이창록 사용자 요구에 의하여 막음
- var insgoodflag = model.getValue("/root/tmp/insgoodflag");
- //
- if (insgoodflag=="1"){
- // 2010.05.18 서울 구매팀장 요구로 수정함. CHR
- if (getUserInfo("dutplceinstcd") != model.getValue(grd_goodlist.nodeset+"[1]/instcd")) {
- alert("타기관의 자료는 Excel DownLoad가 안됩니다. 기관담당자에게 문의 하십시요");
- return;
- }
- }
- var fileName = window.fileDialog("save", ",", false, "물품코드List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- //grd_excelgooddetlist.saveExcel(fileName, "물품코드");
- if(insgoodflag=="1"){
- grd_goodlist.saveExcel(fileName, "sheetname:물품코드;colhiddenextend:true;");
- }else if(insgoodflag=="2"){
- grd_instgoodlist.saveExcel(fileName, "sheetname:통합물품;");
- }else{
- grd_appinstgoodlist.saveExcel(fileName, "통합물품기관요청내역");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="tab2" style="left:345px; top:584px; width:75px; height:22px; ">
- <caption>고시내역</caption>
- <toggle case="case5" ev:event="DOMActivate"/>
- </button>
- <button id="button3" class="btn_sw" group="tab2" style="left:420px; top:584px; width:75px; height:22px; ">
- <caption>구코드</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <button id="btn_instgood" class="btn_sw" group="tab1" style="left:0px; top:145px; width:75px; height:22px; ">
- <caption>기관물품</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case6");
- model.removeNodeset("/root/tmp/insgoodflag");
- model.makeValue("/root/tmp/insgoodflag","1");
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:0px; top:125px; width:69px; height:13px; ">물품목록</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:140px; x2:535px; y2:140px; "/>
- <button id="btn_allgood" class="btn_sw" group="tab1" style="left:75px; top:145px; width:75px; height:22px; ">
- <caption>통합물품</caption>
- <toggle case="case7" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/tmp/insgoodflag");
- model.makeValue("/root/tmp/insgoodflag","2");
- ]]>
- </script>
- </button>
- <caption id="caption48" style="left:73px; top:123px; width:355px; height:20px; ">:: 기관물품 복사는 아래 사용기관정보 Tab에서 하실 수 있습니다.</caption>
- <button id="btn_sgsave" class="btn4_letter4" navindex="39" style="left:1040px; top:118px; width:80px; height:22px; ">
- <caption>수가전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (messageBox("수가전송을", "Q004") != 7) {
- if(grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 1)
- {
- messageBox("전송할 Data가 없습니다. 조회 후 다시 실행하세요.", "I999");
- return;
- }
-
- if(fCheckSaveData() == false)return;
-
- fSetDataCopy();
- model.refresh();
-
- if( grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 2)
- {
- messageBox("변경된 Data 가 있어 수가전송작업을 중단하겠습니다.\n 변경된 Data는 모두 복구됩니다.", "I999");
- fRetrGoodList(false);
- return;
- }
-
- submit("TXRSC05303");
- messageBox("수가전송이 완료되었습니다.", "I999");
-
- //if (model.getValue(gvErrorMsgPath + "/type") != "error" && grd_goodlist.row > 0 )fRetrGoodList(true);//btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter3" navindex="40" style="left:1123px; top:118px; width:68px; height:22px; text-align:left; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var todd = model.getValue("/root/main/gooddet/gooddetlist/todd");
- if(todd == ""){
- todd = model.setValue("/root/main/gooddet/gooddetlist/todd","99991231");
- model.refresh();
- }
- if(todd < getCurrentDate()){
- messageBox("과거일자 또는 불용된 물품코드는 수정할 수", "I004");
- }else{
- if(fCheckSaveData() == false)return;
-
- fSetDataCopy();
- model.refresh();
-
- misfSave("TXRSC05304");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ) {
- messageBox("저장"+"","I002");
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_instnm" ref="/root/init/instnm" visibility="hidden" style="left:485px; top:120px; width:25px; height:19px; "/>
- <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" style="left:435px; top:120px; width:20px; height:19px; "/>
- <output id="output1" ref="/root/main/gooddet/gooddetlist/asetflag" visibility="hidden" style="left:460px; top:120px; width:20px; height:19px; "/>
- <button id="button8" class="btn_sw" group="tab2" style="left:0px; top:584px; width:90px; height:22px; ">
- <caption>변경세부이력</caption>
- <toggle case="case8" ev:event="DOMActivate"/>
- </button>
- <button id="btn_appinstgood" class="btn_sw10" group="tab1" style="left:150px; top:145px; width:136px; height:22px; ">
- <caption>통합물품기관요청내역</caption>
- <toggle case="case9" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/tmp/insgoodflag");
- model.makeValue("/root/tmp/insgoodflag","3");
- ]]>
- </script>
- </button>
- <button id="btn_ext" class="btn2_letter4" navindex="33" style="left:469px; top:145px; width:64px; height:19px; ">
- <caption>확대보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChgGridExt();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn_sw" group="tab1" style="left:286px; top:145px; width:125px; height:22px; ">
- <caption>통합물품변경이력</caption>
- <toggle case="case10" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/tmp/insgoodflag");
- model.makeValue("/root/tmp/insgoodflag","4");
- ]]>
- </script>
- </button>
- <button id="button11" class="btn4_letter4" navindex="36" visibility="hidden" style="left:685px; top:118px; width:80px; height:22px; ">
- <caption>OCS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (messageBox("OCS전송을", "Q004") != 7) {
- if(fCheckSaveData() == false)return;
-
- for(var k = grd_gooddetlist.fixedRows; k < grd_gooddetlist.rows;k++){
- grd_gooddetlist.rowStatus(k)="1";
- }
- model.makeValue("/root/send/delivedata/gooddetlist",grd_gooddetlist.getUpdateData());
- if(submit("TXRSC05308")){
- messageBox("OCS전송이 완료되었습니다.", "I999");
- btn_search.dispatch("DOMActivate");
- }else{
- messageBox("OCS전송이","E009");
- btn_search.dispatch("DOMActivate");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_prtinfo" class="btn6_letter4" navindex="-1" style="left:455px; top:118px; width:80px; height:22px; ">
- <caption>물품출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(instance1.selectNodes("/root/main/list/goodlists/*").length > 0){
- exeReportPreview("RPRSC05001","XMLSTR");
- }else{
- alert("출력 할 대상이 없습니다.");
- }
- ]]>
- </script>
- </button>
- <line id="line9" class="line_1" style="x1:0px; y1:578px; x2:535px; y2:578px; "/>
- <button id="btn_memo" class="btn1_letter4" navindex="-1" visibility="visible" style="left:770px; top:118px; width:80px; height:22px; background-color:#ffff00; ">
- <caption>메모삽입</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var goodcd = model.getValue("/root/main/gooddet/gooddetlist/goodcd");
- var rscdmemo = model.getValue("/root/main/gooddet/gooddetlist/rscdmemo");
- if(goodcd == ""){
- messageBox("물품코드를 조회하세요", "I999");
- }else{
- grp_rscdmemo.visible = true;
- submit("TRRSC05317"); // 메모조회
-
- var memogoodcd = model.getValue("/root/temp/memolist/memoitem/goodcd");
- model.makeNode("/root/temp/memolist/memoitem/mode");
- if (memogoodcd == ""){
- model.setValue("/root/temp/memolist/memoitem/mode" , "i"); //실행구분
- model.makeNode("/root/temp/memolist/memoitem/goodcd");
- model.makeNode("/root/temp/memolist/memoitem/memo");
- model.makeNode("/root/temp/memolist/memoitem/goodnm");
- model.makeNode("/root/temp/memolist/memoitem/goodspec");
- }else{
- model.setValue("/root/temp/memolist/memoitem/mode" , "u");
- }
- // misfCreateMemoWindow(goodcd,rscdmemo,500,500);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_detail" style="left:540px; top:160px; width:665px; height:610px; ">
- <line id="line5" class="line_3" style="x1:0px; y1:395px; x2:653px; y2:395px; "/>
- <caption id="caption57" class="cell_1" style="left:0px; top:174px; 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:78px; top:176px; width:92px; height:19px; text-align:right; "/>
- <line id="line16" class="line_3" style="x1:0px; y1:606px; x2:653px; y2:606px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:595px; x2:653px; y2:595px; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:523px; x2:653px; y2:523px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:319px; x2:653px; y2:319px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:75px; x2:653px; y2:75px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:102px; x2:653px; y2:102px; "/>
- <caption id="caption72" class="cell_1" style="left:0px; top:106px; width:70px; height:23px; vertical-align:middle; ">제조국</caption>
- <caption id="caption50" class="cell_1" style="left:0px; top:28px; width:70px; height:23px; vertical-align:middle; ">물품코드</caption>
- <caption id="caption30" class="cell_1" style="left:335px; top:77px; width:75px; height:23px; vertical-align:middle; ">모델명</caption>
- <input id="ipt_goodcd" ref="/root/main/gooddet/gooddetlist/goodcd" class="output_fix" navindex="-1" editable="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:72px; top:30px; width:108px; height:19px; "/>
- <output id="opt_winacntnm" ref="/root/main/gooddet/gooddetlist/winacntnm" class="output_fix" appearance="output" style="left:519px; top:109px; width:132px; height:19px; "/>
- <caption id="caption42" class="cell_1" style="left:393px; top:28px; width:60px; height:23px; vertical-align:middle; ">제조회사</caption>
- <caption id="caption66" class="cell_1" style="left:445px; top:1px; width:65px; height:23px; vertical-align:middle; ">소분류</caption>
- <output id="opt_amtacntnm" ref="/root/main/gooddet/gooddetlist/amtacntnm" class="output_fix" visibility="hidden" appearance="output" style="left:519px; top:155px; width:132px; height:19px; "/>
- <button id="btn_winacnt" class="icon_search" style="left:500px; top:111px; 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="output_fix" navindex="-1" editable="false" style="left:72px; top:79px; width:258px; height:19px; "/>
- <caption id="caption45" class="cell_1" style="left:0px; top:77px; width:70px; height:23px; vertical-align:middle; ">규격</caption>
- <caption id="caption35" class="cell_1" style="left:335px; top:107px; width:75px; height:23px; vertical-align:middle; ">계정과목</caption>
- <caption id="caption68" class="cell_1" style="left:0px; top:1px; width:70px; height:23px; vertical-align:middle; ">대분류</caption>
- <input id="ipt_goodmodel" ref="/root/main/gooddet/gooddetlist/goodmodel" class="output_fix" navindex="-1" editable="false" maxlength="150" style="left:414px; top:79px; width:237px; height:19px; "/>
- <button id="btn_amtacnt" class="icon_search" visibility="hidden" style="left:500px; top:155px; 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" visibility="hidden" style="left:335px; top:160px; width:75px; height:10px; vertical-align:middle; ">비용계정</caption>
- <input id="ipt_winacnt" ref="/root/main/gooddet/gooddetlist/winacnt" class="input_essential" navindex="45" style="left:414px; top:109px; 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>
- </input>
- <caption id="caption29" class="cell_1" style="left:228px; top:1px; width:65px; height:23px; vertical-align:middle; ">중분류</caption>
- <input id="ipt_prodcmpycd" ref="/root/main/gooddet/gooddetlist/prodcmpycd" class="output_fix" navindex="-1" editable="false" style="left:457px; top:30px; width:60px; height:19px; "/>
- <input id="ipt_goodengnm" ref="/root/main/gooddet/gooddetlist/goodengnm" class="output_fix" navindex="-1" visibility="hidden" editable="false" imemode="alpha" maxlength="200" style="left:335px; top:49px; width:50px; height:19px; "/>
- <input id="ipt_amtacnt" ref="/root/main/gooddet/gooddetlist/amtacnt" navindex="47" visibility="hidden" style="left:414px; top:155px; 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>
- </input>
- <select1 id="cmb_prodplce" ref="/root/main/gooddet/gooddetlist/prodplce" class="combo" navindex="42" appearance="minimal" style="left:72px; top:108px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prodplce">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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" navindex="-1" appearance="output" style="left:520px; top:30px; width:132px; height:19px; "/>
- <select1 id="cmb_goodflag" ref="/root/main/gooddet/gooddetlist/goodflag" class="combo_essential" visibility="hidden" appearance="minimal" editmode="search" style="left:72px; top:54px; width:106px; 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="output_fix" navindex="-1" editable="false" maxlength="200" style="left:72px; top:54px; width:579px; height:19px; "/>
- <caption id="caption22" class="tit_2" style="left:5px; top:280px; width:95px; height:13px; ">품목세부사항</caption>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="70" style="left:490px; top:325px; 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" class="combo_essential" navindex="74" appearance="minimal" style="left:416px; top:349px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/purcunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_useinstinfo" class="btn2_letter7" navindex="68" style="left:232px; top:323px; 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" class="input_essential" navindex="78" maxlength="9" format="#,###" style="left:111px; top:425px; width:111px; height:19px; text-align:right; background-color:#ffff99; "/>
- <caption id="caption53" class="cell_1" style="left:0px; top:321px; width:108px; height:23px; vertical-align:middle; ">적용일자</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:346px; width:110px; height:23px; vertical-align:middle; ">처방단위</caption>
- <button id="btn_photinfo" class="btn2_letter2" navindex="41" style="left:183px; top:30px; width:42px; height:19px; ">
- <caption>사진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //SPRSC00210
- rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201" ,"instcd,goodcd","cmb_instcd,ipt_goodcd");
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- ]]>
- </script>
- </button>
- <caption id="caption14" class="cell_1" style="left:0px; top:397px; width:108px; height:23px; vertical-align:middle; ">청구구분</caption>
- <input id="ipt_divusenvalqty" ref="/root/main/gooddet/gooddetlist/divusenvalqty" class="input_default" navindex="92" maxlength="9" format="#,###.##" style="left:516px; top:503px; width:134px; height:19px; text-align:right; "/>
- <select id="chk_reuseyn" ref="/root/main/gooddet/gooddetlist/reuseyn" overflow="visible" appearance="full" style="left:325px; top:505px; width:101px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>분할사용여부</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption16" class="cell_1" style="left:335px; top:321px; width:65px; height:23px; vertical-align:middle; ">관리부서</caption>
- <input id="ipt_mngtdeptcd" ref="/root/main/gooddet/gooddetlist/mainmngtdeptcd" class="input_essential" navindex="69" style="left:401px; top:323px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(opt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <select1 id="cmb_deliveunit" ref="/root/main/gooddet/gooddetlist/deliveunit" class="combo_essential" navindex="73" appearance="minimal" style="left:262px; top:349px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/deliveunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_exchqty" ref="/root/main/gooddet/gooddetlist/exchqty" class="input_essential" navindex="75" maxlength="9" format="#,###" style="left:310px; top:373px; width:181px; height:19px; text-align:right; background-color:#ffff99; "/>
- <output id="opt_mngtdeptnm" ref="/root/main/gooddet/gooddetlist/mainmngtdeptnm" class="output_fix" appearance="output" style="left:510px; top:323px; width:140px; height:19px; "/>
- <select1 id="cmb_reqflag" ref="/root/main/gooddet/gooddetlist/reqflag" class="input_essential" navindex="77" appearance="minimal" style="left:111px; top:400px; width:111px; height:19px; background-color:#ffff99; ">
- <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_default" navindex="67" inputtype="date" style="left:111px; top:323px; width:111px; height:19px; background-color:#ffffff; ">
- <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");
-
- if(vGoodNew !="N"){ //신규 기관코드 생성시 적용일자에 과거일자 등록가능 (vGoodNew = "N" 신규 기관코드 flag)
-
- 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" navindex="85" appearance="minimal" style="left:111px; top:479px; width:104px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/setplceordflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/setplceordflagnm",cmb_setplceordflag.label)
- ]]>
- </script>
- </select1>
- <caption id="caption20" class="cell_1" style="left:0px; top:296px; width:108px; height:23px; vertical-align:middle; ">ALL SIZE 유무</caption>
- <caption id="caption54" class="cell_1" style="left:350px; top:476px; width:82px; height:23px; vertical-align:middle; ">GROUP 구분</caption>
- <button id="btn_goodsetrgst" class="btn2_letter2" navindex="88" style="left:607px; top:479px; 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>
- <caption id="caption11" class="cell_1" style="left:0px; top:476px; width:108px; height:23px; vertical-align:middle; ">SET 발주구분</caption>
- <select1 id="cmb_reqmthd" ref="/root/main/gooddet/gooddetlist/reqmthd" class="combo_essential" navindex="79" appearance="minimal" style="left:341px; top:400px; width:95px; height:19px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/reqmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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:501px; width:108px; height:23px; vertical-align:middle; ">재고관리기준</caption>
- <select1 id="cmb_proddrugsetflag" ref="/root/main/gooddet/gooddetlist/proddrugsetflag" class="combo_default" navindex="87" appearance="minimal" style="left:435px; top:479px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/proddrugsetflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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" navindex="62" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:493px; top:278px; width:31px; height:19px; 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:410px; top:274px; width:80px; height:23px; vertical-align:middle; ">고가여부</caption>
- <select1 id="rdo_allsizeyny" ref="/root/main/gooddet/gooddetlist/allsizeyn" navindex="63" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:111px; top:298px; width:89px; height:19px; background-color:#ffff99; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/allsizeyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_reqflag" ref="/root/main/gooddet/gooddetlist/tmpreqflag" navindex="80" appearance="full" cols="2" overflow="visible" style="left:313px; top:425px; width:132px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/tmpreqflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" style="left:230px; top:422px; width:80px; height:23px; vertical-align:middle; ">임의청구구분</caption>
- <caption id="caption19" class="cell_1" style="left:230px; top:397px; width:108px; height:23px; vertical-align:middle; ">청구방법</caption>
- <button id="btn_allsizergst" class="btn2_letter2" navindex="64" style="left:287px; top:298px; 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,mngtflag","SPRSC00212","instcd,instnm,goodcd,goodnm,goodunit,mngtflag","opt_instcd,opt_instnm,ipt_goodcd,ipt_goodnm,cmb_purcunit,chk_mngtflag");
- 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" class="input_essential" disabled="true" navindex="81" appearance="minimal" style="left:528px; top:400px; width:124px; height:19px; background-color:#ffff99; ">
- <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>
- <caption id="caption33" class="cell_1" style="left:445px; top:397px; width:80px; height:23px; vertical-align:middle; ">청구주기</caption>
- <input id="ipt_mmavgusescheqty" ref="/root/main/gooddet/gooddetlist/mmavgusescheqty" class="input_default" navindex="82" maxlength="14.2" format="#,###.##" style="left:603px; top:425px; width:49px; height:19px; "/>
- <input id="ipt_nonusetretdd" ref="/root/main/gooddet/gooddetlist/todd" class="input_default" navindex="93" inputtype="date" style="left:111px; top:528px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/gooddet/gooddetlist/todd") == "99991230"){
- model.setValue("/root/main/gooddet/gooddetlist/todd","99991231");
- ipt_nonusetretdd.refresh();
- }
- 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>
- <caption id="caption51" class="cell_1" style="left:322px; top:550px; width:65px; height:23px; vertical-align:middle; ">신청자</caption>
- <output id="opt_reqpsnnm" ref="/root/main/gooddet/gooddetlist/reqpsnnm" class="output_fix" appearance="output" style="left:505px; top:551px; width:146px; height:19px; "/>
- <button id="btn_reqpsn" class="icon_search" style="left:485px; top:551px; 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" navindex="96" style="left:390px; top:551px; width:90px; height:19px; "/>
- <input id="ipt_nonusetretresn" ref="/root/main/gooddet/gooddetlist/nonusetretresn" class="input_default" navindex="95" style="left:111px; top:550px; width:200px; height:19px; "/>
- <textarea id="tar_cmt" ref="/root/main/gooddet/gooddetlist/cmt" navindex="97" style="left:111px; top:573px; width:209px; height:30px; "/>
- <caption id="caption13" class="cell_1" style="left:322px; top:525px; width:65px; height:23px; vertical-align:middle; ">신청부서</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:526px; width:108px; height:43px; vertical-align:middle; ">코드불용일/사유</caption>
- <button id="btn_reqdeptcd" class="icon_search" style="left:485px; top:531px; 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="caption49" class="cell_1" style="left:492px; top:422px; width:108px; height:23px; vertical-align:middle; ">월평균예정사용량</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:571px; width:108px; height:32px; vertical-align:middle; ">비고</caption>
- <output id="opt_reqdeptnm" ref="/root/main/gooddet/gooddetlist/reqdeptnm" class="output_fix" appearance="output" style="left:505px; top:526px; width:146px; height:19px; "/>
- <input id="ipt_reqdeptcd" ref="/root/main/gooddet/gooddetlist/reqdeptcd" class="input_default" navindex="94" style="left:390px; top:527px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(opt_reqdeptnm);
- ]]>
- </script>
- </input>
- <caption id="caption83" class="cell_1" style="left:334px; top:296px; width:65px; height:23px; vertical-align:middle; ">구코드</caption>
- <input id="ipt_oldcd" ref="/root/main/gooddet/gooddetlist/oldcd" class="input_default" navindex="65" maxlength="12" style="left:401px; top:298px; width:85px; height:19px; "/>
- <caption id="caption85" class="cell_1" style="left:0px; top:422px; width:108px; height:23px; vertical-align:middle; ">최소처방수량</caption>
- <caption id="caption25" class="cell_1" style="left:194px; top:371px; width:114px; height:23px; vertical-align:middle; ">수불/구매환산수량</caption>
- <caption id="caption24" class="cell_1" style="left:194px; top:346px; width:65px; height:23px; vertical-align:middle; ">수불단위</caption>
- <caption id="caption28" class="cell_1" style="left:434px; top:501px; width:80px; height:23px; vertical-align:middle; ">분할사용수치</caption>
- <caption id="caption3" class="cell_1" style="left:350px; top:346px; width:65px; height:23px; vertical-align:middle; ">구매단위</caption>
- <select1 id="cmb_prcpunit" ref="/root/main/gooddet/gooddetlist/prcpunit" class="combo_essential" navindex="71" appearance="minimal" style="left:111px; top:349px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:0px; top:371px; width:110px; height:23px; vertical-align:middle; ">처방/수불환산수량</caption>
- <input id="ipt_prcpexchqty" ref="/root/main/gooddet/gooddetlist/prcpexchqty" class="input_essential" navindex="72" format="#,###" style="left:111px; top:373px; width:75px; height:19px; text-align:right; background-color:#ffff99; "/>
- <input id="ipt_edicd" ref="/root/main/gooddet/gooddetlist/edicd" class="output_fix" navindex="-1" editable="false" _chartype="upper" style="left:296px; top:30px; width:87px; height:19px; "/>
- <select1 id="rdo_insuyn" ref="/root/main/gooddet/gooddetlist/insuyn" navindex="43" appearance="full" cols="2" overflow="visible" style="left:240px; top:107px; width:90px; height:20px; background-color:#ffff99; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/insuyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_maincustlastsuplplcenm" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:193px; top:227px; width:154px; height:19px; background-color:#ffff99; "/>
- <output id="opt_suppcustnm" ref="/root/main/gooddet/gooddetlist/suppcustnm" class="output_fix" appearance="output" style="left:193px; top:251px; width:154px; height:19px; background-color:#ffff99; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplce" class="input_essential" navindex="57" style="left:78px; top:227px; width:91px; height:19px; background-color:#ffff99; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(opt_maincustlastsuplplcenm,opt_instcd,ipt_fromdd);
- ]]>
- </script>
- </input>
- <caption id="caption40" class="cell_1" style="left:0px; top:199px; width:74px; height:23px; vertical-align:middle; ">구매구분</caption>
- <button id="btn_suppcustcd" class="icon_search" style="left:173px; top:251px; 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:6px; top:158px; width:69px; height:13px; ">구매정보</caption>
- <caption id="caption43" class="cell_1" style="left:173px; top:199px; width:79px; height:23px; vertical-align:middle; ">최종구매일자</caption>
- <input id="ipt_lastpurcdd" ref="/root/main/gooddet/gooddetlist/lastpurcdd" class="input_default" navindex="51" inputtype="date" style="left:256px; top:202px; width:91px; height:19px; "/>
- <line id="line27" class="line_3" style="x1:0px; y1:273px; x2:653px; y2:273px; "/>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:173px; top:227px; 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:249px; width:74px; height:23px; vertical-align:middle; ">보조거래처</caption>
- <select1 id="cmb_purcflag" ref="/root/main/gooddet/gooddetlist/purcflag" class="combo_essential" navindex="49" appearance="minimal" style="left:78px; top:202px; width:91px; height:19px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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>
- <caption id="caption27" class="cell_1" style="left:0px; top:224px; width:74px; height:23px; vertical-align:middle; ">주거래처</caption>
- <input id="ipt_suppcustcd" ref="/root/main/gooddet/gooddetlist/suppcustcd" class="input_essential" navindex="58" style="left:78px; top:251px; width:91px; height:19px; background-color:#ffff99; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(opt_suppcustnm,opt_instcd,ipt_fromdd);
- ]]>
- </script>
- </input>
- <caption id="caption62" class="cell_1" style="left:350px; top:174px; width:63px; height:23px; vertical-align:middle; ">화폐단위</caption>
- <caption id="caption41" class="cell_1" style="left:350px; top:199px; width:63px; height:23px; vertical-align:middle; ">계약구분</caption>
- <caption id="caption63" class="search_no_b" style="left:536px; top:251px; width:12px; height:17px; ">~</caption>
- <input id="ipt_forgncurncyunitcost" ref="/root/main/gooddet/gooddetlist/forgncurncyunitcost" class="input_default" navindex="50" format="#,###.##" style="left:256px; top:176px; width:92px; height:19px; text-align:right; "/>
- <select1 id="cmb_conflag" ref="/root/main/gooddet/gooddetlist/conflag" class="combo_essential" navindex="54" appearance="minimal" style="left:416px; top:202px; width:87px; height:19px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/conflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/conflagnm",cmb_conflag.label)
- ]]>
- </script>
- </select1>
- <caption id="caption58" class="cell_1" style="left:173px; top:174px; width:79px; height:23px; vertical-align:middle; ">외화단가</caption>
- <select1 id="cmb_curncyunit" ref="/root/main/gooddet/gooddetlist/curncyunit" class="combo_default" navindex="53" appearance="minimal" style="left:416px; top:176px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/curncyunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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_essential" navindex="60" inputtype="date" style="left:433px; top:251px; width:102px; 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>
- </input>
- <input id="ipt_toconterm" ref="/root/main/gooddet/gooddetlist/toconterm" class="input_essential" navindex="61" inputtype="date" style="left:550px; top:251px; width:102px; 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>
- </input>
- <input id="ipt_addtaxrate" ref="/root/main/gooddet/gooddetlist/addtaxrate" class="input_default" navindex="55" style="left:570px; top:176px; width:82px; height:19px; "/>
- <caption id="caption67" class="cell_1" style="left:0px; top:174px; width:74px; height:23px; vertical-align:middle; ">제품단가</caption>
- <caption id="caption46" class="cell_1" style="left:505px; top:174px; width:63px; height:23px; vertical-align:middle; ">부가세율</caption>
- <input id="ipt_goodunitcost" ref="/root/main/gooddet/gooddetlist/goodunitcost" class="input_default" navindex="48" maxlength="14.2" format="#,###.##" style="left:78px; top:176px; width:92px; height:19px; font-weight:bold; text-align:right; background-color:#ffff99; "/>
- <input id="ipt_goodhngnm" ref="/root/main/gooddet/gooddetlist/goodhngnm" class="output_fix" navindex="-1" visibility="hidden" editable="false" imemode="hangul" maxlength="200" style="left:390px; top:49px; width:50px; height:19px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:50px; x2:653px; y2:50px; "/>
- <caption id="caption15" class="cell_1" style="left:228px; top:28px; width:65px; height:23px; vertical-align:middle; ">EDI코드</caption>
- <caption id="caption23" class="cell_1" style="left:173px; top:106px; width:65px; height:23px; vertical-align:middle; ">수가여부</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:52px; width:70px; height:23px; vertical-align:middle; ">물 품 명</caption>
- <line id="line11" class="line_3" style="x1:0px; y1:26px; x2:653px; y2:26px; "/>
- <caption id="caption32" class="cell_1" style="left:350px; top:249px; width:79px; height:23px; vertical-align:middle; ">단가계약기간</caption>
- <line id="line25" class="line_3" style="x1:0px; y1:156px; x2:653px; y2:156px; "/>
- <line id="line26" class="line_3" style="x1:0px; y1:172px; x2:653px; y2:172px; "/>
- <line id="line15" class="line_3" style="x1:0px; y1:343px; x2:653px; y2:343px; "/>
- <line id="line17" class="line_3" style="x1:0px; y1:471px; x2:653px; y2:471px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:294px; x2:653px; y2:294px; "/>
- <select id="chk_mngtflag" ref="/root/main/gooddet/gooddetlist/mngtflag" disabled="true" navindex="86" overflow="visible" appearance="full" style="left:230px; top:479px; width:101px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>SET여부</label>
- <value>S</value>
- </item>
- </choices>
- </select>
- <output id="cpt_allsizecnt" ref="/root/main/gooddet/gooddetlist/allsizecnt" class="output_fix" appearance="output" style="left:220px; top:298px; width:66px; 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; "/>
- <input id="input8" ref="/root/main/gooddet/gooddetlist/mdlcd" class="input_default" disabled="true" style="left:315px; top:3px; width:25px; height:19px; "/>
- <input id="input9" ref="/root/main/gooddet/gooddetlist/smlcd" class="input_default" disabled="true" style="left:525px; top:3px; width:25px; height:19px; "/>
- <input id="input4" ref="/root/main/gooddet/gooddetlist/lrgnm" class="output_fix" navindex="-1" editable="false" style="left:73px; top:3px; width:150px; height:19px; "/>
- <input id="input5" ref="/root/main/gooddet/gooddetlist/mdlnm" class="output_fix" navindex="-1" editable="false" style="left:296px; top:3px; width:145px; height:19px; "/>
- <input id="input6" ref="/root/main/gooddet/gooddetlist/smlnm" class="output_fix" navindex="-1" editable="false" style="left:512px; top:3px; width:140px; height:19px; "/>
- <select1 id="cmb_stocmngtflag" ref="/root/main/gooddet/gooddetlist/stocmngtflag" class="combo_essential" navindex="89" appearance="minimal" style="left:111px; top:503px; width:200px; height:19px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/stocmngtflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <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" navindex="66" visibility="hidden" style="left:305px; top:274px; width:100px; height:19px; "/>
- <caption id="caption65" class="cell_1" visibility="hidden" style="left:535px; top:274px; width:67px; height:23px; vertical-align:middle; ">이전적용일</caption>
- <caption id="caption69" class="cell_1" style="left:0px; top:132px; width:70px; height:23px; vertical-align:middle; ">최초등록일</caption>
- <input id="input7" ref="/root/main/gooddet/gooddetlist/frgstdd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:73px; top:134px; width:98px; height:19px; "/>
- <textarea id="textarea1" ref="/root/main/gooddet/gooddetlist/comnm" navindex="76" maxlength="200" style="left:500px; top:349px; width:152px; height:42px; "/>
- <caption id="caption39" class="cell_1" style="left:505px; top:199px; width:79px; height:23px; vertical-align:middle; ">단가계약여부</caption>
- <select1 id="cmb_costconyn" ref="/root/main/gooddet/gooddetlist/costconyn" class="combo_essential" navindex="56" appearance="minimal" style="left:587px; top:202px; width:65px; height:19px; text-align:center; background-color:#ffff99; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption44" class="cell_1" style="left:350px; top:224px; width:79px; height:23px; vertical-align:middle; ">단가계약일자</caption>
- <input id="ipt_costcondd" ref="/root/main/gooddet/gooddetlist/costcondd" class="input_essential" navindex="59" inputtype="date" style="left:433px; top:227px; width:102px; height:19px; background-color:#ffff99; "/>
- <caption id="caption71" class="cell_1" style="left:173px; top:132px; width:65px; height:23px; vertical-align:middle; ">창고구분</caption>
- <select1 id="cmb_wareflag" ref="/root/main/gooddet/gooddetlist/wareflag" class="combo_essential" navindex="44" appearance="minimal" style="left:240px; top:133px; width:115px; height:19px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/wareflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/gooddet/gooddetlist/wareflagnm",cmb_wareflag.label);
- ]]>
- </script>
- </select1>
- <caption id="caption73" class="cell_1" style="left:322px; top:575px; width:65px; height:27px; vertical-align:middle; ">용도</caption>
- <textarea id="tar_usge" ref="/root/main/gooddet/gooddetlist/usge" navindex="98" style="left:390px; top:573px; width:260px; height:30px; "/>
- <caption id="caption75" class="cell_1" style="left:489px; top:296px; width:61px; height:23px; vertical-align:middle; ">사용부서</caption>
- <select1 id="cmb_mainusedeptcd" ref="/root/main/gooddet/gooddetlist/mainusedeptcd" class="combo_essential" navindex="52" appearance="minimal" style="left:555px; top:298px; width:96px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_goodposcd" ref="/root/main/gooddet/gooddetlist/goodposcd" class="input_default" navindex="83" maxlength="12" style="left:111px; top:449px; width:209px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:447px; width:108px; height:23px; vertical-align:middle; ">물품위치코드</caption>
- <caption id="caption8" class="cell_1" style="left:325px; top:447px; width:108px; height:23px; vertical-align:middle; ">청구수량 고정배수</caption>
- <input id="ipt_reqmutpleqty" ref="/root/main/gooddet/gooddetlist/reqmutpleqty" class="input_default" navindex="84" maxlength="9" format="#,###" style="left:436px; top:450px; width:51px; height:19px; text-align:right; "/>
- <caption id="caption38" class="cell_1" style="left:492px; top:447px; width:73px; height:23px; vertical-align:middle; ">MSDS여부</caption>
- <select1 id="rdo_msdsflag" ref="/root/main/gooddet/gooddetlist/msdsflag" navindex="-1" appearance="full" cols="2" overflow="visible" style="left:570px; top:449px; width:77px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption81" class="cell_1" style="left:360px; top:132px; width:45px; height:23px; vertical-align:middle; ">상한가</caption>
- <caption id="caption82" class="cell_1" style="left:528px; top:132px; width:55px; height:23px; vertical-align:middle; ">최종고시</caption>
- <input id="ipt_afupperlimit" ref="/root/temp/rscmpric/rscmpricitem/afupperlimit" class="input_default" navindex="48" editable="false" format="#,##0" style="left:409px; top:134px; width:76px; height:19px; font-weight:bold; text-align:right; "/>
- <input id="ipt_basedd" ref="/root/temp/rscmpric/rscmpricitem/basedd" class="input_default" navindex="65" editable="false" maxlength="12" format="yyyy-mm-dd" style="left:585px; top:134px; width:67px; height:19px; "/>
- <input id="ipt_unit" ref="/root/temp/rscmpric/rscmpricitem/unit" class="input_default" navindex="48" editable="false" style="left:489px; top:134px; width:36px; height:19px; font-weight:bold; text-align:right; "/>
- <group id="grp_rscdmemo" visibility="hidden" style="left:115px; top:15px; width:445px; height:245px; ">
- <textarea id="textarea2" ref="/root/temp/memolist/memoitem/memo" style="left:5px; top:70px; width:435px; height:140px; background-color:#ffff99; "/>
- <button id="button13" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_rscdmemo.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption60" class="tit_2" style="left:5px; top:54px; width:100px; height:13px; vertical-align:middle; ">MEMO 내용</caption>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
- <button id="but_save" class="btn4_letter2" style="left:322px; top:215px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/memolist/memoitem/goodcd",model.getValue("/root/main/gooddet/gooddetlist/goodcd"));
- model.setValue("/root/temp/memolist/memoitem/goodnm", model.getValue("/root/main/gooddet/gooddetlist/goodnm"));
- model.setValue("/root/temp/memolist/memoitem/goodspec", model.getValue("/root/main/gooddet/gooddetlist/goodspec"));
- model.setValue("/root/temp/memolist/memoitem/mode" , "d");
- submit("TXRSC05309");
- messageBox("삭제"+"","I002");
- grp_rscdmemo.visible = false;
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/gooddet/gooddetlist/goodnm" editable="false" style="left:80px; top:27px; width:360px; height:19px; font-weight:bold; color:#800000; border-style:hidden; "/>
- <caption id="caption77" class="tit_2" style="left:5px; top:30px; width:75px; height:13px; vertical-align:middle; ">물품명 :</caption>
- <caption id="caption80" class="tit_2" style="left:5px; top:5px; width:85px; height:13px; vertical-align:middle; ">물품코드 :</caption>
- <input id="input3" ref="/root/main/gooddet/gooddetlist/goodcd" editable="false" style="left:85px; top:3px; width:205px; height:19px; font-weight:bold; color:#800000; border-style:hidden; "/>
- <button id="button12" class="btn4_letter2" style="left:265px; top:215px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/memolist/memoitem/goodcd",model.getValue("/root/main/gooddet/gooddetlist/goodcd"));
- model.setValue("/root/temp/memolist/memoitem/goodnm", model.getValue("/root/main/gooddet/gooddetlist/goodnm"));
- model.setValue("/root/temp/memolist/memoitem/goodspec", model.getValue("/root/main/gooddet/gooddetlist/goodspec"));
- submit("TXRSC05309");
- messageBox("저장"+"","I002");
- grp_rscdmemo.visible = false;
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/temp/memolist/memoitem/prtflag" overflow="visible" appearance="full" style="left:10px; top:215px; width:20px; height:20px; color:#ff0000; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption84" style="left:28px; top:213px; width:140px; height:20px; font-weight:bold; color:#ff0000; ">프린터관련 물품코드</caption>
- </group>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">기관별 물품코드 등록</caption>
- </group>
- <datagrid id="grd_excelgooddetlist" nodeset="/root/main/list/gooddet/excelgooddetlist" visibility="visible" caption="기관명^물품코드^물품명^물품명(한글)^물품명(영문)^규격^모델명^제조국^제조회사코드^제조회사명^대분류^중분류^소분류^EDI코드^수가여부^입고계정코드^입고계정명^비용계정^비용계정명^적용일자^구코드^관리부서코드^관리부서명^청구구분^청구구분명^처방단위^처방/수불환산수량^구매단위^수불/구매환산수량^수불단위^최소청구량^분할사용여부^분할사용수치^재고관리기준^청구주기^청구주기명^청구방법구분^청구방법구분명^임의청구구분^SET발주구분^SET구분^월평균예정사용량^ALL SIZE 유무^신청부서코드^신청부서명^신청자코드^신청자명^코드불용일^코드불용사유^비고^최종구매일자^구매구분^구매구분명^주거래처코드^주거래처명^보조거래처코드^보조거래처명^계약구분^계약기간 from^계약기간 to^부가세율^견적가^외화단가^화폐단위^제품단가" colsep="^" colwidth="100, 123, 61, 123, 92, 81, 92, 92, 92, 123, 61, 230, 153, 153, 153, 199, 123, 123, 214, 139, 199, 184, 123, 123, 100, 123, 184, 75, 184, 108, 245, 89, 107, 184, 184, 100, 123, 105, 123, 123, 123, 153, 92, 184, 153, 214, 123, 184, 110, 92, 123, 123, 100, 123, 123, 199, 184, 123, 149, 136, 123, 184, 184, 123, 184" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:65px; top:355px; width:385px; height:95px; ">
- <col ref="instnm"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodhngnm"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodplce"/>
- <col ref="prodcmpycd"/>
- <col ref="prodcmpynm"/>
- <col ref="lrgcd"/>
- <col ref="mdlcd"/>
- <col ref="smlcd"/>
- <col ref="edicd"/>
- <col ref="insuyn"/>
- <col ref="winacnt"/>
- <col ref="winacntnm"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="oldcd"/>
- <col ref="mainmngtdeptcd"/>
- <col ref="mainmngtdeptnm"/>
- <col ref="reqflag"/>
- <col ref="reqflagnm"/>
- <col ref="prcpunit"/>
- <col ref="prcpexchqty" format="#,###"/>
- <col ref="purcunit"/>
- <col ref="exchqty" format="#,###"/>
- <col ref="deliveunit"/>
- <col ref="minexch" format="#,###"/>
- <col ref="reuseyn"/>
- <col ref="divusenvalqty" format="#,###"/>
- <col ref="stocmngtflag"/>
- <col ref="reqprid"/>
- <col ref="reqpridnm"/>
- <col ref="reqmthd"/>
- <col ref="reqmthdnm"/>
- <col ref="tmpreqflag"/>
- <col ref="setplceordflag"/>
- <col ref="proddrugsetflag"/>
- <col ref="mmavgusescheqty" format="#,###"/>
- <col ref="allsizeyn"/>
- <col ref="reqdeptcd"/>
- <col ref="reqdeptnm"/>
- <col ref="reqpsn"/>
- <col ref="reqpsnnm"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="nonusetretresn"/>
- <col ref="cmt"/>
- <col ref="lastpurcdd" format="yyyy-mm-dd"/>
- <col ref="purcflag"/>
- <col ref="purcflagnm"/>
- <col ref="maincustlastsuplplce"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="conflag"/>
- <col ref="fromconterm" format="yyyy-mm-dd"/>
- <col ref="toconterm" format="yyyy-mm-dd"/>
- <col ref="addtaxrate" format="#,###"/>
- <col ref="estmamt" format="#,###"/>
- <col ref="forgncurncyunitcost" format="#,###"/>
- <col ref="curncyunit"/>
- <col ref="goodunitcost" format="#,###"/>
- </datagrid>
- <switch id="switch1" style="left:0px; top:180px; width:535px; height:410px; ">
- <case id="case6" selected="true">
- <datagrid id="grd_goodlist" nodeset="/root/main/list/goodlists/goodlist" class="datagrid2" caption="기관물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^구매구분^창고구분^제품단가^EDI코드^포장구성
단위^청구방법^청구
주기^주거래처명^보조거래처명^수가
여부^ALLSIZE
여부^불용
여부^단가계약
여부^단가계약기간
From^단가계약기간
To^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^주거래처 코드^보조거래처 코드^구매구분^청구방법^청구기준^청구기준^최초생성일^최종구매일^최소처방
수량^신청부서^신청자^비고^구코드^처방단위^처방/수불
환산수량^수불단위^수불/구매
환산수량^구매단위^비고2^청구주기^기관코드^AllSizeCount^수가전송여부^적용기관데이터^Set여부^세트여부^주사용부서코드^사용부서^제조국^계정과목^계정과목명^외화단가^화폐단위^계약구분^적용일자^관리부서 코드^관리부서^임의청구구분^SET발주구분^GROUP구분^재고관리기준^분할사용여부^분할사용수치^종료일자^불용사유^신청부서^신청자^월평균예정사용량^물품위치코드^청구수량고정배수" colsep="^" colwidth="81, 0, 176, 0, 0, 60, 60, 56, 80, 70, 67, 64, 65, 32, 81, 92, 31, 56, 32, 54, 85, 85, 0, 0, 72, 0, 0, 80, 0, 80, 0, 50, 50, 50, 0, 0, 0, 80, 71, 75, 56, 69, 49, 100, 71, 57, 73, 56, 100, 62, 100, 0, 34, 50, 24, 22, 20, 58, 14, 80, 100, 63, 100, 66, 56, 70, 61, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" navindex="32" style="left:0px; top:0px; width:533px; height:406px; ">
- <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
- <col ref="goodflag" visibility="hidden" _key="true"/>
- <col ref="goodnm" type="output" _key="true"/>
- <col ref="goodhngnm" type="output" visibility="hidden" _key="true"/>
- <col ref="goodengnm" type="output" visibility="hidden"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="purcflagnm" style="text-align:center; "/>
- <col ref="wareflagnm"/>
- <col ref="goodunitcost" format="#,###.##" style="text-align:right; "/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="setunit"/>
- <col ref="reqmthdnm" style="text-align:center; "/>
- <col ref="reqpridnm" style="text-align:center; "/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustnm"/>
- <col ref="insuyn" style="text-align:center; "/>
- <col ref="allsizeyn" visibility="hidden" style="text-align:center; "/>
- <col ref="nongoodcdflag" style="text-align:center; "/>
- <col ref="costconyn" style="text-align:center; "/>
- <col ref="fromconterm" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="toconterm" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="asetflag" type="output"/>
- <col ref="prodcmpycd" type="output"/>
- <col ref="prodcmpynm"/>
- <col ref="edicd"/>
- <col ref="lrgcd" type="output"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd" type="output"/>
- <col ref="mdlnm"/>
- <col ref="smlcd" type="output"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="maincustlastsuplplce" type="output" visibility="hidden"/>
- <col ref="suppcustcd" type="output" visibility="hidden"/>
- <col ref="purcflag" type="output"/>
- <col ref="reqmthd" type="output"/>
- <col ref="reqflag" type="output"/>
- <col ref="reqflagnm" visibility="hidden"/>
- <col ref="frgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastpurcdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="minexch" style="text-align:center; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqpsnm" style="text-align:center; "/>
- <col ref="cmt"/>
- <col ref="oldcd"/>
- <col ref="prcpunit" style="text-align:center; "/>
- <col ref="prcpexchqty" style="text-align:center; "/>
- <col ref="deliveunit" style="text-align:center; "/>
- <col ref="exchqty" style="text-align:center; "/>
- <col ref="purcunit" style="text-align:center; "/>
- <col ref="comnm"/>
- <col ref="reqprid" type="output"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="allsizecnt" visibility="hidden"/>
- <col ref="calcscorinfotranyn" visibility="hidden"/>
- <col ref="appinstdata" visibility="hidden"/>
- <col ref="mngtflag" visibility="hidden"/>
- <col ref="mngtflagnm" visibility="hidden"/>
- <col ref="mainusedeptcd" visibility="hidden"/>
- <col ref="mainusedeptnm" visibility="hidden"/>
- <col ref="prodplcenm" visibility="hidden"/>
- <col ref="winacnt" visibility="hidden"/>
- <col ref="winacntnm" visibility="hidden"/>
- <col ref="forgncurncyunitcost" visibility="hidden"/>
- <col ref="curncyunitnm" visibility="hidden"/>
- <col ref="conflagnm" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="mainmngtdeptcd" visibility="hidden"/>
- <col ref="mainmngtdeptnm" visibility="hidden"/>
- <col ref="tmpreqflag" visibility="hidden"/>
- <col ref="setplceordflagnm" visibility="hidden"/>
- <col ref="proddrugsetflagnm" visibility="hidden"/>
- <col ref="stocmngtflagnm" visibility="hidden"/>
- <col ref="reuseyn" visibility="hidden"/>
- <col ref="divusenvalqty" visibility="hidden"/>
- <col ref="todd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="nonusetretresn" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqpsn" visibility="hidden"/>
- <col ref="mmavgusescheqty" visibility="hidden"/>
- <col ref="goodposcd" visibility="hidden"/>
- <col ref="reqmutpleqty" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fInitUnit(grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("instcd")), grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("goodflag")));
- if (grd_goodlist.rowStatus(grd_goodlist.row) == "1" ||
- grd_goodlist.rowStatus(grd_goodlist.row) == "3") {
- fGoodMastSet();
- }
- else {
- vGoodNew = "U";
- fRetrGoodList(true);
- fMemoListCheck(); //메모존재여부
-
- var edicd = grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("edicd"));
- var goodcd = grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("goodcd"));
- model.setValue("/root/send/goodlist/goodcd",goodcd);
- model.setValue("/root/send/goodlist/edicd",edicd);
- if(edicd != ""){
- submit("TRRSC05319"); // 상한가 정보 조회 2017.06.14 KKR
- var afupperlimit = model.getValue("/root/temp/rscmpric/rscmpricitem/afupperlimit");
- var goodunitcost = model.getValue("/root/main/gooddet/gooddetlist/goodunitcost");
- if(afupperlimit != ""){
- if(goodunitcost != ""){
- if(parseInt(afupperlimit) <parseInt(goodunitcost)){
- ipt_afupperlimit.attribute("background-color") ="#fec3c3";
- }else{
- ipt_afupperlimit.attribute("background-color") ="#ffffff";
- }
- ipt_edicd_search.refresh();
- }
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grd_goodlist.dispatch("onrowchanged");
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case7">
- <datagrid id="grd_instgoodlist" nodeset="/root/main/list/instgoodlists/instgoodlist" class="datagrid2" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^EDI코드^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^기관^적용기관^SET여부^SET여부명" colsep="^" colwidth="78, 0, 176, 0, 0, 60, 60, 69, 0, 0, 80, 0, 0, 80, 0, 80, 0, 80, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:533px; height:406px; ">
- <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
- <col ref="goodflag" visibility="hidden" _key="true"/>
- <col ref="goodnm" type="output" _key="true"/>
- <col ref="goodhngnm" type="output" _key="true"/>
- <col ref="goodengnm" type="output"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="asetflag" type="output"/>
- <col ref="prodcmpycd" type="output"/>
- <col ref="prodcmpynm"/>
- <col ref="oldedicd"/>
- <col ref="lrgcd" type="output"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd" type="output"/>
- <col ref="mdlnm"/>
- <col ref="smlcd" type="output"/>
- <col ref="smlnm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="appinstdata" visibility="hidden"/>
- <col ref="mngtflag" visibility="hidden"/>
- <col ref="mngtflagnm" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_instgoodlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fNewDoubleClick(grd_instgoodlist);
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case9">
- <datagrid id="grd_appinstgoodlist" nodeset="/root/main/list/appinstgoodlists/instgoodlist" class="datagrid2" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^EDI코드^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^기관^적용기관^SET구분^SET구분명" colsep="^" colwidth="80, 0, 176, 0, 0, 60, 60, 73, 0, 0, 80, 0, 0, 80, 0, 80, 0, 80, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:533px; height:406px; ">
- <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
- <col ref="goodflag" visibility="hidden" _key="true"/>
- <col ref="goodnm" type="output" _key="true"/>
- <col ref="goodhngnm" type="output" _key="true"/>
- <col ref="goodengnm" type="output"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="edicd" type="output"/>
- <col ref="asetflag" type="output"/>
- <col ref="prodcmpycd" type="output"/>
- <col ref="prodcmpynm"/>
- <col ref="edicd"/>
- <col ref="lrgcd" type="output"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd" type="output"/>
- <col ref="mdlnm"/>
- <col ref="smlcd" type="output"/>
- <col ref="smlnm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="appinstdata" visibility="hidden"/>
- <col ref="mngtflag" visibility="hidden"/>
- <col ref="mngtflagnm" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_appinstgoodlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fNewDoubleClick(grd_appinstgoodlist);
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case10">
- <caption id="caption70" class="tit_2" style="left:5px; top:8px; width:227px; height:14px; ">통합마스터 기관물품코드 변경 이력</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:22px; x2:533px; y2:22px; "/>
- <datagrid id="grd_rscdtchglist2" nodeset="/root/main/list/rscdtchglist2" caption="기관코드^테이블^테이블명^물품코드^물품명^물품규격^물품모델^EDI코드^수가여부^변경일시^물품분류^물품코드^컬럼^변경항목^컬럼코멘드^변경전변경값^변경전^변경후변경값^변경후^컬럼구분^비고^수정자^수정자명" colsep="^" colwidth="0, 0, 0, 80, 100, 100, 100, 78, 68, 117, 0, 0, 0, 105, 0, 0, 100, 0, 100, 0, 100, 0, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:27px; width:533px; height:379px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="tabname" visibility="hidden"/>
- <col ref="comments" visibility="hidden"/>
- <col ref="goodcd"/>
- <col ref="goodhngnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="edicd"/>
- <col ref="insuyn"/>
- <col ref="changedt"/>
- <col ref="changefl" visibility="hidden"/>
- <col ref="changecd" visibility="hidden"/>
- <col ref="colname"/>
- <col ref="colcomt"/>
- <col ref="colcomt2"/>
- <col ref="oldvalue"/>
- <col ref="oldvalnm"/>
- <col ref="newvalue"/>
- <col ref="newvalnm"/>
- <col ref="colflag"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtridnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var ChgGoodCD = model.getValue("/root/main/list/rscdtchglist2["+grd_rscdtchglist2.row+"]/goodcd");
-
- model.setValue("/root/send/goodlist/goodcd",ChgGoodCD);
- ipt_goodcd_search.refresh();
- btn_instgood.dispatch("DOMActivate");
- btn_instgood.selected = true;
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rscdtchglist2.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_clear" class="btn4_letter3" style="left:1124px; top:1px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize("init");
- ]]>
- </script>
- </button>
- <datagrid id="grd_gooddetlist" nodeset="/root/main/list/gooddet/gooddetlist" visibility="hidden" caption="물품코드^사용일자TO^기관코드^사용일자FR^사용일자FrOLD^사용여부^물품구분^물품구분명^물품명^물품명^영문명^물품명^물품규격^모델^물품규격^모델^자산구분^자산구분명^대분류코드^대분류코드명^중분류코드^중분류코드명^소분류코드^소분류코드명^SET구분^SET구분명^계정코드^계정코드명^비용계정^비용계정명^주관리부서코드^주관리부서명^주사용부서코드^주사용부서명^구매연결코드^재고관리기준^재고관리기준명^입고단위^입고단위^수불단위^수불단위^환산배수^환산배수^최소환산수량^재사용여부^재사용여부명^분할사용수치^수가정보등록상태^수가정보등록일자^보험여부^EDI코드^EDI코드^신규등록일자^신청부서코드^신청부서명^신청자id^신청자명^청구기준^청구기준명^청구방법^청구방법명^청구주기^청구주기명^내외자구분^제조국^제조국명^제조회사코드^제조회사코드^제조회사명^최종공급처^최종공급처^최종공급처^보조거래처코드^보조거래처코드^보조거래처명^계약구분^계약구분명^계약기간from^계약기간to^견적가^외화단가^화폐단위^화폐단위^제품단가^제품단가^구매구분^구매구분명^ALLSIZE유무^SET발주구분^SET발주구분명^발주기준^발주량생성구분^발주불용일자^부가세율^최종구매일자^불용처리사유^관리구분^보나에스코드^규제약품여부^마약/향정구분^고가여부^함량단위^함량용량^규격용량^약품종류^공동구매여부^자동이송-약국^보관방법^특별약품^일반-전문^복지부분류^복지부분류^제형^성분^제한약품여부^비고^안전재고적용일자^안전재고량^일평균사용량^월평균사용예정량^월평균사용량^적정재고보유일수^최초등록자id^최초등록일시^최종수정자id^최종수정일시^최종수정자^임시청구구분^납품가^구코드^수가단위^수가환산수량^보험단가^원산지^규격단위^실보관방법^성분명칭^포장수량^처방수량^중앙공급실용도^약품납품가^AllSizeCount^calcscorinfotranyn^caption1^caption2^caption3^caption4^caption5^caption6^caption7" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="34" style="left:65px; top:260px; width:340px; height:90px; ">
- <col ref="goodcd"/>
- <col ref="todd"/>
- <col ref="instcd"/>
- <col ref="fromdd"/>
- <col ref="prefromdd"/>
- <col ref="useyn"/>
- <col ref="goodflag"/>
- <col ref="goodflagnm"/>
- <col ref="goodnm"/>
- <col ref="pregoodnm"/>
- <col ref="goodhngnm"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="pregoodspec"/>
- <col ref="pregoodmodel"/>
- <col ref="asetflag"/>
- <col ref="asetflagnm"/>
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="proddrugsetflag"/>
- <col ref="proddrugsetflagnm"/>
- <col ref="winacnt"/>
- <col ref="winacntnm"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="mainmngtdeptcd"/>
- <col ref="mainmngtdeptnm"/>
- <col ref="mainusedeptcd"/>
- <col ref="mainusedeptnm"/>
- <col ref="purclnkgoodcd"/>
- <col ref="stocmngtflag"/>
- <col ref="stocmngtflagnm"/>
- <col ref="purcunit"/>
- <col ref="prepurcunit"/>
- <col ref="deliveunit"/>
- <col ref="predeliveunit"/>
- <col ref="exchqty"/>
- <col ref="preexchqty"/>
- <col ref="minexch"/>
- <col ref="reuseyn"/>
- <col ref="reuseynnm"/>
- <col ref="divusenvalqty"/>
- <col ref="calcscorinfoacptstat"/>
- <col ref="calcscorinfoacptdd"/>
- <col ref="insuyn"/>
- <col ref="edicd"/>
- <col ref="preedicd"/>
- <col ref="newrgstdd"/>
- <col ref="reqdeptcd"/>
- <col ref="reqdeptnm"/>
- <col ref="reqpsn"/>
- <col ref="reqpsnnm"/>
- <col ref="reqflag"/>
- <col ref="reqflagnm"/>
- <col ref="reqmthd"/>
- <col ref="reqmthdnm"/>
- <col ref="reqprid"/>
- <col ref="reqpridnm"/>
- <col ref="iopsnflag"/>
- <col ref="prodplce"/>
- <col ref="prodplcenm"/>
- <col ref="prodcmpycd"/>
- <col ref="preprodcmpycd"/>
- <col ref="prodcmpynm"/>
- <col ref="maincustlastsuplplce"/>
- <col ref="premaincustlastsuplplce"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="presuppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="conflag"/>
- <col ref="conflagnm"/>
- <col ref="fromconterm"/>
- <col ref="toconterm"/>
- <col ref="estmamt"/>
- <col ref="forgncurncyunitcost"/>
- <col ref="curncyunit"/>
- <col ref="curncyunitnm"/>
- <col ref="goodunitcost"/>
- <col ref="pregoodunitcost"/>
- <col ref="purcflag"/>
- <col ref="purcflagnm"/>
- <col ref="allsizeyn"/>
- <col ref="setplceordflag"/>
- <col ref="setplceordflagnm"/>
- <col ref="plceordbase"/>
- <col ref="plceordqtycretflag"/>
- <col ref="plceordnonusedd"/>
- <col ref="addtaxrate"/>
- <col ref="lastpurcdd"/>
- <col ref="nonusetretresn"/>
- <col ref="mngtflag"/>
- <col ref="bnscd"/>
- <col ref="cntrdrugyn"/>
- <col ref="narcflag"/>
- <col ref="expnyn"/>
- <col ref="cntsunit"/>
- <col ref="cntsqty"/>
- <col ref="specvol"/>
- <col ref="drugkind"/>
- <col ref="cooppurcyn"/>
- <col ref="autrampharm"/>
- <col ref="keepmthd"/>
- <col ref="specldrug"/>
- <col ref="gnrlspcl"/>
- <col ref="welfprt"/>
- <col ref="welfprtnm"/>
- <col ref="goodtype"/>
- <col ref="com"/>
- <col ref="limdrugyn"/>
- <col ref="cmt"/>
- <col ref="safestocappdd"/>
- <col ref="safestocqty"/>
- <col ref="ddavguseqty"/>
- <col ref="mmavgusescheqty"/>
- <col ref="mmavguseqty"/>
- <col ref="prprtystocpossndayno"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstdt"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt"/>
- <col ref="lastupdtrnm"/>
- <col ref="tmpreqflag"/>
- <col ref="putrunitcost"/>
- <col ref="oldcd"/>
- <col ref="prcpunit"/>
- <col ref="prcpexchqty"/>
- <col ref="insucost"/>
- <col ref="orgloc"/>
- <col ref="specunit"/>
- <col ref="pemtkeepmthd"/>
- <col ref="comnm"/>
- <col ref="purcqty"/>
- <col ref="prcpqty"/>
- <col ref="csrusecmt"/>
- <col ref="goodpurccost"/>
- <col ref="allsizecnt"/>
- <col ref="calcscorinfotranyn"/>
- <col ref="costconyn"/>
- <col ref="costcondd"/>
- <col ref="wareflag"/>
- <col ref="wareflagnm"/>
- <col ref="usge"/>
- <col ref="goodposcd"/>
- <col ref="reqmutpleqty"/>
- <col ref="msdsflag"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|