123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <init>
- <instcd>012</instcd>
- <reqdeptcd/>
- <reqdeptnm/>
- <radio1>
- <label>법정급여</label>
- <value>1</value>
- <label>법정비급여</label>
- <value>2</value>
- <label>의료적비급여</label>
- <value>3</value>
- <label>비산정</label>
- <value>4</value>
- </radio1>
- <radio2>
- <label>결정신청유</label>
- <value>1</value>
- <label>결정신청무</label>
- <value>2</value>
- </radio2>
- <reqtodd/>
- <fromreqdd/>
- <edicd/>
- <goodnm/>
- </init>
- <send>
- <sendlist>
- <instcd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqfromdd/>
- <reqtodd/>
- <goodflag/>
- <edicd/>
- <goodnm/>
- </sendlist>
- <newmeterialdetail/>
- </send>
- <main>
- <list>
- <newmeterialdetail>
- <instcd/>
- <reqdd/>
- <reqseqno/>
- <goodflag/>
- <goodengnm/>
- <goodhngnm/>
- <goodspec/>
- <goodmodel/>
- <prodplce/>
- <prodplcenm/>
- <prodcmpycd/>
- <prodcmpynm/>
- <maincustlastsuplplce/>
- <maincust/>
- <chrgid/>
- <chrgmpphon/>
- <chrgtel/>
- <purcunit/>
- <reqqty/>
- <mmavguseqty/>
- <useschedd/>
- <edicd/>
- <reqresnusge/>
- <smlartymatruseprestcond/>
- <anohospusestat/>
- <newmatrusgeimprvpnt/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqdepttel/>
- <reqpsnid/>
- <reqpsnnm/>
- <insuyn/>
- <undecicurematr/>
- <undecicurematrreqdt/>
- <actamtincl/>
- <judgcmt/>
- <purcteamcmt/>
- <newmatrprcsstat/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <goodcd/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </newmeterialdetail>
- </list>
- <newmeterialdetail>
- <instcd/>
- <reqdd/>
- <reqseqno/>
- <goodflag/>
- <goodengnm/>
- <goodhngnm/>
- <goodspec/>
- <goodmodel/>
- <prodplce/>
- <prodplcenm/>
- <prodcmpycd/>
- <prodcmpynm/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <chrgid/>
- <chrgmpphon/>
- <chrgtel/>
- <purcunit/>
- <reqqty/>
- <mmavguseqty/>
- <useschedd/>
- <edicd/>
- <reqresnusge/>
- <smlartymatruseprestcond/>
- <anohospusestat/>
- <newmatrusgeimprvpnt/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqdepttel/>
- <reqpsnid/>
- <reqpsnnm/>
- <insuyn/>
- <undecicurematr/>
- <undecicurematrreqdt/>
- <actamtincl/>
- <judgcmt/>
- <purcteamcmt/>
- <newmatrprcsstat/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <goodcd/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </newmeterialdetail>
- </main>
- <temp/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
-
- misfMsterDetailSet(grd_newmeterial,null,"TRRSD04001","Y");
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSD04001" ref="/root/send/sendlist" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list/newmeterialdetail"/>
- <submission id="TXRSD04001" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfGridInit(grd_newmeterial);
- // misfGridInit(grd_newmeterialdetail);
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/newmeterialdetail");
-
- misfComboComCdListMulti("Z0007,R0025,R0035,R0032","cmb_instcd_search,cmb_goodflag_search,cmb_prodplce,cmb_purcunit");
- misfComboCopyItemSet(cmb_instcd_search, "", cmb_instcd, ""); //기관코드
- misfComboCopyItemSet(cmb_goodflag_search, "", cmb_goodflag, ""); //물품코드
-
- model.setValue(cmb_instcd_search.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_reqdeptcd_search.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(opt_reqdeptnm_search.attribute("ref") , getUserInfo("dutplcenm"));
-
- model.setValue(ipt_reqdeptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue(opt_reqdeptnm.attribute("ref"), getUserInfo("dutplcenm"));
- model.setValue(ipt_reqpsnid.attribute("ref"), getUserInfo("userid"));
- model.setValue(opt_reqpsnnm.attribute("ref"), getUserInfo("usernm"));
-
- model.setValue(ipt_reqdd.attribute("ref"), getCurrentDate() );
- model.setValue(ipt_useschedd.attribute("ref"), getCurrentDate() );
- model.setValue(ipt_undecicurematrreqdt.attribute("ref"), getCurrentDate() );
-
- rdo_medcare.select(0);
- rdo_undecicurematr.select(0);
-
- fDisableCheck( false );
- model.refresh();
- }
-
- function fDataCheck() {
- misfGridRowStatusChange(grd_newmeterial,"/root/main/list","/root/main");
- var updtdata = getGridUpdateData(grd_newmeterial);
- model.refresh();
- if (updtdata != "" ) return true;
- else return false;
- }
-
- function fDisableCheck( status ) {
- cmb_instcd.disabled = status;
- ipt_reqdd.disabled = status;
- ipt_reqseqno.disabled = status;
- cmb_goodflag.disabled = status;
- }
-
- function fSearchData() {
- misfMsterDetailRetrieve();
- if ( grd_newmeterial.rows > 1 ) {
- model.resetInstanceNode("/root/main/newmeterialdetail");
- grd_newmeterial.row = 1;
- model.copyNode("/root/main/newmeterialdetail" ,grd_newmeterial.nodeset + "["+ grd_newmeterial.row + "]");
- fDisableCheck( true );
- } else {
- model.resetInstanceNode("/root/main/newmeterialdetail");
- fDisableCheck( false );
- }
- model.refresh();
- }
-
- function fCheckSaveData()
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length==0)
- {
- messageBox("기관코드는" ,"I003");
- model.setFocus("cmb_instcd");
- return false;
- }
- if(model.getValue(ipt_reqdd.attribute("ref")).length==0)
- {
- messageBox("청구일자는","I003");
- model.setFocus("ipt_reqdd");
- return false;
- }
- if(model.getValue(ipt_reqseqno.attribute("ref")).length==0)
- {
- messageBox("청구순번은","I003");
- model.setFocus("ipt_reqseqno");
- return false;
- }
- if(model.getValue(cmb_goodflag.attribute("ref")).length==0)
- {
- messageBox("물품구분은","I003");
- model.setFocus("cmb_goodflag");
- return false;
- }
- /*
- if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
- {
- messageBox("청구부서는","I003");
- model.setFocus("ipt_reqdeptcd");
- return false;
- }
- if(model.getValue(ipt_reqpsnid.attribute("ref")).length==0)
- {
- messageBox("청구자는","I003");
- model.setFocus("ipt_reqpsnid");
- return false;
- }
- if(model.getValue(ipt_goodengnm.attribute("ref")).length==0)
- {
- messageBox("품명(영문)은","I003");
- model.setFocus("ipt_goodengnm");
- return false;
- }
- if(model.getValue(ipt_goodhngnm.attribute("ref")).length==0)
- {
- messageBox("품명(한글)은","I003");
- model.setFocus("ipt_goodhngnm");
- return false;
- }
- if(model.getValue(ipt_goodspec.attribute("ref")).length==0)
- {
- messageBox("규격은","I003");
- model.setFocus("ipt_goodspec");
- return false;
- }
- if(model.getValue(ipt_goodmodel.attribute("ref")).length==0)
- {
- messageBox("모델은","I003");
- model.setFocus("ipt_goodmodel");
- return false;
- }
- if(model.getValue(cmb_prodplce.attribute("ref")).length==0)
- {
- messageBox("제조국은","I003");
- model.setFocus("cmb_prodplce");
- return false;
- }
- if(model.getValue(ipt_prodcmpycd.attribute("ref")).length==0)
- {
- messageBox("제조회사는","I003");
- model.setFocus("ipt_prodcmpycd");
- return false;
- }
- if(model.getValue(cmb_purcunit.attribute("ref")).length==0)
- {
- messageBox("구매단위는","I003");
- model.setFocus("cmb_purcunit");
- return false;
- }
- if(model.getValue(ipt_reqqty.attribute("ref")).length==0)
- {
- messageBox("수량은","I003");
- model.setFocus("ipt_reqqty");
- return false;
- }
- if(model.getValue(ipt_mmavguseqty.attribute("ref")).length==0)
- {
- messageBox("월평균사용량은","I003");
- model.setFocus("ipt_mmavguseqty");
- return false;
- }
- if(model.getValue(ipt_useschedd.attribute("ref")).length==0)
- {
- messageBox("사용예정일은","I003");
- model.setFocus("ipt_useschedd");
- return false;
- }
- if(model.getValue(ipt_maincustlastsuplplce.attribute("ref")).length==0)
- {
- messageBox("거래처는","I003");
- model.setFocus("ipt_maincustlastsuplplce");
- return false;
- }
- if(model.getValue(ipt_chrgtel.attribute("ref")).length==0)
- {
- messageBox("전화번호는","I003");
- model.setFocus("ipt_chrgtel");
- return false;
- }
- if(model.getValue(ipt_chrgid.attribute("ref")).length==0)
- {
- messageBox("영업담당자는","I003");
- model.setFocus("ipt_chrgid");
- return false;
- }
- if(model.getValue(ipt_chrgmpphon.attribute("ref")).length==0)
- {
- messageBox("핸드폰번호는","I003");
- model.setFocus("ipt_chrgmpphon");
- return false;
- }
- if(model.getValue(rdo_medcare.attribute("ref")).length==0)
- {
- messageBox("요양급여는","I003");
- model.setFocus("rdo_medcare");
- return false;
- }
- if(model.getValue(rdo_undecicurematr.attribute("ref")).length==0)
- {
- messageBox("미결정치료재료는","I003");
- model.setFocus("rdo_undecicurematr");
- return false;
- }
- if(model.getValue(ipt_edicd.attribute("ref")).length==0)
- {
- messageBox("EDI코드는","I003");
- model.setFocus("ipt_edicd");
- return false;
- }
- if(model.getValue(ipt_undecicurematrreqdt.attribute("ref")).length==0)
- {
- messageBox("신청일자는","I003");
- model.setFocus("ipt_undecicurematrreqdt");
- return false;
- }
- if(model.getValue(tar_reqresnusge.attribute("ref")).length==0)
- {
- messageBox("청구사유는","I003");
- model.setFocus("tar_reqresnusge");
- return false;
- }
- if(model.getValue(tar_smlartymatruseprestcond.attribute("ref")).length==0)
- {
- messageBox("유사물품사용현황은","I003");
- model.setFocus("tar_smlartymatruseprestcond");
- return false;
- }
- if(model.getValue(tar_anohospusestat.attribute("ref")).length==0)
- {
- messageBox("타병원사용현황은","I003");
- model.setFocus("tar_anohospusestat");
- return false;
- }
- if(model.getValue(tar_newmatrusgeimprvpnt.attribute("ref")).length==0)
- {
- messageBox("관련행위는","I003");
- model.setFocus("tar_newmatrusgeimprvpnt");
- return false;
- }
- */
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:154px; height:13px; ">신규재료 구매팀 소견</caption>
- <caption id="caption1" class="patient_text_black" style="left:828px; top:0px; width:366px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:594px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:121px; width:126px; height:13px; ">신규재료 물품목록</caption>
- <group id="group2" style="left:0px; top:4px; width:530px; height:115px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:530px; height:115px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:459px; top:48px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(cmb_instcd_search.attribute("ref")).length== 0 )
- {
- messageBox("기관코드는 " ,"C002");
- model.setFocus("cmb_instcd_search");
- return false;
- } else {
- if ( fDataCheck() ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- } else {
- fSearchData();
- }
- } else {
- fSearchData();
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_reqdeptnm_search" ref="/root/send/sendlist/reqdeptnm" class="output_fix" appearance="output" style="left:225px; top:26px; width:215px; height:19px; "/>
- <button id="button5" class="icon_search" style="left:202px; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd_search,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:91px; width:117px; height:17px; ">EDI 코드 :</caption>
- <caption id="caption3" class="search_name" style="left:216px; top:91px; width:117px; height:17px; ">물 품 명 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:3px; width:117px; height:17px; ">기관코드 :</caption>
- <caption id="caption8" class="search_name" style="left:15px; top:24px; width:117px; height:17px; ">청구부서 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/sendlist/instcd" class="combo_default" appearance="minimal" style="left:100px; top:4px; width:340px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_edicd_search" ref="/root/send/sendlist/edicd" class="input_default" style="left:100px; top:92px; width:110px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:15px; top:47px; width:117px; height:17px; ">청구일자 :</caption>
- <input id="ipt_reqdeptcd_search" ref="/root/send/sendlist/reqdeptcd" class="input_default" style="left:100px; top:26px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodnm_search" ref="/root/send/sendlist/goodnm" class="input_default" style="left:299px; top:92px; width:141px; height:19px; "/>
- <input id="ipt_reqtodd_search" ref="/root/send/sendlist/reqtodd" class="input_search" inputtype="date" style="left:276px; top:48px; width:164px; height:19px; "/>
- <caption id="caption14" class="search_no_b" style="left:264px; top:50px; width:12px; height:17px; ">~</caption>
- <input id="ipt_reqfromdd_search" ref="/root/send/sendlist/reqfromdd" class="input_search" inputtype="date" style="left:100px; top:49px; width:164px; height:19px; "/>
- <line id="line14" class="line_4" style="x1:444px; y1:6px; x2:444px; y2:108px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="search_name" style="left:15px; top:69px; width:86px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_goodflag_search" ref="/root/send/sendlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:100px; top:70px; width:340px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <line id="line30" class="line_2" style="x1:540px; y1:55px; x2:1190px; y2:55px; "/>
- <line id="line31" class="line_2" style="x1:540px; y1:79px; x2:1190px; y2:79px; "/>
- <line id="line20" class="line_2" style="x1:540px; y1:199px; x2:1190px; y2:199px; "/>
- <caption id="caption50" class="cell_1" style="left:865px; top:9px; width:108px; height:23px; vertical-align:middle; ">청구일자</caption>
- <line id="line32" class="line_2" style="x1:540px; y1:103px; x2:1190px; y2:103px; "/>
- <caption id="caption29" class="cell_1" style="left:540px; top:177px; width:60px; height:23px; vertical-align:middle; ">단위</caption>
- <line id="line33" class="line_2" style="x1:540px; y1:127px; x2:1190px; y2:127px; "/>
- <line id="line11" class="line_2" style="x1:540px; y1:31px; x2:1190px; y2:31px; "/>
- <caption id="caption42" class="cell_1" style="left:540px; top:81px; width:108px; height:23px; vertical-align:middle; ">품명(영문)</caption>
- <line id="line34" class="line_2" style="x1:540px; y1:151px; x2:1190px; y2:151px; "/>
- <caption id="caption45" class="cell_1" style="left:540px; top:105px; width:108px; height:23px; vertical-align:middle; ">품명(한글)</caption>
- <line id="line25" class="line_2" style="x1:540px; y1:223px; x2:1190px; y2:223px; "/>
- <line id="line36" class="line_2" style="x1:540px; y1:175px; x2:1190px; y2:175px; "/>
- <input id="ipt_goodengnm" ref="/root/main/newmeterialdetail/goodengnm" class="input_default" style="left:650px; top:82px; width:466px; height:19px; "/>
- <caption id="caption47" class="cell_1" style="left:540px; top:33px; width:108px; height:23px; vertical-align:middle; ">청구부서</caption>
- <caption id="caption52" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <line id="line27" class="line_2" style="x1:540px; y1:249px; x2:1190px; y2:249px; "/>
- <caption id="caption54" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <caption id="caption55" class="cell_1" style="left:540px; top:9px; width:108px; height:23px; vertical-align:middle; ">기관코드</caption>
- <caption id="caption56" class="cell_1" style="left:540px; top:129px; width:108px; height:23px; vertical-align:middle; ">규격</caption>
- <caption id="caption65" class="cell_1" style="left:540px; top:57px; width:108px; height:23px; vertical-align:middle; ">물품구분</caption>
- <caption id="caption68" class="cell_1" style="left:865px; top:129px; width:108px; height:23px; vertical-align:middle; ">모델</caption>
- <input id="ipt_reqdd" ref="/root/main/newmeterialdetail/reqdd" class="input_essential" inputtype="date" style="left:975px; top:10px; width:155px; height:19px; "/>
- <button id="button7" class="btn2_letter5" style="left:1119px; top:105px; width:64px; height:19px; ">
- <caption>첨부이미지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- ]]>
- </script>
- </button>
- <input id="ipt_goodhngnm" ref="/root/main/newmeterialdetail/goodhngnm" class="input_default" style="left:650px; top:106px; width:466px; height:19px; "/>
- <line id="line10" class="line_3" style="x1:540px; y1:275px; x2:1195px; y2:275px; "/>
- <line id="line1" class="line_1" style="x1:540px; y1:278px; x2:1195px; y2:278px; "/>
- <line id="line5" class="line_3" style="x1:540px; y1:589px; x2:1195px; y2:589px; "/>
- <caption id="caption18" class="cell_1" style="left:540px; top:284px; width:108px; height:77px; text-align:center; vertical-align:middle; ">
- <![CDATA[ 청 구 사 유
- /
- 용 도]]>
- </caption>
- <caption id="caption16" class="cell_1" style="left:540px; top:540px; width:108px; height:47px; text-align:center; vertical-align:middle; ">관 련 행 위</caption>
- <select1 id="cmb_instcd" ref="/root/main/newmeterialdetail/instcd" class="combo_essential" appearance="minimal" style="left:650px; top:10px; width:213px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_purcunit" ref="/root/main/newmeterialdetail/purcunit" class="combo_essential" appearance="minimal" style="left:602px; top:178px; width:133px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line18" class="line_2" style="x1:539px; y1:363px; x2:1189px; y2:363px; "/>
- <textarea id="tar_newmatrusgeimprvpnt" ref="/root/main/newmeterialdetail/newmatrusgeimprvpnt" style="left:650px; top:540px; width:543px; height:47px; "/>
- <datagrid id="grd_newmeterial" nodeset="/root/main/list/newmeterialdetail" caption="기관코드^청구부서^청구부서명^청구일자^청구순번^물품구분^물품명(영문)^물품명(한글)^물품규격^모델^제조국코드^제조국^제조회사코드^제조회사코드^거래처코드^거래처명^담당자id^담당자hp^담당자전화번호^구매단위^청구수량^월별사용량^사용예정일^edi코드^청구사유 및 용도^유사재료사용현황^타병원사용현황^관련행위^청구부서전화번호^청구자^청구자명^보험여부^미결정치료재료^미결정치료재료신청일^행위료포함^심사소견^구매팀소견^신규재료진행상태^대분류코드^중분류코드^소분류코드^물품코드^최초등록자id^최초등록일시^최종수정자id^최종수정일시" colwidth="20, 20, 100, 100, 20, 20, 100, 100, 80, 80, 20, 20, 22, 17, 19, 80, 20, 20, 20, 60, 60, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 80, 20, 20, 20, 20" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:141px; width:530px; height:449px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqdeptnm"/>
- <col ref="reqdd"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="goodengnm"/>
- <col ref="goodhngnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="prodplcenm" visibility="hidden"/>
- <col ref="prodcmpycd" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="maincustlastsuplplce" visibility="hidden"/>
- <col ref="maincust"/>
- <col ref="chrgid" visibility="hidden"/>
- <col ref="chrgmpphon" visibility="hidden"/>
- <col ref="chrgtel" visibility="hidden"/>
- <col ref="purcunit"/>
- <col ref="reqqty"/>
- <col ref="mmavguseqty" visibility="hidden"/>
- <col ref="useschedd" visibility="hidden"/>
- <col ref="edicd" visibility="hidden"/>
- <col ref="reqresnusge" visibility="hidden"/>
- <col ref="smlartymatruseprestcond" visibility="hidden"/>
- <col ref="anohospusestat" visibility="hidden"/>
- <col ref="newmatrusgeimprvpnt" visibility="hidden"/>
- <col ref="reqdepttel" visibility="hidden"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="reqpsnnm" visibility="hidden"/>
- <col ref="insuyn" visibility="hidden"/>
- <col ref="undecicurematr" visibility="hidden"/>
- <col ref="undecicurematrreqdt" visibility="hidden"/>
- <col ref="actamtincl" visibility="hidden"/>
- <col ref="judgcmt" visibility="hidden"/>
- <col ref="purcteamcmt" visibility="hidden"/>
- <col ref="newmatrprcsstat" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="goodcd"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_newmeterial.isCell( event.target ) && grd_newmeterial.row >= grd_newmeterial.fixedRows ) {
- model.copyNode("/root/main/newmeterialdetail" ,grd_newmeterial.nodeset + "["+ grd_newmeterial.row + "]");
- fDisableCheck( true );
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_newmeterial.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_reqseqno" ref="/root/main/newmeterialdetail/reqseqno" class="input_default" style="left:1134px; top:10px; width:60px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:865px; top:33px; width:108px; height:23px; vertical-align:middle; ">청구자</caption>
- <output id="opt_reqdeptnm" ref="/root/main/newmeterialdetail/reqdeptnm" class="output_fix" appearance="output" style="left:731px; top:34px; width:132px; height:19px; "/>
- <input id="ipt_reqdeptcd" ref="/root/main/newmeterialdetail/reqdeptcd" class="input_essential" style="left:651px; top:34px; width:60px; height:19px; "/>
- <button id="button4" class="icon_search" style="left:714px; top:35px; width:16px; height:16px; ">
- <caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </caption>
- </button>
- <textarea id="tar_smlartymatruseprestcond" ref="/root/main/newmeterialdetail/smlartymatruseprestcond" style="left:650px; top:365px; width:543px; height:74px; "/>
- <line id="line7" class="line_2" style="x1:540px; y1:442px; x2:1190px; y2:442px; "/>
- <textarea id="tar_anohospusestat" ref="/root/main/newmeterialdetail/anohospusestat" style="left:650px; top:445px; width:543px; height:91px; "/>
- <line id="line12" class="line_2" style="x1:540px; y1:538px; x2:1190px; y2:538px; "/>
- <caption id="caption17" class="cell_1" style="left:540px; top:366px; width:108px; height:74px; text-align:center; vertical-align:middle; ">
- <![CDATA[유 사 재 료
- 사 용 현 황]]>
- </caption>
- <caption id="caption13" class="cell_1" style="left:540px; top:445px; width:108px; height:91px; text-align:center; vertical-align:middle; ">타 병원 사용현황</caption>
- <input id="ipt_goodspec" ref="/root/main/newmeterialdetail/goodspec" class="input_default" style="left:649px; top:130px; width:213px; height:19px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:136px; x2:530px; y2:136px; "/>
- <button id="button9" class="btn2_letter5" style="left:1119px; top:82px; width:75px; height:19px; ">
- <caption>타기관 조회</caption>
- </button>
- <output id="opt_reqpsnnm" ref="/root/main/newmeterialdetail/reqpsnnm" class="output_fix" appearance="output" style="left:1062px; top:34px; width:132px; height:19px; "/>
- <input id="ipt_reqpsnid" ref="/root/main/newmeterialdetail/reqpsnid" class="input_essential" style="left:975px; top:34px; width:69px; height:19px; "/>
- <button id="button8" class="icon_search" style="left:1045px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- rszfOpenPopUpListByWndName(ipt_reqpsnid,"","reqpsn,reqpsnnm","SPZSU10100","","");
- var userinfo = model.getValue(gvParamPath +"/SPZSU10100_/SPZSU10100_value");
-
- if(userinfo != "" && userinfo != null) {
- userinfo = userinfo.split("|");
- model.setValue(ipt_reqpsnid.attribute("ref"),userinfo[0]);
- model.setValue(opt_reqpsnnm.attribute("ref"),userinfo[1]);
- }
- model.refresh();
- */
-
- var recv_list = "reqpsnid,reqpsnnm";
- misfOpenPopUpList("12", ipt_reqpsnid,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodflag" ref="/root/main/newmeterialdetail/goodflag" class="combo_essential" appearance="minimal" editmode="search" style="left:650px; top:58px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption22" class="cell_1" style="left:747px; top:57px; width:58px; height:23px; vertical-align:middle; ">원내번호</caption>
- <input id="input3" class="input_default" style="left:807px; top:58px; width:106px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:915px; top:57px; width:58px; height:23px; vertical-align:middle; ">부서장</caption>
- <button id="button10" class="icon_search" visibility="hidden" style="left:1047px; top:60px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- rszfOpenPopUpListByWndName(ipt_reqpsn,"","reqpsn,reqpsnnm","SPZSU10100","","");
- var userinfo = model.getValue(gvParamPath +"/SPZSU10100_/SPZSU10100_value");
-
- if(userinfo != "" && userinfo != null) {
- userinfo = userinfo.split("|");
- model.setValue(ipt_reqpsn.attribute("ref"),userinfo[0]);
- model.setValue(opt_reqpsnnm.attribute("ref"),userinfo[1]);
- }
- model.refresh();
- */
- var recv_list = "reqpsn,reqpsnnm";
- misfOpenPopUpList("12", ipt_reqpsn,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input21" class="input_essential" style="left:976px; top:58px; width:69px; height:19px; "/>
- <output id="output2" class="output_fix" appearance="output" style="left:1062px; top:58px; width:132px; height:19px; "/>
- <input id="ipt_goodmodel" ref="/root/main/newmeterialdetail/goodmodel" class="input_default" style="left:975px; top:130px; width:219px; height:19px; "/>
- <caption id="caption72" class="cell_1" style="left:540px; top:153px; width:108px; height:23px; vertical-align:middle; ">제조국</caption>
- <button id="btn_prodcmpycd" class="icon_search" style="left:1036px; top:155px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:864px; top:153px; width:108px; height:23px; vertical-align:middle; ">제조회사</caption>
- <input id="ipt_prodcmpycd" ref="/root/main/newmeterialdetail/prodcmpycd" class="input_default" style="left:975px; top:154px; width:59px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpynm,," + model.getValue(ipt_prodcmpycd.attribute("ref")) ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- model.setFocus("ipt_goodmodel");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_prodplce");
- else model.setFocus("ipt_goodmodel");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_prodplce" ref="/root/main/newmeterialdetail/prodplce" class="combo" appearance="minimal" style="left:650px; top:154px; width:211px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prodplce">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodengnm");
- else model.setFocus("ipt_prodcmpycd");
- }
- if(event.keyCode == 9)model.setFocus("ipt_prodcmpycd");
- event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_prodcmpycd");
- ]]>
- </script>
- </select1>
- <output id="opt_prodcmpynm" ref="/root/main/newmeterialdetail/prodcmpynm" class="output_fix" appearance="output" style="left:1062px; top:154px; width:132px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:737px; top:177px; width:45px; height:23px; vertical-align:middle; ">수량</caption>
- <input id="ipt_reqqty" ref="/root/main/newmeterialdetail/reqqty" class="input_default" style="left:784px; top:178px; width:60px; height:19px; ">-</input>
- <input id="ipt_mmavguseqty" ref="/root/main/newmeterialdetail/mmavguseqty" class="input_default" style="left:927px; top:178px; width:60px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:845px; top:177px; width:80px; height:23px; vertical-align:middle; ">평균월사용량</caption>
- <caption id="caption26" class="cell_1" style="left:990px; top:177px; width:80px; height:23px; vertical-align:middle; ">사용예정일</caption>
- <input id="ipt_useschedd" ref="/root/main/newmeterialdetail/useschedd" class="input_essential" inputtype="date" style="left:1072px; top:178px; width:122px; height:19px; "/>
- <output id="opt_maincustlastsuplplcenm" ref="/root/main/newmeterialdetail/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:683px; top:202px; width:112px; height:19px; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/main/newmeterialdetail/maincustlastsuplplce" class="input_default" style="left:602px; top:202px; width:59px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- model.setFocus("ipt_suppcustcd");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcflag");
- else model.setFocus("ipt_suppcustcd");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:664px; top:203px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
- // rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","opt_instcd");
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd" );
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption31" class="cell_1" style="left:540px; top:201px; width:60px; height:23px; vertical-align:middle; ">거래처</caption>
- <caption id="caption32" class="cell_1" style="left:796px; top:201px; width:60px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption33" class="cell_1" style="left:938px; top:201px; width:69px; height:23px; vertical-align:middle; ">영업담당자</caption>
- <input id="ipt_chrgtel" ref="/root/main/newmeterialdetail/chrgtel" class="input_default" style="left:858px; top:202px; width:78px; height:19px; "/>
- <input id="ipt_chrgid" ref="/root/main/newmeterialdetail/chrgid" class="input_default" style="left:1009px; top:202px; width:67px; height:19px; "/>
- <input id="ipt_chrgmpphon" ref="/root/main/newmeterialdetail/chrgmpphon" class="input_default" style="left:1105px; top:202px; width:89px; height:19px; "/>
- <caption id="caption34" class="cell_1" style="left:1077px; top:199px; width:25px; height:23px; vertical-align:middle; ">HP</caption>
- <caption id="caption5" class="cell_1" style="left:540px; top:225px; width:108px; height:23px; vertical-align:middle; ">요양급여</caption>
- <caption id="caption11" class="cell_1" style="left:540px; top:250px; width:108px; height:23px; vertical-align:middle; ">미결정치료재료</caption>
- <select1 id="rdo_medcare" ref="/root/main/newmeterialdetail/insuyn" overflow="visible" appearance="full" rows="1" cols="4" style="left:650px; top:226px; width:211px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_undecicurematr" ref="/root/main/newmeterialdetail/undecicurematr" overflow="visible" appearance="full" rows="1" cols="3" style="left:650px; top:251px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if ( rdo_undecicurematr.value ==1 ) {
- ipt_undecicurematrreqdt.disabled = false;
- model.setValue( ipt_undecicurematrreqdt.attribute("ref") , getCurrentDate());
- } else {
- ipt_undecicurematrreqdt.disabled = true;
- model.resetInstanceNode( ipt_undecicurematrreqdt.attribute("ref") );
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:995px; top:225px; width:80px; height:23px; vertical-align:middle; ">EDI</caption>
- <input id="ipt_edicd" ref="/root/main/newmeterialdetail/edicd" class="input_default" style="left:1078px; top:226px; width:116px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:995px; top:251px; width:80px; height:23px; vertical-align:middle; ">신청일자</caption>
- <textarea id="tar_reqresnusge" ref="/root/main/newmeterialdetail/reqresnusge" style="left:650px; top:284px; width:543px; height:77px; "/>
- <input id="ipt_undecicurematrreqdt" ref="/root/main/newmeterialdetail/undecicurematrreqdt" class="input_essential" inputtype="date" style="left:1078px; top:252px; width:116px; height:19px; "/>
- <line id="line2" class="line_1" style="x1:540px; y1:3px; x2:1195; y2:3px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button2" class="btn4_letter3" style="left:1071px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_newmeterial);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fCheckSaveData() ) {
- if ( grd_newmeterial.rows <= 1 ) {
- misfGridInit(grd_newmeterial);
- misfGridIUD(grd_newmeterial, "A");
- model.refresh();
- }
-
- if ( fDataCheck() ) {
- misfSave("TXRSD04001");
- fSearchData();
- } else {
- messageBox("변경된 데이터가","I004");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_2" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
- <button id="btn_judg" class="btn3_letter4" style="left:0px; top:3px; width:80px; height:22px; ">
- <caption>심사보기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- window.load("SPRSD04310_심사.xrw","modeless", "SPRSD04310_심사.xrw", "width:535px; height:490;min:hidden;max:hidden;align:center", "" ,"");
- ]]>
- </script>
- </button>
- <button id="bnt_cmt" class="btn3_letter4" style="left:83px; top:3px; width:80px; height:22px; ">
- <caption>소견작성</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- window.load("SPRSD04311_소견.xrw","modeless", "SPRSD04311_소견.xrw", "width:540px; height:300;min:hidden;max:hidden;align:center", "" ,"");
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn3_letter5" style="left:166px; top:3px; width:92px; height:22px; ">
- <caption>레포트 출력</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|