1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227 |
- <?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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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_manage>
- <mngdrug>
- <druglist>
- <sel/>
- <drgprcpstat/>
- <drgoproomnm/>
- <drgpid/>
- <drgpatnm/>
- <drgprcpcd/>
- <drgprcpnm/>
- <drgprcpqty/>
- <drgprcpodrnm/>
- <drgdelivenm/>
- <drgdrugrcptrnm/>
- <drgmemo/>
- <drgdeliveid/>
- <drgdelivedd/>
- <drgcartgubn/>
- <drgoprsrvno/>
- <drgordseq/>
- <drgdrugrcptdd/>
- <scgubn/>
- </druglist>
- <opschedd>
- <opdd/>
- </opschedd>
- <drugstatchk>
- <chktype/>
- </drugstatchk>
- <drugsend/>
- <drugbrwprdt/>
- </mngdrug>
- <mngerdrug>
- <erdruglist>
- <sel/>
- <edrgprcpstat/>
- <edrgoproomnm/>
- <edrgpid/>
- <edrgpatnm/>
- <edrggoodcd/>
- <edrggoodnm/>
- <edrgprcpqty/>
- <edrgprcpodrnm/>
- <edrgdelivenm/>
- <edrgrcptrnm/>
- <edrgmemo/>
- <edrgoproomcd/>
- <edrgdeliveid/>
- <edrgdelivedd/>
- <edrgcartgubn/>
- <edrgoprsrvno/>
- <edrgerprcpflag/>
- <edrgdeliveyn/>
- <edrgordseq/>
- <edrgrcptdd/>
- <edrgallsizespecid/>
- <edrgseqno/>
- <scgubn/>
- </erdruglist>
- <opschedd>
- <opdd/>
- </opschedd>
- <erdrugstatchk>
- <erdchktype/>
- <barcd/>
- <recvdd/>
- <recvtm/>
- <autorgstyn>Y</autorgstyn>
- <delflag>2</delflag>
- </erdrugstatchk>
- <erdrgsend/>
- <erdrgsaveinfo/>
- </mngerdrug>
- <mngequip>
- <eqlist>
- <eqpassyn/>
- <eqoutworkdd/>
- <eqpassdd/>
- <eqequiptype/>
- <eqowncd/>
- <eqequipnm/>
- <eqoutworkrpt/>
- <eqcunltdeptnm/>
- <eqcunltrnm/>
- <eqcallyn/>
- <eqpassdept/>
- <eqetcrec/>
- <histno/>
- <eqpassdeptnm/>
- </eqlist>
- <outworkdd>
- <owkfrdd/>
- <owktodd/>
- </outworkdd>
- <mngpassynchk>
- <chktype/>
- <srchflag>1</srchflag>
- <data/>
- </mngpassynchk>
- <mngsend/>
- </mngequip>
- <mngsetcnt>
- <cntlist>
- <sntpassyn/>
- <sntmissdd/>
- <sntpassdd/>
- <sntptype/>
- <sntpnm/>
- <sntmissresn/>
- <sntpassway/>
- <histno/>
- </cntlist>
- <missdd>
- <msfrdd/>
- <mstodd/>
- </missdd>
- <cntpassynchk>
- <chktype/>
- </cntpassynchk>
- <sntsend/>
- </mngsetcnt>
- <mngopready>
- <opreadylist>
- <oprdrdstat/>
- <oprddeptcd/>
- <oprdrmno/>
- <oprdincdd/>
- <oprdinctm/>
- <oprdschdd/>
- <oprdeqipnm/>
- <oprdstrstat/>
- <oprdrcvrnm/>
- <oprdenddd/>
- <oprdatrend/>
- <oprdatrendrnm/>
- <oprdmemo/>
- <oprdhistno/>
- <oprddeptcdnm/>
- <oprdstrstatnm/>
- <oprdatrendnm/>
- <oprduseyn/>
- <oprdrcvrid/>
- <oprdatrendrid/>
- </opreadylist>
- <schdd>
- <schfrdd/>
- <schtodd/>
- </schdd>
- <opreadynchk>
- <chktype/>
- </opreadynchk>
- <oprdsend/>
- </mngopready>
- <mngborwprodt>
- <brpdtlist>
- <brptpassyn/>
- <brptbrdd/>
- <brptpassdd/>
- <brptequipnm/>
- <brptdeptnm/>
- <brptbrwrnm/>
- <brptphno/>
- <brptrendrnm/>
- <brptrcvrnm/>
- <brptmemo/>
- <brpthistno/>
- <brptuseyn/>
- <brptrendrid/>
- <brptrcvrid/>
- </brpdtlist>
- <brdd>
- <brfrdd/>
- <brtodd/>
- </brdd>
- <borwpassynchk>
- <chktype/>
- </borwpassynchk>
- <bwptsend/>
- </mngborwprodt>
- </main_manage>
- <main_chklst>
- <chklists>
- <dutylist1/>
- <dutylist2/>
- <dutylist3/>
- </chklists>
- <datechk>
- <workdd/>
- <workweek/>
- </datechk>
- <chksend/>
- <chksaveinfo>
- <dutychkinfo>
- <dutylist/>
- </dutychkinfo>
- </chksaveinfo>
- <dutytable>
- <daynm/>
- <evenm/>
- <nightnm/>
- </dutytable>
- </main_chklst>
- <init>
- </init>
- <send>
- </send>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <code>
- <codeinfo/>
- </code>
- <mnwmcode/>
- <prtemp>
- <chklistsprt/>
- </prtemp>
- <main_purc>
- <cond>
- <opcnfmfrdd/>
- <opcnfmtodd/>
- <oproomcd/>
- <refdeptflag>O</refdeptflag>
- <orddept/>
- <oprosette/>
- <custnm/>
- <pid/>
- <perfdrid/>
- <status/>
- <orddept/>
- <suplplcenm/>
- <instcd/>
- <goodcd/>
- <goodnm/>
- </cond>
- <mnphccolinfo>
- <mnphccollist>
- <chkyn/>
- </mnphccollist>
- </mnphccolinfo>
- <fileinfo/>
- </main_purc>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //fFormInit();
- ]]>
- </script>
- <submission id="TRMNP00585" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngequip/mngsend" resultref="/root/main_manage/mngequip/eqlist"/>
- <submission id="TXMNP00585" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngequip/mngsend/saveeqlist" resultref="/root/temp"/>
- <submission id="TRMNP00587" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngsetcnt/sntsend" resultref="/root/main_manage/mngsetcnt/cntlist"/>
- <submission id="TXMNP00587" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngsetcnt/sntsend/mngsnt" resultref="/root/temp"/>
- <submission id="TRMNP00571" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_chklst/chksend" resultref="/root/main_chklst/chklists"/>
- <submission id="TXMNP00571" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_chklst/chksend/savedata/dutylist" resultref="/root/main_chklst/chklists"/>
- <submission id="TRMNP00581" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngdrug/drugsend" resultref="/root/main_manage/mngdrug/druglist"/>
- <submission id="TXMNP00581" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngdrug/drugsaveinfo" resultref="/root/temp"/>
- <submission id="TRMNP00583" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngerdrug/erdrgsend" resultref="/root/main_manage/mngerdrug/erdruglist"/>
- <submission id="TXMNP00583" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngerdrug/erdrgsaveinfo" resultref="/root/temp"/>
- <submission id="TXMNP00584" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/barcdinfo" resultref="/root/temp"/>
- <submission id="TRMNP00572" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_chklst/chksend" resultref="/root/main_chklst/dutytable"/>
- <submission id="TRMNP00582" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngopready/oprdsend" resultref="/root/main_manage/mngopready/opreadylist"/>
- <submission id="TRMNP00586" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngborwprodt/bwptsend" resultref="/root/main_manage/mngborwprodt/brpdtlist"/>
- <submission id="TXMNP00582" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngopready/oprdsend/severdlist" resultref="/root/temp"/>
- <submission id="TXMNP00586" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_manage/mngborwprodt/bwptsend/sevebrwprdtlist" resultref="/root/temp"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/code/codeinfo"/>
- <submission id="TRMNP00584" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main_chklst/chksend" resultref="/root/prtemp/chklistsprt"/>
- <!-- 수술방정보-->
- <submission id="TRMNP03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/oproomlist"/>
- <!--Rossete정보-->
- <submission id="TRMNP03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rosettelist"/>
- <!--집도과정보, 수술방, 카트상태-->
- <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="TRMNP00591" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main_purc/mnphccolinfo"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/barcdprntsetup"/>
- <submission id="TXMNP00591" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/savedata" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP00590.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/SPMNP00001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,5;" style="font-family:Courier New; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1179px; height:20px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">수술실 인계</caption>
- </group>
- <group id="group2" style="left:4px; top:20px; width:1176px; height:735px; ">
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:3px; width:100px; height:22px; ">
- <caption>수술실 게시판</caption>
- <toggle case="board" ev:event="onclick"/>
- </button>
- <button id="button7" class="btn_sw" group="tab" selected="false" style="left:240px; top:3px; width:165px; height:22px; ">
- <caption>약품 및 응급처방물품 관리</caption>
- <toggle case="manage" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFormInit("manage");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn_sw" group="tab" selected="false" style="left:545px; top:3px; width:105px; height:22px; ">
- <caption>업무 체크리스트</caption>
- <toggle case="chklist" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFormInit("chklist");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:25px; width:1165px; height:700px; ">
- <case id="board" selected="true" style="left:0px; top:0px; width:1178px; height:703px; ">
- <!--caption id="caption1" style="left:85px; top:40px; width:100px; height:20px; ">1</caption> -->
- <import id="import3" src="SMMNP00500_수술실 간호게시판.xrw" style="left:120px; top:5px; width:900px; height:800px; "/>
- </case>
- <case id="manage" style="left:0px; top:0px; width:1168px; height:1063px; ">
- <group id="group3" style="left:0px; top:10px; width:1154px; height:335px; ">
- <caption id="caption2" class="tit_1" style="left:5px; top:5px; width:50px; height:13px; ">약품</caption>
- <datagrid id="grd_druglist" nodeset="/root/main_manage/mngdrug/druglist" autoresize="true" caption="^상태^수술방^챠트번호^환자명^처방코드^처방명^수량^처방담당자^불출담당자^수령 확인자^메모^불출자id^불출일시^cartgubn^oprsrvno^ordseq^drugrcptdd^scgubn" colsep="^" colwidth="20, 50, 80, 80, 80, 80, 300, 30, 80, 80, 80, 150, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortmove" mergecellsfixedcols="bycolrec" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1145px; height:270px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col disabled="true" ref="drgprcpstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>처방</label>
- <value>A</value>
- </item>
- <item>
- <label>불출</label>
- <value>B</value>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="drgoproomnm" style="left:65px; top:23px; width:80px; height:23px; text-align:center; "/>
- <col ref="drgpid" style="text-align:center; "/>
- <col ref="drgpatnm" style="text-align:center; "/>
- <col ref="drgprcpcd" style="text-align:center; "/>
- <col ref="drgprcpnm"/>
- <col ref="drgprcpqty" style="text-align:center; "/>
- <col ref="drgprcpodrnm" style="text-align:center; "/>
- <col ref="drgdelivenm" style="text-align:center; "/>
- <col ref="drgdrugrcptrnm" style="text-align:center; "/>
- <col ref="drgmemo" type="input"/>
- <col ref="drgdeliveid"/>
- <col ref="drgdelivedd"/>
- <col ref="drgcartgubn"/>
- <col ref="drgoprsrvno"/>
- <col ref="drgordseq"/>
- <col ref="drgdrugrcptdd"/>
- <col ref="scgubn"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = grd_druglist.rows ;
-
- if (grd_druglist.col == 1 ){
- for(var i = grd_druglist.fixedRows ; i < rows ; i++){
- if(model.getValue("/root/main_manage/mngdrug/druglist[" + i + "]/sel") == "Y"){
- grd_druglist.rowstatus(i) = 2 ;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:699px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="radio1" ref="/root/main_manage/mngdrug/drugstatchk/chktype" dropmode="false" appearance="full" cellspacing="8" cols="4" direction="acrossdown" overflow="visible" style="left:20px; top:30px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방</label>
- <value>A</value>
- </item>
- <item>
- <label>불출</label>
- <value>B</value>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- <item>
- <label>전체</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <button id="button4" class="btn3_letter4" style="left:965px; top:27px; width:80px; height:22px; ">
- <caption>수령확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrugListRcpt("Save");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter4" style="left:1055px; top:27px; width:80px; height:22px; ">
- <caption>수령취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrugListRcpt("Cancel");
- ]]>
- </script>
- </button>
- <input id="inp_opddfr" ref="/root/main_manage/mngdrug/opschedd/opdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:315px; top:28px; width:88px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:245px; top:29px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">일자 :</caption>
- <button id="button10" class="btn1_letter2" style="left:571px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrugListSrch()
- ]]>
- </script>
- </button>
- <button id="button17" class="btn1_letter2" style="left:631px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrugListPrt()
- ]]>
- </script>
- </button>
- <button id="button19" class="btn5_letter6" style="left:70px; top:3px; width:86px; height:19px; ">
- <caption>기준자료등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNP00580");
- ]]>
- </script>
- </button>
- <button id="button23" class="btn4_letter6" style="left:835px; top:27px; width:104px; height:22px; ">
- <caption>Memo 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrugListRcpt("Memo");
- ]]>
- </script>
- </button>
- <button id="button25" class="btn2_letter2" style="left:420px; top:27px; width:42px; height:19px; ">
- <caption>어제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
- model.setValue("/root/main_manage/mngdrug/opschedd/opdd", sCalcdd);
-
- inp_opddfr.refresh();
- ]]>
- </script>
- </button>
- <button id="button26" class="btn2_letter2" style="left:465px; top:27px; width:42px; height:19px; ">
- <caption>오늘</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- model.setValue("/root/main_manage/mngdrug/opschedd/opdd", sChkdd);
-
- inp_opddfr.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:345px; width:1154px; height:350px; ">
- <caption id="caption3" class="tit_1" style="left:5px; top:5px; width:100px; height:13px; ">응급처방물품</caption>
- <datagrid id="grd_erdruglist" nodeset="/root/main_manage/mngerdrug/erdruglist" class="datagrid2" autoresize="true" caption="^상태^수술방^챠트번호^환자명^처방코드^처방명^수량^처방
담당자^불출
담당자^수령
확인자^메모^바코드번호^deyn^oproomcd^deliveid^delivedd^cartgubn^oprsrvno^erprcpflag^deliveyn^ordseq^rcptdd^allsezespecid^seqno^확인, 취소 구분" colsep="^" colwidth="20, 40, 50, 70, 60, 80, 348, 30, 60, 60, 60, 150, 79, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:80px; width:1145px; height:268px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col disabled="true" ref="edrgprcpstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>처방</label>
- <value>A</value>
- </item>
- <item>
- <label>불출</label>
- <value>B</value>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="edrgoproomnm" style="text-align:center; "/>
- <col ref="edrgpid" style="text-align:center; "/>
- <col ref="edrgpatnm" style="text-align:center; "/>
- <col ref="edrggoodcd" style="text-align:center; "/>
- <col ref="edrggoodnm" style="text-align:left; "/>
- <col ref="edrgprcpqty" style="text-align:center; "/>
- <col ref="edrgprcpodrnm" style="text-align:center; "/>
- <col ref="edrgdelivenm" style="text-align:center; "/>
- <col ref="edrgrcptrnm" style="text-align:center; "/>
- <col ref="edrgmemo" type="input"/>
- <col ref="barcdno" style="text-align:center; "/>
- <col ref="delyn" visibility="hidden"/>
- <col ref="edrgoproomcd"/>
- <col ref="edrgdeliveid"/>
- <col ref="edrgdelivedd"/>
- <col ref="edrgcartgubn"/>
- <col ref="edrgoprsrvno"/>
- <col ref="edrgerprcpflag"/>
- <col ref="edrgdeliveyn"/>
- <col ref="edrgordseq"/>
- <col ref="edrgrcptdd"/>
- <col ref="edrgallsizespecid"/>
- <col ref="edrgseqno"/>
- <col ref="scgubn"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = grd_erdruglist.rows ;
-
- if (grd_erdruglist.col == 1 ){
- for(var i = grd_erdruglist.fixedRows ; i < rows ; i++){
- if(model.getValue("/root/main_manage/mngerdrug/erdruglist[" + i + "]/sel") == "Y"){
- grd_erdruglist.rowstatus(i) = 2 ;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn3_letter4" style="left:1070px; top:57px; width:80px; height:22px; ">
- <caption>수령취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fERDrugListRcpt("Cancel");
- ]]>
- </script>
- </button>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:22px; width:867px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_erdrugfr" ref="/root/main_manage/mngerdrug/opschedd/opdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:385px; top:28px; width:88px; height:19px; "/>
- <button id="button5" class="btn3_letter4" style="left:990px; top:57px; width:80px; height:22px; ">
- <caption>수령확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fERDrugListRcpt("Save");
- // model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:325px; top:28px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">일자 :</caption>
- <select1 id="radio2" ref="/root/main_manage/mngerdrug/erdrugstatchk/erdchktype" dropmode="false" appearance="full" cellspacing="8" cols="4" direction="acrossdown" overflow="visible" style="left:105px; top:29px; width:209px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방</label>
- <value>A</value>
- </item>
- <item>
- <label>불출</label>
- <value>B</value>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- <item>
- <label>전체</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <button id="button11" class="btn1_letter2" style="left:735px; top:40px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fERDrugListSrch()
- ]]>
- </script>
- </button>
- <button id="button18" class="btn1_letter2" style="left:795px; top:40px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fERDrugListPrt()
- ]]>
- </script>
- </button>
- <button id="button24" class="btn4_letter5" style="left:897px; top:57px; width:92px; height:22px; ">
- <caption>Memo 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fERDrugListRcpt("Memo");
- ]]>
- </script>
- </button>
- <button id="button29" class="btn2_letter2" style="left:476px; top:28px; width:42px; height:19px; ">
- <caption>어제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
- model.setValue("/root/main_manage/mngerdrug/opschedd/opdd", sCalcdd);
-
- ipt_erdrugfr.refresh();
- ]]>
- </script>
- </button>
- <button id="button30" class="btn2_letter2" style="left:521px; top:28px; width:42px; height:19px; ">
- <caption>오늘</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- model.setValue("/root/main_manage/mngerdrug/opschedd/opdd", sChkdd);
-
- ipt_erdrugfr.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_barcd" ref="/root/main_manage/mngerdrug/erdrugstatchk/barcd" inputtype="button" style="left:105px; top:53px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetErDrugBarcd();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13) {
- inputEnterKey("ipt_barcd", "onbuttonclick");
-
- }
- ]]>
- </script>
- </input>
- <caption id="caption35" class="search_name" style="left:5px; top:53px; width:98px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">바코드번호 :</caption>
- <caption id="caption37" class="search_name" style="left:325px; top:53px; width:82px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수령일시 :</caption>
- <input id="ipt_recvdd" ref="/root/main_manage/mngerdrug/erdrugstatchk/recvdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:409px; top:53px; width:88px; height:19px; text-align:center; "/>
- <input id="ipt_recvtm" ref="/root/main_manage/mngerdrug/erdrugstatchk/recvtm" class="input_search" format="hh:nn" style="left:499px; top:53px; width:38px; height:19px; "/>
- <caption id="caption38" class="search_name" style="left:5px; top:30px; width:101px; height:17px; font-family:굴림체; background-image:../../../com/commonweb/images/search_bullet1.gif; ">상 태:</caption>
- <select id="chk_autorgstyn" ref="/root/main_manage/mngerdrug/erdrugstatchk/autorgstyn" overflow="visible" appearance="full" style="left:205px; top:55px; width:68px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>자동등록</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line1" class="line_4" style="x1:726px; y1:39px; x2:726px; y2:61px; "/>
- <button id="button36" class="btn3_letter5" style="left:897px; top:35px; width:92px; height:22px; ">
- <caption>바코드출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fMakeBarcdData();
- fPrintBarcd();
- ]]>
- </script>
- </button>
- <button id="button37" class="btn3_letter5" style="left:990px; top:35px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var scrnid = "SMMNP00590";
- model.removeNodeset("/root/main/barcdprntsetup");
- fGetBarCodeInfo(scrnid); // CareCom.js
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- modal("SPZUR00300" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- ]]>
- </script>
- </button>
- <select1 id="radio8" ref="/root/main_manage/mngerdrug/erdrugstatchk/delflag" appearance="full" cols="3" overflow="visible" style="left:545px; top:55px; width:180px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>삭제만</label>
- <value>1</value>
- </item>
- <item>
- <label>삭제제외</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption39" style="left:905px; top:5px; width:45px; height:20px; background-color:#ccffff; "/>
- <caption id="caption40" style="left:950px; top:6px; width:105px; height:20px; font-family:돋움체; font-weight:bold; ">삭제된처방</caption>
- </group>
- </case>
- <case id="manage2">
- <group id="group6" style="left:0px; top:10px; width:1154px; height:330px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">수술준비</caption>
- <datagrid id="grd_opready" nodeset="/root/main_manage/mngopready/opreadylist" class="datagrid2" autoresize="true" caption="상태^진료과^수술방^들어온 일시^들어온 일시^수술예정일자^의료기/품명^멸균상태^받은사람^사용완료일자^사용완료후 처리^사용완료
처리담당자^메모^histno^deptcdnm^strstatnm^atrendnm^useyn^rcvrid^atrendrid" colsep="^" colwidth="60, 110, 47, 90, 40, 90, 265, 100, 55, 90, 135, 70, 190, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1145px; height:265px; ">
- <col ref="oprdrdstat" type="combo">
- <choices>
- <item>
- <label>사용완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용예정</label>
- <value>N</value>
- </item>
- <item>
- <label>준비요청</label>
- <value>R</value>
- </item>
- </choices>
- </col>
- <col ref="oprddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/codeinfo/codelist[cdgrupid='327' and supcdid='deptcd']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="oprdrmno" type="input"/>
- <col ref="oprdincdd" type="inputdate"/>
- <col ref="oprdinctm" type="input" format="hh:nn"/>
- <col ref="oprdschdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="oprdeqipnm" type="input"/>
- <col ref="oprdstrstat" type="combo">
- <choices>
- <itemset nodeset="/root/codeinfo/codelist[cdgrupid='327' and supcdid='strstat']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oprdrcvrnm" type="output"/>
- <col ref="oprdenddd" type="inputdate"/>
- <col ref="oprdatrend" type="combo">
- <choices>
- <itemset nodeset="/root/codeinfo/codelist[cdgrupid='327' and supcdid='atrend']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oprdatrendrnm" type="output"/>
- <col ref="oprdmemo" type="input"/>
- <col ref="oprdhistno" type="input"/>
- <col ref="oprddeptcdnm"/>
- <col ref="oprdstrstatnm"/>
- <col ref="oprdatrendnm"/>
- <col ref="oprduseyn"/>
- <col ref="oprdrcvrid"/>
- <col ref="oprdatrendrid"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_opready.col == grd_opready.colRef("oprdincdd")){
- model.setValue("/root/main_manage/mngopready/opreadylist["+ grd_opready.row +"]/oprdrcvrid", getUserId());
- model.setValue("/root/main_manage/mngopready/opreadylist["+ grd_opready.row +"]/oprdrcvrnm", getUserId());
- }else if (grd_opready.col == grd_opready.colRef("oprdenddd")){
- model.setValue("/root/main_manage/mngopready/opreadylist["+ grd_opready.row +"]/oprdatrendrid", getUserId()); //사용완료일자 입력 시 사용완료처리담당자 자동입력.
- model.setValue("/root/main_manage/mngopready/opreadylist["+ grd_opready.row +"]/oprdatrendrnm", getUserId()); // 보여주기 위한 셋팅.(실제 저장되지 않는 항목)
- model.setValue("/root/main_manage/mngopready/opreadylist["+ grd_opready.row +"]/oprdrdstat", "Y"); // 사용완료일자 입력 시 상태 -> 사용완료 로 자동 셋팅 되도록.
-
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect6" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:799px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input5" ref="/root/main_manage/mngopready/schdd/schtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:243px; top:29px; width:88px; height:19px; "/>
- <input id="input6" ref="/root/main_manage/mngopready/schdd/schfrdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:135px; top:29px; width:88px; height:19px; "/>
- <caption id="caption19" class="search_name" style="left:15px; top:30px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수술예정일자 :</caption>
- <caption id="caption22" style="left:227px; top:29px; width:15px; height:19px; ">~</caption>
- <select1 id="radio5" ref="/root/main_manage/mngopready/opreadynchk/chktype" dropmode="false" appearance="full" cellspacing="8" cols="3" direction="acrossdown" overflow="visible" style="left:370px; top:30px; width:280px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>사용완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>준비요청+사용예정</label>
- <value>RN</value>
- </item>
- <!--
- <item>
- <label>준비요청</label>
- <value>R</value>
- </item>
- <item>
- <label>사용예정</label>
- <value>N</value>
- </item>
- -->
- </choices>
- </select1>
- <button id="button22" class="btn3_letter2" style="left:1075px; top:27px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageOprdSave();
- ]]>
- </script>
- </button>
- <button id="btn_opreadylistsrch" class="btn1_letter2" style="left:679px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageOprdSrch();
- ]]>
- </script>
- </button>
- <button id="btn_opreadyadd" class="btn2_letter3" style="left:885px; top:30px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_opready.rows > 1 ){
- grd_opready.insertRow(1, "above");
- }else if (grd_opready.rows == 1){
- grd_opready.addRow(true, true);
- }
-
- grd_opready.valuematrix(grd_opready.row, grd_opready.colRef("oprdincdd")) = model.getValue("/root/main_manage/mngopready/current/currentday");
- grd_opready.valuematrix(grd_opready.row, grd_opready.colRef("oprdinctm")) = model.getValue("/root/main_manage/mngopready/current/currenttime");
- grd_opready.valuematrix(grd_opready.row, grd_opready.colRef("oprdrcvrid")) = getUserId();
- grd_opready.valuematrix(grd_opready.row, grd_opready.colRef("oprdrcvrnm")) = getUserId();
- ]]>
- </script>
- </button>
- <button id="btn_opreadydel" class="btn2_letter3" style="left:940px; top:30px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_opready.row;
- var iCol = grd_opready.col;
-
- grd_opready.deleteRow(iRow);
- ]]>
- </script>
- </button>
- <button id="btn_opreadyexl" class="btn2_letter2" style="left:995px; top:30px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수술준비", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_opready.saveExcel(fileName, "수술준비");
- }
- ]]>
- </script>
- </button>
- <button id="button27" class="btn1_letter2" style="left:744px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageOprdPrt()
- ]]>
- </script>
- </button>
- </group>
- <group id="group8" style="left:0px; top:360px; width:1154px; height:325px; ">
- <caption id="caption23" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">빌려준 기구</caption>
- <datagrid id="grd_brwprdt" nodeset="/root/main_manage/mngborwprodt/brpdtlist" class="datagrid2" autoresize="true" caption="해결여부^대여일자^해결일자^물품^부서^빌려간
사람^연락처^빌려준
사람^받은사람^메모^histno^useyn^rendrid^rcvrid^histno" colsep="^" colwidth="60, 90, 90, 370, 100, 60, 100, 56, 53, 115, 0, 0, 0, 0" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1145px; height:260px; ">
- <col ref="brptpassyn" type="combo">
- <choices>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="brptbrdd" type="inputdate"/>
- <col ref="brptpassdd" type="inputdate"/>
- <col ref="brptequipnm" type="input"/>
- <col ref="brptdeptnm" type="input"/>
- <col ref="brptbrwrnm" type="input"/>
- <col ref="brptphno" type="input"/>
- <col ref="brptrendrnm"/>
- <col ref="brptrcvrnm"/>
- <col ref="brptmemo" type="input"/>
- <col ref="brpthistno"/>
- <col ref="brptuseyn"/>
- <col ref="brptrendrid"/>
- <col ref="brptrcvrid"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_brwprdt.col == grd_brwprdt.colRef("brptbrdd")){
- model.setValue("/root/main_manage/mngborwprodt/brpdtlist["+ grd_brwprdt.row +"]/brptrendrid", getUserId());
- model.setValue("/root/main_manage/mngborwprodt/brpdtlist["+ grd_brwprdt.row +"]/brptrendrnm", getUserId());
- }else if (grd_brwprdt.col == grd_brwprdt.colRef("brptpassdd")){
- model.setValue("/root/main_manage/mngborwprodt/brpdtlist["+ grd_brwprdt.row +"]/brptrcvrid", getUserId()); // 해결일자 입력시 받은사람 자동 셋팅.
- model.setValue("/root/main_manage/mngborwprodt/brpdtlist["+ grd_brwprdt.row +"]/brptrcvrnm", getUserId()); // 보여주기 위한 셋팅.(실제 저장되지 않는 항목)
- model.setValue("/root/main_manage/mngborwprodt/brpdtlist["+ grd_brwprdt.row +"]/brptpassyn", "Y"); // 해결일자 입력시 해결여부 "Y":해결. 자동셋팅.
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect7" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:744px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input7" ref="/root/main_manage/mngborwprodt/brdd/brtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:233px; top:29px; width:88px; height:19px; "/>
- <button id="button28" class="btn3_letter2" style="left:1075px; top:27px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageBrPrtSave();
- ]]>
- </script>
- </button>
- <button id="btn_brwprtlistsrch" class="btn1_letter2" style="left:619px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageBrPrtSrch();
- ]]>
- </script>
- </button>
- <caption id="caption24" style="left:217px; top:29px; width:15px; height:19px; ">~</caption>
- <caption id="caption25" class="search_name" style="left:15px; top:30px; width:103px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">대여일자 :</caption>
- <select1 id="radio6" ref="/root/main_manage/mngborwprodt/borwpassynchk/chktype" dropmode="false" appearance="full" cellspacing="8" cols="3" direction="acrossdown" overflow="visible" style="left:370px; top:30px; width:185px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input8" ref="/root/main_manage/mngborwprodt/brdd/brfrdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:125px; top:29px; width:88px; height:19px; "/>
- <button id="btn_brwprdtadd" class="btn2_letter3" style="left:885px; top:30px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_brwprdt.rows > 1 ){
- grd_brwprdt.insertRow(1, "above");
- }else if (grd_brwprdt.rows == 1){
- grd_brwprdt.addRow(true, true);
- }
-
- grd_brwprdt.valuematrix(grd_brwprdt.row, grd_brwprdt.colRef("brptpassyn")) = 'N';
- ]]>
- </script>
- </button>
- <button id="btn_brwprdtdel" class="btn2_letter3" style="left:940px; top:30px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_brwprdt.row;
- var iCol = grd_brwprdt.col;
-
- grd_brwprdt.deleteRow(iRow);
- ]]>
- </script>
- </button>
- <button id="btn_brwprdtexl" class="btn2_letter2" style="left:995px; top:30px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "빌려준 기구", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_brwprdt.saveExcel(fileName, "빌려준 기구");
- }
- ]]>
- </script>
- </button>
- <button id="button33" class="btn1_letter2" style="left:684px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageBrPrtPrt();
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="manage3">
- <group id="group5" style="left:0px; top:10px; width:1154px; height:330px; ">
- <caption id="caption7" class="tit_1" style="left:5px; top:5px; width:160px; height:13px; ">기구, 장비 및 시설수리</caption>
- <datagrid id="grd_eqlist" nodeset="/root/main_manage/mngequip/eqlist" autoresize="true" caption="해결여부^고장일자^해결일자^품목^자산코드^기구명^고장내용^의뢰부서^의뢰자^연락^해결자^해결자ID^해결부서^메모^histno^passdeptnm" colsep="^" colwidth="60, 90, 90, 60, 60, 265, 160, 100, 60, 30, 80, 0, 0, 167, 0, 0" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1145px; height:265px; ">
- <col ref="eqpassyn" type="combo">
- <choices>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="eqoutworkdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="eqpassdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="eqequiptype" type="combo">
- <choices>
- <item>
- <label>기구</label>
- <value>A</value>
- </item>
- <item>
- <label>장비</label>
- <value>B</value>
- </item>
- <item>
- <label>시설</label>
- <value>C</value>
- </item>
- <item>
- <label>기타</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="eqowncd" type="input"/>
- <col ref="eqequipnm" type="input"/>
- <col ref="eqoutworkrpt" type="input"/>
- <col ref="eqcunltdeptnm" type="input"/>
- <col ref="eqcunltrnm" style="text-align:center; "/>
- <col ref="eqcallyn" type="combo">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="eqpassnm"/>
- <col ref="eqpassid"/>
- <col ref="eqpassdept" type="combo">
- <choices>
- <itemset nodeset="/root/codeinfo/codelist[cdgrupid='328' and supcdid='passdept']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="eqetcrec" type="input"/>
- <col ref="histno"/>
- <col ref="eqpassdeptnm"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_eqlist.col == grd_eqlist.colRef("eqpassdd")){
- model.setValue("/root/main_manage/mngequip/eqlist["+ grd_eqlist.row +"]/eqpassyn","Y");
- model.setValue("/root/main_manage/mngequip/eqlist["+ grd_eqlist.row +"]/eqpassid", getUserInfo("userid"));
- model.setValue("/root/main_manage/mngequip/eqlist["+ grd_eqlist.row +"]/eqpassnm", getUserInfo("usernm"));
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:929px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="inp_opddto" ref="/root/main_manage/mngequip/outworkdd/owktodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:213px; top:29px; width:88px; height:19px; "/>
- <input id="input2" ref="/root/main_manage/mngequip/outworkdd/owkfrdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:29px; width:88px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">고장일자 :</caption>
- <caption id="caption21" style="left:197px; top:29px; width:15px; height:19px; ">~</caption>
- <select1 id="radio3" ref="/root/main_manage/mngequip/mngpassynchk/chktype" dropmode="false" appearance="full" cellspacing="8" cols="3" direction="acrossdown" overflow="visible" style="left:305px; top:30px; width:160px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <button id="btn_eqlistsave" class="btn3_letter2" style="left:1095px; top:32px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageEquipSave();
- ]]>
- </script>
- </button>
- <button id="btn_eqlistsrch" class="btn1_letter2" style="left:815px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageEquipSrch()
- ]]>
- </script>
- </button>
- <button id="btn_eqlistadd" class="btn2_letter3" style="left:940px; top:35px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_eqlist.rows > 1 ){
- grd_eqlist.insertRow(1, "above");
- }else if (grd_eqlist.rows == 1){
- grd_eqlist.addRow(true, true);
- }
-
- grd_eqlist.valuematrix(grd_eqlist.row, grd_eqlist.colRef("eqpassyn")) = 'N';
- ]]>
- </script>
- </button>
- <button id="btn_eqlistdel" class="btn2_letter3" style="left:995px; top:35px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_eqlist.row;
- var iCol = grd_eqlist.col;
-
- grd_eqlist.deleteRow(iRow);
- ]]>
- </script>
- </button>
- <button id="btn_eqlistexl" class="btn2_letter2" style="left:1050px; top:35px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "기구, 장비 및 시설수리", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_eqlist.saveExcel(fileName, "기구, 장비 및 시설수리 ");
- }
-
- ]]>
- </script>
- </button>
- <button id="button14" class="btn1_letter2" style="left:875px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageEquipPrt()
- ]]>
- </script>
- </button>
- <select1 id="radio9" ref="/root/main_manage/mngequip/mngpassynchk/srchflag" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:485px; top:30px; width:205px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>기구명</label>
- <value>1</value>
- </item>
- <item>
- <label>의뢰부서</label>
- <value>2</value>
- </item>
- <item>
- <label>의뢰자</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_data" ref="/root/main_manage/mngequip/mngpassynchk/data" class="input_search" style="left:688px; top:29px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13) {
- inputEnterKey("btn_eqlistsrch", "DOMActivate");
-
- }
- ]]>
- </script>
- </input>
- </group>
- <group id="group7" style="left:0px; top:360px; width:1154px; height:325px; ">
- <caption id="caption9" class="tit_1" style="left:5px; top:5px; width:160px; height:13px; ">Set 및 Single Count</caption>
- <datagrid id="grd_mngsnt" nodeset="/root/main_manage/mngsetcnt/cntlist" autoresize="true" caption="해결여부^Count 일자^해결일자^해결자^해결자ID^종류^기구명^내용^해결방법^histno" colsep="^" colwidth="60, 90, 90, 80, 0, 100, 200, 199, 289, 0" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1145px; height:260px; ">
- <col ref="sntpassyn" type="combo">
- <choices>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="sntmissdd" type="inputdate"/>
- <col ref="sntpassdd" type="inputdate"/>
- <col ref="passnm" style="text-align:center; "/>
- <col ref="passid" visibility="hidden"/>
- <col ref="sntptype" type="combo">
- <choices>
- <item>
- <label>Set</label>
- <value>A</value>
- </item>
- <item>
- <label>Single</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col ref="sntpnm" type="input"/>
- <col ref="sntmissresn" type="input"/>
- <col ref="sntpassway" type="input"/>
- <col ref="histno"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_mngsnt.col == grd_mngsnt.colRef("sntpassdd")){
- model.setValue("/root/main_manage/mngsetcnt/cntlist["+ grd_mngsnt.row +"]/sntpassyn","Y");
- model.setValue("/root/main_manage/mngsetcnt/cntlist["+ grd_mngsnt.row +"]/passid", getUserInfo("userid"));
- model.setValue("/root/main_manage/mngsetcnt/cntlist["+ grd_mngsnt.row +"]/passnm", getUserInfo("usernm"));
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:744px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input3" ref="/root/main_manage/mngsetcnt/missdd/mstodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:233px; top:29px; width:88px; height:19px; "/>
- <button id="btn_mngsetcntsave" class="btn3_letter2" style="left:1075px; top:27px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageSetCntSave();
- ]]>
- </script>
- </button>
- <button id="btn_mngsetcntsrch" class="btn1_letter2" style="left:619px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageSetCntSrch();
-
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:217px; top:29px; width:15px; height:19px; ">~</caption>
- <caption id="caption11" class="search_name" style="left:15px; top:30px; width:103px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">Count 일자 :</caption>
- <select1 id="radio4" ref="/root/main_manage/mngsetcnt/cntpassynchk/chktype" dropmode="false" appearance="full" cellspacing="8" cols="3" direction="acrossdown" overflow="visible" style="left:370px; top:30px; width:185px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>해결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미해결</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="btn_mngsetcntadd" ref="/root/main_manage/mngsetcnt/missdd/msfrdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:125px; top:29px; width:88px; height:19px; "/>
- <button id="button15" class="btn2_letter3" style="left:885px; top:30px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_mngsnt.rows > 1 ){
- grd_mngsnt.insertRow(1, "above");
- }else if (grd_mngsnt.rows == 1){
- grd_mngsnt.addRow(true, true);
- }
-
- grd_mngsnt.valuematrix(grd_mngsnt.row, grd_mngsnt.colRef("sntpassyn")) = 'N';
- ]]>
- </script>
- </button>
- <button id="btn_mngsetcntdel" class="btn2_letter3" style="left:940px; top:30px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_mngsnt.row;
- var iCol = grd_mngsnt.col;
-
- grd_mngsnt.deleteRow(iRow);
- ]]>
- </script>
- </button>
- <button id="btn_mngsetdel" class="btn2_letter2" style="left:995px; top:30px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "Set 및 Single Count", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_mngsnt.saveExcel(fileName, "Set 및 Single Count");
- }
- ]]>
- </script>
- </button>
- <button id="button16" class="btn1_letter2" style="left:684px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fManageSetCntPrt();
-
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="chklist" style="left:0px; top:0px; width:1163px; height:698px; ">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:11px; top:25px; width:404px; height:26px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input4" ref="/root/main_chklst/datechk/workdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:130px; top:28px; width:88px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChklistSrch();
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:20px; top:29px; width:96px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">업무일자 :</caption>
- <caption id="caption12" class="tit_1" style="left:5; top:5; width:89px; height:13px; ">Check List</caption>
- <datagrid id="grd_chk1" nodeset="/root/main_chklst/chklists/dutylist1" visibility="visible" autoresize="true" caption="Day 업무^시행^chkid^dutycd^workdd^caption1" colsep="^" colwidth="290, 55, 100, 100, 100, 100, 100" defaultrows="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:75px; width:380px; height:550px; ">
- <col ref="chknm"/>
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="chkid" visibility="hidden"/>
- <col ref="dutycd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="dutynm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChgRptUserid("grd_chk1");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_chk2" nodeset="/root/main_chklst/chklists/dutylist2" visibility="visible" autoresize="true" caption="Evening 업무^시행^chkid^dutycd^workdd^caption1" colsep="^" colwidth="290, 55, 100, 100, 100, 100, 100" defaultrows="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:390px; top:75px; width:380px; height:550px; ">
- <col ref="chknm"/>
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="chkid" visibility="hidden"/>
- <col ref="dutycd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="dutynm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChgRptUserid("grd_chk2");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_chk3" nodeset="/root/main_chklst/chklists/dutylist3" visibility="visible" autoresize="true" caption="Night 업무^시행^chkid^dutycd^workdd^caption1" colsep="^" colwidth="290, 55, 100, 100, 100, 100, 100" defaultrows="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:775px; top:75px; width:380px; height:550px; ">
- <col ref="chknm"/>
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="chkid" visibility="hidden"/>
- <col ref="dutycd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="dutynm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChgRptUserid("grd_chk3");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_savedutylist" nodeset="/root/main_chklst/chksaveinfo/dutychkinfo/dutylist" class="datagrid" visibility="hidden" autoresize="true" caption="Day^확인^chkid^dutycd^workdd^dutynm" colsep="^" colwidth="10, 10, 10, 10, 10, 10, 10" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:505px; top:5px; width:385px; height:250px; ">
- <col ref="chknm" style="left:20px; top:23px; width:314px; height:23px; "/>
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="chkid" visibility="visible"/>
- <col ref="dutycd" visibility="visible"/>
- <col ref="workdd" visibility="visible"/>
- <col ref="dutynm" visibility="visible"/>
- <col ref="lastupdtrid" visibility="visible"/>
- </datagrid>
- <caption id="caption13" ref="/root/main_chklst/datechk/workweek" style="left:230px; top:30px; width:20px; height:20px; font-weight:bold; text-align:center; "/>
- <caption id="caption14" style="left:250px; top:30px; width:40px; height:20px; font-weight:bold; ">요일</caption>
- <button id="button6" class="btn3_letter2" style="left:1085px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChklistSrch();
- ]]>
- </script>
- </button>
- <caption id="caption15" ref="/root/main_chklst/chksend" style="left:420px; top:25px; width:100px; height:20px; ">caption15</caption>
- <button id="button9" class="btn3_letter2" style="left:1020px; top:30px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChklistsSave();
- ]]>
- </script>
- </button>
- <caption id="caption16" style="left:10px; top:636px; width:49px; height:20px; text-align:right; ">근무자 :</caption>
- <caption id="caption17" style="left:395px; top:636px; width:49px; height:20px; text-align:right; ">근무자 :</caption>
- <caption id="caption18" style="left:781px; top:636px; width:49px; height:20px; text-align:right; ">근무자 :</caption>
- <button id="button12" class="btn2_letter4" style="left:840px; top:30px; width:64px; height:19px; ">
- <caption>기준자료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNP00575");
- fChklistSrch();
- ]]>
- </script>
- </button>
- <textarea id="textarea1" ref="/root/main_chklst/dutytable/daynm" editable="false" style="left:60px; top:635px; width:325px; height:50px; "/>
- <textarea id="textarea2" ref="/root/main_chklst/dutytable/evenm" editable="false" style="left:445px; top:635px; width:325px; height:50px; "/>
- <textarea id="textarea3" ref="/root/main_chklst/dutytable/nightnm" editable="false" style="left:830px; top:635px; width:325px; height:50px; "/>
- <button id="button21" class="btn1_letter2" style="left:910px; top:30px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChklistPrt();
- ]]>
- </script>
- </button>
- <button id="button38" class="btn2_letter2" style="left:330px; top:29px; width:42px; height:19px; font-family:돋움체; ">
- <caption>오늘</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
-
- model.setValue(input4.attribute("ref"), sChkdd);
-
- var chkdd1 = sChkdd.toDate("YYYYMMDD");
-
- var workweek = getDateTime(chkdd1, 'W');
- model.setValue("/root/main_chklst/datechk/workweek", workweek);
-
- input4.refresh();
- caption13.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button39" class="btn2_letter2" style="left:285px; top:29px; width:42px; height:19px; font-family:돋움체; ">
- <caption>어제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
-
- model.setValue(input4.attribute("ref"), sCalcdd);
-
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
-
- var workweek = getDateTime(chkdd1, 'W');
- model.setValue("/root/main_chklst/datechk/workweek", workweek);
-
- input4.refresh();
- caption13.refresh();
- ]]>
- </script>
- </button>
- </case>
- <case id="purc">
- <group id="group9" style="left:0px; top:25px; width:1161px; height:65px; vertical-align:top; ">
- <shape id="roundrect8" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1161px; height:60px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption26" class="search_name" style="left:259px; top:9px; width:83px; height:17px; font-family:돋움체; ">수술일자:</caption>
- <caption id="caption27" class="search_n_b" style="left:439px; top:7px; width:12px; height:17px; font-family:돋움체; font-weight:bolder; ">~</caption>
- <input id="ipt_opcnfmfrdd" ref="/root/main_purc/cond/opcnfmfrdd" class="input_s_essential" inputtype="date" style="left:345px; top:8px; width:92px; height:19px; font-family:돋움체; "/>
- <input id="ipt_opcnfmtodd" ref="/root/main_purc/cond/opcnfmtodd" class="input_s_essential" inputtype="date" style="left:451px; top:8px; width:92px; height:19px; font-family:돋움체; "/>
- <line id="line9" class="line_4" style="x1:1025px; y1:9px; x2:1025px; y2:52px; font-family:돋움체; "/>
- <caption id="caption36" class="search_name" style="left:639px; top:9px; width:98px; height:17px; font-family:돋움체; ">수술방:</caption>
- <select1 id="cmb_oproomcd" ref="/root/main_purc/cond/oproomcd" class="combo_search" appearance="minimal" style="left:772px; top:8px; width:55px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_rosette" ref="/root/main_purc/cond/oprosette" class="combo_search" appearance="minimal" style="left:715px; top:8px; width:55px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/init/rosettelist">
- <label ref="rosettenm"/>
- <value ref="rosettecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/opcnfmdd" ,getCurrentDate().substr(0, 8) );
- model.makeValue("/root/send/rosette" ,model.getValue("/root/main/cond/oprosette"));
- if(submit("TRMNP03002")){ // 수술실코드 가져오기
- addComboItem("cmb_oproomcd","전체","","above");
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main_purc/cond/pid" class="input_search" style="left:919px; top:8px; width:95px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_purc", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption31" class="search_name" style="left:838px; top:9px; width:83px; height:17px; font-family:돋움체; ">등록번호:</caption>
- <button id="button32" class="btn2_letter2" style="left:593px; top:8px; width:42px; height:19px; font-family:돋움체; ">
- <caption>오늘</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
-
- model.setValue(ipt_opcnfmfrdd.attribute("ref"), sChkdd);
- model.setValue(ipt_opcnfmtodd.attribute("ref"), sChkdd);
-
- ipt_opcnfmfrdd.refresh();
- ipt_opcnfmtodd.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button34" class="btn2_letter2" style="left:548px; top:8px; width:42px; height:19px; font-family:돋움체; ">
- <caption>어제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChkdd = getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
-
- model.setValue(ipt_opcnfmfrdd.attribute("ref"), sCalcdd);
- model.setValue(ipt_opcnfmtodd.attribute("ref"), sCalcdd);
-
- ipt_opcnfmfrdd.refresh();
- ipt_opcnfmtodd.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption32" class="search_name" style="left:10px; top:9px; width:68px; height:17px; font-family:돋움체; ">상 태:</caption>
- <select1 id="radio7" ref="/root/main_purc/cond/status" appearance="full" cols="4" overflow="visible" style="left:76px; top:11px; width:175px; height:13px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>처방</label>
- <value/>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>전송</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_purc.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="button35" class="btn1_letter2" style="left:1095px; top:7px; width:56px; height:22px; font-family:돋움체; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
-
- model.makeValue("/root/main_purc/mnphccolinfo/mnphccollist[" + i + "]/statusnm" , grd_mnphccollist.labelMatrix(i, grd_mnphccollist.colRef("status")));
- }
- exeReportPreview("RPMNP00591", "XMLSTR");
-
- ]]>
- </script>
- </button>
- <button id="btn_purc" class="btn1_letter2" style="left:1035px; top:7px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPurc();
- ]]>
- </script>
- </button>
- <caption id="caption41" class="search_name" style="left:11px; top:34px; width:116px; height:17px; font-family:돋움체; ">집도과/집도의:</caption>
- <select1 id="combo1" ref="/root/main_purc/cond/perfdrid" appearance="minimal" style="left:239px; top:34px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drlist">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/main_purc/cond/orddept" appearance="minimal" style="left:130px; top:34px; width:107px; 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[
- if( model.getValue("/root/main_purc/cond/orddept") == "" ) {
- model.resetInstanceNode("/root/init/drlist");
-
- }else {
- model.makeValue("/root/send/reqdata/orddept", model.getValue("/root/main_purc/cond/orddept"));
- submit("TRMNP00101");
- addComboItem("cmb_drlist", "전 체", "", "above" );
- }
- cmb_drlist.refresh();
-
- // fSelectPos();
- ]]>
- </script>
- </select1>
- <button id="button41" class="btn1_letter2" style="left:1035px; top:35px; width:56px; height:22px; font-family:돋움체; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "선납재료관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_mnphccollist.saveExcel(fileName, "SheetName;col_2:label", false, false, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <caption id="cap_suplplcecd" class="search_name" style="left:340px; top:33px; width:90px; height:23px; vertical-align:middle; ">거래처:</caption>
- <input id="ipt_suplplcecd" ref="/root/main_purc/cond/custnm" class="input_default" appearance="input" style="left:412px; top:34px; width:168px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- setInputNodeCurText();
- fSearchPurc();
- }
- ]]>
- </script>
- </input>
- <caption id="caption42" class="search_name" style="left:643px; top:34px; width:70px; height:17px; vertical-align:middle; ">처방명:</caption>
- <input id="ipt_goodcd" ref="/root/main_purc/cond/goodcd" class="input_default" appearance="input" style="left:715px; top:35px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- setInputNodeCurText();
- model.property("goodsearch") = "Y";
- model.property("flag") ="cd";
- model.property("srchnm") = ipt_goodcd.value;
-
- modal("SPMNP01601");
- model.property("goodsearch") = "";
- model.property("flag") ="";
- model.property("srchnm") = "";
- ipt_goodcd.value = model.property("goodcd");
- ipt_goodnm.value = model.property("goodnm");
-
- model.property("goodcd") ="";
- model.property("goodnm") ="";
-
- }
- ]]>
- </script>
- </input>
- <input id="ipt_goodnm" ref="/root/main_purc/cond/goodnm" class="input_default" appearance="input" style="left:830px; top:35px; width:185px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- setInputNodeCurText();
- model.property("goodsearch") = "Y";
- model.property("flag") ="nm";
- model.property("srchnm") = ipt_goodnm.value;
-
- modal("SPMNP01601");
- model.property("goodsearch") = "";
- model.property("flag") ="";
- model.property("srchnm") = "";
- ipt_goodcd.value = model.property("goodcd");
- ipt_goodnm.value = model.property("goodnm");
-
- model.property("goodcd") ="";
- model.property("goodnm") ="";
- }
- ]]>
- </script>
- </input>
- <button id="button45" class="icon_search" style="left:810px; top:40px; width:100px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.property("goodsearch") = "Y";
- modal("SPMNP01601");
- model.property("goodsearch") = "";
- ipt_goodcd.value = model.property("goodcd");
- ipt_goodnm.value = model.property("goodnm");
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption33" class="tit_2" style="left:7px; top:97px; width:82px; height:13px; ">전송내역</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:111px; x2:1162px; y2:111px; "/>
- <caption id="caption30" class="search_name" visibility="hidden" style="left:930px; top:135px; width:103px; height:17px; font-family:돋움체; ">거 래 처:</caption>
- <select1 id="cmb_perfdeptlist" ref="/root/main/cond/orddept" class="combo_search" visibility="hidden" appearance="minimal" style="left:770px; top:134px; width:80px; height:19px; font-family:돋움체; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/ComboLists/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/cond/orddept") == "" ) {
- model.resetInstanceNode("/root/init/drlist");
- model.refresh();
- }else {
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP00101");
- addComboItem("cmb_drlist", "전 체", "", "above" );
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_drlist" ref="/root/main/cond/perfdrid" class="combo_search" visibility="hidden" appearance="minimal" style="left:852px; top:134px; width:70px; height:19px; font-family:돋움체; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/drlist">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/main/cond/refdeptflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:591px; top:134px; width:60px; height:19px; font-family:돋움체; ">
- <choices>
- <item>
- <label>수술</label>
- <value>O</value>
- </item>
- <item>
- <label>마취</label>
- <value>A</value>
- </item>
- <item>
- <label>회복</label>
- <value>R</value>
- </item>
- <item>
- <label>안과</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_prodcmpynm" ref="/root/main/cond/custnm" class="input_search" visibility="hidden" style="left:1030px; top:135px; width:120px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_purc", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption28" class="search_name" visibility="hidden" style="left:655px; top:135px; width:123px; height:17px; font-family:돋움체; ">집도과/집도의:</caption>
- <caption id="caption29" class="search_name" visibility="hidden" style="left:510px; top:135px; width:85px; height:17px; font-family:돋움체; ">부서구분:</caption>
- <datagrid id="grd_mnphccollist" nodeset="/root/main_purc/mnphccolinfo/mnphccollist" class="datagrid2" autoresize="true" caption="^상태^수술일자^수령일자^수령
시간^수술
방^등록번호^환자명^S/A^집도과^집도의^가납재료
구분(A/B)^거래처^처방코드^처방명^수량^전달사항^규격^메모^처방
담당자^연락일시^연락일시^연락
담당자^수령일시^수령일시^수령
확인자^물류파트
확인^caption1^업체핸드폰^업체메일^caption7^caption2^caption3^caption6^4^4^4^4^4^4^4^4^3" colsep="^" colwidth="27, 39, 80, 0, 0, 33, 66, 55, 51, 53, 60, 0, 80, 68, 229, 35, 100, 100, 100, 55, 75, 40, 57, 75, 40, 55, 55, 100, 100, 171, 100, 100, 100, 100, 10, 10, 10, 10, 10, 10, 10, 10, 10" extendlastcol="scroll" frozencols="8" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:1px; top:115px; width:1162px; height:580px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>처방</label>
- <value/>
- </item>
- <item>
- <label>전송</label>
- <value>S</value>
- </item>
- <item>
- <label>수령</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="opcnfmdd" type="output" format="yyyy-mm-dd"/>
- <col ref="recvdd" visibility="hidden"/>
- <col ref="recvtm" visibility="hidden"/>
- <col ref="oproomnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="perfdeptabbr" style="text-align:center; "/>
- <col ref="perfdrnm"/>
- <col ref="purcgubn" visibility="hidden"/>
- <col ref="custnm" style="text-align:left; "/>
- <col ref="prcpcd" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="prcpqty" style="text-align:center; "/>
- <col ref="prcpmemo"/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="memocnts" type="input"/>
- <col ref="prcpernm" style="text-align:center; "/>
- <col ref="senddd" visibility="hidden"/>
- <col ref="sendtm" visibility="hidden"/>
- <col ref="sendnm" visibility="hidden"/>
- <col ref="certdd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="certtm" format="hh:nn" style="text-align:center; "/>
- <col ref="certnm" style="text-align:center; "/>
- <col ref="purccnfmyn" visibility="hidden"/>
- <col ref="sendflag" visibility="hidden"/>
- <col ref="chargetel"/>
- <col ref="custmail"/>
- <col ref="recvrnm" visibility="hidden"/>
- <col ref="flag" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="telno" visibility="hidden"/>
- <col ref="oproomcd" visibility="hidden"/>
- <col ref="oprsrvno" visibility="hidden"/>
- <col ref="ordseq" visibility="hidden"/>
- <col ref="cartgubn" visibility="hidden"/>
- <col ref="perfidnm" visibility="hidden"/>
- <col ref="sendtel" visibility="hidden"/>
- <col ref="prcpunit" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="sendmail" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_mnphccollist.col == grd_mnphccollist.colRef("memocnts")) {
- grd_mnphccollist.valueMatrix(grd_mnphccollist.row, grd_mnphccollist.colRef("chkyn")) = "Y";
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption34" class="tit_1" style="left:0px; top:0px; width:93px; height:15px; ">선납재료관리</caption>
- <button id="button40" class="btn5_letter2" style="left:1120px; top:91px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn = "";
-
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
- chkyn = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chkyn"));
- if(chkyn == "Y") {
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("sendflag")) = "";
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("flag")) = "";
- grd_mnphccollist.rowStatus(i) = "2";
- }
- }
-
- var updtdata = getGridUpdateData(grd_mnphccollist);
-
- if(updtdata == null || updtdata == "") {
- messageBox("수령취소할 물품존재하지 않습니다.", "E")
- return;
- }
-
- model.makeValue("/root/send/savedata/mnphccollist", updtdata);
- submit("TXMNP00591");
-
- messageBox("수령취소 하였습니다.", "I");
-
- fSearchPurc();
- ]]>
- </script>
- </button>
- <button id="button42" class="btn5_letter2" style="left:1077px; top:91px; width:42px; height:19px; ">
- <caption>수령</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn = "";
-
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
- chkyn = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chkyn"));
- if(chkyn == "Y") {
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("sendflag")) = "C";
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("flag")) = "";
- grd_mnphccollist.rowStatus(i) = "2";
- }
- }
-
- var updtdata = getGridUpdateData(grd_mnphccollist);
-
- if(updtdata == null || updtdata == "") {
- messageBox("수령할 물품존재하지 않습니다.", "E")
- return;
- }
-
- model.makeValue("/root/send/savedata/mnphccollist", updtdata);
- submit("TXMNP00591");
-
- messageBox("저장하였습니다.", "I");
-
- fSearchPurc();
- ]]>
- </script>
- </button>
- <button id="button43" class="btn2_letter4" style="left:1011px; top:91px; width:64px; height:19px; ">
- <caption>메모저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn = "";
-
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
- chkyn = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chkyn"));
- if(chkyn == "Y") {
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("flag")) = "Y";
- grd_mnphccollist.rowStatus(i) = "2";
- }
- }
-
- var updtdata = getGridUpdateData(grd_mnphccollist);
-
- if(updtdata == null || updtdata == "") {
- messageBox("수령할 물품존재하지 않습니다.", "E")
- return;
- }
-
- model.makeValue("/root/send/savedata/mnphccollist", updtdata);
- submit("TXMNP00591");
-
- messageBox("저장하였습니다.", "I");
-
- fSearchPurc();
- ]]>
- </script>
- </button>
- <button id="btn_send" class="btn5_letter2" style="left:965px; top:90px; width:42px; height:19px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( getUserInfo("dutplceinstcd") == "999") {
- messageBox("전송기능 개발중입니다","I");
- return;
- }
-
- var chkyn = "";
-
- var node = grd_mnphccollist.nodeset + "[chargetel='' or custmail='']";
- var node2 = instance1.selectNodes(grd_mnphccollist.nodeset + "[chkyn = 'Y' and status!='']");
-
- if(node2.length > 0) {
- messageBox("이미 전송되었거나 수령된 물품은 전송하실 수 없습니다.", "E");
- return;
- }
-
- var chargetel;
- var custmail;
- var custnm;
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
- chkyn = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chkyn"));
- chargetel = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chargetel"));
- custmail = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("custmail"));
- custnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("custnm"));
-
- if(chkyn == "Y") {
- if(chargetel == "" || chargetel == null ) {
- messageBox(custnm +"의 담당자 휴대전화가 입력되어있지 않습니다.", "E");
- return;
- }
-
- if(custmail == "" || custmail == null) {
- messageBox(custnm +"의 담당자 이메일주소가 입력되어있지 않습니다.", "E");
- return;
- }
-
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("sendflag")) = "S";
- grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("flag")) = "";
- grd_mnphccollist.rowStatus(i) = "2";
- } else {
- grd_mnphccollist.rowStatus(i) = "0";
- }
- }
-
- var updtdata = getGridUpdateData(grd_mnphccollist);
-
- if(updtdata == null || updtdata == "") {
- messageBox("전송할 물품이존재하지 않습니다.", "E")
- return;
- }
- var rtn = messageBox("전송후에는 해당거래처에 정보가 전송됩니다. 전송하시겠습니까?", "Q");
-
- if(rtn != "6") {
- return;
- }
-
- grd_mnphccollist.sort(grd_mnphccollist.fixedRows, grd_mnphccollist.colRef("custnm"), grd_mnphccollist.rows-1, grd_mnphccollist.colRef("custnm")) = "asc";
- grd_mnphccollist.gridToInstance();
-
-
- var data="";
- var custnm;
- var custnm2;
- var cnt = 0;
- var xPath = "/root/report/mnphccolinfo/mnphccollist";
- var pid;
- var hngnm;
- var hngnm2;
- var sexage;
- var perfdrnm;
- var prcpdd;
- var oproomnm;
- var prcpcd;
- var prcpnm;
- var goodspec;
- var prcpqty;
- var prcpmemo;
- var prcpernm;
- var idx = 1;
- var fileidx = 0;
- var chargetel;
- var email;
- var email2;
- var telno;
-
-
- var mailheader = "custnm▦filename▦sendmail▦recvmail▦filetype▦title▦chargetel▦recvrnm▦hngnm▩";
- var maillist = "";
-
- //파일시스템 생성(Email 전송을 위한 파일 생성)
- var fso = new ActiveXObject("Scripting.FileSystemObject");
-
- var fileName = getCurrentDateTime().substr(0, 8);
-
- var WRITE_DIR = "C:\\temp";
-
- //직접적으로 사용하지 않아도 렉스퍼트 출력물 자동 파일저장시 c:\report라는 폴더에 생성이된다.
- var SUM_FILE_DIR = "C:\\report";
-
- tmpFileName = "C:\\report\\" + fileName + ".xls";
-
- if (fso.FolderExists(WRITE_DIR) == false) {
- fso.CreateFolder(WRITE_DIR);
- } else {
-
- }
-
- model.removenode(xPath);
- model.removenode(grd_filelist.nodeset);
- grd_filelist.refresh();
- model.makeNode(xPath);
-
- for(var i = grd_mnphccollist.fixedRows; i < grd_mnphccollist.rows; i++) {
-
- chkyn = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chkyn"));
- if(chkyn == "Y") {
-
- custnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("custnm"));
- pid = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("pid"));
- hngnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("hngnm"));
- sexage = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("sexage"));
- perfdrnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("perfdrnm"));
- prcpdd = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpdd"));
- oproomnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("oproomnm"));
- prcpcd = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpcd"));
- prcpnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpnm"));
- goodspec = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("goodspec"));
- prcpqty = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpqty"));
-
- prcpmemo = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpmemo"));
- if (getUserInfo("dutplceinstcd") == "032" ) {
- prcpmemo = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("memocnts"));
- }
- prcpernm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("prcpernm"));
- chargetel = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("chargetel"));
- recvrnm = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("recvrnm"));
- email = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("custmail"));
-
- telno = grd_mnphccollist.valueMatrix(i, grd_mnphccollist.colRef("telno"));
-
- grd_mnphccollist.rowStatus(i) = "2";
-
- if(cnt == 0) {
- custnm2 = custnm;
- hngnm2 = hngnm;
- chargetel2 = chargetel;
- cnt++;
- fileName = getCurrentDateTime().substr(0, 8) + "_" + (fileidx+1) ;
- tmpFileName = "C:\\report\\" + fileName + ".pdf";
- email2 = email;
- }
-
- if(custnm != custnm2 || hngnm != hngnm2) {
- //이제껏 반복된것들.. 렉스퍼트 출력.. 파일생성.
- //반복되던 거래처정보 및 파일.. 메일전송..
- //
- fileidx = 0;
- while(fso.FileExists(tmpFileName)) {
-
- fileName = getCurrentDateTime().substr(0, 8) + "_" + (fileidx+1) ;
- tmpFileName = "C:\\report\\" + fileName + ".pdf";
- fileidx++;
- }
-
- exeReportPreview("RPMNP00590", "XMLSTR", "", "", "", "", "pdf", fileName, "", "true", "", "", "", "", "","","","","","","");
- grd_filelist.addRow();
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("file")) = tmpFileName;
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("filename")) = fileName;
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("filesize")) = upload_attach.getFileSize(tmpFileName);
-
- // var mailheader = "custnm▦filename▦sendmail▦recvmail▦filetype▦title";
- // var maillist = "";
- maillist += custnm2 + "▦"
- + fileName + "▦"
- + email2 + "▦"
- + "" + "▦"
- + "pdf" + "▦"
- + "수술실요청내역" + "▦"
- + chargetel2 + "▦"
- + recvrnm + "▦"
- + hngnm2 + "▩"
-
- model.removeNodeset(xPath);
- idx = 1;
- custnm2 = custnm;
- hngnm2 = hngnm;
- email2 = email;
- }
- model.makeValue(xPath + "[" + idx + "]/pid", pid);
- model.makeValue(xPath + "[" + idx + "]/hngnm", hngnm);
- model.makeValue(xPath + "[" + idx + "]/sexage", sexage);
- model.makeValue(xPath + "[" + idx + "]/perfdrnm", perfdrnm);
- model.makeValue(xPath + "[" + idx + "]/prcpdd", prcpdd);
- model.makeValue(xPath + "[" + idx + "]/oproomnm", oproomnm);
- model.makeValue(xPath + "[" + idx + "]/prcpcd", prcpcd);
- model.makeValue(xPath + "[" + idx + "]/prcpnm", prcpnm);
- model.makeValue(xPath + "[" + idx + "]/goodspec", goodspec);
- model.makeValue(xPath + "[" + idx + "]/prcpqty", prcpqty);
- model.makeValue(xPath + "[" + idx + "]/prcpmemo", prcpmemo);
- model.makeValue(xPath + "[" + idx + "]/prcpernm", prcpernm);
- model.makeValue(xPath + "[" + idx + "]/custnm", custnm);
- model.makeValue(xPath + "[" + idx + "]/telno", telno);
- model.makeValue(xPath + "[" + idx + "]/sendplce", getUserInfo("dutplceinstnm"));
-
- idx++;
-
- if(i == grd_mnphccollist.rows-grd_mnphccollist.fixedRows) {
- fileName = getCurrentDateTime().substr(0, 8) + "_1";
- tmpFileName = "C:\\report\\" + fileName + ".pdf";
- }
-
- } else {
- grd_mnphccollist.rowStatus(i) = "0";
- }
- }
- fileidx = 0;
- while(fso.FileExists(tmpFileName)) {
-
- fileName = getCurrentDateTime().substr(0, 8) + "_" + (fileidx+1) ;
- tmpFileName = "C:\\report\\" + fileName + ".pdf";
- fileidx++;
- }
-
- maillist += custnm + "▦"
- + fileName + "▦"
- + email + "▦"
- + "" + "▦"
- + "xls" + "▦"
- + "수술실요청내역" + "▦"
- + chargetel + "▦"
- + recvrnm + "▦"
- + hngnm + "▩"
-
- exeReportPreview("RPMNP00590", "XMLSTR", "", "", "", "", "pdf", fileName, "", "true", "", "", "", "", "","","","","","","");
-
- grd_filelist.addRow();
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("file")) = tmpFileName;
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("filename")) = fileName;
- grd_filelist.valueMatrix(grd_filelist.row, grd_filelist.colRef("filesize")) = upload_attach.getFileSize(tmpFileName);
-
-
- model.makeValue("/root/send/savedata/mnphccollist", updtdata);
-
- model.makeValue("/root/send/savedata/maillist", mailheader + maillist);
-
-
- submit("TXMNP00591");
-
- messageBox("전송하였습니다.", "I");
-
- fSearchPurc();
- ]]>
- </script>
- </button>
- <datagrid id="grd_filelist" nodeset="/root/send/savedata/attach" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" colwidth="100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:610px; top:190px; width:350px; height:150px; ">
- <col ref="file"/>
- <col ref="filename"/>
- <col ref="filesize"/>
- </datagrid>
- <upload id="upload_attach" nodeset="/root/send/savedata/attach/file" filecount="20" filesize="100000000" validate="true" style="left:715px; top:90px; width:100px; height:20px; "/>
- </case>
- </switch>
- <button id="button13" class="btn_sw" group="tab" selected="false" style="left:100px; top:3px; width:140px; height:22px; ">
- <caption>수리 및 기구 Count</caption>
- <toggle case="manage3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFormInit("manage3");
- ]]>
- </script>
- </button>
- <button id="button20" class="btn_sw" group="tab" selected="false" style="left:405px; top:3px; width:140px; height:22px; ">
- <caption>수술준비 / 빌려준기구</caption>
- <toggle case="manage2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFormInit("manage2");
- ]]>
- </script>
- </button>
- <button id="button31" class="btn_sw" group="tab" selected="false" style="left:650px; top:3px; width:105px; height:22px; ">
- <caption>선납재료관리</caption>
- <toggle case="purc" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFormInit("purc");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|