123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPD00100_슬라이드반납대출.xrw
- * 설 명 : 슬라이드 대출반납등록
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.10.06
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>슬라이드 대출반납</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <csteslid>
- <csteslidlist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <spcseqno/>
- <csteno/>
- <slidno/>
- <pid/>
- <patnm/>
- <slidcnts/>
- <appdeptcd/>
- <appid/>
- <rrgstno/>
- <psptno/>
- <hometel/>
- <mpphontel/>
- <lenddd/>
- <lendno/>
- </csteslidlist>
- </csteslid>
- <lendrtn>
- <lendrtnlist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <spcseqno/>
- <csteno/>
- <slidno/>
- <slidcnts/>
- <stats/>
- <pid/>
- <lenddd/>
- <lendno/>
- <appdd/>
- <appno/>
- <lendflagcd/>
- </lendrtnlist>
- </lendrtn>
- <detllendrtn>
- <lendinfo>
- <lenddd/>
- <lendtm/>
- <lendflag/>
- <lenddept/>
- <lendchrg/>
- <cnsltdr/>
- <lendplce/>
- <lendresncd/>
- <pid/>
- <patnm/>
- <appnm/>
- <rrgstno/>
- <cntctelno/>
- <patrela/>
- <rtnschedd/>
- <acptnm/>
- <lendrtncmt/>
- <rtnnm/>
- <rtnrregno/>
- <rtncntctelno/>
- <rtnpatrela/>
- <rtndd/>
- <rtntm/>
- <rtnacptnm/>
- <rem/>
- <lendno/>
- <imgrgstdd/>
- <imgno/>
- <imgseqno/>
- <rsltimg/>
- </lendinfo>
- <rtninfo>
- </rtninfo>
- </detllendrtn>
- <plgyprcpinfo>
- <plgyprcplist>
- <choi/>
- <patnm/>
- <ptno/>
- <relaptno/>
- <prcpnm/>
- <spcnm/>
- <orddeptnm/>
- <prcpdd/>
- <acptdd/>
- <readdd/>
- <readdrnm/>
- <dispptno/>
- <disprelaptno/>
- <blockcnts/>
- <slidecnts/>
- <grosdrnm/>
- <reqcnts/>
- <pid/>
- <reqfrmno/>
- <apcacptseqno/>
- <csteno/>
- <slidno/>
- <ptno/>
- <instcd/>
- <relaptno/>
- <prcpdd/>
- <prcpno/>
- <rrgstno/>
- <mpphontel/>
- <lenddd/>
- <lendno/>
- <slidseqno/>
- <lendtm/>
- <lendflagcd/>
- <lenddeptcd/>
- <lendid/>
- <cnstdrid/>
- <lendplce/>
- <lendresncd/>
- <appnm/>
- <lendrrgstno/>
- <cntctelno/>
- <patrela/>
- <rtnschedd/>
- <imgrgstdd/>
- <imgno/>
- <imgseqno/>
- <rsltimg/>
- <rtnflagcd/>
- <rcptflag/>
- </plgyprcplist>
- </plgyprcpinfo>
- <slideinfo>
- <slidelist>
- <choi/>
- <ptno/>
- <spcacptseqno/>
- <csteno/>
- <slidno/>
- <blockcnts/>
- <slidecnts/>
- </slidelist>
- </slideinfo>
- </main>
- <send/>
- <init>
- <workflag>1</workflag>
- <fromdd/>
- <todd/>
- <refflag>1</refflag>
- <refval/>
- <lendflagcd/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <orddeptlist>
- <dept>
- <deptcd/>
- <depthngnm>
- <![CDATA[내과]]>
- </depthngnm>
- </dept>
- </orddeptlist>
- <userinfo>
- <userlist>
- <usercombo>
- <usernm>김은숙</usernm>
- <userid>10205568</userid>
- </usercombo>
- </userlist>
- </userinfo>
- <resncd>
- <resncdlist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdlist>
- </resncd>
- <cnstdr>
- <cnsltlist>
- <instcd/>
- <hospnm/>
- <dutydeptnm/>
- <cnstdrid/>
- <cnstdrnm/>
- <cntctelno/>
- </cnsltlist>
- </cnstdr>
- <acptddflag/>
- <popupmenu>
- <item>
- <name>슬라이드 등록/변경</name>
- <func>fSetSlideChoi</func>
- </item>
- </popupmenu>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPD00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/csteslid/csteslidlist"/>
- <submission id="TXLPD00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRLPC01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cnstdr/cnsltlist"/>
- <submission id="TRLPD00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detllendrtn/lendinfo"/>
- <submission id="TRLPD00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/plgyprcpinfo/plgyprcplist"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLPD00706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/slideinfo/slidelist"/>
- <submission id="TXLPD00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- //------------------------------------------------------
- model.removeNodeset("/root/main/csteslid/csteslidlist");
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
-
- //---------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false);
- //--------------------------------------------
- model.makeValue("/root/init/workflag", "0"); // 대출(0), 반납(1)
- model.makeValue("/root/init/fromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/todd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/lendflagcd", "1"); // 원내(0), 원외(1)
- model.makeValue("/root/init/refval", ""); // 검색값
- model.makeValue("/root/init/refflag", "1"); // 병리번호(0), 등록번호(1)
-
- //----------------------------------------
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/orddeptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
-
- //--------------------
- // 대출사유 목록 조회
- model.makeValue("/root/send/baseflagcd", "'L1'");
- submit("TRLPZ00103", false);
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
-
- //-------------------
- // 자문의사 목록 조회
- model.makeValue("/root/send/delflagcd", "0");
- model.makeValue("/root/send/refflag", "0");
- model.makeValue("/root/send/refval", "");
- //submit("TRLPC01201");
-
- // 의사목록 조회....
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/userdeptcd", "-");
- model.makeValue("/root/send/doctjobgradcd", "-"); // 예문 추가시 의사만 보일 수 있도록
- model.makeValue("/root/send/teamjobgradcd", "-");
- submit("TRLPZ00105");
-
- //---------------------------------------------
- grd_csteslidlist.fixedcellcheckbox(0,0) = true;
- grd_lendrtnlist.fixedcellcheckbox(0,0) = true;
-
- //--------------
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 카세트/슬라이드 대출리스트조회 함수
- */
- function fGetCsteSlidList() {
-
- if(model.getValue("/root/init/refval") == "") {
- messageBox("등록번호를 입력하여 주세요.", "I999");
- return;
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/csteslid/csteslidlist");
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
-
- //---------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/workflagcd", model.getValue("/root/init/workflag"));
- model.makeValue("/root/send/lendflagcd", model.getValue("/root/init/lendflagcd"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/fromdd")); // 접수시작일자
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/todd")); // 접수종료일자
- model.makeValue("/root/send/refflagcd", model.getValue("/root/init/refflag"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- //submit("TRLPD00101");
- model.makeValue("/root/send/acptddflag", model.getValue("/root/init/acptddflag"));
- model.makeValue("/root/send/pid", model.getValue("/root/init/refval"));
- submit("TRLPD00705");
-
- //반납일경우 반납된 슬라이드는 색으로 구분
- grd_plgyprcplist.rebuildStyle();
- if(model.getValue("/root/init/workflag") == "1") {
- for(var iRowNo = 1 ; iRowNo < grd_plgyprcplist.rows ; iRowNo++) {
- if(model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/rtnflagcd") == "1") {
- grd_plgyprcplist.rowstyle(iRowNo, "data", "background-color") = "#00CC66";
- }
- }
- }
-
-
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 카세트/슬라이드 대출항목 선택 함수
- */
- function fExeCsteSlidChoi() {
-
- var iFindNo = 0;
- var sNode = "/root/main/csteslid/csteslidlist";
- var sDetlNode = "/root/main/detllendrtn/lendinfo";
-
- //---------------------------------------------------------------------------------------------------------------------------
- if(grd_csteslidlist.row > 0 && grd_csteslidlist.isCell(event.target) && grd_csteslidlist.row >= grd_csteslidlist.fixedRows) {
-
- if (model.getValue(sNode+"["+grd_csteslidlist.row+"]/choi") == "true") {
- //-------------
- fChangeImage(); // 컬럼 노드를 base64형식으로 변환
-
- //------------------
- // 대출상세정보 검색
- if (model.getValue("/root/init/workflag") == "1") {
-
- if (model.getValue(sNode+"["+grd_csteslidlist.row+"]/lenddd") != model.getValue(sDetlNode+"/lenddd") ||
- model.getValue(sNode+"["+grd_csteslidlist.row+"]/lendno") != model.getValue(sDetlNode+"/lendno")) {
-
- //--------------------------------------------------------------------------------------------
- if (model.getValue(sDetlNode+"/lenddd") == "-" || model.getValue(sDetlNode+"/lenddd") == "") {
- // Continue
- } else {
- if (messageBox("다른 대출건을 선택하셨습니다! 대출/반납목록이 초기화됩니다.", "Q004") == 7) {
- return false;
- }
- }
-
- //-------------------------------------------------
- // 대출 일자/번호가 다를경우 선택목록을 초기화한다.
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
- grd_lendrtnlist.refresh();
-
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/lenddd", model.getValue(sNode+"["+grd_csteslidlist.row+"]/lenddd"));
- model.makeValue("/root/send/lendno", model.getValue(sNode+"["+grd_csteslidlist.row+"]/lendno"));
- model.makeValue("/root/send/pid", model.getValue(sNode+"["+grd_csteslidlist.row+"]/pid"));
- submit("TRLPD00102");
- }
- }
-
- //-------------
- fChangeImage(); // 이미지 표시
-
- //---------------
- fExeAppendNode();
- } else {
- iFindNo = grd_csteslidlist.findRow("true", 1, 0, false, false);
- if (iFindNo <= 0) {
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
- }
-
- //--------------
- model.refresh();
- }
- }
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 카세트슬라이드 대출항목 선택 함수
- */
- function fExeAppendNode() {
-
- var curCol = grd_csteslidlist.col;
- var vCurSelRow = grd_csteslidlist.row;
- var vCurInsRow = 0;
- var sSrcNode = "/root/main/csteslid/csteslidlist";
- var sDescNode = "/root/main/lendrtn/lendrtnlist";
- var iFindNo = 0;
-
- var sRtnDD = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
- sRtnDD = sRtnDD.toDate().getAddDate(1,"M").getDateFormat("YYYYMMDD");
-
- //---------------
- if(curCol == 0) {
-
- //-----------------------
- // 존재하는 노드인지 검사
- iFindNo = fExeFindRow(vCurSelRow, sDescNode,
- model.getValue(sSrcNode+"["+vCurSelRow+"]/instcd"),
- model.getValue(sSrcNode+"["+vCurSelRow+"]/ptno"),
- model.getValue(sSrcNode+"["+vCurSelRow+"]/spcseqno"),
- model.getValue(sSrcNode+"["+vCurSelRow+"]/csteno"),
- model.getValue(sSrcNode+"["+vCurSelRow+"]/slidno"));
-
- //-----------------------------------------
- // 선택이 true/false가 되었을 경우의 action
- if(model.getValue(sSrcNode+"[" + vCurSelRow + "]/choi") == "true") {
-
- //----------------
- if (iFindNo > 0) {
- messageBox("대출/반납 목록에 존재하는 슬라이드 입니다. 추가 ", "E001");
- return false;
- } else {
- grd_lendrtnlist.addRow();
- vCurInsRow = grd_lendrtnlist.row;
-
- //-------------------------------------------
- // 선택된 대출/반납 항목값을 저장할 노느 생성
- model.makeValue(sDescNode+"["+vCurInsRow+"]/choi", "true");
- model.makeValue(sDescNode+"["+vCurInsRow+"]/instcd", model.getValue(sSrcNode+"["+vCurSelRow+"]/instcd"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/ptno", model.getValue(sSrcNode+"["+vCurSelRow+"]/ptno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/dispptno", model.getValue(sSrcNode+"["+vCurSelRow+"]/dispptno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/spcseqno", model.getValue(sSrcNode+"["+vCurSelRow+"]/spcseqno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/csteno", model.getValue(sSrcNode+"["+vCurSelRow+"]/csteno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/slidno", model.getValue(sSrcNode+"["+vCurSelRow+"]/slidno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/slidcnts", model.getValue(sSrcNode+"["+vCurSelRow+"]/slidcnts"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/stats", "0");
- model.makeValue(sDescNode+"["+vCurInsRow+"]/pid", model.getValue(sSrcNode+"["+vCurSelRow+"]/pid"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/lenddd", model.getValue(sSrcNode+"["+vCurSelRow+"]/lenddd"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/lendno", model.getValue(sSrcNode+"["+vCurSelRow+"]/lendno"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/appdd", model.getValue(sSrcNode+"["+vCurSelRow+"]/appdd"));
- model.makeValue(sDescNode+"["+vCurInsRow+"]/appno", model.getValue(sSrcNode+"["+vCurSelRow+"]/appno"));
-
- //-------------------------------------------------------------------
- if (model.getValue("/root/main/detllendrtn/lendinfo/lenddd") == "" ||
- model.getValue("/root/main/detllendrtn/lendinfo/lenddd") == "-") {
- model.makeValue("/root/main/detllendrtn/lendinfo/lendflag", model.getValue("/root/init/lendflagcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lenddept", model.getValue(sSrcNode+"["+vCurSelRow+"]/appdeptcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendchrg", model.getValue(sSrcNode+"["+vCurSelRow+"]/appid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cnsltdr", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/lendplce", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/lendresncd", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/pid", model.getValue(sSrcNode+"["+vCurSelRow+"]/pid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patnm", model.getValue(sSrcNode+"["+vCurSelRow+"]/patnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/appnm", model.getValue(sSrcNode+"["+vCurSelRow+"]/patnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rrgstno", model.getValue(sSrcNode+"["+vCurSelRow+"]/rrgstno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cntctelno", model.getValue(sSrcNode+"["+vCurSelRow+"]/mpphontel"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patrela", "본인");
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnschedd", sRtnDD);
- model.makeValue("/root/main/detllendrtn/lendinfo/acptnm", "");
-
- //------------------------------------------------------------------
- if (model.getValue("/root/main/detllendrtn/lendinfo/imgno") == "") {
- model.makeValue("/root/main/detllendrtn/lendinfo/imgno", "0");
- }
- }
- }
- }
-
- //------------------------
- grd_lendrtnlist.refresh();
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 기존 대출 슬라이드 검색 함수
- */
- function fExeFindRow(vCurSelRow, sDescNode, sInstCd, sPtNo, sSpcSeqNo, sCsteNo, sSlidNo) {
-
- var iFindNo = -1;
- var iMaxCnt = getNodesetCount(sDescNode);
-
- //--------------------------------------
- for (var iNo=1; iNo <= iMaxCnt; iNo++) {
-
- if (sInstCd == model.getValue(sDescNode+"["+iNo+"]/instcd")) {
- if (sPtNo == model.getValue(sDescNode+"["+iNo+"]/ptno")) {
- if (sSpcSeqNo == model.getValue(sDescNode+"["+iNo+"]/spcseqno")) {
- if (sCsteNo == model.getValue(sDescNode+"["+iNo+"]/csteno")) {
- if (sSlidNo == model.getValue(sDescNode+"["+iNo+"]/slidno")) {
- iFindNo = iNo;
- break;
- }
- }
- }
- }
- }
- }
-
- //-------------
- return iFindNo;
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대출/반납목록 선택 처리 함수
- */
- function fExeLendListChoi() {
-
- var sNode = "/root/main/lendrtn/lendrtnlist";
-
- if(grd_lendrtnlist.row > 0 && grd_lendrtnlist.isCell(event.target) && grd_lendrtnlist.row >= grd_lendrtnlist.fixedRows) {
-
- //-----------------------------
- if (grd_lendrtnlist.col == 0) {
- //------------------------------------
- // 작업구분이 대출(0)인 경우 노드 생성
- if (model.getValue(sNode+"["+grd_lendrtnlist.row+"]/lendno") == "0") {
- if (model.getValue(sNode+"["+grd_lendrtnlist.row+"]/choi") == "false") {
- grd_lendrtnlist.deleteRow(grd_lendrtnlist.row);
- }
- }
- }
- }
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.08 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대출구분 변경 처리 함수
- */
- function fExeLendFlagChoi() {
-
- if (model.getValue("/root/init/workflag") == "0") {
- if (model.getValue("/root/init/lendflagcd") == "0") {
- cap_ddnm.text = "신청일자 :";
- } else {
- cap_ddnm.text = "접수일자 :";
- }
-
- //btn_retn.disabled = true;
- btn_upd.disabled = true;
- btn_save.value = "대출";
- } else {
- cap_ddnm.text = "대출일자 :";
-
- //btn_retn.disabled = false;
- btn_upd.disabled = false;
- btn_save.value = "반납";
- }
-
- //------------------------------------------------------
- model.removeNodeset("/root/main/csteslid/csteslidlist");
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
-
- fGetCsteSlidList();
-
- //--------------
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.08 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 슬라이드 대출정보 저장 처리 함수
- */
- function fExeLendSave(pBizFlagCd) {
-
- var node = "";
- //test
- grd_plgyprcplist.clearStatus();
- for(var iRowNo = 1 ; iRowNo < grd_plgyprcplist.rows ; iRowNo++) {
- if(model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/choi") == "true") {
-
- if(model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/csteno") == "") {
- grd_plgyprcplist.clearStatus();
- messageBox("선택된 처방들 중 슬라이드가 지정되지 않은 처방이 존재합니다.("+ iRowNo +")", "E999");
- fGetCsteSlidList();
- return;
- }
-
- grd_plgyprcplist.addStatus(iRowNo, "update");
-
- //의뢰지정보저장
- //node = instance1.selectSingleNode("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/reqcnts/reqfrminfo");
- //model.setValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/reqcnts", node.xml, true);
-
- model.resetInstanceNode("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/rsltimg");
- }
- }
-
- //model.makeValue("/root/send/test", grd_plgyprcplist.getUpdateData("update"));
-
- //alert(model.getValue("/root/send/test"));
-
-
-
- //------------------------------------
- model.makeNode("/root/send/lendinfo");
- model.makeNode("/root/send/rtninfo");
- copyNodesetType("/root/send/lendinfo", "/root/main/detllendrtn/lendinfo");
- copyNodesetType("/root/send/rtninfo", "/root/main/detllendrtn/rtninfo");
- model.makeValue("/root/send/lendinfo/workflagcd", model.getValue("/root/init/workflag"));
- model.makeValue("/root/send/lendinfo/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/lendinfo/lendflagcd", "L1");
- model.makeValue("/root/send/lendinfo/bizflagcd", pBizFlagCd);
-
- //model.makeValue("/root/send/csteslidlist", grd_lendrtnlist.getUpdateData());
-
- model.makeValue("/root/send/csteslidlist", grd_plgyprcplist.getUpdateData("update"));
-
- //-----------
- setAlertOn();
- if(submit("TXLPD00101")) {
- fGetCsteSlidList();
- }
-
- return;
-
-
-
-
-
-
- /*
-
- var bState = false;
- var sSrcNode = "/root/main/lendrtn/lendrtnlist";
-
- //--------------------------------
- model.removeNodeset("/root/send");
-
- //----------------------------
- grd_lendrtnlist.clearStatus();
- for (var iNo=1; iNo <= getNodesetCount(sSrcNode); iNo++) {
- if (model.getValue(sSrcNode+"["+iNo+"]/choi") == "true") {
- model.makeValue(sSrcNode+"["+iNo+"]/lendflagcd", model.getValue("/root/main/detllendrtn/lendinfo/lendflag"));
- grd_lendrtnlist.addStatus(iNo, "insert");
- bState = true;
- }
- }
-
- //------------
- if (!bState) {
- messageBox("대출/반납목록에 슬라이드가 존재하지 않습니다. 대출/반납을 등록 ", "E001");
- return false;
- }
-
- //------------------------------------------------------------------
- // if (model.getValue("/root/main/detllendrtn/lendinfo/imgno") == " ") {
- // model.setValue("/root/main/detllendrtn/lendinfo/imgno", '0');
- // }
-
- //------------------------------------
- model.makeNode("/root/send/lendinfo");
- model.makeNode("/root/send/rtninfo");
- copyNodesetType("/root/send/lendinfo", "/root/main/detllendrtn/lendinfo");
- copyNodesetType("/root/send/rtninfo", "/root/main/detllendrtn/rtninfo");
- model.makeValue("/root/send/lendinfo/workflagcd", model.getValue("/root/init/workflag"));
- model.makeValue("/root/send/lendinfo/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/lendinfo/lendflagcd", "L1");
- model.makeValue("/root/send/lendinfo/bizflagcd", pBizFlagCd);
- model.makeValue("/root/send/csteslidlist", grd_lendrtnlist.getUpdateData());
-
- //-----------
- setAlertOn();
- if (submit("TXLPD00101")) {
- if (pBizFlagCd == "0") {
- model.removeNodeset("/root/main/csteslid/csteslidlist");
- model.removeNodeset("/root/main/lendrtn/lendrtnlist");
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
- }
- }
- */
-
-
- //--------------
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.08 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대출 부서별 사용자 검색 처리 함수
- */
- function fExeLendDeptChoi() {
- var deptcd = model.getValue("/root/main/detllendrtn/lendinfo/lenddept");
- zsufGetUserInfoCombo(deptcd, "/root/init/userinfo/userlist", "_D");
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.10.09 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대출 확인증 출력 처리 함수
- */
- function fExeLendCnfmPrnt() {
-
- var sLendDD = "";
- var sRtnDD = "";
- var sListNode = "/root/main/plgyprcpinfo/plgyprcplist";
- var sInfoNode = "/root/main/detllendrtn/lendinfo";
- var sDescNode = "/root/temp/lendprnt/lendprntlist";
-
- //----------------------------------------------------------------------------------
- //if (model.getValue("/root/main/detllendrtn/lendinfo/lendflag") != "1") return false;
-
- //------------------------------------
- if (getNodesetCount(sListNode) <= 0) {
- messageBox("확인증에 표시될 내용이 없습니다! 확인증을 출력 ", "E001");
- return false;
- }
-
- //---------------------------
- model.makeNode("/root/temp");
- model.makeNode("/root/temp/lendprnt");
- model.makeNode("/root/temp/lendprnt/lendprntlist");
-
- //----------------------------------------------------
- copyNodesetType(sDescNode, sListNode+"[choi='true']");
-
- //--------------------------------------------
- sRtnDD = model.getValue(sInfoNode+"/rtnschedd");
-
- if (model.getValue(sInfoNode+"/lenddd") == "-" || model.getValue(sInfoNode+"/lenddd") == "") {
- sLendDD = getCurrentDate();
- } else {
- sLendDD = model.getValue(sInfoNode+"/lenddd");
- }
- //-----------------------------------------------------------------------------------------
- sRtnDD = sRtnDD.substr(0,4)+" 년 "+sRtnDD.substr(4,2)+" 월 "+sRtnDD.substr(6,2) + " 일";
- sLendDD = sLendDD.toDate().getDateFormat("YYYY/MM/DD");
-
- //---------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sDescNode); iNo++) {
-
- model.makeValue(sDescNode+"["+iNo+"]/lenddd", sLendDD);
- model.makeValue(sDescNode+"["+iNo+"]/lendplce", model.getValue(sInfoNode+"/lendplce"));
- model.makeValue(sDescNode+"["+iNo+"]/lendresn", model.getValue("/root/init/resncd/resncdlist[resncd='"+model.getValue(sInfoNode+"/lendresncd")+"']/resncnts"));
- model.makeValue(sDescNode+"["+iNo+"]/pid", model.getValue(sInfoNode+"/pid"));
- model.makeValue(sDescNode+"["+iNo+"]/patnm", model.getValue(sInfoNode+"/patnm"));
- model.makeValue(sDescNode+"["+iNo+"]/appnm", model.getValue(sInfoNode+"/appnm"));
- model.makeValue(sDescNode+"["+iNo+"]/cntctelno", model.getValue(sInfoNode+"/cntctelno"));
- model.makeValue(sDescNode+"["+iNo+"]/patrela", model.getValue(sInfoNode+"/patrela"));
- model.makeValue(sDescNode+"["+iNo+"]/rtnschedd", sRtnDD);
- model.makeValue(sDescNode+"["+iNo+"]/lendrtncmt", model.getValue(sInfoNode+"/lendrtncmt"));
- }
-
- //-----------------------------------------------------------------------------------
- exeReportPreview("RPLPD00100", "XMLSTR", "", "", "false", "", "", "", "", "false", "", "");
- //exeReportPreview("RPLPP00200", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
-
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.11.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 신청자 이미지 정보 처리 함수
- */
- function fExeAppImgPopupCall() {
-
- var iFindNo = grd_plgyprcplist.findRow("true", 1, 1, false, false);
- if (iFindNo <= 0) {
- messageBox("처방목록에서 환자를 ", "C002");
- return false;
- }
-
- //---------------------------------------------------------------------------------------------------------
- setParameter("SPLPP01900_pid", model.getValue("/root/main/detllendrtn/lendinfo/pid"));
- setParameter("SPLPP01900_ptno", "-");
- setParameter("SPLPP01900_rgstdd", model.getValue("/root/main/detllendrtn/lendinfo/imgrgstdd"));
- // setParameter("SPLPP01900_rgstdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- setParameter("SPLPP01900_rgsttm", model.getValue("/root/main/detllendrtn/lendinfo/imgrgsttm"));
- setParameter("SPLPP01900_rgstrid", model.getValue("/root/main/detllendrtn/lendinfo/imgrgstrid"));
- setParameter("SPLPP01900_imgno", model.getValue("/root/main/detllendrtn/lendinfo/imgno"));
- setParameter("SPLPP01900_bizflagcd", "PD");
- setParameter("SPLPP01900_node", "/root/main/detllendrtn/lendinfo/rsltimg");
-
- //----------------------------------------------------
- modal("SPLPP02600", "", "", "", "SPLPP02600", "", "");
-
-
-
- //-------------
- fChangeImage();
-
- model.refresh();
- }
-
- /* @group : 슬라이드 반납대출등록 화면
- * @ver : 2007.11.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 이미지 보여주기 처리 함수
- */
- function fChangeImage() {
-
- setImageRefInstance("/root/main/detllendrtn/lendinfo/rsltimg");
- img_source.refresh();
- }
-
- /* @group : 슬라이드 등록
- * @ver : 2007.11.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 의뢰지에 슬라이드번호 등록할 슬라이드 선택.
- */
- function fSetSlideChoi() {
-
- //카세트/슬라이드목록 활성화
- grp_sldelist.visible = true;
-
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/ptno", model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ grd_plgyprcplist.row +"]/relaptno"));
- submit("TRLPD00706"); //슬라이드 목록조회
-
- }
-
- /* @group : 슬라이드 등록
- * @ver : 2007.11.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 의뢰지에 슬라이드번호 등록.
- */
- function fSetSlideRgst() {
-
- var iFirstRow = grd_plgyprcplist.selectedRow(0);
- var iLasrRow = grd_plgyprcplist.selectedRow(grd_plgyprcplist.selectedRows-1)
- var sPtno = "";
-
- grd_plgyprcplist.clearStatus();
- for(var iRowNo = iLasrRow ; iRowNo >= iFirstRow ; iRowNo--) {
- if(iLasrRow == iRowNo) {
- sPtno = model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/relaptno");
- }
-
- if(sPtno != model.getValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/relaptno")) {
- grd_plgyprcplist.clearStatus();
- messageBox("선택된 처방들 중 서로 다른 관련병리번호가 존재 합니다. ", "E999");
- fGetCsteSlidList();
- return;
- }
- grd_plgyprcplist.addStatus(iRowNo, "update");
- }
-
- model.makeValue("/root/send/blockcnts", model.getValue("/root/hidden/slideinfo/blockcnts"));
- model.makeValue("/root/send/slidecnts", model.getValue("/root/hidden/slideinfo/slidecnts"));
- model.makeValue("/root/send/spcacptseqno", model.getValue("/root/hidden/slideinfo/spcacptseqno"));
- model.makeValue("/root/send/csteno", model.getValue("/root/hidden/slideinfo/csteno"));
- model.makeValue("/root/send/slidno", model.getValue("/root/hidden/slideinfo/slidno"));
- model.makeValue("/root/send/csteslidlist", grd_plgyprcplist.getUpdateData("update"));
-
- if(submit("TXLPD00102")) {
- fGetCsteSlidList();
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,0;2,0;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:157px; height:14px; ">슬라이드 반납/대출등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <datagrid id="grd_plgyprcplist" nodeset="/root/main/plgyprcpinfo/plgyprcplist" class="datagrid2" caption="선
택^환자명^병리번호^관련병리번호^블록^슬라
이드^육안
검사의^검사명^검체명^진료과^처방의^수납
구분^처방일자^접수일자^판독일자^판독의^rrgstno1^rrgstno2^sex^brthdd^orddd^workflagcd^orddrid^reqcnts^pid^spcacptseqno^csteno^slidno^reqfrmno^ptno^instcd^relaptno^prcpdd^prcpno^rrgstno^mpphontel^lenddd^lendno^slidseqno^lendtm^lendflagcd^lenddeptcd^lendid^cnstdrid^lendplce^lendresncd^appnm^lendrrgstno^cntctelno^patrela^rtnschedd^rtnflagcd" colsep="^" colwidth="26, 57, 85, 85, 45, 45, 55, 252, 124, 49, 55, 51, 80, 80, 80, 55, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:800px; height:665px; ">
- <col checkvalue="true,false" ref="choi" type="checkbox"/>
- <col ref="patnm"/>
- <col ref="dispptno"/>
- <col ref="disprelaptno"/>
- <col ref="blockcnts"/>
- <col ref="slidecnts"/>
- <col ref="grosdrnm"/>
- <col ref="testnm"/>
- <col ref="spcnm"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="rcptflag"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col ref="readdd" format="yyyy-mm-dd"/>
- <col ref="readdrnm"/>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="sex" visibility="hidden"/>
- <col ref="brthdd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="workflagcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="reqcnts" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="spcacptseqno" visibility="hidden"/>
- <col ref="csteno" visibility="hidden"/>
- <col ref="slidno" visibility="hidden"/>
- <col ref="reqfrmno" visibility="hidden"/>
- <col ref="ptno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="relaptno" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="mpphontel" visibility="hidden"/>
- <col ref="lenddd" visibility="hidden"/>
- <col ref="lendno" visibility="hidden"/>
- <col ref="slidseqno" visibility="hidden"/>
- <col ref="lendtm" visibility="hidden"/>
- <col ref="lendflagcd" visibility="hidden"/>
- <col ref="lenddeptcd" visibility="hidden"/>
- <col ref="lendid" visibility="hidden"/>
- <col ref="cnstdrid" visibility="hidden"/>
- <col ref="lendplce" visibility="hidden"/>
- <col ref="lendresncd" visibility="hidden"/>
- <col ref="appnm" visibility="hidden"/>
- <col ref="lendrrgstno" visibility="hidden"/>
- <col ref="cntctelno" visibility="hidden"/>
- <col ref="patrela" visibility="hidden"/>
- <col ref="rtnschedd" visibility="hidden"/>
- <col ref="rtnflagcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_plgyprcplist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_sldelist.visible = false;
- var sSrcNode = "/root/main/plgyprcpinfo/plgyprcplist";
- var sRtnDD = getCurrentDate();
-
- //---------------------------------------------------------------------------------------------------------------------------
- if(grd_plgyprcplist.row > 0 && grd_plgyprcplist.isCell(event.target) && grd_plgyprcplist.row >= grd_plgyprcplist.fixedRows) {
- if (model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/choi") == "true") {
-
- if (model.getValue("/root/init/workflag") == "0") {
-
- model.makeValue("/root/main/detllendrtn/lendinfo/lendflag", model.getValue("/root/init/lendflagcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lenddept", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/appdeptcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendchrg", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/appid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cnsltdr", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/lendplce", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/lendresncd", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/pid", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/pid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patnm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/pathngnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/appnm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/pathngnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rrgstno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rrgstno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cntctelno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/mpphontel"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patrela", "본인");
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnschedd", sRtnDD);
- model.makeValue("/root/main/detllendrtn/lendinfo/acptnm", "");
- model.makeValue("/root/main/detllendrtn/lendinfo/ptno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/ptno"));
-
- } else {
-
- //서로다른 대출내역이 선택되었는지 체크
- if(model.getValue("/root/main/detllendrtn/lendinfo/lenddd") != "" && model.getValue("/root/main/detllendrtn/lendinfo/lenddd") != "-") {
- if(model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lenddd") != model.getValue("/root/main/detllendrtn/lendinfo/lenddd")
- || model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendno") != model.getValue("/root/main/detllendrtn/lendinfo/lendno")) {
-
- messageBox("다른 대출건을 선택하셨습니다!", "I999");
- model.setValue(sSrcNode+"["+grd_plgyprcplist.row+"]/choi", "false");
- return false;
- }
- }
-
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
- model.makeValue("/root/main/detllendrtn/lendinfo/lenddd", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lenddd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendtm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendtm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendflag", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendflagcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lenddept", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lenddeptcd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendchrg", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cnsltdr", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/cnstdrid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendplce", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendplce"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendresncd", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendresncd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rrgstno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendrrgstno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/cntctelno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/cntctelno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patrela", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/patrela"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnschedd", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtnschedd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/appnm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/appnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/pid", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/pid"));
- model.makeValue("/root/main/detllendrtn/lendinfo/patnm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/pathngnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/ptno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/ptno"));
-
- model.makeValue("/root/main/detllendrtn/lendinfo/imgrgstdd", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/imgrgstdd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/imgno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/imgno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/imgseqno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/imgseqno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rsltimg", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rsltimg"));
-
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnrregno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtnrrgstno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rtncntctelno", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtncntctelno"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnpatrela", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtnpatrela"));
- model.makeValue("/root/main/detllendrtn/lendinfo/lendrtncmt", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/lendrtncmt"));
-
- model.makeValue("/root/main/detllendrtn/lendinfo/rtnnm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtnnm"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rtndd", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtndd"));
- model.makeValue("/root/main/detllendrtn/lendinfo/rtntm", model.getValue(sSrcNode+"["+grd_plgyprcplist.row+"]/rtntm"));
-
- fChangeImage();
-
- //서로 같은 대출 내역은 자동으로 선택하여 준다.
- for(var iRowNo = 1 ; iRowNo < grd_plgyprcplist.rows ; iRowNo++) {
- if(model.getValue(sSrcNode+"["+iRowNo+"]/lenddd") == model.getValue("/root/main/detllendrtn/lendinfo/lenddd")
- && model.getValue(sSrcNode+"["+iRowNo+"]/lendno") == model.getValue("/root/main/detllendrtn/lendinfo/lendno")) {
- model.setValue("/root/main/plgyprcpinfo/plgyprcplist["+ iRowNo +"]/choi", "true");
- }
- }
- }
-
- } else {
- var iChk = grd_plgyprcplist.findRow("true", 1, 1, true, true);
- if(iChk == -1) {
- model.resetInstanceNode("/root/main/detllendrtn/lendinfo");
- }
- }
-
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_plgyprcplist", false, "/root/init/popupmenu/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <group id="grp_search" style="left:0px; top:10px; width:1194px; height:36px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input1" ref="/root/init/fromdd" class="input_search" navindex="3" inputtype="date" style="left:533px; top:9px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:10px; width:90px; height:17px; ">작업구분 :</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="input25" ref="/root/init/todd" class="input_search" navindex="4" inputtype="date" style="left:654px; top:9px; width:100px; height:19px; "/>
- <caption id="caption34" class="search_no_b" style="left:638px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:804px; top:10px; width:90px; height:17px; ">검색조건 :</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="7" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCsteSlidList();
- ]]>
- </script>
- </button>
- <input id="ipt_refval" ref="/root/init/refval" class="input_s_essential" navindex="6" style="left:992px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/init/refval", ipt_refval.currentText);
- ipt_refval.refresh();
- //--------------------------- 조회 호출
- fGetCsteSlidList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption35" class="search_name" style="left:224px; top:11px; width:90px; height:17px; ">대출구분 :</caption>
- <select1 id="cmb_workflagcd" ref="/root/init/workflag" navindex="1" appearance="minimal" style="left:106px; top:9px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>대출</label>
- <value>0</value>
- </item>
- <item>
- <label>반납</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeLendFlagChoi();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_lendflagcd" ref="/root/init/lendflagcd" navindex="2" appearance="minimal" style="left:315px; top:10px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>원내</label>
- <value>0</value>
- </item>
- <item>
- <label>원외</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeLendFlagChoi();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_refflagcd" ref="/root/init/refflag" navindex="5" appearance="minimal" style="left:895px; top:9px; width:94px; height:19px; ">
- <choices>
- <item>
- <label>병리번호</label>
- <value>0</value>
- </item>
- <item>
- <label>등록번호</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_ddnm" class="search_name" style="left:440px; top:10px; width:90px; height:17px; ">접수일자 :</caption>
- <select id="checkbox1" ref="/root/init/acptddflag" overflow="visible" appearance="full" style="left:422px; top:11px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- </group>
- <datagrid id="grd_lendrtnlist" nodeset="/root/main/lendrtn/lendrtnlist" class="datagrid2" visibility="hidden" caption="선
택^instcd^ptno^병리번호^순번^Cassette no^Slide no^슬라이드^상태^caption1^lenddd^lendno^appdd^appno^lendflagcd" colsep="^" colwidth="40, 0, 0, 80, 0, 0, 0, 182, 73, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="9" style="left:405px; top:550px; width:125px; height:105px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno" type="output"/>
- <col ref="spcseqno" type="output"/>
- <col ref="csteno" type="output"/>
- <col ref="slidno" type="output"/>
- <col ref="slidcnts" type="output"/>
- <col ref="stats" type="combo">
- <choices>
- <item>
- <label>정상</label>
- <value>0</value>
- </item>
- <item>
- <label>파손</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="lenddd"/>
- <col ref="lendno"/>
- <col ref="appdd"/>
- <col ref="appno"/>
- <col ref="lendflagcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeLendListChoi();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" visibility="hidden" style="left:410px; top:530px; width:300px; height:13px; ">대출/반납 List</caption>
- <caption id="caption32" class="tit_2" visibility="hidden" style="left:4px; top:530px; width:200px; height:13px; ">Cassette/Slide List</caption>
- <datagrid id="grd_csteslidlist" nodeset="/root/main/csteslid/csteslidlist" class="datagrid2" visibility="hidden" caption="선
택^instcd^ptno^병리번호^spcseqno^Cassette^Slide^등록번호^환자명^슬라이드^appdeptcd^appid^rrgstno^psptno^hometel^mpphontel^lenddd^lendno" colsep="^" colwidth="40, 0, 0, 80, 0, 0, 0, 80, 80, 100, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="8" style="left:4px; top:550px; width:172px; height:125px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno" type="output"/>
- <col ref="dispptno"/>
- <col ref="spcseqno"/>
- <col ref="csteno" type="output"/>
- <col ref="slidno" type="output"/>
- <col ref="pid" type="output"/>
- <col ref="patnm" type="output"/>
- <col ref="slidcnts" type="output"/>
- <col ref="appdeptcd"/>
- <col ref="appid"/>
- <col ref="rrgstno"/>
- <col ref="psptno"/>
- <col ref="hometel"/>
- <col ref="mpphontel"/>
- <col ref="lenddd"/>
- <col ref="lendno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCsteSlidChoi();
- ]]>
- </script>
- </datagrid>
- <group id="grp_lend" style="left:805px; top:56px; width:390px; height:688px; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:0px; width:300px; height:14px; ">대출/반입 정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:390px; y2:15px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:393px; width:300px; height:13px; ">반납/반환 정보</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:408px; x2:390px; y2:408px; "/>
- <caption id="caption23" class="cell_1" style="left:198px; top:21px; width:90px; height:23px; text-align:left; vertical-align:middle; padding-left:10; ">대출시간</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:43px; x2:390px; y2:43px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:67px; x2:390px; y2:67px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:91px; x2:390px; y2:91px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:115px; x2:390px; y2:115px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:139px; x2:390px; y2:139px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:163px; x2:390px; y2:163px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:187px; x2:390px; y2:187px; "/>
- <caption id="caption15" class="cell_1" style="left:198px; top:189px; width:90px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">환자명</caption>
- <line id="line14" class="line_2" style="x1:0px; y1:263px; x2:390px; y2:263px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:287px; x2:390px; y2:287px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:311px; x2:390px; y2:311px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:335px; x2:390px; y2:335px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:359px; x2:390px; y2:359px; "/>
- <caption id="caption24" class="tit_2" style="left:5px; top:221px; width:110px; height:13px; ">신청자 정보</caption>
- <line id="line20" class="line_1" style="x1:0px; y1:236px; x2:390px; y2:236px; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:435px; x2:390px; y2:435px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:459px; x2:390px; y2:459px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:483px; x2:390px; y2:483px; "/>
- <line id="line24" class="line_2" style="x1:0px; y1:507px; x2:390px; y2:507px; "/>
- <line id="line25" class="line_2" style="x1:0px; y1:531px; x2:390px; y2:531px; "/>
- <line id="line26" class="line_3" style="x1:0px; y1:687px; x2:390px; y2:687px; "/>
- <line id="line27" class="line_2" style="x1:0px; y1:555px; x2:390px; y2:555px; "/>
- <caption id="caption33" class="cell_1" style="left:198px; top:509px; width:90px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">반납시간</caption>
- <output id="opt_lenddd" ref="/root/main/detllendrtn/lendinfo/lenddd" class="output_fix" navindex="10" inputtype="date" showmask="true" appearance="output" mask="exclude" style="left:95px; top:22px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="opt_lendtm" ref="/root/main/detllendrtn/lendinfo/lendtm" class="output_fix" navindex="11" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:290px; top:22px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <select1 id="rdo_lendflag" ref="/root/main/detllendrtn/lendinfo/lendflag" class="radio_search" navindex="12" appearance="full" cellspacing="22" cols="5" overflow="visible" style="left:95px; top:48px; width:267px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>원내</label>
- <value>0</value>
- </item>
- <item>
- <label>원본</label>
- <value>1</value>
- </item>
- <item>
- <label>자문의</label>
- <value>2</value>
- </item>
- <item>
- <label>재제작</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_lenddept" ref="/root/main/detllendrtn/lendinfo/lenddept" class="combo_default" navindex="13" appearance="minimal" style="left:95px; top:70px; width:295px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeLendDeptChoi();
- ]]>
- </script>
- </select1>
- <input id="ipt_lendplce" ref="/root/main/detllendrtn/lendinfo/lendplce" class="input_default" navindex="16" mask="exclude" showmask="true" style="left:95px; top:142px; width:295px; height:19px; vertical-align:middle; "/>
- <select1 id="cmb_lendrsn" ref="/root/main/detllendrtn/lendinfo/lendresncd" class="combo_default" navindex="17" appearance="minimal" style="left:95px; top:166px; width:295px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_pid" ref="/root/main/detllendrtn/lendinfo/pid" class="input_default" navindex="18" mask="exclude" showmask="true" style="left:95px; top:190px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_patnm" ref="/root/main/detllendrtn/lendinfo/patnm" class="input_default" navindex="19" maxlength="30" style="left:290px; top:190px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_lend_rregno" ref="/root/main/detllendrtn/lendinfo/rrgstno" accesskey="ipt_rregno" class="input_default" navindex="21" style="left:95px; top:266px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_lend_appnm" ref="/root/main/detllendrtn/lendinfo/appnm" class="input_default" navindex="20" maxlength="30" style="left:95px; top:242px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_lend_cntctelno" ref="/root/main/detllendrtn/lendinfo/cntctelno" class="input_default" navindex="22" style="left:95px; top:290px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_lend_patrela" ref="/root/main/detllendrtn/lendinfo/patrela" class="input_default" navindex="23" style="left:95px; top:314px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_lend_rtnfcstdd" ref="/root/main/detllendrtn/lendinfo/rtnschedd" class="input_default" navindex="24" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:95px; top:338px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="opt_lend_acptnm" ref="/root/main/detllendrtn/lendinfo/acptnm" class="output_fix" navindex="25" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:95px; top:362px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_rtn_rtnnm" ref="/root/main/detllendrtn/lendinfo/rtnnm" class="input_default" navindex="26" style="left:95px; top:414px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_rtn_rregno" ref="/root/main/detllendrtn/lendinfo/rtnrregno" class="input_default" navindex="27" style="left:95px; top:438px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_rtn_cntctelno" ref="/root/main/detllendrtn/lendinfo/rtncntctelno" class="input_default" navindex="28" style="left:95px; top:462px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_rtn_patrela" ref="/root/main/detllendrtn/lendinfo/rtnpatrela" class="input_default" navindex="29" style="left:95px; top:486px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="opt_rtn_rtndd" ref="/root/main/detllendrtn/lendinfo/rtndd" class="output_fix" navindex="30" format="yyyy-mm-dd" showmask="true" appearance="output" mask="exclude" style="left:95px; top:510px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="opt_rtn_rtntm" ref="/root/main/detllendrtn/lendinfo/rtntm" class="output_fix" navindex="31" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:290px; top:510px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="opt_rtn_acptnm" ref="/root/main/detllendrtn/lendinfo/rtnacptnm" class="output_fix" navindex="32" showmask="true" appearance="output" mask="exclude" style="left:95px; top:534px; width:295px; height:19px; text-align:center; vertical-align:middle; "/>
- <textarea id="tar_rtn_rem" ref="/root/main/detllendrtn/lendinfo/lendrtncmt" navindex="33" style="left:95px; top:558px; width:295px; height:127px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:93px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">대출자</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:117px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">자문의</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:141px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">대출 의뢰과</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:165px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">대출사유</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:21px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:10; ">대출일자</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:189px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">등록번호</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:69px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">대출과</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:45px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">대출구분</caption>
- <caption id="caption30" class="cell_1" style="left:0px; top:461px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">연락처</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:557px; width:92px; height:130px; text-align:left; vertical-align:middle; padding-left:5px; ">비고</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:313px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">환자와의 관계</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:337px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">반납예정일</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:361px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">인계인</caption>
- <caption id="caption25" class="cell_1" style="left:0px; top:485px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">환자와의 관계</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:509px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">반납일자</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:533px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">인수인</caption>
- <caption id="caption28" class="cell_1" style="left:0px; top:413px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">반납자성명</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:241px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">신청자</caption>
- <caption id="caption29" class="cell_1" style="left:0px; top:437px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">주민증/면허증</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:265px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">주민증/면허증</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:289px; width:92px; height:23px; text-align:left; vertical-align:middle; padding-left:5px; ">연락처</caption>
- <line id="line9" class="line_3" style="x1:0px; y1:211px; x2:390px; y2:211px; "/>
- <output id="output1" ref="/root/main/detllendrtn/lendinfo/lendno" class="output_fix" navindex="11" visibility="hidden" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:270px; top:5px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <button id="button1" class="btn2_letter5" style="left:315px; top:216px; width:75px; height:19px; ">
- <caption>이미지등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeAppImgPopupCall();
- ]]>
- </script>
- </button>
- <output id="output2" ref="/root/main/detllendrtn/lendinfo/imgrgstdd" class="output_fix" navindex="11" visibility="hidden" showmask="true" appearance="output" mask="exclude" style="left:95px; top:215px; width:20px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="output3" ref="/root/main/detllendrtn/lendinfo/imgno" class="output_fix" navindex="11" visibility="hidden" showmask="true" appearance="output" mask="exclude" style="left:120px; top:215px; width:20px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="output4" ref="/root/main/detllendrtn/lendinfo/imgseqno" class="output_fix" navindex="11" visibility="hidden" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:145px; top:215px; width:20px; height:19px; text-align:center; vertical-align:middle; "/>
- <output id="output5" ref="/root/main/detllendrtn/lendinfo/rsltimg" class="output_fix" navindex="11" visibility="hidden" format="hh:nn:ss" showmask="true" appearance="output" mask="exclude" style="left:170px; top:215px; width:20px; height:19px; text-align:center; vertical-align:middle; "/>
- <img id="img_source" ref="/root/main/detllendrtn/lendinfo/rsltimg" style="left:292px; top:215px; width:20px; height:20px; background-stretch:stretch; border-color:#808080; border-style:solid; "/>
- <line id="line19" class="line_3" style="x1:0px; y1:383px; x2:390px; y2:383px; "/>
- <select1 id="cmb_csltdr" ref="/root/main/detllendrtn/lendinfo/cnsltdr" class="combo_default" navindex="15" visibility="hidden" appearance="minimal" style="left:20px; top:10px; width:295px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cnstdr/cnsltlist">
- <label ref="cnstdrnm"/>
- <value ref="cnstdrid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_csltdr" ref="/root/main/detllendrtn/lendinfo/cnsltdr" class="input_default" navindex="16" mask="exclude" maxbyte="6" showmask="true" style="left:95px; top:118px; width:295px; height:19px; vertical-align:middle; "/>
- <select1 id="cmb_lendchrg" ref="/root/main/detllendrtn/lendinfo/lendchrg" class="combo_default" navindex="14" visibility="hidden" appearance="minimal" style="left:20px; top:35px; width:295px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_grostestid" ref="/root/main/detllendrtn/lendinfo/lendchrg" class="combo_default" navindex="6" appearance="minimal" style="left:95px; top:94px; width:295px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='9']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line29" class="line_1" style="x1:-5px; y1:70px; x2:800px; y2:70px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:55px; width:290px; height:14px; ">대출처방 목록</caption>
- <group id="grp_sldelist" visibility="hidden" style="left:115px; top:160px; width:565px; height:340px; ">
- <datagrid id="grd_slidelist" nodeset="/root/main/slideinfo/slidelist" class="datagrid2" autoresize="true" caption="선
택^병리번호^검체번호^블록번호^슬라이드번호^블록표시내용^슬라이드표시내용" colsep="^" colwidth="20, 108, 67, 67, 82, 82, 109" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="13" style="left:5px; top:25px; width:555px; height:285px; ">
- <col checkvalue="true,false" ref="choi" type="checkbox"/>
- <col ref="ptno"/>
- <col ref="spcacptseqno"/>
- <col ref="csteno"/>
- <col ref="slidno"/>
- <col ref="blockcnts"/>
- <col ref="slidecnts"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/choi") == "true") {
- for(var iRowNo = 1 ; iRowNo < grd_slidelist.rows ; iRowNo++) {
- if(iRowNo != grd_slidelist.row) {
- model.setValue("/root/main/slideinfo/slidelist["+ iRowNo+"]/choi", "false");
- }
- }
-
- model.removeNodeset("/root/hidden/slideinfo");
- model.makeValue("/root/hidden/slideinfo/blockcnts", model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/blockcnts"));
- model.makeValue("/root/hidden/slideinfo/slidecnts", model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/slidecnts"));
- model.makeValue("/root/hidden/slideinfo/spcacptseqno", model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/spcacptseqno"));
- model.makeValue("/root/hidden/slideinfo/csteno", model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/csteno"));
- model.makeValue("/root/hidden/slideinfo/slidno", model.getValue("/root/main/slideinfo/slidelist["+ grd_slidelist.row +"]/slidno"));
- model.makeValue("/root/hidden/slideinfo/check", "Y");
- } else {
- model.removeNodeset("/root/hidden/slideinfo");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption36" class="tit_2" style="left:5px; top:5px; width:200px; height:14px; ">카세트/슬라이드 목록</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:560px; y2:20px; "/>
- <button id="button2" class="btn4_letter2" navindex="19" style="left:445px; top:315px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ichk = grd_slidelist.findRow("true", 0, 0, false, true);
- if(ichk <= 0) {
- messageBox("블록/슬라이드를 선택하지 않으셨습니다.", "I007");
- return;
- }
-
- grp_sldelist.visible = false;
-
- //의뢰지에 슬라이드 번호 저장.
- fSetSlideRgst();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" navindex="19" style="left:505px; top:315px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_sldelist.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_cnfmcert" class="btn4_letter3" navindex="34" style="left:1003px; top:3px; width:68px; height:22px; ">
- <caption>확인증</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeLendCnfmPrnt();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="35" style="left:1074px; top:3; width:56px; height:22px; ">
- <caption>대출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeLendSave("0");
- ]]>
- </script>
- </button>
- <button id="btn_upd" class="btn4_letter2" disabled="true" navindex="36" style="left:1133px; top:3; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeLendSave("1");
- ]]>
- </script>
- </button>
- <line id="line28" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|