123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>신규 재료심사</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>
- <label>징수불가</label>
- <value>5</value>
- </radio1>
- <radio2>
- <label>결정신청유</label>
- <value>1</value>
- <label>결정신청무</label>
- <value>2</value>
- </radio2>
- <reqtodd/>
- <fromreqdd/>
- <edicd/>
- <goodnm/>
- <rdo_confirm>
- <label>A</label>
- <value/>
- <label>B</label>
- <value>1</value>
- <label>C</label>
- <value>2</value>
- <label>D</label>
- <value>3</value>
- <label>E</label>
- <value>4</value>
- <label>F</label>
- <value>5</value>
- </rdo_confirm>
- </init>
- <send>
- <sendlist>
- <instcd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqfromdd/>
- <reqtodd/>
- <goodflag/>
- <edicd/>
- <goodnm/>
- <newmatrprcsstat/>
- <queryseqno/>
- </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/>
- <smlartygoodhngnm/>
- <smlartygoodengnm/>
- <calcscorcd/>
- <smlartyamt/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </newmeterialdetail>
- </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/>
- <smlartygoodhngnm/>
- <smlartygoodengnm/>
- <calcscorcd/>
- <smlartyamt/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <deliveunit/>
- <goodunitcost/>
- <reqchrgid/>
- <reqchrgnm/>
- </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" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/newmeterialdetail"/>
- <submission id="TXRSD04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" 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,R0129","cmb_instcd_search,cmb_goodflag_search,cmb_prodplce,cmb_purcunit,rdo_newmatrprcsstat");
- misfComboCopyItemSet(cmb_instcd_search, "", cmb_instcd, ""); //기관코드
- misfComboCopyItemSet(cmb_goodflag_search, "", cmb_goodflag, ""); //물품코드
- // grd_newmeterial.fixedcellcheckbox(0,1) = true;
-
- 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);
- // 단위 따로 분리.
- rszfComboUnitList (cmb_purcunit,model.getValue(cmb_instcd.attribute("ref")),model.getValue(cmb_goodflag.attribute("ref")));
- // 사용단위.
- misfComboCopyItemSet(cmb_purcunit, "", cmb_deliveunit, ""); //물품코드
-
- tar_purcteamcmt.disabled = true;
- tar_judgcmt.disabled = true;
- chk_actamtincl.disabled = true;
- ipt_smlartygoodhngnm.disabled = true;
- ipt_smlartygoodengnm.disabled = true;
- ipt_calcscorcd.disabled = true;
- ipt_smlartyamt.disabled = true;
- fDisableCheck( false );
- model.refresh();
- }
-
- function fInsuynChange(pDataClearYn)
- {
-
- ipt_edicd.visible=false;
- ipt_insucomd.visible=false;
- ipt_insuresn.visible=false;
- ipt_undecicurematrreqdt.visible=false;
-
- /* ----------------------------------------------------------
- data query -> silple query
- validation -> dataclear , ,
- -----------------------------------------------------------*/
- if (pDataClearYn=="Y")
- {
- model.setValue(ipt_edicd.attribute("ref"),""); // edi code
- model.setValue(ipt_insucomd.attribute("ref"),""); // 해당고시
- model.setValue(ipt_undecicurematrreqdt.attribute("ref"),""); //치료재료 미결정신청일자
- model.setValue(ipt_insuresn.attribute("ref"),""); //의료적 비급여사유
- }
- if (model.getValue(rdo_insuyn.attribute("ref"))=="1")
- {
- caption_insuyn.text = 'EDI CODE';
- ipt_edicd.visible=true;
- }
- else if (model.getValue(rdo_insuyn.attribute("ref"))=="2")
- {
- caption_insuyn.text = 'EDI CODE';
- ipt_edicd.visible=true;
- }
- else if (model.getValue(rdo_insuyn.attribute("ref"))=="3")
- {
- caption_insuyn.text = '사 유';
- ipt_insuresn.visible=true;
-
- }
- else if (model.getValue(rdo_insuyn.attribute("ref"))=="4")
- {
- caption_insuyn.text = '재료미결정신청일';
- ipt_undecicurematrreqdt.visible=true;
- }
- else if (model.getValue(rdo_insuyn.attribute("ref"))=="5")
- {
- caption_insuyn.text = '해당고시';
- ipt_insucomd.visible=true;
- }
- model.refresh();
- }
-
- function fDataCheck() {
- // if (model.getValue(tar_judgcmt.attribute("ref")).length != 0 ) {
- // model.setValue(ipt_newmatrprcsstat.attribute("ref"), 5 );
- // }
- misfGridRowStatusChange(grd_newmeterial,"/root/main/list","/root/main");
- model.refresh();
- var updtdata = getGridUpdateData(grd_newmeterial);
- model.refresh();
- if (updtdata != "" ) {
- if(model.getValue(tar_judgcmt.attribute("ref")).length==0)
- {
- messageBox("심사소견은","I003");
- model.setFocus("tar_judgcmt");
- return false;
- } else {
- model.setValue(ipt_newmatrprcsstat.attribute("ref"), 4 );
- misfGridRowStatusChange(grd_newmeterial,"/root/main/list","/root/main");
- model.refresh();
- }
- return true;
- } else {
- return false;
- }
- }
-
- function fDisableCheck( status ) {
- cmb_instcd.disabled = status;
- ipt_reqdd.disabled = status;
- // ipt_reqseqno.disabled = status;
- ipt_reqdeptcd.disabled = status;
- ipt_reqpsnid.disabled = status;
- cmb_goodflag.disabled = status;
- ipt_reqdepttel.disabled = status;
- // ipt_deprtmangr.disabled = status;
- ipt_goodengnm.disabled = status;
- ipt_goodhngnm.disabled = status;
- ipt_goodspec.disabled = status;
- ipt_goodmodel.disabled = status;
- cmb_prodplce.disabled = status;
- ipt_prodcmpycd.disabled = status;
- cmb_purcunit.disabled = status;
- ipt_reqqty.disabled = status;
- ipt_mmavguseqty.disabled = status;
- // ipt_useschedd.disabled = status;
- ipt_maincustlastsuplplce.disabled = status;
- ipt_chrgtel.disabled = status;
- ipt_chrgid.disabled = status;
- ipt_chrgmpphon.disabled = status;
- ipt_edicd.disabled = status;
- tar_reqresnusge.disabled = status;
- tar_smlartymatruseprestcond.disabled = status;
- tar_anohospusestat.disabled = status;
- tar_newmatrusgeimprvpnt.disabled = status;
- tar_purcteamcmt.disabled = status;
-
- tar_reqcmt.disabled=status;
- ipt_goodunitcost.disabled=status;
- cmb_deliveunit.disabled=status;
- ipt_undecicurematrreqdt.disabled=status;
- ipt_insucomd.disabled=status;
- ipt_insuresn.disabled=status;
- ipt_edicd.disabled=status;
- rdo_insuyn.disabled=status;
-
- ipt_reqchrgid.disabled=status;
-
- /*
- cmb_instcd.disabled = status;
- ipt_reqdd.disabled = status;
- ipt_reqseqno.disabled = status;
- cmb_goodflag.disabled = status;
- */
- var tempstatus = model.getValue( grd_newmeterial.attribute("nodeset")+"["+ grd_newmeterial.row +"]/newmatrprcsstat" );
- if( tempstatus == 3 || tempstatus == 4 ) {
- //rdo_insuyn.disabled = false;
- //rdo_undecicurematr.disabled = false;
- ipt_undecicurematrreqdt.disabled = false;
-
- tar_judgcmt.disabled = false;
- chk_actamtincl.disabled = false;
- ipt_smlartygoodhngnm.disabled = false;
- ipt_smlartygoodengnm.disabled = false;
- ipt_calcscorcd.disabled = false;
- ipt_smlartyamt.disabled = false;
-
- }else {
- //rdo_insuyn.disabled = true;
- //rdo_undecicurematr.disabled = true;
- ipt_undecicurematrreqdt.disabled = true;
-
- tar_judgcmt.disabled = true;
- chk_actamtincl.disabled = true;
- ipt_smlartygoodhngnm.disabled = true;
- ipt_smlartygoodengnm.disabled = true;
- ipt_calcscorcd.disabled = true;
- ipt_smlartyamt.disabled = true;
- }
- }
-
- 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;
- }
-
- function fChangeStatus( flag, flagnm ) {
- var cnt = grd_newmeterial.rows;
- var temp = 0;
- for ( var i=0; i<cnt; i++ ) {
- var select = model.getValue(grd_newmeterial.attribute("nodeset")+"[" + i + "]/chk");
- // 화면의 체크 값 확인
- if (select != 0) {
- temp = temp + 1;
- if( model.getValue( grd_newmeterial.attribute("nodeset")+"["+ i +"]/newmatrprcsstat") == 4 || model.getValue( grd_newmeterial.attribute("nodeset")+"["+ i +"]/newmatrprcsstat") == 5 ) {
- messageBox ("항목을 변경할 수","I004");
- grd_newmeterial.select(i, 3)=true;
- break;
- } else {
- // 현재 요청한 접수 상태가 이전 상태와 동일한지 확인
- if ( model.getValue( grd_newmeterial.attribute("nodeset")+"["+ i +"]/newmatrprcsstat") != flag ) {
- model.setValue(grd_newmeterial.attribute("nodeset")+"["+ i +"]/newmatrprcsstat", flag );
- model.setValue(grd_newmeterial.attribute("nodeset")+"["+ i +"]/newmatrprcsstatnm", flagnm );
- // 현재 선택한 row의 상태값을 바꾸면 왼편의 Grid 값과 비교해서 변경 사실을 알게되지만 왼편의 Detail 값을 Grid로 복사 하게 되면서 변경 값이 반영되지 않는다.
- // 때문에 Grid 값이 변경하면 Detail의 값을 변경해서 Grid에 변경 내용을 Copy 시킨다.
- model.setValue(ipt_newmatrprcsstat.attribute("ref"), flag );
- grd_newmeterial.rowStatus( i ) = 2;
- var cur_row = grd_newmeterial.row;
- var status = grd_newmeterial.valueMatrix(cur_row, grd_newmeterial.colRef("m"));
- if(status !="insert" && status !="delete") grd_newmeterial.addStatus(cur_row,"update");
- }
- }
- } else {
- // 체크 되지 않은 부분은 상태값을 초기화 한다.
- // grd_newmeterial.rowStatus( i ) = 0;
- }
- // if( grd_reqdetaillist.rowStatus(i)==2 ) grd_reqdetaillist.rowStatus(i) = 0;
- }
- if( temp<=0 )messageBox ("선택항 항목이","I004");
- }
- ]]>
- </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:200px; 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:744px; ">
- <group id="group2" style="left:0px; top:10px; width:535px; height:185px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:535px; height:180px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_reqdeptnm_search" ref="/root/send/sendlist/reqdeptnm" class="input_search" style="left:225px; top:54px; width:192px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:202px; top:54px; 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:133px; width:117px; height:17px; ">EDI 코드 :</caption>
- <caption id="caption3" class="search_name" style="left:216px; top:133px; width:117px; height:17px; ">물 품 명 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:4px; width:117px; height:17px; ">기관코드 :</caption>
- <caption id="caption8" class="search_name" style="left:15px; top:55px; width:117px; height:17px; ">청구부서 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/sendlist/instcd" class="combo_default" appearance="minimal" style="left:100px; top:3px; width:317px; 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:132px; width:110px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:15px; top:81px; width:117px; height:17px; ">청구일자 :</caption>
- <input id="ipt_reqdeptcd_search" ref="/root/send/sendlist/reqdeptcd" class="input_default" style="left:100px; top:54px; 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:132px; width:118px; height:19px; "/>
- <input id="ipt_reqtodd_search" ref="/root/send/sendlist/reqtodd" class="input_search" inputtype="date" style="left:268px; top:80px; width:149px; height:19px; "/>
- <caption id="caption14" class="search_no_b" style="left:252px; top:81px; width:12px; height:17px; ">~</caption>
- <input id="ipt_reqfromdd_search" ref="/root/send/sendlist/reqfromdd" class="input_search" inputtype="date" style="left:100px; top:80px; width:149px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:15px; top:107px; 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:106px; width:317px; 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="caption12" class="search_name" style="left:15px; top:160px; width:117px; height:17px; ">진행상태 :</caption>
- <select1 id="rdo_newmatrprcsstat" ref="/root/send/sendlist/newmatrprcsstat" appearance="full" cols="6" rows="1" overflow="visible" style="left:100px; top:159px; width:211px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line14" class="line_4" style="x1:455px; y1:11px; x2:455px; y2:172px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:470px; top:73px; 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>
- <caption id="caption21" class="search_name" style="left:15px; top:29px; width:117px; height:17px; ">일련번호 :</caption>
- <caption id="caption26" style="left:260px; top:30px; width:183px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#ff6600; vertical-align:middle; ">※ 년월(4자리)+순번(3자리)</caption>
- <input id="input1" ref="/root/send/sendlist/queryseqno" class="input_default" style="left:100px; top:29px; width:150px; height:19px; text-align:center; "/>
- </group>
- <caption id="caption52" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <caption id="caption54" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <!--
- <datagrid id="grd_newmeterial" nodeset="/root/main/list/newmeterialdetail" caption="^진행상태^기관코드^청구부서^청구부서명^청구일자^청구순번^물품구분^물품명(영문)^물품명(한글)^물품규격^모델^제조국코드^제조국^제조회사코드^제조회사코드^거래처코드^거래처명^담당자id^담당자hp^담당자전화번호^구매단위^청구수량^월별사용량^사용예정일^edi코드^청구사유 및 용도^유사재료사용현황^타병원사용현황^관련행위^청구부서전화번호^청구자^청구자명^보험여부^미결정치료재료^미결정치료재료신청일^행위료포함^심사소견^구매팀소견^신규재료진행상태^대분류코드^중분류코드^소분류코드^물품코드^동일물품(한글)^동일물품(영문)^동일물품(수가코드)^동일물품비용^최초등록자id^최초등록일시^최종수정자id^최종수정일시" colsep="^" colwidth="30, 80, 20, 20, 100, 80, 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, 20, 20, 20, 20" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:180px; width:530px; height:332px; ">
- -->
- <datagrid id="grd_newmeterial" nodeset="/root/main/list/newmeterialdetail" caption="진행상태^수가위원회여부^기관코드^청구부서^청구부서명^청구일자^청구순번^물품구분^물품명(영문)^물품명(한글)^물품규격^모델^제조국코드^제조국^제조회사코드^제조회사코드^거래처코드^거래처명^담당자id^담당자hp^담당자전화번호^구매단위^청구수량^월별사용량^사용예정일^edi코드^청구사유 및 용도^유사재료사용현황^타병원사용현황^관련행위^청구부서전화번호^청구자^청구자명^보험여부^미결정치료재료^미결정치료재료신청일^행위료포함^심사소견^구매팀소견^신규재료진행상태^대분류코드^중분류코드^소분류코드^물품코드^동일물품(한글)^동일물품(영문)^동일물품(수가코드)^동일물품비용^최초등록자id^최초등록일시^최종수정자id^최종수정일시" colsep="^" colwidth="80, 100, 20, 20, 100, 80, 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, 20, 20, 20, 20, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:225px; width:535px; height:360px; ">
- <!-- <col checkvalue="1,0" ref="chk" type="checkbox"/> -->
- <col ref="newmatrprcsstatnm"/>
- <col ref="insucommityn"/>
- <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="smlartygoodhngnm" visibility="hidden"/>
- <col ref="smlartygoodengnm" visibility="hidden"/>
- <col ref="calcscorcd" visibility="hidden"/>
- <col ref="smlartyamt" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="reqchrgid" visibility="hidden"/>
- <col ref="reqchrgnm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- // if( grd_newmeterial.isCell( event.target ) && grd_newmeterial.row >= grd_newmeterial.fixedRows ) {
- if( grd_newmeterial.rows > grd_newmeterial.fixedRows ) {
- model.copyNode("/root/main/newmeterialdetail" ,grd_newmeterial.nodeset + "["+ grd_newmeterial.row + "]");
- fDisableCheck( true );
- fInsuynChange("N");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_newmeterial.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption9" class="tit_2" style="left:5px; top:205px; width:126px; height:13px; ">신규재료 물품목록</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:219px; x2:535px; y2:219px; "/>
- <button id="button1" class="btn2_letter2" visibility="hidden" style="left:492px; top:198px; width:42px; height:19px; ">
- <caption>반려</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChangeStatus( "2", "반려" );
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" visibility="hidden" style="left:448px; top:198px; width:42px; height:19px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChangeStatus( "3", "접수" );
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:598px; width:144px; height:22px; ">
- <caption>보험팀 소견</caption>
- <toggle case="judg_case" ev:event="DOMActivate"/>
- </button>
- <button id="button11" class="btn_sw" group="tab" style="left:144px; top:598px; width:144px; height:22px; ">
- <caption>구매팀 소견</caption>
- <toggle case="purc_case" ev:event="DOMActivate"/>
- </button>
- <input id="ipt_newmatrprcsstat" ref="/root/main/newmeterialdetail/newmatrprcsstat" visibility="hidden" style="left:485px; top:30px; width:20px; height:19px; "/>
- <switch id="switch2" style="left:0px; top:620px; width:1195px; height:114px; ">
- <case id="judg_case" selected="true">
- <line id="line15" class="line_3" style="x1:0px; y1:99px; x2:1193px; y2:99px; "/>
- <line id="line8" class="line_2" style="x1:0; y1:75px; x2:1193; y2:75px; "/>
- <line id="line9" class="line_2" style="x1:0; y1:51px; x2:1193; y2:51px; "/>
- <input id="ipt_smlartygoodengnm" ref="/root/main/newmeterialdetail/smlartygoodengnm" class="input_default" style="left:690px; top:79px; width:240px; height:19px; "/>
- <textarea id="tar_judgcmt" ref="/root/main/newmeterialdetail/judgcmt" style="left:110px; top:31px; width:420px; height:67px; "/>
- <caption id="caption30" class="cell_1" style="left:650px; top:77px; width:38px; height:23px; vertical-align:middle; ">영문</caption>
- <input id="ipt_smlartygoodhngnm" ref="/root/main/newmeterialdetail/smlartygoodhngnm" class="input_default" style="left:690px; top:55px; width:240px; height:19px; "/>
- <input id="ipt_smlartyamt" ref="/root/main/newmeterialdetail/smlartyamt" class="input_default" style="left:993px; top:79px; width:197px; height:19px; text-align:right; "/>
- <input id="ipt_calcscorcd" ref="/root/main/newmeterialdetail/calcscorcd" class="input_default" style="left:993px; top:55px; width:197px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:933px; top:77px; width:58px; height:23px; vertical-align:middle; ">금액(원)</caption>
- <caption id="caption24" class="cell_1" style="left:541px; top:29px; width:108px; height:71px; text-align:center; vertical-align:middle; ">
- <![CDATA[동재료 사용
- 의료 행위명]]>
- </caption>
- <caption id="judg_caption" class="cell_1" style="left:0px; top:29px; width:108px; height:71px; text-align:center; vertical-align:middle; ">심 사 소 견</caption>
- <caption id="caption36" class="cell_1" style="left:933px; top:53px; width:58px; height:23px; vertical-align:middle; ">수가코드</caption>
- <caption id="caption25" class="cell_1" style="left:650px; top:53px; width:38px; height:23px; vertical-align:middle; ">한글</caption>
- <caption id="caption37" class="cell_1" style="left:650px; top:29px; width:80px; height:23; vertical-align:middle; ">행위료포함</caption>
- <select id="chk_actamtincl" ref="/root/main/newmeterialdetail/actamtincl" overflow="visible" appearance="full" style="left:735px; top:32px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>포함여부</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <line id="line5" class="line_1" style="x1:0px; y1:24px; x2:1193; y2:24px; "/>
- </case>
- <case id="purc_case">
- <line id="line16" class="line_3" style="x1:0px; y1:99px; x2:1193px; y2:99px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:29px; width:108px; height:71; text-align:center; vertical-align:middle; ">구 매 팀 소 견</caption>
- <textarea id="tar_purcteamcmt" ref="/root/main/newmeterialdetail/purcteamcmt" style="left:110px; top:31px; width:1082px; height:67px; "/>
- <line id="line6" class="line_1" style="x1:0px; y1:24px; x2:1193; y2:24px; "/>
- </case>
- </switch>
- <line id="line30" class="line_2" style="x1:540px; y1:56px; x2:1195px; y2:56px; "/>
- <input id="ipt_goodhngnm" ref="/root/main/newmeterialdetail/goodhngnm" class="input_default" style="left:635px; top:108px; width:558px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:870px; top:34px; width:93px; height:23px; vertical-align:middle; ">신청자</caption>
- <output id="opt_maincustlastsuplplcenm" ref="/root/main/newmeterialdetail/maincust" class="output_fix" appearance="output" style="left:718px; top:274px; width:100px; height:19px; "/>
- <line id="line31" class="line_2" style="x1:540px; y1:80px; x2:1195px; y2:80px; "/>
- <line id="line20" class="line_2" style="x1:540px; y1:200px; x2:1195px; y2:200px; "/>
- <caption id="caption50" class="cell_1" style="left:870px; top:10px; width:93px; height:23px; vertical-align:middle; ">신청일자</caption>
- <textarea id="tar_smlartymatruseprestcond" ref="/root/main/newmeterialdetail/smlartymatruseprestcond" maxlength="300" style="left:650px; top:372px; width:543px; height:65px; "/>
- <caption id="caption72" class="cell_1" style="left:540px; top:154px; width:93px; height:23px; vertical-align:middle; ">제조국</caption>
- <button id="btn_prodcmpycd" class="icon_search" style="left:1039px; top:158px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_maincustlastsuplplce" ref="/root/main/newmeterialdetail/maincustlastsuplplce" class="input_default" style="left:634px; top:274px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if ( model.getValue(ipt_maincustlastsuplplce.attribute("ref")).length == 0 ) model.setValue(opt_maincustlastsuplplcenm.attribute("ref"),"");
- else 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");
- // else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd.attribute("ref")) +",maincustlastsuplplce," + 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>
- <caption id="caption_insuyn" class="cell_1" style="left:540px; top:201px; width:93px; height:22px; vertical-align:middle; ">EDI CODE</caption>
- <input id="ipt_insuresn" ref="/root/main/newmeterialdetail/insuresn" visibility="hidden" style="left:635px; top:203px; width:556px; height:19px; "/>
- <line id="line32" class="line_2" style="x1:540px; y1:104px; x2:1195px; y2:104px; "/>
- <line id="line10" class="line_3" style="x1:540px; y1:296px; x2:1195px; y2:296px; "/>
- <select1 id="cmb_instcd" ref="/root/main/newmeterialdetail/instcd" class="combo_essential" appearance="minimal" style="left:635px; top:12px; width:228px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 단위 따로 분리.
- rszfComboUnitList (cmb_purcunit,model.getValue(cmb_instcd.attribute("ref")),model.getValue(cmb_goodflag.attribute("ref")));
- ]]>
- </script>
- </select1>
- <select1 id="cmb_purcunit" ref="/root/main/newmeterialdetail/purcunit" class="combo_essential" appearance="minimal" style="left:1084px; top:226px; width:108px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_reqpsnnm" ref="/root/main/newmeterialdetail/reqpsnnm" class="output_fix" appearance="output" style="left:1072px; top:36px; width:121px; height:19px; "/>
- <input id="ipt_edicd" ref="/root/main/newmeterialdetail/edicd" class="input_default" visibility="hidden" style="left:635px; top:203px; width:121px; height:19px; "/>
- <line id="line11" class="line_2" style="x1:540px; y1:32px; x2:1195px; y2:32px; "/>
- <line id="line33" class="line_2" style="x1:540px; y1:128px; x2:1195px; y2:128px; "/>
- <button id="button4" class="icon_search" style="left:714px; top:38px; 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>
- <input id="ipt_reqpsnid" ref="/root/main/newmeterialdetail/reqpsnid" class="input_essential" style="left:965px; top:36px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01", "", "reqpsnid,reqpsnnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line34" class="line_2" style="x1:540px; y1:152px; x2:1195px; y2:152px; "/>
- <caption id="caption42" class="cell_1" style="left:540px; top:82px; width:93px; height:23px; vertical-align:middle; ">품명(영문)</caption>
- <input id="ipt_reqdd" ref="/root/main/newmeterialdetail/reqdd" class="input_essential" inputtype="date" style="left:965px; top:12px; width:156px; height:19px; "/>
- <input id="ipt_reqchrgid" ref="/root/main/newmeterialdetail/reqchrgid" style="left:965px; top:60px; width:77px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:540px; top:272px; width:93px; height:23px; vertical-align:middle; ">거래처/담당자</caption>
- <caption id="caption65" class="cell_1" style="left:540px; top:58px; width:93px; height:23px; vertical-align:middle; ">물품구분</caption>
- <caption id="caption32" class="cell_1" style="left:915px; top:272px; width:79px; height:23px; vertical-align:middle; ">전화/HP</caption>
- <input id="ipt_insucomd" ref="/root/main/newmeterialdetail/insucomd" visibility="hidden" style="left:635px; top:203px; width:556px; height:19px; "/>
- <line id="line36" class="line_2" style="x1:540px; y1:176px; x2:1195px; y2:176px; "/>
- <line id="line25" class="line_2" style="x1:540px; y1:224px; x2:1195px; y2:224px; "/>
- <caption id="caption55" class="cell_1" style="left:540px; top:10px; width:93px; height:23px; vertical-align:middle; ">기관코드</caption>
- <caption id="caption22" class="cell_1" style="left:722px; top:58px; width:58px; height:23px; vertical-align:middle; ">원 내 ☎</caption>
- <select1 id="rdo_insuyn" ref="/root/main/newmeterialdetail/insuyn" appearance="full" cellspacing="30" cols="5" rows="1" overflow="visible" style="left:635px; top:180px; width:556px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fInsuynChange("N")
- ]]>
- </script>
- </select1>
- <textarea id="tar_reqresnusge" ref="/root/main/newmeterialdetail/reqresnusge" maxlength="300" style="left:650px; top:305px; width:543px; height:65px; "/>
- <input id="ipt_undecicurematrreqdt" ref="/root/main/newmeterialdetail/undecicurematrreqdt" class="input_essential" visibility="hidden" inputtype="date" style="left:635px; top:203px; width:121px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:540px; top:224px; width:93px; height:22px; vertical-align:middle; ">단 가</caption>
- <caption id="caption45" class="cell_1" style="left:540px; top:106px; width:93px; height:23px; vertical-align:middle; ">품명(한글)</caption>
- <caption id="caption56" class="cell_1" style="left:540px; top:130px; width:93px; height:23px; vertical-align:middle; ">규격</caption>
- <input id="ipt_goodspec" ref="/root/main/newmeterialdetail/goodspec" class="input_default" style="left:635px; top:132px; width:230px; height:19px; "/>
- <button id="button8" class="icon_search" style="left:1049px; top:38px; 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:635px; top:60px; width:85px; 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[
- // 단위 따로 분리.
- rszfComboUnitList (cmb_purcunit,model.getValue(cmb_instcd.attribute("ref")),model.getValue(cmb_goodflag.attribute("ref")));
- ]]>
- </script>
- </select1>
- <caption id="caption23" class="cell_1" style="left:870px; top:58px; width:93px; height:23px; vertical-align:middle; ">부서장</caption>
- <line id="line27" class="line_2" style="x1:540px; y1:248px; x2:1195px; y2:248px; "/>
- <caption id="caption68" class="cell_1" style="left:870px; top:130px; width:93px; height:23px; vertical-align:middle; ">모델</caption>
- <textarea id="tar_anohospusestat" ref="/root/main/newmeterialdetail/anohospusestat" maxlength="300" style="left:650px; top:439px; width:543px; height:65px; "/>
- <caption id="caption13" class="cell_1" style="left:540px; top:437px; width:108px; height:65px; text-align:center; vertical-align:middle; ">
- <![CDATA[본원 유사재료
- 및
- 관련 행위명]]>
- </caption>
- <input id="ipt_mmavguseqty" ref="/root/main/newmeterialdetail/mmavguseqty" class="input_default" format="#,###" style="left:1022px; top:250px; width:170px; height:19px; text-align:right; "/>
- <input id="ipt_goodunitcost" ref="/root/main/newmeterialdetail/goodunitcost" format="#,###" style="left:635px; top:226px; width:230px; height:19px; text-align:right; "/>
- <caption id="caption47" class="cell_1" style="left:540px; top:34px; width:93px; height:23px; vertical-align:middle; ">청구부서</caption>
- <line id="line1" class="line_1" style="x1:540px; y1:298px; x2:1195px; y2:298px; "/>
- <input id="ipt_goodmodel" ref="/root/main/newmeterialdetail/goodmodel" class="input_default" style="left:965px; top:132px; width:228px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:540px; top:178px; width:93px; height:22px; vertical-align:middle; ">요양급여</caption>
- <textarea id="tar_newmatrusgeimprvpnt" ref="/root/main/newmeterialdetail/newmatrusgeimprvpnt" maxlength="300" style="left:650px; top:505px; width:543px; height:60px; "/>
- <input id="ipt_reqdepttel" ref="/root/main/newmeterialdetail/reqdepttel" class="input_default" style="left:782px; top:60px; width:81px; height:19px; "/>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:699px; top:276px; 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>
- <line id="line2" class="line_1" style="x1:540px; y1:6px; x2:1195px; y2:6px; "/>
- <caption id="caption15" class="cell_1" style="left:540px; top:565px; width:108px; height:55px; text-align:center; vertical-align:middle; ">비 고</caption>
- <caption id="caption16" class="cell_1" style="left:540px; top:503px; width:108px; height:60px; text-align:center; vertical-align:middle; ">타병원 사용현황</caption>
- <button id="button10" class="icon_search" visibility="visible" style="left:1049px; top:62px; 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();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:869px; top:154px; width:93px; height:23px; vertical-align:middle; ">제조회사</caption>
- <caption id="caption27" class="cell_1" style="left:540px; top:248px; width:93px; height:23px; vertical-align:middle; ">수 량</caption>
- <input id="ipt_chrgid" ref="/root/main/newmeterialdetail/chrgid" class="input_default" style="left:820px; top:274px; width:94px; height:19px; "/>
- <input id="ipt_chrgmpphon" ref="/root/main/newmeterialdetail/chrgmpphon" class="input_default" style="left:1097px; top:274px; width:97px; height:19px; "/>
- <input id="ipt_reqseqno" ref="/root/main/newmeterialdetail/reqseqno" class="input_default" disabled="true" style="left:1124px; top:12px; width:70px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:540px; top:370px; width:108px; height:65px; text-align:center; vertical-align:middle; ">용법 및 용량</caption>
- <caption id="caption28" class="cell_1" style="left:870px; top:248px; width:145px; height:23px; vertical-align:middle; ">월평균예정사용량</caption>
- <select1 id="cmb_deliveunit" ref="/root/main/newmeterialdetail/deliveunit" class="combo_essential" appearance="minimal" style="left:965px; top:226px; width:108px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <textarea id="tar_reqcmt" ref="/root/main/newmeterialdetail/reqcmt" maxlength="300" style="left:650px; top:567px; width:543px; height:55px; "/>
- <caption id="caption29" class="cell_1" style="left:870px; top:223px; width:93px; height:23px; vertical-align:middle; ">사용/구매단위</caption>
- <caption id="caption18" class="cell_1" style="left:540px; top:303px; width:108px; height:65px; text-align:center; vertical-align:middle; ">신 청 사 유</caption>
- <output id="opt_reqdeptnm" ref="/root/main/newmeterialdetail/reqdeptnm" class="output_fix" appearance="output" style="left:732px; top:36px; width:131px; height:19px; "/>
- <input id="ipt_prodcmpycd" ref="/root/main/newmeterialdetail/prodcmpycd" class="input_default" style="left:965px; top:156px; width:69px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(opt_prodcmpynm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + 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>
- <input id="ipt_goodengnm" ref="/root/main/newmeterialdetail/goodengnm" class="input_default" style="left:635px; top:84px; width:558px; height:19px; "/>
- <output id="opt_reqchrgnm" ref="/root/main/newmeterialdetail/reqchrgnm" class="output_fix" appearance="output" style="left:1072px; top:60px; width:121px; height:19px; "/>
- <input id="ipt_reqqty" ref="/root/main/newmeterialdetail/reqqty" class="input_default" format="#,###" style="left:635px; top:250px; width:230px; height:19px; text-align:right; ">-</input>
- <input id="ipt_reqdeptcd" ref="/root/main/newmeterialdetail/reqdeptcd" class="input_essential" style="left:635px; top:36px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_prodplce" ref="/root/main/newmeterialdetail/prodplce" class="combo" appearance="minimal" style="left:635px; top:156px; width:230px; 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:1059px; top:156px; width:134px; height:19px; "/>
- <input id="ipt_chrgtel" ref="/root/main/newmeterialdetail/chrgtel" class="input_default" style="left:996px; top:274px; width:97px; height:19px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_clear" 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 ( grd_newmeterial.rows-grd_newmeterial.fixedRows >= 1 ) {
- /*************************
- ** 2008.06.06 Y.Y.J 신청부서 / 구매팀에서 1,2차 적으로 체크한 항목을 수정 , 검사할 필요 없음.
- *************************/
- // if( fCheckSaveData() ) {
- if ( fDataCheck() ) {
- misfSave("TXRSD04001");
- fSearchData();
- } else {
- messageBox("변경된 데이터가","I004");
- return;
- }
- // }
- } else {
- messageBox("접수 대상의 데이터가","I004");
- return;
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|