12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Cart 물품등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <MnphcagoLists>
- <mnphcagolist>
- <fcheck/>
- <grupcd/>
- <goodcd/>
- <allsizespecid/>
- <goodengnm/>
- <makernm/>
- <goodqty/>
- <payflagcd/>
- <goodspec/>
- <fromdd/>
- <ccrtno/>
- <cartgoodseq/>
- <instcd/>
- <goodcls/>
- <goodmodel/>
- <deliveunit/>
- <prcpunit/>
- <todd/>
- <recstat/>
- <custnm/>
- <useflag/>
- <goodflag/>
- <prcpclscd/>
- <drugmthdspccd/>
- </mnphcagolist>
- </MnphcagoLists>
- <CMnphcagoLists>
- <mnphcagolist>
- <goodcd/>
- <allsizespecid/>
- <goodengnm/>
- <makernm/>
- <goodqty/>
- <payflagcd/>
- <goodspec/>
- <fromdd/>
- <ccrtno/>
- <cartgoodseq/>
- <instcd/>
- <goodcls/>
- <goodmodel/>
- <deliveunit/>
- <prcpunit/>
- <todd/>
- <fcheck/>
- <recstat/>
- <custnm/>
- <useflag/>
- <goodflag/>
- <prcpclscd/>
- <drugmthdspccd/>
- </mnphcagolist>
- </CMnphcagoLists>
- <MnpmcartList>
- <orddeptcd>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </orddeptcd>
- <perfid>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </perfid>
- <ccrtno>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </ccrtno>
- <cp_orddeptcd>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </cp_orddeptcd>
- <cp_perfid>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </cp_perfid>
- <cp_ccrtno>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </cp_ccrtno>
- </MnpmcartList>
- <WorkData>
- <InputGood>
- <goodcd/>
- <allsizespecid/>
- <goodengnm/>
- <makernm/>
- <goodqty/>
- <payflagcd/>
- <goodspec/>
- <fromdd/>
- <ccrtno/>
- <cartgoodseq/>
- <instcd/>
- <goodcls/>
- <goodmodel/>
- <deliveunit/>
- <prcpunit/>
- <todd/>
- <fcheck/>
- <recstat/>
- <custnm/>
- <useflag/>
- <goodflag/>
- <prcpclscd/>
- <drugmthdspccd/>
- <grupcd/>
- <cartgubn/>
- </InputGood>
- <scond>
- <orddept/>
- <ccrtno/>
- <ccrtnonm/>
- <perfdr/>
- <perdrnm/>
- <instcd>012</instcd>
- <useflag>A</useflag>
- <qryflag>1</qryflag>
- <pid/>
- <pidname/>
- <patdata/>
- <opnm/>
- <patinfo/>
- </scond>
- <cond>
- <orddept/>
- <opcd/>
- <opnm/>
- <perfdr/>
- <instcd>012</instcd>
- <useflag>A</useflag>
- <qryflag>1</qryflag>
- <cp_orddept/>
- <cp_perfdr/>
- <cp_ccrtno/>
- <cartgubn>O</cartgubn>
- <rgstyn/>
- <engyn/>
- <hngyn>H</hngyn>
- <opuseflag>Y</opuseflag>
- <insukind/>
- <payflagcd/>
- <grupcd/>
- </cond>
- <codelists>
- <codelist>
- <datacd/>
- <datanm/>
- <ucnt/>
- <ncnt/>
- <tcnt/>
- </codelist>
- </codelists>
- <opPatLists>
- <opPatList>
- <piddata/>
- <pid/>
- <hngnm/>
- <oprsrvno/>
- <ophistno/>
- <instcd/>
- <opstatcd/>
- <oppatflagcd/>
- <opflagcd/>
- <oproomcd/>
- <oproomnm/>
- <recovseqno/>
- </opPatList>
- </opPatLists>
- <MnphcagoLists>
- <mnphcagolist>
- <goodengnm/>
- <makernm/>
- <goodqty/>
- <ccrtno/>
- <cartgoodseq/>
- <instcd/>
- <goodcd/>
- <allsizespecid/>
- <payflagcd/>
- <goodcls/>
- <goodspec/>
- <fromdd/>
- <todd/>
- <fcheck/>
- <recstat/>
- </mnphcagolist>
- </MnphcagoLists>
- <DelMnphcagoLists>
- </DelMnphcagoLists>
- </WorkData>
- <init>
- <drlist>
- <drid/>
- <drnm/>
- </drlist>
- <ComboLists>
- <deptlist/>
- </ComboLists>
- <hardcodeinfo/>
- <M0029list>
- <M0029/>
- </M0029list>
- </init>
- <send/>
- <dummy/>
- <UserData>
- <list/>
- </UserData>
- <temp>
- <perfnm/>
- <opnm/>
- <MnphcagoLists>
- <mnphcagolist>
- <goodcd/>
- <allsizespecid/>
- <goodengnm/>
- <makernm/>
- <goodqty/>
- <payflagcd/>
- <goodspec/>
- <fromdd/>
- <ccrtno/>
- <cartgoodseq/>
- <instcd/>
- <goodcls/>
- <goodmodel/>
- <deliveunit/>
- <prcpunit/>
- <todd/>
- <fcheck/>
- <recstat/>
- <custnm/>
- <useflag/>
- <goodflag/>
- <prcpclscd/>
- <drugmthdspccd/>
- </mnphcagolist>
- </MnphcagoLists>
- <oppatinfo/>
- </temp>
- <main>
- <baseinfo/>
- </main>
- </root>
- </instance>
- <submission id="TRMNP01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/WorkData/codelists"/>
- <submission id="TRMNP01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/WorkData/MnphcagoLists"/>
- <submission id="TRMNP01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/WorkData/opPatLists"/>
- <submission id="TRMNP01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/oppatinfo"/>
- <submission id="TXMNP01600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/dummy"/>
- <submission id="TRMNZ00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/UserData/list"/>
- <submission id="TRMNP00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ComboLists"/>
- <submission id="TRMNP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/drlist"/>
- <submission id="TRMNP04903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hardcodeinfo"/>
- <submission id="TRMND03901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/baseinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fFormInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/SPMNZ001.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP01600.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,4;1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <button id="button14" class="icon_next_month" style="left:848px; top:185px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAttribute(4) ; // 줄이기
- ]]>
- </script>
- </button>
- <button id="button15" class="icon_pre_month" style="left:830px; top:185px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAttribute(5) ; // 늘리기
- ]]>
- </script>
- </button>
- <button id="button11" class="icon_pre_month" style="left:272px; top:308px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAttribute(3) ; // 줄이기
- ]]>
- </script>
- </button>
- <group id="grp_input" visibility="hidden" style="left:290px; top:635px; width:535px; height:103px; ">
- <output id="opt_makernm" ref="/root/WorkData/InputGood/makernm" class="output_fix" style="left:270px; top:55px; width:261px; height:19px; "/>
- <button id="button5" class="icon_search" style="left:175px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGoodCodePopup() ;
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:197px; top:53px; width:70px; height:23px; text-align:center; vertical-align:middle; ">제 조 원</caption>
- <caption id="caption5" class="cell_1" style="left:3px; top:53px; width:85px; height:23px; text-align:center; vertical-align:middle; ">수 량</caption>
- <output id="opt_goodengnm" ref="/root/WorkData/InputGood/goodengnm" class="output_fix" style="left:195px; top:30px; width:337px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:3px; top:28px; width:85px; height:23px; text-align:center; vertical-align:middle; ">물품(처방) 명</caption>
- <line id="line5" class="line_2" style="x1:3px; y1:52px; x2:533px; y2:52px; "/>
- <input id="inp_igoodcd" ref="/root/WorkData/InputGood/goodcd" class="input_default" disabled="true" style="left:91px; top:30px; width:100px; height:19px; "/>
- <input id="inp_igoodqty" ref="/root/WorkData/InputGood/goodqty" class="input_default" disabled="true" style="left:91px; top:55px; width:100px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(); // 현재 인풋값 노드 반영
- fUpdateGood()
- }
- ]]>
- </script>
- </input>
- <caption id="caption12" class="cell_1" style="left:3px; top:78px; width:85px; height:23px; text-align:center; vertical-align:middle; ">급여구분</caption>
- <select1 id="combo1" ref="/root/WorkData/InputGood/payflagcd" class="combo_search" disabled="true" appearance="minimal" style="left:91px; top:82px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>전액본인부담</label>
- <value>1</value>
- </item>
- <item>
- <label>일반</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line11" class="line_2" style="x1:5px; y1:77px; x2:535px; y2:77px; "/>
- <input id="inp_usedate" ref="/root/WorkData/InputGood/fromdd" class="input_default" disabled="true" inputtype="date" style="left:270px; top:81px; width:120px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:197px; top:80px; width:70px; height:23px; text-align:center; vertical-align:middle; ">적용일자</caption>
- <caption id="caption14" class="cell_1" style="left:3px; top:3px; width:85px; height:23px; text-align:center; vertical-align:middle; ">Cart 코드</caption>
- <line id="line14" class="line_2" style="x1:3px; y1:27px; x2:533px; y2:27px; "/>
- <input id="inp_key_ccrtno" ref="/root/WorkData/scond/ccrtno" class="input_search" disabled="true" style="left:91px; top:5px; width:100px; height:19px; "/>
- <output id="inp_key_ccrtnonm" ref="/root/WorkData/scond/ccrtnonm" class="output_fix" style="left:195px; top:5px; width:337px; height:19px; "/>
- </group>
- <group id="grp_sea" style="left:0px; top:2px; width:1194px; height:30px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:221px; top:6px; width:86px; height:17px; ">집도과 :</caption>
- <select1 id="cmb_orddept" ref="/root/WorkData/cond/orddept" class="combo_search" appearance="minimal" style="left:299px; top:6px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ComboLists/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- /* fRemoveNode(1);
- fRemoveNode(2);
- fRemoveNode(3);
- fRemoveNode(8);
-
- model.setValue("/root/WorkData/cond/qryflag", "2" );
- fMnpmcartData_Read( 1, grd_perfid,"/root/WorkData/cond/orddept", "/root/WorkData/cond/perfdr");*/
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- if( model.getValue("/root/WorkData/cond/orddept") == "" ) {
- model.resetInstanceNode("/root/init/drlist");
- model.refresh();
- }else {
- model.copyNode("/root/send/reqdata", "/root/WorkData/cond");
- submit("TRMNP00101");
- addComboItem("cmb_drlist", "전 체", "", "above" );
- }
- ]]>
- </script>
- </select1>
- <caption id="cpt_1" class="search_name" style="left:464px; top:6px; width:86px; height:17px; ">집도의 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/WorkData/cond/qryflag", "2" );
- fMnpmcartData_Read( 1, grd_perfid,"/root/WorkData/cond/orddept", "/root/WorkData/cond/perfdr");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:6px; x2:1107px; y2:24px; "/>
- <caption id="caption3" class="search_name" style="left:730px; top:6px; width:79px; height:17px; ">수술명 :</caption>
- <input id="ipt_ccrtnonm" ref="/root/WorkData/cond/opnm" style="left:805px; top:6px; width:215px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_cartgubn" ref="/root/WorkData/cond/cartgubn" disabled="true" navindex="8" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:99px; top:6px; width:106px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>수술</label>
- <value>O</value>
- </item>
- <item>
- <label>마취</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsetCartGubn();//cart구분이 변경될 때마다 조회조건 및 라벨을 변경
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:9px; top:6px; width:88px; height:17px; ">Cart구분 :</caption>
- <select1 id="cmb_drlist" ref="/root/WorkData/cond/perfdr" appearance="minimal" style="left:545px; top:6px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drlist">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:288px; y2:71px; "/>
- <datagrid id="grd_perfid" nodeset="/root/MnpmcartList/perfid/codelist" caption="사번^이름^전체^등록^미등록" colsep="^" colwidth="70, 70, 40, 40, 42" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:288px; height:224px; ">
- <col ref="datacd"/>
- <col ref="datanm"/>
- <col ref="tcnt" style="text-align:right; "/>
- <col ref="ncnt" style="text-align:right; "/>
- <col ref="ucnt" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ) {
- if (grd_perfid.row == 0)
- return;
-
- fRemoveNode(2);
- fRemoveNode(3);
- fRemoveNode(8);
-
- grd_perfid.rowstyle( grd_perfid.row , "data", "color") = "#2D2DD2";
- model.setValue("/root/temp/perfnm", model.getValue("/root/MnpmcartList/perfid/codelist["+grd_perfid.row+ "]/datanm"));
- model.setValue("/root/WorkData/cond/qryflag", "3" );
- model.removenodeset("/root/MnphcagoLists/mnphcagolist");
- fMnpmcartData_Read( 2, grd_ccrtno,"/root/WorkData/cond/orddept","/root/MnpmcartList/perfid/codelist["+grd_perfid.row+ "]/datacd");
- grd_perfid.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_perfid.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button52" class="btn2_letter3" style="left:769px; top:50px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var execlName = cmb_orddept.label + "-" + model.getValue("/root/temp/perfnm") + "-" + model.getValue("/root/temp/opnm");
- var fileName = window.fileDialog("save", ",", false, execlName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_good.saveExcel(fileName, "SheetName", false, false, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="cpt_2" class="tit_2" style="left:5px; top:56px; width:59px; height:13px; ">집도의</caption>
- <line id="line2" class="line_3" style="x1:0px; y1:741px; x2:288px; y2:741px; "/>
- <caption id="caption1" class="tit_2" style="left:297px; top:56px; width:113px; height:14px; ">Cart 물품내역</caption>
- <line id="line4" class="line_1" style="x1:293px; y1:71px; x2:823px; y2:71px; "/>
- <line id="line12" class="line_3" style="x1:828px; y1:741px; x2:1194px; y2:741px; "/>
- <line id="line6" class="line_3" style="x1:293px; y1:741px; x2:823px; y2:741px; "/>
- <button id="button57" class="icon_pre_month" style="left:409px; top:54px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ln_hide.attribute("visibility") = "hidden";
- grd_cgood.attribute("visibility") = "visible";
- //grp_hide.attribute("visibility") = "hidden";
-
- fSetAttribute(0) ; // 줄이기
- ]]>
- </script>
- </button>
- <button id="button58" class="icon_next_month" style="left:409px; top:54px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ln_hide.attribute("visibility") = "visible";
- grd_cgood.attribute("visibility") = "hidden";
-
- fSetAttribute(1) ; // 넓히기
- ]]>
- </script>
- </button>
- <button id="button12" class="btn_sw" group="tab" selected="true" style="left:828px; top:50px; width:75px; height:22px; ">
- <caption>Cart 복사</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button13" class="btn_sw" group="tab" selected="false" style="left:903px; top:50px; width:75px; height:22px; ">
- <caption>처방복사</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <line id="line16" class="line_1" style="x1:828px; y1:71px; x2:1194px; y2:71px; "/>
- <group id="grp_hide" style="left:824px; top:50px; width:0px; height:20px; "/>
- <switch id="switch1" style="left:828px; top:76px; width:366px; height:104px; ">
- <case id="case1" style="left:0px; top:0px; width:363px; height:660px; ">
- <select1 id="cmb_cp_perfdr" ref="/root/WorkData/cond/cp_perfdr" class="combo_default" appearance="minimal" style="left:263px; top:32px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/MnpmcartList/cp_perfid/codelist">
- <label ref="datanm"/>
- <value ref="datacd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fRemoveNode(6);
- //fRemoveNode(7);
-
- model.setValue("/root/WorkData/cond/cp_ccrtno" ,"");
-
- model.setValue("/root/WorkData/cond/qryflag", "3" );
- fMnpmcartData_Read( 5, cmb_cp_ccrtno,"/root/WorkData/cond/cp_orddept","/root/WorkData/cond/cp_perfdr");
-
- ]]>
- </script>
- </select1>
- <line id="line8" class="line_2" style="x1:1px; y1:53px; x2:362px; y2:53px; "/>
- <select1 id="cmb_cp_orddept" ref="/root/WorkData/cond/cp_orddept" class="combo_default" appearance="minimal" style="left:84px; top:32px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ComboLists/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRemoveNode(5);//집도의
- //fRemoveNode(6);//물품
- //fRemoveNode(7);//Cart코드
- model.setValue("/root/WorkData/cond/cp_perfdr" ,"");
- model.setValue("/root/WorkData/cond/cp_ccrtno" ,"");
-
- model.setValue("/root/WorkData/cond/qryflag", "2" );
- fMnpmcartData_Read( 4, cmb_cp_perfdr,"/root/WorkData/cond/cp_orddept");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cp_ccrtno" ref="/root/WorkData/cond/cp_ccrtno" class="combo_default" appearance="minimal" style="left:84px; top:56px; width:278px; height:19px; ">
- <choices>
- <itemset nodeset="/root/MnpmcartList/cp_ccrtno/codelist">
- <label ref="ophngnm"/>
- <value ref="datacd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fRemoveNode(7);
-
- fMnphcagoRead(1, grd_cgood, model.getValue("/root/WorkData/cond/cp_ccrtno"), "" );
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="cell_1" style="left:2px; top:55px; width:80px; height:23px; text-align:center; vertical-align:middle; ">수 술 명</caption>
- <caption id="caption13" class="cell_1" style="left:2px; top:30px; width:80px; height:23px; text-align:center; vertical-align:middle; ">집 도 과</caption>
- <button id="button10" class="btn2_letter4" style="left:299px; top:4px; width:64px; height:19px; ">
- <caption>새로고침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRemoveNode(4);
- fRemoveNode(5);
- fRemoveNode(6);
- fRemoveNode(7);
- model.setValue("/root/WorkData/cond/cp_orddept","");
- model.setValue("/root/WorkData/cond/cp_perfdr" ,"");
- model.setValue("/root/WorkData/cond/cp_ccrtno" ,"");
-
- model.setValue("/root/WorkData/cond/qryflag", "1" );
- fMnpmcartData_Read( 3, cmb_cp_orddept);
- ]]>
- </script>
- </button>
- <caption id="cpt_3" class="cell_1" style="left:180px; top:30px; width:80px; height:23px; text-align:center; vertical-align:middle; ">집 도 의</caption>
- <line id="line15" class="line_2" style="x1:1px; y1:78px; x2:362px; y2:78px; "/>
- <line id="line7" class="line_3" style="x1:2px; y1:25px; x2:363px; y2:25px; "/>
- </case>
- <case id="case2" selected="true">
- <button id="button16" class="icon_search" navindex="6" style="left:215px; top:53px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPatCodePopup() ;
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/WorkData/scond/pid" class="input_default" style="left:124px; top:52px; width:86px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(); // 현재 인풋값 노드 반영
- OpPatState_Read();
- }
- ]]>
- </script>
- </input>
- <caption id="caption45" class="search_name" style="left:10px; top:53px; width:120px; height:17px; vertical-align:middle; ">등 록 번 호 :</caption>
- <input id="ipt_hngnm" ref="/root/WorkData/scond/pidname" class="output_fix" style="left:234px; top:52px; width:106px; height:19px; "/>
- <caption id="caption44" class="search_name" style="left:10px; top:75px; width:114px; height:17px; font-family:돋움체; ">수술예약일시:</caption>
- <select1 id="cmb_opdd" ref="/root/WorkData/scond/patdata" class="combo_default" appearance="minimal" style="left:124px; top:74px; width:216px; height:19px; ">
- <choices>
- <itemset nodeset="/root/WorkData/opPatLists/opPatList">
- <label ref="piddata"/>
- <value ref="oprsrvno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fRemoveNode(7);
- opIdx = cmb_opdd.selectedIndex + 1;
- var sOprsrvno = model.getValue("/root/WorkData/opPatLists/opPatList["+opIdx+"]/oprsrvno");
-
- if (sOprsrvno != "") {
- fMnphcagoRead(1, grd_cgood, "", "", "C", sOprsrvno);
- }
- ]]>
- </script>
- </select1>
- <caption id="caption18" class="search_name" style="left:10px; top:9px; width:106px; height:17px; font-family:돋움체; ">수 술 명 :</caption>
- <input id="input1" ref="/root/WorkData/scond/opnm" class="input_default" style="left:124px; top:8px; width:216px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(); // 현재 인풋값 노드 반영
- fSearchPatInfo();
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="search_name" style="left:10px; top:32px; width:110px; height:17px; font-family:돋움체; ">환자 리스트:</caption>
- <select1 id="cmb_patinfo" ref="/root/WorkData/scond/patinfo" class="combo_default" appearance="minimal" style="left:124px; top:30px; width:216px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/oppatinfo/oppatlist">
- <label ref="dispnm"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_pid.value = cmb_patinfo.value;
- ipt_hngnm.value = model.getValue("/root/temp/oppatinfo/oppatlist[pid='" + cmb_patinfo.value + "']/hngnm");
- OpPatState_Read();
- ]]>
- </script>
- </select1>
- </case>
- </switch>
- <line id="ln_hide" class="line_1" visibility="hidden" style="x1:295px; y1:71px; x2:1195px; y2:71px; "/>
- <button id="button6" class="btn2_letter5" visibility="hidden" style="left:1071px; top:185px; width:75px; height:19px; ">
- <caption>Cart 복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyGood("A");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter2" style="left:1148px; top:185px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyGood("C");
- ]]>
- </script>
- </button>
- <datagrid id="grd_good" nodeset="/root/MnphcagoLists/mnphcagolist" caption="^그룹^물품코드^물품명^규격^제조원^단위^수량^급비^SIZE^모델" colsep="^" colwidth="25, 50, 65, 148, 58, 55, 35, 30, 60, 35, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:293px; top:76px; width:530px; height:664px; ">
- <col ref="fcheck" type="checkbox"/>
- <col ref="grupcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/baseinfo/baseinfolist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodengnm" style="text-align:left; "/>
- <col ref="goodspec"/>
- <col ref="makernm" style="text-align:left; "/>
- <col ref="prcpunit" style="text-align:center; "/>
- <col ref="goodqty" type="input" style="text-align:right; "/>
- <col ref="payflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0029list/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodmodel"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="ccrtno" visibility="hidden"/>
- <col ref="cartgoodseq" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodcls" visibility="hidden"/>
- <col ref="deliveunit" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="recstat" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="useflag" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="prcpclscd" visibility="hidden"/>
- <col ref="drugmthdspccd" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- model.setValue("/root/WorkData/InputGood/goodqty", model.getValue("/root/MnphcagoLists/mnphcagolist["+grd_good.row+ "]goodqty"));
- if (model.getValue("/root/MnphcagoLists/mnphcagolist["+grd_good.row+ "]/recstat") == "N") {
- model.setValue(ListPathM + "/mnphcagolist["+grd_good.row+"]/recstat", "U");
- }
-
- // inp_igoodqty.value = model.getValue("/root/MnphcagoLists/mnphcagolist["+grd_good.row+ "]goodqty");
- //inp_igoodqty.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_good.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/MnphcagoLists/mnphcagolist["+grd_good.row+ "]/recstat") == "N") {
- model.setValue(ListPathM + "/mnphcagolist["+grd_good.row+"]/recstat", "U");
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_ccrtno" nodeset="/root/MnpmcartList/ccrtno/codelist" autoresize="true" caption="Cart코드^영문명^한글명^개수" colsep="^" colwidth="80, 160, 160, 35, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:331px; width:288px; height:407px; ">
- <col ref="datacd"/>
- <col ref="opengnm"/>
- <col ref="ophngnm"/>
- <col ref="tcnt" style="text-align:right; "/>
- <col ref="ucnt" visibility="hidden"/>
- <col ref="ncnt" visibility="hidden"/>
- <col ref="datanm" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ) {
- if (grd_ccrtno.row == 0)
- return;
-
- fRemoveNode(3);
- fRemoveNode(8);
- fSetAttribute(3) ; // 줄이기
- grd_ccrtno.rowstyle( grd_ccrtno.row , "data", "color") = "#2D2DD2";
- model.makeValue("/root/temp/opnm", model.getValue("/root/MnpmcartList/ccrtno/codelist["+grd_ccrtno.row+ "]/datanm"));
- model.makeValue("/root/WorkData/scond/ccrtno" , model.getValue("/root/MnpmcartList/ccrtno/codelist["+grd_ccrtno.row+ "]/datacd"));
- model.makeValue("/root/WorkData/scond/ccrtnonm", model.getValue("/root/MnpmcartList/ccrtno/codelist["+grd_ccrtno.row+ "]/datanm"));
- fMnphcagoRead(0, grd_good, model.getValue("/root/WorkData/scond/ccrtno"), "" );
- grd_ccrtno.refresh();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ccrtno.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="radio1" ref="/root/WorkData/cond/rgstyn" appearance="full" cols="3" overflow="visible" style="left:180px; top:53px; width:100px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <button id="button9" class="icon_next_month" style="left:272px; top:308px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAttribute(2) ; // 넓히기
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:326px; x2:288px; y2:326px; "/>
- <datagrid id="grd_cgood" nodeset="/root/CMnphcagoLists/mnphcagolist" autoresize="true" caption="^물품명^규격^모델^제조원^단위^수량" colsep="^" colwidth="30, 160, 73, 73, 51, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:828px; top:206px; width:366px; height:534px; ">
- <col ref="fcheck" type="checkbox"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="makernm"/>
- <col ref="prcpunit" style="text-align:center; "/>
- <col ref="goodqty" style="text-align:right; "/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="allsizespecid" visibility="hidden"/>
- <col ref="payflagcd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="ccrtno" visibility="hidden"/>
- <col ref="cartgoodseq" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deliveunit" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="recstat" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="useflag" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="prcpclscd" visibility="hidden"/>
- <col ref="drugmthdspccd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cgood.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select id="checkbox1" ref="/root/WorkData/cond/engyn" overflow="visible" appearance="full" cols="2" style="left:130px; top:309px; width:45px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>영문</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var hngyn = model.getValue("/root/WorkData/cond/hngyn");
- var engyn = model.getValue("/root/WorkData/cond/engyn");
-
- if( grd_ccrtno.attribute("width") == "288px" ){
- if( engyn == "E" ) {
- grd_ccrtno.colwidth(1) = "160";
- }else {
- grd_ccrtno.colwidth(1) = "0";
- }
- }
- grd_ccrtno.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption4" class="tit_2" style="left:4px; top:310px; width:113px; height:14px; ">수술명</caption>
- <select id="checkbox2" ref="/root/WorkData/cond/hngyn" overflow="visible" appearance="full" cols="2" style="left:175px; top:309px; width:45px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>한글</label>
- <value>H</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var hngyn = model.getValue("/root/WorkData/cond/hngyn");
- var engyn = model.getValue("/root/WorkData/cond/engyn");
-
- if( grd_ccrtno.attribute("width") == "288px" ){
- if( hngyn == "H" ) {
- grd_ccrtno.colwidth(2) = "160";
- }else {
- grd_ccrtno.colwidth(2) = "0";
- }
- }
- grd_ccrtno.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption9" class="search_name" style="left:82px; top:53px; width:101px; height:17px; ">물 품 등 록:</caption>
- <!--KNUH 20101114 start visible="hidden"추가-->
- <button id="button17" class="btn2_letter2" visibile="hidden" style="left:723px; top:50px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("개발 중입니다.!", "I000");
- ]]>
- </script>
- </button>
- <!--KNUH 20101114 end-->
- <select1 id="radio2" ref="/root/WorkData/cond/opuseflag" appearance="full" cols="3" overflow="visible" style="left:180px; top:34px; width:100px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption16" class="search_name" style="left:82px; top:34px; width:99px; height:17px; ">수술명사용:</caption>
- <select1 id="cmb_grupcd" ref="/root/WorkData/cond/grupcd" appearance="minimal" style="left:460px; top:50px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/basecodeinfo/baseinfolist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fMnphcagoRead(0, grd_good, model.getValue("/root/WorkData/scond/ccrtno"), "" );
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn5_letter2" style="left:723px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("1"); // 저장
- /* var cRow = grd_ccrtno.row;
-
- fRemoveNode(2);
-
- model.setValue("/root/WorkData/cond/qryflag", "3" );
- fMnpmcartData_Read( 2, grd_ccrtno,"/root/WorkData/cond/orddept","/root/MnpmcartList/perfid/codelist["+grd_perfid.row+ "]/datacd");
-
- grd_ccrtno.row = cRow;*/
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:677px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteGood();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:609px; top:50px; width:64px; height:19px; ">
- <caption>물품찾기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGoodCodePopup() ;
-
- // fInsertGood();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">Cart 물품등록</caption>
- <caption id="caption17" style="left:1155px; top:760px; width:35px; height:20px; text-align:right; ">[표]</caption>
- </xhtml:body>
- </xhtml:html>
|