123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="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>
- <instutcnstrneedyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </instutcnstrneedyn>
- <calcscorgenryn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </calcscorgenryn>
- <installspcepossnyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </installspcepossnyn>
- <instcd/>
- <reqdd/>
- <reqseqno/>
- <usemthd>
- <label>과전용</label>
- <value>1</value>
- <label>공동사용</label>
- <value>2</value>
- <label>중앙과</label>
- <value>3</value>
- </usemthd>
- <prcsstat>
- <label>신청</label>
- <value>A</value>
- <label>접수</label>
- <value>C</value>
- <label>발주</label>
- <value>P</value>
- <label>입고</label>
- <value>W</value>
- </prcsstat>
- <purcacptflag>
- <label>승인</label>
- <value>Y</value>
- <label>부결</label>
- <value>C</value>
- <label>미승인</label>
- <value>N</value>
- </purcacptflag>
- <acptflaglist>
- <acptflagcheck>N</acptflagcheck>
- <checkvalue1>Y</checkvalue1>
- <checkvalue2>Y</checkvalue2>
- </acptflaglist>
- </init>
- <send>
- <sendlist>
- <instcd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <workflag/>
- <reqfrmdd/>
- <reqtodd/>
- <prcsstat/>
- <goodflag/>
- <deptaprvyn/>
- <cntrdeptcd/>
- <reqflag/>
- <studyinstcd/>
- <checkinstcd/>
- <reqtempinstcd/>
- <groupbugt/>
- </sendlist>
- <save>
- <reqeqmtlist/>
- <publusedeptlist/>
- <smlartyeqmtlist/>
- <recmeqmtlist/>
- <psgedeptlist/>
- </save>
- </send>
- <main>
- <list>
- <reqeqmtlist/>
- <publusedeptlist/>
- <smlartyeqmtlist/>
- <recmeqmtlist/>
- <psgedeptlist/>
- <fixasetcd>
- <fixasetcdlist/>
- </fixasetcd>
- <mon1cdlist/>
- <mon2cdlist/>
- </list>
- <reqeqmtlist>
- <instcd/>
- <reqdd/>
- <reqseqno/>
- <reqdeptcd/>
- <reqdeptnm/>
- <workflag>1</workflag>
- <goodflagengnm/>
- <goodflaghngnm/>
- <reqpsnid/>
- <reqpsnnm/>
- <appqty/>
- <bugtyy/>
- <bugtflag/>
- <usemthd/>
- <cntrdeptcd/>
- <cntrdeptnm/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- <presteqmtmmexeccnt/>
- <neweqmtmmexeccnt/>
- <calcscorprctnmpresteqmt/>
- <calcscorprctnmneweqmt/>
- <presteqmtmnpwr/>
- <prestneweqmtmnpwr/>
- <usgepurcneed/>
- <instutcnstrneedyn/>
- <installspcepossnyn/>
- <addmnpwrdr/>
- <addmnpwrnurs/>
- <addmnpwrengr/>
- <addmnpwretc/>
- <calcscorgenryn/>
- <bugtwncurncy/>
- <bugtforgnamt/>
- <bugtforgnamtunit/>
- <medcare/>
- <actamtincl/>
- <undecicurematr/>
- <medcareinsu/>
- <reqqty/>
- <acptflag/>
- <acptdd/>
- <acptseqno/>
- <prcsstat/>
- <plceorddd/>
- <plceordseqno/>
- <attfilenm/>
- <attfilepathnm/>
- <stdysubjno/>
- <stdysubjnm/>
- <fixasetcd/>
- <etccostrt/>
- </reqeqmtlist>
- </main>
- <hidden/>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSC11901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/reqeqmtlist"/>
- <submission id="TRRSC11902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/publusedeptlist"/>
- <submission id="TRRSC11903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/smlartyeqmtlist"/>
- <submission id="TRRSC11904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/recmeqmtlist"/>
- <submission id="TRRSC11906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/psgedeptlist"/>
- <submission id="TXRSC11901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRFC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/fixasetcd"/>
- <submission id="TRRSC11908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon1cdlist"/>
- <submission id="TRRSC11909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon2cdlist"/>
- </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_reqeqmtlist);
- misfGridInit(grd_publusedeptlist);
- misfGridInit(grd_smlartyeqmtlist);
- misfGridInit(grd_recmeqmtlist);
- misfGridInit(grd_psgedeptlist);
- misfGridInit(grd_mon1cdlist);
- misfGridInit(grd_mon2cdlist);
- misfGridInit(grd_fixasetcdlist);
-
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/reqeqmtlist");
-
- misfGridComboComCdList("R0035", grd_recmeqmtlist, "prodplce");
- misfGridComboComCdList("R0047", grd_recmeqmtlist, "curncyunit");
-
- misfComboComCdListMulti("R0047,R0052,R0116,Z0007,R0316","cmb_bugtforgnamtunit,cmb_usemthd,cmb_prcsstat_search,cmb_studyinstcd,cmb_fundorigin");
-
-
- //misfComboCopyItemSet(cmb_workflag_search, "", cmb_workflag, ""); //물품코드
- rszfUserReqInstList(cmb_instcd_search,getUserInfo("userid"),"4","B"); // preqpgmgubun : '4' : 장비., 'B' :처리
- //rszfComboBugtList(cmb_bugtflag,getUserInfo("dutplceinstcd"));
-
-
- // 전체
- rszfComboAppendBlankChild("cmb_prcsstat_search");
- addComboItem( "cmb_studyinstcd", "전체", "", "above");
-
- model.setValue(cmb_instcd_search.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- //기관코드를 선택할때 그 기관에 맞는 예산을 가져오는데 의과학연구원같은경우 성의교정의 예산을 쓸수있게 요청함 - 성의교정 여서경팀장 20100218
- if(cmb_instcd_search.value == '032'){
- rszfComboBgcdBugtList("cmb_groupbugt", '103', '2');
- }else{
- rszfComboBgcdBugtList("cmb_groupbugt", cmb_instcd_search.value, '2');
- }
-
-
- // if(cmb_instcd_search.value != '103')
- // {
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, '', '2');
- // }else{
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, cmb_groupbugt.value, '2');
- // }
-
-
-
- model.setValue(ipt_reqfrmdd_search.attribute("ref"), getCurrentDate() );
- model.setValue(ipt_reqtodd_search.attribute("ref"), getCurrentDate() );
- // hidden
- model.setValue(ipt_reqflag.attribute("ref") , "G");
- model.setValue(ipt_goodflag_search.attribute("ref"), "E" );
- // 조회시 부서증인이 된것만 가져온다.
- model.setValue(ipt_deptaprvyn_search.attribute("ref"), "Y" );
-
-
- misfMsterDetailSet(grd_reqeqmtlist ,null, "TRRSC11901", "Y");
- misfMsterDetailSet(grd_publusedeptlist, grd_reqeqmtlist, "TRRSC11902", "Y");
- misfMsterDetailSet(grd_smlartyeqmtlist, grd_reqeqmtlist, "TRRSC11903", "Y");
- misfMsterDetailSet(grd_recmeqmtlist, grd_reqeqmtlist, "TRRSC11904", "Y");
-
- misfMsterDetailSet(grd_psgedeptlist, grd_reqeqmtlist, "TRRSC11906", "Y");
-
- misfMsterDetailSet(grd_mon1cdlist, grd_reqeqmtlist, "TRRSC11908", "Y");
- misfMsterDetailSet(grd_mon2cdlist, grd_reqeqmtlist, "TRRSC11909", "Y");
- fAllControlDisabled("Y");
-
- //cmb_instcd_search.dispatch("xforms-value-changed");
-
- btn_search.dispatch("DOMActivate");
- // 권한설정.
- fSetReqAuth();
-
- model.refresh();
-
- }
-
-
- // 관리부서, 귀속부서, 설치장소 조회시.. Default 값 기관코드를 넘겨주게 됩니다. 그 기관코드의 값을 설정.
- function fInstcdCheckValue()
- {
- if(cmb_instcd_search.value == '103' || cmb_instcd_search.value == '032')
- {
- opt_checkinstcd.value = cmb_instcd_search.value;
- }else{
- opt_checkinstcd.value = grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("studyinstcd"));
- }
- }
-
- function fSettingGoodList(pnode, nodename){
-
- var codynode = instance1.selectNodes(pnode + "/*");
-
- //alert("song kwangho");
- // var addRow = grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows;
- // if(model.getValue(grd_rfehdabplist.nodeset + "/rfehdabplist[" + addRow + "]/acsrscd").length > 0)addRow = addRow + 1;
- // for (var j = 1; j <= codynode.length ; j++) {
- // if(addRow > grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows)
- // {
- // btn_insRfehdabp.dispatch("DOMActivate");
- // addRow = grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows;
- //
- // }
- //
- // model.setValue(grd_rfehdabplist.nodeset + "[" + addRow + "]/acsrscd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
- // model.setValue(grd_rfehdabplist.nodeset + "[" + addRow + "]/acsrsnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
- // }
- //
- model.refresh();
- }
-
-
- //예산 계정 Disabled 유무 설정!!
- function fDisabledComboflag()
- {
- if( cmb_instcd_search.value == '103' || cmb_instcd_search.value == '032')
- {
- cmb_groupbugt.disabled = false;
-
- // if(cmb_groupbugt.value == '')
- // {
- // cmb_bugtflag.disabled = true;
- // }else
- // {
- // cmb_bugtflag.disabled = false;
- // }
- //
- }else{
- cmb_groupbugt.disabled = true;
- // cmb_bugtflag.disabled = false;
- }
- }
-
-
-
- /*--------------------------------------------------------------------------------*/
- /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
- /*--------------------------------------------------------------------------------*/
- function fAllControlDisabled(pDisableYn)
- {
- if(pDisableYn == "Y")
- {
- cmb_workflag.disabled="true"
- ipt_reqdeptcd.disabled="true"
- // ipt_reqpsnid.disabled="true"
- ipt_goodflagengnm.disabled="true"
- ipt_goodflaghngnm.disabled="true"
-
- cmb_groupbugt.disabled="true"
- ipt_stdysubjno.disabled="true"
- ipt_bugtyy.disabled="true"
- ipt_cntrdeptcd.disabled="true"
- ipt_mngtdeptcd.disabled="true"
- cmb_usemthd.disabled="true"
- ipt_installplcecd.disabled="true"
- ipt_appqty.disabled="true"
- cmb_bugtforgnamtunit.disabled="true"
- ipt_bugtwncurncy.disabled="true"
- ipt_bugtforgnamt.disabled="true"
- ipt_addmnpwrdr.disabled="true"
- ipt_addmnpwrnurs.disabled="true"
- ipt_addmnpwrengr.disabled="true"
- ipt_addmnpwretc.disabled="true"
- rdo_instutcnstrneedyn.disabled="true"
- rdo_calcscorgenryn.disabled="true"
- rdo_installspcepossnyn.disabled="true"
- tar_usgepurcneed.disabled="true"
- ipt_presteqmtmmexeccnt.disabled="true"
- ipt_neweqmtmmexeccnt.disabled="true"
- ipt_calcscorprctnmpresteqmt.disabled="true"
- ipt_calcscorprctnmneweqmt.disabled="true"
- ipt_presteqmtmnpwr.disabled="true"
- ipt_prestneweqmtmnpwr.disabled="true"
-
- btn_goodflagengnm.disabled="true"
- btn_stdysubjnm.disabled="true"
- btn_cntrdeptcd.disabled="true"
- btn_mngtdeptcd.disabled="true"
- btn_installplcecd.disabled="true"
- ipt_etccostrt.disabled="true"
- ipt_chgrate.disabled="true"
- cmb_iopsnflag.disabled="true"
- tar_subestbcmt.disabled="true"
- tar_machcmt.disabled="true"
- tar_eleccmt.disabled="true"
- tar_mutplecmt.disabled="true"
- tar_compucmt.disabled="true"
- tar_etccmt.disabled="true"
-
- ipt_stdysubjnm.disabled="true"
- ipt_mngtdeptnm.disabled="true"
- ipt_installplcenm.disabled="true"
- ipt_cntrdeptnm.disabled="true"
-
- ipt_bugtflagnm.disabled="true"
- opt_projectnm.disabled="true"
- btn_bugtflagnm.disabled="true"
-
- cmb_fundorigin.disabled="true"
- }
- else
- {
-
- cmb_workflag.disabled="false"
- ipt_reqdeptcd.disabled="false"
- // ipt_reqpsnid.disabled="false"
- ipt_goodflagengnm.disabled="false"
- ipt_goodflaghngnm.disabled="false"
-
- // cmb_groupbugt.disabled="false"
- fDisabledComboflag();
-
- ipt_stdysubjno.disabled="false"
- ipt_bugtyy.disabled="false"
- ipt_cntrdeptcd.disabled="false"
- ipt_mngtdeptcd.disabled="false"
- cmb_usemthd.disabled="false"
- ipt_installplcecd.disabled="false"
- ipt_appqty.disabled="false"
- cmb_bugtforgnamtunit.disabled="false"
- ipt_bugtwncurncy.disabled="false"
- ipt_bugtforgnamt.disabled="false"
- ipt_addmnpwrdr.disabled="false"
- ipt_addmnpwrnurs.disabled="false"
- ipt_addmnpwrengr.disabled="false"
- ipt_addmnpwretc.disabled="false"
- rdo_instutcnstrneedyn.disabled="false"
- rdo_calcscorgenryn.disabled="false"
- rdo_installspcepossnyn.disabled="false"
- tar_usgepurcneed.disabled="false"
- ipt_presteqmtmmexeccnt.disabled="false"
- ipt_neweqmtmmexeccnt.disabled="false"
- ipt_calcscorprctnmpresteqmt.disabled="false"
- ipt_calcscorprctnmneweqmt.disabled="false"
- ipt_presteqmtmnpwr.disabled="false"
- ipt_prestneweqmtmnpwr.disabled="false"
- btn_goodflagengnm.disabled="false"
- btn_stdysubjnm.disabled="false"
- btn_cntrdeptcd.disabled="false"
- btn_mngtdeptcd.disabled="false"
- btn_installplcecd.disabled="false"
-
- ipt_etccostrt.disabled="false"
- ipt_chgrate.disabled="false"
- cmb_iopsnflag.disabled="false"
- tar_subestbcmt.disabled="false"
- tar_machcmt.disabled="false"
- tar_eleccmt.disabled="false"
- tar_mutplecmt.disabled="false"
- tar_compucmt.disabled="false"
- tar_etccmt.disabled="false"
-
- ipt_stdysubjnm.disabled="false"
- ipt_mngtdeptnm.disabled="false"
- ipt_installplcenm.disabled="false"
- ipt_cntrdeptnm.disabled="false"
-
- ipt_bugtflagnm.disabled="false"
- opt_projectnm.disabled="false"
- btn_bugtflagnm.disabled="false"
-
- cmb_fundorigin.disabled="false"
- }
- model.refresh();
- }
- function fAfterRetr()
- {
- /* 청구상태가 아니면 막는다*/
- for(var fRow = grd_reqeqmtlist.fixedRows; fRow < grd_reqeqmtlist.rows; fRow++)
- {
- if(grd_reqeqmtlist.valueMatrix(fRow, grd_reqeqmtlist.colRef("prcsstat")) == "1")
- {
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("acptflag")) = false;
-
- // 구매승인권한이 없으면
- if ( model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = false;
- else
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = true;
- }
- else
- {
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("acptflag")) = true;
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = true;
- }
- }
-
- }
-
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(cmb_instcd_search.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기관코드를 " ,"C002");
- }
- model.setFocus("cmb_instcd_search");
- return false;
- }
-
- if(model.getValue(ipt_reqfrmdd_search.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("청구일자를 " ,"C001");
- }
- model.setFocus("ipt_reqfrmdd_search");
- return false;
- }
-
- if(model.getValue(ipt_reqtodd_search.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("청구일자를 " ,"C001");
- }
- model.setFocus("ipt_reqtodd_search");
- return false;
- }
-
- return true;
- }
-
- // 접수 체크에 관한 추천장비 행추가,삭제,수정 설정.
- function fRecmeqmtSet(fBool)
- {
- grd_recmeqmtlist.isReadOnly(grd_recmeqmtlist.fixedRows-1, grd_recmeqmtlist.fixedCols-1, grd_recmeqmtlist.rows-1, grd_recmeqmtlist.cols-1) = fBool;
- button13.disabled = fBool;
- button14.disabled = fBool;
-
- grd_smlartyeqmtlist.isReadOnly(grd_smlartyeqmtlist.fixedRows-1, grd_smlartyeqmtlist.fixedCols-1, grd_smlartyeqmtlist.rows-1, grd_smlartyeqmtlist.cols-1) = fBool;
- button16.disabled = fBool;
- button18.disabled = fBool;
-
- grd_psgedeptlist.isReadOnly(grd_psgedeptlist.fixedRows-1, grd_psgedeptlist.fixedCols-1, grd_psgedeptlist.rows-1, grd_psgedeptlist.cols-1) = fBool;
- button17.disabled = fBool;
- button15.disabled = fBool;
-
- grd_publusedeptlist.isReadOnly(grd_publusedeptlist.fixedRows-1, grd_publusedeptlist.fixedCols-1, grd_publusedeptlist.rows-1, grd_publusedeptlist.cols-1) = fBool;
- button6.disabled = fBool;
- button4.disabled = fBool;
-
- grd_mon1cdlist.isReadOnly(grd_mon1cdlist.fixedRows-1, grd_mon1cdlist.fixedCols-1, grd_mon1cdlist.rows-1, grd_mon1cdlist.cols-1) = fBool;
- button20.disabled = fBool;
- button12.disabled = fBool;
-
- grd_mon2cdlist.isReadOnly(grd_mon2cdlist.fixedRows-1, grd_mon2cdlist.fixedCols-1, grd_mon2cdlist.rows-1, grd_mon2cdlist.cols-1) = fBool;
- button23.disabled = fBool;
- button21.disabled = fBool;
-
- grd_fixasetcdlist.isReadOnly(grd_fixasetcdlist.fixedRows-1, grd_fixasetcdlist.fixedCols-1, grd_fixasetcdlist.rows-1, grd_fixasetcdlist.cols-1) = fBool;
- }
- function fSetReqAuth()
- {
- // 궈한체크로직이 구매부서기준으로 체크해야한다. 잘못되어 있었다...HBH
- rszfGetReqFlagRurcAuthInfo(model.getValue(cmb_instcd_search.attribute("ref")), model.getValue(ipt_reqflag.attribute("ref")) , getUserInfo("dutplcecd"), getUserInfo("userid"));
-
- if ( model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
- {
- //btn_saverece.disabled = true;
- brn_all_check.disabled = false;
- //btn_purcaprv.disabled = false;
- }
- else
- {
- brn_all_check.disabled = true;
- //btn_purcaprv.disabled = true;
- }
-
- model.refresh();
- }
-
- function fDataCheck( ) {
- if ( grd_reqeqmtlist.rows > 1 )
- misfGridRowStatusChange(grd_reqeqmtlist,"/root/main/list","/root/main");
-
- model.refresh();
-
- var updtdata = getGridUpdateData(grd_reqeqmtlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_publusedeptlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_smlartyeqmtlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_recmeqmtlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_psgedeptlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_mon1cdlist);
- if (updtdata != "" ) return true;
-
- updtdata = getGridUpdateData(grd_mon2cdlist);
- if (updtdata != "" ) return true;
-
- else return false;
- }
-
- function fSetAddRow( grd_temp ) {
- misfGridIUD(grd_temp,"A","N");
- // grd_temp.addRow(false);
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/instcd", model.getValue(opt_instcd.attribute("ref")) );
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqdd", model.getValue(opt_reqdd.attribute("ref")) );
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqseqno", model.getValue(opt_reqseqno.attribute("ref")) );
- }
-
- function fCheckSaveData()
- {
- if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
- {
- messageBox("신청부서는" ,"I003");
- model.setFocus("ipt_reqdeptcd");
- return false;
- }
- if(model.getValue(cmb_workflag.attribute("ref")).length==0)
- {
- messageBox("청구구분은","I003");
- model.setFocus("cmb_workflag");
- return false;
- }
- if(model.getValue(ipt_appqty.attribute("ref")).length==0 || model.getValue(ipt_appqty.attribute("ref"))==0)
- {
- messageBox("청구수량은","I003");
- model.setFocus("ipt_appqty");
- return false;
- }
- if(model.getValue(ipt_goodflagengnm.attribute("ref")).length==0)
- {
- messageBox("장비영문명을","I003");
- model.setFocus("ipt_goodflagengnm");
- return false;
- }
- if(model.getValue(ipt_mngtdeptcd.attribute("ref")).length==0)
- {
- messageBox("관리부서를","I003");
- model.setFocus("ipt_mngtdeptcd");
- return false;
- }
- if(model.getValue(ipt_cntrdeptcd.attribute("ref")).length==0)
- {
- messageBox("귀속부서를","I003");
- model.setFocus("ipt_cntrdeptcd");
- return false;
- }
-
- if( checkKeyColumn("grd_recmeqmtlist") == false) return;
- if( checkKeyColumn("grd_smlartyeqmtlist") == false) return;
- if( checkKeyColumn("grd_psgedeptlist") == false) return;
- if( checkKeyColumn("grd_publusedeptlist") == false) return;
- if( checkKeyColumn("grd_mon1cdlist") == false) return;
- if( checkKeyColumn("grd_mon2cdlist") == false) return;
-
- return true;
- }
-
- // 일괄 접수 처리 루틴
- // 진행상태가 청구이며 , 구매승인건이 아닌것만 일괄처리한다
- function fSettingReqRece()
- {
- for(var liRow = grd_reqeqmtlist.fixedRows ; liRow < grd_reqeqmtlist.rows ; liRow++)
- {
- if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") == "1" &&
- model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") != "C" &&
- model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") != "Y" )
- {
- if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag") == "Y")
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag","N");
- grd_reqeqmtlist.rowStatus(liRow) = "2";
- }
- else
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag" ,"Y");
- grd_reqeqmtlist.rowStatus(liRow) = "2";
- }
- }
- }
-
- model.refresh();
- }
-
- function fSettingPurcRece ()
- {
- for(var liRow = grd_reqeqmtlist.fixedRows ; liRow < grd_reqeqmtlist.rows ; liRow++)
- {
- if ( model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/prcsstat") == "1" )
- {
- if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/acptflag") == "Y" )
- {
- if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") == "Y")
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag","N");
- grd_reqeqmtlist.rowStatus(liRow) = "2";
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd","");
- }
- /*------------------------------------------------------------------------------------------------
- * 부결 제외
- ------------------------------------------------------------------------------------------------*/
- else if (model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") != "Y" ||
- (model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") != "C") )
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag" ,"Y");
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd",getCurrentDate());
- grd_reqeqmtlist.rowStatus(liRow) = "2";
- }
- }
- }
- }
- model.refresh();
- }
- function fMovecd(pgrid_name)
- {
- if(model.GetValue(cmb_workflag.attribute("ref")).length == 0)
- {
- messageBox("행추가를 먼저하시거나 '청구구분' 란을 먼저 " ,"C002");
- //model.setFocus("cmb_instcd_search");
- return;
- }
-
- if (grd_fixasetcdlist.row > 0)
- {
- //model.setValue(ipt_fixasetcd.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("fixasetcd")));
- model.setValue(ipt_goodflaghngnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflaghngnm")));
- model.setValue(ipt_goodflagengnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflagengnm")));
-
- model.refresh();
- }
-
- }
- function fSetAmt()
- {
- if(cmb_iopsnflag.value == "H")
- {
- ipt_bugtwncurncy.disabled="false";
- ipt_bugtforgnamt.disabled="true";
- ipt_chgrate.disabled="true";
- ipt_etccostrt.disabled="true";
- model.setValue(ipt_chgrate.attribute("ref"),"0" );
- model.setValue(ipt_bugtforgnamt.attribute("ref"),"0" );
- model.setValue(ipt_etccostrt.attribute("ref"),"0" );
- }
- else
- {
- ipt_bugtwncurncy.disabled="true";
- ipt_bugtforgnamt.disabled="false";
- ipt_chgrate.disabled="false";
- ipt_etccostrt.disabled="false";
-
- // 원화 := 외화*환율 + ((외화*환율*부대비용율)/100)
- var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) ;
- var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) +
- ( ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) * parseInt(ipt_etccostrt.value) ) / 100 ) ;
- //var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) ;
-
- model.setValue(ipt_bugtwncurncy.attribute("ref"),bugtwncurncy );
- }
- model.refresh();
- }
-
-
- function fSettingGoodList(pnode, nodename)
- {
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
-
- for (var j = 1; j <= codynode.length ; j++)
- {
-
- if(addRow > grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows)
- {
- misfGridIUD(grd_mon2cdlist,"A");
- addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
- }
-
- model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/cstcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
- model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/cstcdnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
- model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/purcunitcost" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodunitcost"));
- model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/suplplce" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplce"));
- model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/suplplcenm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplcenm"));
- addRow = addRow + 1;
- }
-
- model.recalculate();
- model.refresh();
- }
- function fSetNum(grd_temp, node)
- {
- var num = new String(grd_temp.row);
- if(num.length == 1){
- num = "00" + num;
- }
- else if(num.length == 2){
- num = "0" + num;
- }
-
- grd_temp.valueMatrix(grd_temp.row, grd_temp.colRef(node)) = num;
- }
-
- //접수체크시 경유부서 데이터 체크.
- function fAcptflagValueCheck()
- {
- if(grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("acptflag"))
- {
- if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("acptflag")) == 'Y')
- {
- opt_checkvalue1.value = 'N';
- opt_checkvalue2.value = 'N';
-
- for(var s = grd_psgedeptlist.fixedRows; s < grd_psgedeptlist.rows; s++)
- {
- if( grd_psgedeptlist.valueMatrix(s, grd_psgedeptlist.colRef("psgedeptcd")) == '4070300000' )
- {
- opt_checkvalue1.value = 'Y';
- }
-
- if( grd_psgedeptlist.valueMatrix(s, grd_psgedeptlist.colRef("psgedeptcd")) == '4060100000' )
- {
- opt_checkvalue2.value = 'Y';
- }
- }
-
- if( (opt_checkvalue1.value == 'N') || (opt_checkvalue2.value == 'N') )
- {
- button1.selected = true;
- button1.dispatch("DOMActivate");
-
- if( messageBox("경유부서 Data가 없습니다. 기본설정 작업을","Q004") != 6 )
- {
- opt_checkvalue1.value = 'Y';
- opt_checkvalue2.value = 'Y';
- }else{
- //마스터디테일로 그리드가 모두 연결되어있어 지금 현시점에 데이터를 추가한 후에 모든그리드의 데이터를 조회하게된다.
- //이런상황이 발생하면 지금 경유부서에 데이터를 추가시킨 데이터가 없어지게 됨으로 모든 그리드의 데이터를 조회후
- //경유부서에 데이터를 추가 시켜주기 위해 임시 노드에 플래그를 저장하여 조회후 플래그 값이 'Y' 이면 경유부서에 데이터를 추가시킨다.
- opt_acptflagcheck.value = 'Y';
- }
- }
- }
- }
- }
-
- // 경유부서 기본 데이터 설정.
- function fAcptflagDataSetup()
- {
- if( opt_checkvalue1.value == 'N' )
- {
- button17.dispatch("DOMActivate");
- grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptcd")) = '4070300000';
- grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptnm")) = '보험팀';
-
- opt_checkvalue1.value = 'Y';
- }
-
- if( opt_checkvalue2.value == 'N' )
- {
- button17.dispatch("DOMActivate");
- grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptcd")) = '4060100000';
- grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptnm")) = '시설팀';
-
- opt_checkvalue2.value = 'Y';
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,-12;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:14px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">장비청구접수</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195; height:744px; ">
- <line id="line2" class="line_3" style="x1:0px; y1:539px; x2:1195px; y2:539px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:322px; x2:1195; y2:322px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:370px; x2:1195; y2:370px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:346px; x2:1195; y2:346px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:79px; width:100px; height:13px; ">장비청구 목록</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:295px; x2:1195; y2:295px; "/>
- <input id="ipt_goodflagengnm" ref="/root/main/reqeqmtlist/goodflagengnm" class="input_s_essential" style="left:103px; top:326px; width:456px; height:19px; "/>
- <line id="line36" class="line_2" style="x1:3px; y1:666px; x2:707px; y2:666px; "/>
- <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_reqeqmtlist" nodeset="/root/main/list/reqeqmtlist" caption="진행상태^청구번호^신청부서^장비명^모델^제조회사^외화금액^원화금액^신청자^귀속부서^관리부서^설치장소^수량^접수^구매승인^승인^청구수량^예산년도^예산구분^사용방법^귀속부서^관리부서^설치장소^월간시행건수(현장비)^월간시행건수(신장비)^수가처방코드명(현장비)^수가처방코드명(신장비)^현장비운영인력(현장비)^현장비운영인력(신장비)^용도및구입필요성^시설공사필요여부^설치공간확보여부^추가인력의사^추가인력간호사^추가인력기사^추가인력기타^수가신설여부^예산원화^예산외화^예산외화화폐단위^요양급여^행위료포함^미결정치료재료^의료보험^접수여부^접수일자^접수순번^발주일자^발주순번^첨부파일명^첨부파일경로명^caption1" colsep="^" colwidth="71, 90, 72, 207, 148, 88, 72, 69, 94, 104, 99, 112, 49, 45, 56, 54, 100, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1195px; height:172px; ">
- <col ref="prcsstatnm"/>
- <col ref="reqno"/>
- <col ref="reqdeptnm"/>
- <col ref="goodflagengnm"/>
- <col ref="model"/>
- <col ref="prodcmpynm"/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="wncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="reqpsnnm"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col ref="mngtdeptnm" visibility="hidden"/>
- <col ref="installplcenm"/>
- <col ref="appqty" format="#,###" style="text-align:right; "/>
- <col checkvalue="Y,N" ref="acptflag" type="checkbox"/>
- <col ref="purcacptflag" type="combo" style="left:1110px; top:23px; width:56px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/purcacptflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="deptaprvyn" type="checkbox" visibility="hidden"/>
- <col ref="reqqty" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="usemthd" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="presteqmtmmexeccnt" visibility="hidden"/>
- <col ref="neweqmtmmexeccnt" visibility="hidden"/>
- <col ref="calcscorprctnmpresteqmt" visibility="hidden"/>
- <col ref="calcscorprctnmneweqmt" visibility="hidden"/>
- <col ref="presteqmtmnpwr" visibility="hidden"/>
- <col ref="prestneweqmtmnpwr" visibility="hidden"/>
- <col ref="usgepurcneed" visibility="hidden"/>
- <col ref="instutcnstrneedyn" visibility="hidden"/>
- <col ref="installspcepossnyn" visibility="hidden"/>
- <col ref="addmnpwrdr" visibility="hidden"/>
- <col ref="addmnpwrnurs" visibility="hidden"/>
- <col ref="addmnpwrengr" visibility="hidden"/>
- <col ref="addmnpwretc" visibility="hidden"/>
- <col ref="calcscorgenryn" visibility="hidden"/>
- <col ref="bugtwncurncy" visibility="hidden"/>
- <col ref="bugtforgnamt" visibility="hidden"/>
- <col ref="bugtforgnamtunit" visibility="hidden"/>
- <col ref="medcare" visibility="hidden"/>
- <col ref="actamtincl" visibility="hidden"/>
- <col ref="undecicurematr" visibility="hidden"/>
- <col ref="medcareinsu" visibility="hidden"/>
- <col ref="acptdd" visibility="hidden"/>
- <col ref="acptseqno" visibility="hidden"/>
- <col ref="plceorddd" visibility="hidden"/>
- <col ref="plceordseqno" visibility="hidden"/>
- <col ref="attfilenm" visibility="hidden"/>
- <col ref="attfilepathnm" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="prcsstat" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="etccostrt" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="purcacptdd" visibility="hidden"/>
- <col ref="subestbcmt" visibility="hidden"/>
- <col ref="machcmt" visibility="hidden"/>
- <col ref="eleccmt" visibility="hidden"/>
- <col ref="mutplecmt" visibility="hidden"/>
- <col ref="compucmt" visibility="hidden"/>
- <col ref="etccmt" visibility="hidden"/>
- <col ref="studyinstcd" visibility="hidden"/>
- <col ref="bugtflagnm" visibility="hidden"/>
- <col ref="projectid" visibility="hidden"/>
- <col ref="projectnm" visibility="hidden"/>
- <col ref="totamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="bugtexpcamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="bugtexecamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="remainder" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="fundorigin" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- fAllControlDisabled("Y");
-
-
- if( grd_reqeqmtlist.rows >= grd_reqeqmtlist.fixedRows )
- {
- ///연구계정 설정.////////
- if(cmb_instcd_search.value=='032'){
- cmb_groupbugt.value = rszfComboBgcdBugtList("", '103', '2', grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("bugtflag")), "Y");
- }else{
- cmb_groupbugt.value = rszfComboBgcdBugtList("", cmb_instcd_search.value, '2', grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("bugtflag")), "Y");
- }
-
- cmb_groupbugt.dispatch("xforms-value-changed");
- ///연구계정 설정.////////
-
- model.copyNode("/root/main/reqeqmtlist" , grd_reqeqmtlist.nodeset + "["+ (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]");
- model.setValue( opt_instcd.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/instcd") );
- model.setValue( opt_reqdd.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/reqdd") );
- model.setValue( opt_reqseqno.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/reqseqno") );
-
- model.refresh();
-
- misfGridInit(grd_publusedeptlist);
- misfGridInit(grd_smlartyeqmtlist);
- misfGridInit(grd_recmeqmtlist);
-
- misfMsterDetailRetrieve();
- // 변경가능을 구매승인이 되면 수정못하게 한다.
- // if (grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("deptaprvyn")) == "Y" ||
- // grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("acptflag")) == "Y" )
- if (grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) == "Y" )
- fAllControlDisabled("Y");
- else
- {
- fAllControlDisabled("N");
- fSetAmt();
- }
-
- }
-
-
- //접수체크에 관한 추천장비 행추가,삭제,수정 권한 설정.
- if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) == "Y")
- {
- fRecmeqmtSet(true);
- }else
- {
- fRecmeqmtSet(false);
- }
-
- //관리부서,귀속부서,설치장소 팝업 및 Validation 체크시 기관코드값으로 설정될 코드를 Setting
- fInstcdCheckValue();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("purcacptflag"))
- {// if 시작
- if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") != "1" ||
- model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/acptflag") != "Y" )
- {
-
- messageBox("청구진행상태 및 접수 상태를 확인하세요 구매승인상태변경을 하실수 ","E001");
- if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") == "Y")
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag","N");
- grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
- }
- else
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag" ,"Y");
- grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
- }
- }
- else
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd" ,getCurrentDate());
- }
-
- }else if(grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("acptflag"))
- {
- if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") != "1" ||
- model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") == "C" ||
- model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") == "Y" )
- {
-
- messageBox("청구진행상태 및 구매승인 상태를 확인하세요 접수변경을 하실수 ","E001");
- if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag") == "Y")
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag","N");
- grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
- }
- else
- {
- model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag" ,"Y");
- grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
- }
- }
- }
-
- // 접수구분에 따른 경유부서 Data Check
- fAcptflagValueCheck();
-
-
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_reqeqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:95px; x2:1195; y2:96px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:300px; width:101px; height:23px; vertical-align:middle; ">청구구분</caption>
- <select1 id="cmb_workflag" ref="/root/main/reqeqmtlist/workflag" class="combo_s_essential" appearance="minimal" style="left:103px; top:302px; width:180px; height:19px; ">
- <choices>
- <item>
- <label>신규</label>
- <value>1</value>
- </item>
- <item>
- <label>수량부족</label>
- <value>2</value>
- </item>
- <item>
- <label>노후교체</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:0px; top:348px; width:101px; height:23px; vertical-align:middle; ">장비명(한)</caption>
- <caption id="caption27" class="cell_1" style="left:285px; top:300px; width:100px; height:23px; vertical-align:middle; ">신청자</caption>
- <caption id="caption65" class="cell_1" style="left:0px; top:324px; width:101px; height:23px; vertical-align:middle; ">장비명(영)</caption>
- <input id="ipt_goodflaghngnm" ref="/root/main/reqeqmtlist/goodflaghngnm" class="input_default" style="left:103px; top:350px; width:262px; height:19px; "/>
- <!--</group>-->
- <line id="line15" class="line_2" style="x1:4px; y1:642px; x2:710px; y2:642px; "/>
- <input id="ipt_neweqmtmmexeccnt" ref="/root/main/reqeqmtlist/neweqmtmmexeccnt" class="input_default" visibility="hidden" style="left:1145px; top:325px; width:15px; height:19px; text-align:right; "/>
- <input id="ipt_presteqmtmmexeccnt" ref="/root/main/reqeqmtlist/presteqmtmmexeccnt" class="input_default" visibility="hidden" style="left:1130px; top:325px; width:15px; height:19px; text-align:right; "/>
- <input id="ipt_calcscorprctnmpresteqmt" ref="/root/main/reqeqmtlist/calcscorprctnmpresteqmt" class="input_default" visibility="hidden" style="left:1115px; top:325px; width:15px; height:19px; text-align:right; "/>
- <input id="ipt_calcscorprctnmneweqmt" ref="/root/main/reqeqmtlist/calcscorprctnmneweqmt" class="input_default" visibility="hidden" style="left:1100px; top:325px; width:15px; height:19px; text-align:right; "/>
- <input id="ipt_presteqmtmnpwr" ref="/root/main/reqeqmtlist/presteqmtmnpwr" class="input_default" visibility="hidden" style="left:1090px; top:325px; width:10px; height:19px; text-align:right; "/>
- <input id="ipt_prestneweqmtmnpwr" ref="/root/main/reqeqmtlist/prestneweqmtmnpwr" class="input_default" visibility="hidden" style="left:1080px; top:325px; width:10px; height:19px; text-align:right; "/>
- <caption id="caption17" class="cell_1" style="left:586px; top:324px; width:118px; height:23px; vertical-align:middle; ">설치공간 확보여부</caption>
- <caption id="caption21" class="cell_1" style="left:839px; top:324px; width:110px; height:23px; vertical-align:middle; ">수가신설여부</caption>
- <caption id="caption24" class="cell_1" style="left:586px; top:300px; width:118px; height:23px; vertical-align:middle; ">추가인력</caption>
- <input id="ipt_addmnpwrengr" ref="/root/main/reqeqmtlist/addmnpwrengr" class="input_default" style="left:970px; top:302px; width:38px; height:19px; text-align:right; "/>
- <input id="ipt_addmnpwretc" ref="/root/main/reqeqmtlist/addmnpwretc" class="input_default" style="left:1070px; top:302px; width:33px; height:19px; text-align:right; "/>
- <input id="ipt_addmnpwrnurs" ref="/root/main/reqeqmtlist/addmnpwrnurs" class="input_default" style="left:868px; top:302px; width:33px; height:19px; text-align:right; "/>
- <input id="ipt_addmnpwrdr" ref="/root/main/reqeqmtlist/addmnpwrdr" class="input_default" style="left:743px; top:302px; width:33px; height:19px; text-align:right; "/>
- <select1 id="rdo_instutcnstrneedyn" ref="/root/main/reqeqmtlist/instutcnstrneedyn" visibility="hidden" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:1070px; top:325px; width:24px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/instutcnstrneedyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="tar_usgepurcneed" ref="/root/main/reqeqmtlist/usgepurcneed" style="left:706px; top:350px; width:488px; height:93px; "/>
- <caption id="caption16" class="cell_1" style="left:586px; top:348px; width:118px; height:96px; vertical-align:middle; ">기 대 효 과</caption>
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:60px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1110px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckRetrieveData(false) == false)return;
-
- if ( fDataCheck() ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- } else {
- misfMsterDetailRetrieve();
- }
- } else {
- misfMsterDetailRetrieve();
- }
- fAfterRetr()
-
- if ( grd_reqeqmtlist.rows <= 1 ) {
- model.resetInstanceNode("/root/main/reqeqmtlist");
- model.refresh();
- }
-
-
-
- ]]>
- </script>
- </button>
- <button id="button5" class="icon_search" style="left:532px; top:45px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd_search,"", recv_list, opt_reqtempinstcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd_search" ref="/root/send/sendlist/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:19px; width:165px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if( cmb_instcd_search.value == '103' || cmb_instcd_search.value == '032' )
- {
- cmb_studyinstcd.value = '';
- cmb_studyinstcd.disabled = true;
- ipt_reqdeptcd_search.value = '';
- ipt_reqdeptnm_search.value = '';
- //기관코드를 선택할때 그 기관에 맞는 예산을 가져오는데 의과학연구원같은경우 성의교정의 예산을 쓸수있게 요청함 - 성의교정 여서경팀장 20100218
- if(cmb_instcd_search.value =='032'){
- rszfComboBgcdBugtList("cmb_groupbugt", '103', '2');
- }else{
- rszfComboBgcdBugtList("cmb_groupbugt", cmb_instcd_search.value, '2');
- }
-
-
- // if(cmb_instcd_search.value != '103')
- // {
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, '', '2');
- // }else{
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, cmb_groupbugt.value, '2');
- // }
-
- opt_reqtempinstcd.value = cmb_instcd_search.value;
-
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
-
- }else{
- cmb_studyinstcd.disabled = false;
- cmb_studyinstcd.select(0);
-
- ipt_reqdeptcd_search.value = '';
- ipt_reqdeptnm_search.value = '';
-
- rszfComboBgcdBugtList("cmb_groupbugt", cmb_instcd_search.value, '2');
- // if(cmb_instcd_search.value != '103')
- // {
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, '', '2');
- // }else{
- // (cmb_bugtflag,cmb_instcd_search.value, cmb_groupbugt.value, '2');
- // }
-
- cmb_studyinstcd.dispatch("xforms-value-changed");
-
- model.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:15px; top:20px; width:117px; height:17px; ">기관코드 :</caption>
- <line id="line18" class="line_4" style="x1:1085px; y1:15px; x2:1085px; y2:65px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_reqdeptcd_search" ref="/root/send/sendlist/reqdeptcd" class="input_default" style="left:426px; top:43px; width:103px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptcd_search.value.length == 0)
- ipt_reqdeptnm_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd,instcd",
- "deptcd," + ipt_reqdeptcd_search.value + "," + opt_reqtempinstcd.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptcd_search, "SPRPZ00200", "instcd","opt_reqtempinstcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:342px; top:44px; width:117px; height:17px; ">청구부서 :</caption>
- <input id="ipt_reqdeptnm_search" ref="/root/send/sendlist/reqdeptnm" class="input_fix" appearance="input" style="left:551px; top:43px; width:184px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptnm_search.value.length == 0)
- ipt_reqdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm,instcd",
- "deptnm," + ipt_reqdeptnm_search.value + "," + opt_reqtempinstcd.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptnm_search, "SPRPZ00200", "instcd","opt_reqtempinstcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptcd" ref="/root/main/reqeqmtlist/reqdeptcd" class="input_essential" visibility="hidden" style="left:1150px; top:305px; width:12px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- model.setFocus("ipt_reqdeptcd");
- ]]>
- </script>
- </input>
- <input id="ipt_reqpsnid" ref="/root/main/reqeqmtlist/reqpsnid" class="input_default" disabled="true" style="left:386px; top:302px; width:62px; height:19px; "/>
- <output id="opt_reqpsnnm" ref="/root/main/reqeqmtlist/reqpsnnm" class="output_fix" appearance="output" style="left:449px; top:302px; width:135px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:180px; top:372px; width:63px; height:23px; vertical-align:middle; ">예산계정</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:444px; width:101px; height:23px; vertical-align:middle; ">귀속부서</caption>
- <caption id="caption18" class="cell_1" style="left:285px; top:444px; width:100px; height:23px; vertical-align:middle; ">관리부서</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:372px; width:101px; height:23px; vertical-align:middle; ">예산년도</caption>
- <caption id="caption29" class="cell_1" style="left:285px; top:468px; width:100px; height:23px; vertical-align:middle; ">설치장소</caption>
- <input id="ipt_bugtyy" ref="/root/main/reqeqmtlist/bugtyy" class="input_search" format="yyyy" style="left:103px; top:374px; width:72px; height:19px; text-align:center; "/>
- <button id="btn_cntrdeptcd" class="icon_search" style="left:171px; top:447px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "cntrdeptcd,cntrdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list, opt_checkinstcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cntrdeptcd" ref="/root/main/reqeqmtlist/cntrdeptcd" class="input_s_essential" style="left:103px; top:446px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_cntrdeptcd.value.length == 0)
- ipt_cntrdeptnm.value = "";
- else
- misfValidationCheck("02", "", "cntrdeptcd,cntrdeptnm", opt_checkinstcd.value, "instcd" );
- model.refresh();
- model.setFocus("ipt_cntrdeptcd");
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd" class="icon_search" style="left:453px; top:447px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mngtdeptcd,mngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list, opt_checkinstcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptcd" ref="/root/main/reqeqmtlist/mngtdeptcd" class="input_s_essential" style="left:387px; top:446px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptcd.value.length == 0)
- ipt_mngtdeptnm.value = "";
- else
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm", opt_checkinstcd.value, "instcd");
- model.refresh();
- model.setFocus("ipt_mngtdeptcd");
- ]]>
- </script>
- </input>
- <input id="ipt_installplcecd" ref="/root/main/reqeqmtlist/installplcecd" class="input_default" style="left:387px; top:470px; width:62px; height:19px; "/>
- <button id="btn_installplcecd" class="icon_search" style="left:453px; top:471px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "installplcecd,installplcenm";
- misfOpenPopUpList("19", ipt_installplcecd,"", recv_list, opt_checkinstcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cntrdeptnm" ref="/root/main/reqeqmtlist/cntrdeptnm" class="input_fix" appearance="input" style="left:190px; top:446px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_cntrdeptnm.value.length == 0)
- ipt_cntrdeptcd.value = "";
- else
- misfValidationCheck("02", "", "cntrdeptcd,cntrdeptnm", opt_checkinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_mngtdeptnm" ref="/root/main/reqeqmtlist/mngtdeptnm" class="input_fix" appearance="input" style="left:473px; top:446px; width:111px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm.value.length == 0)
- ipt_mngtdeptcd.value = "";
- else
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm", opt_checkinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_installplcenm" ref="/root/main/reqeqmtlist/installplcenm" class="input_fix" appearance="input" style="left:473px; top:470px; width:111px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcenm.value.length == 0)
- ipt_installplcecd.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm,instcd",
- "deptnm," + ipt_installplcenm.value + "," + opt_checkinstcd.value, "", "installplcecd,installplcenm",
- ipt_installplcenm, "PPRAC00700", "instcd", "opt_checkinstcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption14" class="search_name" style="left:342px; top:20px; width:117px; height:17px; ">청구일자 :</caption>
- <input id="ipt_reqfrmdd_search" ref="/root/send/sendlist/reqfrmdd" class="input_s_essential" inputtype="date" style="left:427px; top:19px; width:95px; height:19px; "/>
- <caption id="caption42" style="left:525px; top:21px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_reqtodd_search" ref="/root/send/sendlist/reqtodd" class="input_s_essential" inputtype="date" style="left:542px; top:19px; width:95px; height:19px; "/>
- <select1 id="cmb_prcsstat_search" ref="/root/send/sendlist/prcsstat" class="combo_default" appearance="minimal" style="left:100px; top:42px; width:165px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_installspcepossnyn" ref="/root/main/reqeqmtlist/installspcepossnyn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:706px; top:326px; width:116px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/installspcepossnyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_calcscorgenryn" ref="/root/main/reqeqmtlist/calcscorgenryn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:951px; top:326px; width:116px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/calcscorgenryn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:555px; width:144px; height:22px; ">
- <caption>추천장비</caption>
- <toggle case="recmeqmt_case" ev:event="DOMActivate"/>
- </button>
- <button id="button2" class="btn_sw" group="tab" style="left:143px; top:555px; width:144px; height:22px; ">
- <caption>부서동일유사장비</caption>
- <toggle case="smlartyeqmt_case" ev:event="DOMActivate"/>
- </button>
- <switch id="switch1" style="left:0px; top:578px; width:1195px; height:162px; ">
- <case id="recmeqmt_case" selected="true">
- <button id="button13" class="btn2_letter3" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSetAddRow( grd_recmeqmtlist );
-
- fSetNum(grd_recmeqmtlist, "recmseqno");
-
- /* ----------------------------------------------------------------------------
- 추천장비 입력시 제일 처음건에 대하여 금액 및 단위를 기본으로 뿌려달라
- ----------------------------------------------------------------------------*/
- if ( grd_recmeqmtlist.row == 1 )
- {
- model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/wncurncyamt" ,
- model.getValue(ipt_bugtwncurncy.attribute("ref") ) );
- model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/forgncurncyamt" ,
- model.getValue(ipt_bugtforgnamt.attribute("ref") ) );
- model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/curncyunit" ,
- model.getValue(cmb_bugtforgnamtunit.attribute("ref") ) );
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter3" style="left:1140px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_recmeqmtlist,"D");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
- <caption id="caption19" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">추천장비</caption>
- <datagrid id="grd_recmeqmtlist" nodeset="/root/main/list/recmeqmtlist" caption="추천순위^모델^원화금액^화폐단위^외화금액^제조회사^제조국^거래처^담당자^담당자전화번호^담당자핸드폰" colsep="^" colwidth="66, 116, 100, 100, 100, 131, 120, 130, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1193px; height:125; ">
- <col ref="recmseqno"/>
- <col ref="model" type="input" _key="true"/>
- <col ref="wncurncyamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="curncyunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="forgncurncyamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="prodcmpynm" type="inputbutton"/>
- <col ref="prodplce" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="innatiagtplcenm" type="inputbutton"/>
- <col ref="chrgpsnid" type="input"/>
- <col ref="chrgtel" type="input" maxlength="15"/>
- <col ref="chrghptel" type="input" maxlength="15"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_recmeqmtlist.col == grd_recmeqmtlist.colRef("prodcmpynm") ) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_recmeqmtlist,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- model.refresh();
- } else if (grd_recmeqmtlist.col == grd_recmeqmtlist.colRef("innatiagtplcenm")) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_recmeqmtlist,"","innatiagtplce,innatiagtplcenm","SPRSD00220","instcd","opt_instcd");
- model.refresh();
- }
- ]]>
- </script>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="innatiagtplce" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_recmeqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="smlartyeqmt_case">
- <caption id="caption10" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">동일유사장비</caption>
- <line id="line25" class="line_1" style="x1:4px; y1:25px; x2:961px; y2:25px; "/>
- <button id="button16" class="btn2_letter3" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_smlartyeqmtlist );
-
- // model.refresh();
- ]]>
- </script>
- </button>
- <button id="button18" class="btn2_letter3" style="left:1140px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_smlartyeqmtlist,"D");
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
- <datagrid id="grd_smlartyeqmtlist" nodeset="/root/main/list/smlartyeqmtlist" caption="장비코드^장비명^모델^원화^외화^화폐단위^입고일자^설치일자^제조회사^거래처" colsep="^" colwidth="100, 247, 157, 100, 100, 100, 87, 84, 86, 105, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1193px; height:125; ">
- <col ref="eqmtcd" type="inputbutton" _key="true"/>
- <col ref="eqmtnm"/>
- <col ref="goodmodel"/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="curncyunit"/>
- <col ref="windd" format="yyyymmdd"/>
- <col/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="possnflagcd" visibility="hidden"/>
- <col ref="possnflagcdnm" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="empthnm" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_smlartyeqmtlist.col == grd_smlartyeqmtlist.colRef("eqmtcd"))
- {
- rszfOpenPopUpListByWndName(grd_smlartyeqmtlist,"","eqmtcd,empthnm,goodmodel,cntrdeptcd,installplcenm,prodcmpy,prodcmpynm,windd,suplplcecd,suplplcenm,possnflagcd,possnflagcdnm,forgncurncyamt,possnamt,eqmtnm,curncyunit","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search");
- // rszfOpenPopUpListByWndName(grd_smlartyeqmtlist,"","eqmtcd,eqmtnm,goodmodel,cntrdeptcd,installplcenm,prodcmpy,prodcmpynm,windd,suplplcecd,suplplcenm,possnflagcd,possnflagcdnm,forgncurncyamt,possnamt","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_smlartyeqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="psge_case">
- <button id="button15" class="btn2_letter3" style="left:1140px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_psgedeptlist,"D");
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter3" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_psgedeptlist );
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_psgedeptlist" nodeset="/root/main/list/psgedeptlist" caption="기관코드^신청일자^신청순번^경유부서코드^ 경유부서^접수^의견 및 평가" colsep="^" colwidth="21, 17, 16, 85, 130, 49, 770" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1193px; height:125; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="psgedeptcd" visibility="hidden"/>
- <col ref="psgedeptnm" type="inputbutton" _key="true"/>
- <col ref="psgedeptaprvnm"/>
- <col ref="psgecmt" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 접수구분에 따른 경유부서 Data 설정.
- if(opt_acptflagcheck.value == 'Y')
- {
- fAcptflagDataSetup();
- opt_acptflagcheck.value = 'N';
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_psgedeptlist.col == grd_psgedeptlist.colRef("psgedeptnm") ) {// 그리드 부서명 버튼 클릭
- var recv_list = "psgedeptcd,psgedeptnm";
- misfOpenPopUpList("02", grd_psgedeptlist,"", recv_list) ;
- var cur_row = grd_psgedeptlist.row;
- var status = grd_psgedeptlist.valueMatrix(cur_row, grd_psgedeptlist.colRef("m"));
- if(status !="insert" && status !="delete") grd_psgedeptlist.addStatus(cur_row,"update");
- }
- // model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_psgedeptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">경유부서</caption>
- <line id="line28" class="line_1" style="x1:0; y1:25px; x2:1193; y2:25px; "/>
- </case>
- <case id="publusedeptcd_case">
- <button id="button4" class="btn2_letter3" style="left:1130px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_publusedeptlist,"D");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1075px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_publusedeptlist );
- fSetNum(grd_publusedeptlist, "useseq");
- // model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption13" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">공동사용부서</caption>
- <datagrid id="grd_publusedeptlist" nodeset="/root/main/list/publusedeptlist" caption="기관코드^신청일자^신청순번^순번^사용부서^사용부서^책임자^책임자^전화번호^비율^용도" colsep="^" colwidth="21, 17, 16, 46, 89, 91, 106, 96, 100, 62, 510" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1185px; height:125; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="useseq"/>
- <col ref="usedeptcd" type="inputbutton" _key="true"/>
- <col ref="usedeptnm"/>
- <col ref="usepsnid" type="inputbutton"/>
- <col ref="usepsnidnm"/>
- <col ref="usechrgtel" type="input" maxlength="15"/>
- <col ref="rate" type="input" style="text-align:right; "/>
- <col ref="usecmt" type="input" maxlength="100"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd") ) {// 그리드 부서명 버튼 클릭
- var recv_list = "usedeptcd,usedeptnm";
- misfOpenPopUpList("02", grd_publusedeptlist,"", recv_list) ;
- var cur_row = grd_publusedeptlist.row;
- var status = grd_publusedeptlist.valueMatrix(cur_row, grd_publusedeptlist.colRef("m"));
- if(status !="insert" && status !="delete") grd_publusedeptlist.addStatus(cur_row,"update");
- }
- else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
- {
- var recv_list = "usepsnid,usepsnidnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- misfOpenPopUpList("12", grd_publusedeptlist,"", recv_list, "%","instcd") ;
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd"))
- {
- var recv_list = "usedeptcd,usedeptnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- misfValidationCheck("02","", recv_list) ;
- model.refresh();
- }
- else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
- {
- var recv_list = "usepsnid,usepsnidnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- misfValidationCheck("12","", recv_list) ;
- model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_publusedeptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:1182px; y2:25px; "/>
- </case>
- <case id="moncd_1_case">
- <caption id="caption50" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간시행건수</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
- <button id="button12" class="btn2_letter3" style="left:1140px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mon1cdlist,"D");
- ]]>
- </script>
- </button>
- <button id="button20" class="btn2_letter3" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_mon1cdlist );
- // model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_mon1cdlist" nodeset="/root/main/list/mon1cdlist" caption="수가코드^수가명^급여^금액^월건수" colsep="^" colwidth="124, 449, 129, 147, 123" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:1193px; height:125; ">
- <col ref="cstcd" type="input" _key="true"/>
- <col ref="cstcdnm" type="input"/>
- <col ref="insu_nopyyn" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>비급여</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="mmuseqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cstflag" visibility="hidden"/>
- <col ref="reqseq" visibility="hidden"/>
- <col ref="suplplce" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="mainusge" visibility="hidden"/>
- </datagrid>
- </case>
- <case id="moncd_2_case">
- <button id="button21" class="btn2_letter3" style="left:1140px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mon2cdlist,"D");
- ]]>
- </script>
- </button>
- <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
- <button id="button23" class="btn2_letter3" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_mon2cdlist );
- // model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption49" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간재료비</caption>
- <datagrid id="grd_mon2cdlist" nodeset="/root/main/list/mon2cdlist" caption="재료코드^품명^급여^월소요량^구입단가^공급업체^공급업체명^주요용도" colsep="^" colwidth="111, 332, 90, 64, 110, 94, 100, 224, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:1193px; height:125; ">
- <col ref="cstcd" type="inputbutton" _chartype="upper" _key="true"/>
- <col ref="cstcdnm"/>
- <col ref="insu_nopyyn" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>비급여</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="mmuseqty" type="input"/>
- <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="suplplce" type="input"/>
- <col ref="suplplcenm"/>
- <col ref="mainusge" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cstflag" visibility="hidden"/>
- <col ref="reqseq" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm" visibility="hidden"/>
- <col ref="goodunitcost" visibility="hidden"/>
- <col ref="maincustlastsuplplce" visibility="hidden"/>
- <col ref="maincustlastsuplplcenm" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.rowStatus(grd_mon2cdlist.row) == "1" ) {//구성물품코드를 눌렀을 경우
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfOpenPopUpListByWndName(grd_mon2cdlist,"","goodcd,goodnm","SPRSD00190","instcd","cmb_instcd_search");
-
- var cur_row = grd_mon2cdlist.row;
- var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
-
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- setCSVToNode("/root/copynode", CSV, "goodreqlist");
-
- fSettingGoodList("/root/copynode", "goodreqlist");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("cstcd")).length> 0)
- {
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm,workflag","cstcd," + model.getValue(cmb_instcd_search.attribute("ref")) + ",," + model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodcd") + ",,,,," ,"goodcd,goodnm",grd_mon2cdlist,"SPRSD00190","instcd","cmb_instcd_search" ,"Y");
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodcd","goodcd," + model.getValue(cmb_instcd_search.attribute("ref")) + "," + model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd") ,"","goodcd,goodnm,goodunitcost,maincustlastsuplplce,maincustlastsuplplcenm",grd_mon2cdlist,"SPRSD00190","instcd","cmb_instcd_search","Y");
- model.refresh();
-
- var cur_row = grd_mon2cdlist.row;
- var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
-
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length == 0)
- {
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd" , "");
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/cstcdnm" , "");
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/purcunitcost" , "");
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplce" , "");
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplcenm" , "");
- grd_mon2cdlist.col = grd_mon2cdlist.colRef("cstcd");
- grd_mon2cdlist.editCell();
- }
- else if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length > 0)
- {
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodcd") );
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/cstcdnm" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodnm") );
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/purcunitcost" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodunitcost"));
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplce" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/maincustlastsuplplce") );
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplcenm" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/maincustlastsuplplcenm") );
-
- grd_mon2cdlist.col = grd_mon2cdlist.colRef("insu_nopyyn");
- grd_mon2cdlist.editCell();
- }
- else if (CSV.length > 0)
- {
- model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd","");
- setCSVToNode("/root/copynode", CSV, "goodreqlist");
-
- fSettingGoodList("/root/copynode", "goodreqlist" );
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mon2cdlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="fixasetcd_case">
- <button id="button24" class="btn2_letter2" style="left:1146px; top:4px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_fixasetcdlist);
- model.setValue("/root/send/sendlist/cntrdeptcd" , model.getValue(ipt_reqdeptcd_search.attribute("ref")));
- submit("TRRFC00201");
- ]]>
- </script>
- </button>
- <line id="line21" class="line_1" style="x1:3px; y1:25px; x2:1192px; y2:25px; "/>
- <caption id="caption51" class="tit_2" style="left:5px; top:10px; width:113px; height:13px; ">부서내 자산코드</caption>
- <datagrid id="grd_fixasetcdlist" nodeset="/root/main/list/fixasetcd/fixasetcdlist" caption="대분류^중분류^소분류^품목영문명^규격^모델^입고일^제조사^거래처^수량" colsep="^" colwidth="113, 107, 120, 240, 135, 139, 93, 84, 83, 48, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1193; height:125; ">
- <col ref="lrgnm"/>
- <col ref="mdlnm"/>
- <col ref="smlnm"/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="windd"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="goodqty" style="text-align:right; "/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //접수체크에 관한 추천장비 행추가,삭제,수정 권한 설정.
- if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) != "Y")
- {
- fMovecd("grd_fixasetcdlist");
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button1" class="btn_sw" group="tab" style="left:286px; top:555px; width:144px; height:22px; ">
- <caption>경유부서</caption>
- <toggle case="psge_case" ev:event="DOMActivate"/>
- </button>
- <button id="button8" class="btn_sw" group="tab" style="left:718px; top:555px; width:144px; height:22px; ">
- <caption>공동사용부서</caption>
- <toggle case="publusedeptcd_case" ev:event="DOMActivate"/>
- </button>
- <caption id="caption3" class="cell_1" style="left:0px; top:420px; width:100px; height:23px; vertical-align:middle; ">연구과제</caption>
- <input id="ipt_stdysubjno" ref="/root/main/reqeqmtlist/stdysubjno" class="input_search" maxlength="4" style="left:103px; top:421px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjno.value.length == 0)
- {
- ipt_stdysubjnm.value = "";
- }else{
- var fprojectyn = model.getValue(cmb_bugtflag.choices.itemset.attribute("nodeset") + "[" + (cmb_bugtflag.focusIndex +1) +"]/projectyn");
- rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjno,reqdd,projectyn",
- cmb_instcd_search.value + ",stdysubjno," + ipt_stdysubjno.value + "," + model.getValue("/root/main/reqeqmtlist/reqdd") + "," + fprojectyn , "", "stdysubjno,stdysubjnm",
- ipt_stdysubjno, "SPRSD00260", "instcd,reqdd,projectyn","cmb_instcd_search," + model.getValue("/root/main/reqeqmtlist/reqdd") + "," + fprojectyn );
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_stdysubjnm" ref="/root/main/reqeqmtlist/stdysubjnm" class="input_fix" appearance="input" style="left:191px; top:421px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value.length == 0)
- {
- ipt_stdysubjno.value = "";
- }else{
- var fprojectyn = model.getValue(cmb_bugtflag.choices.itemset.attribute("nodeset") + "[" + (cmb_bugtflag.focusIndex +1) +"]/projectyn");
- rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjnm,reqdd,projectyn",
- cmb_instcd_search.value + ",stdysubjnm," + ipt_stdysubjnm.value + "," + model.getValue("/root/main/reqeqmtlist/reqdd") + "," + fprojectyn, "", "stdysubjno,stdysubjnm",
- ipt_stdysubjnm, "SPRSD00260", "instcd,reqdd,projectyn","cmb_instcd_search," + model.getValue("/root/main/reqeqmtlist/reqdd") + "," + fprojectyn);
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_stdysubjnm" class="icon_search" style="left:171px; top:423px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var fprojectyn = model.getValue(cmb_bugtflag.choices.itemset.attribute("nodeset") + "[" + (cmb_bugtflag.focusIndex +1) +"]/projectyn");
- rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd,reqdd","cmb_instcd_search," + model.getValue("/root/main/reqeqmtlist/reqdd") );
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption45" class="search_name" style="left:15px; top:43px; width:117px; height:17px; ">진행상태 :</caption>
- <input id="ipt_goodflag_search" ref="/root/send/sendlist/goodflag" visibility="hidden" style="left:945px; top:45px; width:35px; height:19px; "/>
- <input id="ipt_prcsstat" ref="/root/main/reqeqmtlist/prcsstat" class="input_essential" visibility="hidden" style="left:1140px; top:305px; width:12px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- model.setFocus("ipt_reqdeptcd");
- ]]>
- </script>
- </input>
- <input id="ipt_deptaprvyn_search" ref="/root/send/sendlist/deptaprvyn" visibility="hidden" style="left:1015px; top:45px; width:65px; height:19px; "/>
- <button id="button9" class="btn2_letter7" style="left:921px; top:73px; width:97px; height:19px; ">
- <caption>전체접수/취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // fChangeStatus( "C", "접수" );
- // model.refresh();
- fSettingReqRece();
- ]]>
- </script>
- </button>
- <button id="brn_all_check" class="btn2_letter10" style="left:1020px; top:73px; width:130px; height:19px; ">
- <caption>전체구매승인/미승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // fChangeStatus( "C", "접수" );
- // model.refresh();
- fSettingPurcRece();
- ]]>
- </script>
- </button>
- <button id="btn_purcaprv" class="btn2_letter2" style="left:1152px; top:73px; width:42px; height:19px; ">
- <caption>처리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_reqeqmtlist);
- if( updtdata!="" ) {
- misfSave("TXRSC11901");
- misfMsterDetailRetrieve();
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_goodflagengnm" class="icon_search" style="left:564px; top:327px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodflagengnm,"", "goodflaghngnm,goodflagengnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search","Y");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button19" class="btn_sw" visibility="hidden" group="tab" style="left:1013px; top:555px; width:144px; height:22px; ">
- <caption>부서내 장비현황</caption>
- <toggle case="fixasetcd_case" ev:event="onclick"/>
- </button>
- <select1 id="cmb_usemthd" ref="/root/main/reqeqmtlist/usemthd" class="combo_default" appearance="minimal" style="left:103px; top:469px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/usemthd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption32" class="cell_1" style="left:0px; top:468px; width:101px; height:23px; vertical-align:middle; ">사용방법</caption>
- <input id="ipt_appqty" ref="/root/main/reqeqmtlist/appqty" class="input_s_essential" format="#,###" style="left:103px; top:494px; width:74px; height:19px; text-align:right; "/>
- <caption id="caption28" class="cell_1" style="left:0px; top:492px; width:100px; height:23px; vertical-align:middle; ">청구수량</caption>
- <caption id="caption48" class="tit_2" style="left:5px; top:280px; width:100px; height:13px; ">장비청구 내역</caption>
- <caption id="caption40" style="left:936px; top:302px; width:38px; height:20px; vertical-align:middle; ">기사 :</caption>
- <caption id="caption41" style="left:1035px; top:302px; width:38px; height:20px; vertical-align:middle; ">기타 :</caption>
- <caption id="caption43" style="left:781px; top:302px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption44" style="left:904px; top:302px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption46" style="left:1011px; top:302px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption47" style="left:1105px; top:302px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption37" style="left:822px; top:302px; width:46px; height:19px; vertical-align:middle; ">간호사 :</caption>
- <caption id="caption15" style="left:709px; top:302px; width:34px; height:19px; vertical-align:middle; ">의사 :</caption>
- <button id="button7" class="btn_sw" group="tab" style="left:430px; top:555px; width:144px; height:22px; ">
- <caption>월간시행건수</caption>
- <toggle case="moncd_1_case" ev:event="DOMActivate"/>
- </button>
- <button id="button11" class="btn_sw" group="tab" style="left:573px; top:555px; width:144px; height:22px; ">
- <caption>월간재료비</caption>
- <toggle case="moncd_2_case" ev:event="DOMActivate"/>
- </button>
- <input id="ipt_reqflag" ref="/root/send/sendlist/reqflag" visibility="hidden" style="left:980px; top:45px; width:35px; height:19px; "/>
- <input id="ipt_bugtwncurncy" ref="/root/main/reqeqmtlist/bugtwncurncy" class="input_default" format="#,###" style="left:460px; top:517px; width:124px; height:19px; text-align:right; "/>
- <input id="ipt_chgrate" ref="/root/main/reqeqmtlist/chgrate" class="input_default" format="#,###" style="left:227px; top:517px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetAmt()
- ]]>
- </script>
- </input>
- <caption id="caption31" class="cell_1" style="left:363px; top:516px; width:96px; height:23px; vertical-align:middle; ">예산금액(내자)</caption>
- <select1 id="cmb_iopsnflag" ref="/root/main/reqeqmtlist/iopsnflag" class="combo_default" appearance="minimal" style="left:253px; top:494px; width:107px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>내자</label>
- <value>H</value>
- </item>
- <item>
- <label>외자</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmt()
- ]]>
- </script>
- </select1>
- <select1 id="cmb_bugtforgnamtunit" ref="/root/main/reqeqmtlist/bugtforgnamtunit" class="combo_default" appearance="minimal" style="left:140px; top:517px; width:85px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:0px; top:516px; width:139px; height:23px; vertical-align:middle; ">화폐단위/환율/부대비용</caption>
- <caption id="caption34" class="cell_1" style="left:363px; top:492px; width:95px; height:23px; vertical-align:middle; ">예산금액(외자)</caption>
- <caption id="caption25" class="cell_1" style="left:180px; top:492px; width:71px; height:23px; vertical-align:middle; ">내,외자</caption>
- <caption id="caption1" class="search_no_b" style="left:348px; top:518px; width:17px; height:17px; font-size:12pt; ">%</caption>
- <input id="ipt_etccostrt" ref="/root/main/reqeqmtlist/etccostrt" class="input_default" format="#,###" style="left:300px; top:517px; width:49px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmt()
- ]]>
- </script>
- </input>
- <input id="ipt_bugtforgnamt" ref="/root/main/reqeqmtlist/bugtforgnamt" class="input_default" format="#,###" style="left:460px; top:494px; width:124px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmt()
- ]]>
- </script>
- </input>
- <caption id="caption2" class="cell_1" style="left:586px; top:445px; width:118px; height:94px; vertical-align:middle; ">구 매 시 고 려 사 항</caption>
- <button id="button26" class="btn_sw" group="tab" style="left:915px; top:444px; width:70px; height:22px; ">
- <caption>배 관</caption>
- <toggle case="mutplecmt_case" ev:event="onclick"/>
- </button>
- <button id="button27" class="btn_sw" group="tab" style="left:985px; top:444px; width:113px; height:22px; ">
- <caption>전산화(EMR/PACS)</caption>
- <toggle case="compucmt_case" ev:event="onclick"/>
- </button>
- <button id="button28" class="btn_sw" group="tab" style="left:1098px; top:445px; width:70px; height:22px; ">
- <caption>기 타</caption>
- <toggle case="etccmt_case" ev:event="onclick"/>
- </button>
- <button id="button10" class="btn_sw" group="tab" selected="true" style="left:705px; top:444px; width:70px; height:22px; ">
- <caption>부대시설</caption>
- <toggle case="subestbcmt_case" ev:event="onclick"/>
- </button>
- <switch id="switch2" style="left:705px; top:466px; width:485px; height:72px; ">
- <case id="subestbcmt_case" selected="true">
- <textarea id="tar_subestbcmt" ref="/root/main/reqeqmtlist/subestbcmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- <case id="machcmt_case">
- <textarea id="tar_machcmt" ref="/root/main/reqeqmtlist/machcmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- <case id="eleccmt_case">
- <textarea id="tar_eleccmt" ref="/root/main/reqeqmtlist/eleccmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- <case id="mutplecmt_case">
- <textarea id="tar_mutplecmt" ref="/root/main/reqeqmtlist/mutplecmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- <case id="compucmt_case">
- <textarea id="tar_compucmt" ref="/root/main/reqeqmtlist/compucmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- <case id="etccmt_case">
- <textarea id="tar_etccmt" ref="/root/main/reqeqmtlist/etccmt" style="left:0px; top:0px; width:483px; height:70px; "/>
- </case>
- </switch>
- <button id="button22" class="btn_sw" group="tab" style="left:775px; top:444px; width:70px; height:22px; ">
- <caption>기계장치</caption>
- <toggle case="machcmt_case" ev:event="onclick"/>
- </button>
- <button id="button25" class="btn_sw" group="tab" style="left:845px; top:444px; width:70px; height:22px; ">
- <caption>전 원</caption>
- <toggle case="eleccmt_case" ev:event="onclick"/>
- </button>
- <output id="opt_acptflagcheck" ref="/root/init/acptflaglist/acptflagcheck" visibility="hidden" style="left:845px; top:70px; width:15px; height:19px; "/>
- <output id="opt_checkvalue1" ref="/root/init/acptflaglist/checkvalue1" visibility="hidden" style="left:865px; top:70px; width:15px; height:19px; "/>
- <output id="opt_checkvalue2" ref="/root/init/acptflaglist/checkvalue2" visibility="hidden" style="left:885px; top:70px; width:15px; height:19px; "/>
- <select1 id="cmb_studyinstcd" ref="/root/send/sendlist/studyinstcd" appearance="minimal" style="left:845px; top:20px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- opt_reqtempinstcd.value = cmb_studyinstcd.value;
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:755px; top:20px; width:99px; height:17px; ">연구기관 :</caption>
- <output id="opt_checkinstcd" ref="/root/send/sendlist/checkinstcd" visibility="hidden" style="left:775px; top:70px; width:40px; height:19px; "/>
- <output id="opt_reqtempinstcd" ref="/root/send/sendlist/reqtempinstcd" visibility="hidden" style="left:705px; top:70px; width:40px; height:19px; "/>
- <select1 id="cmb_groupbugt" ref="/root/send/sendlist/groupbugt" class="combo_default" appearance="minimal" style="left:245px; top:374px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(cmb_instcd_search.value != '103')
- // {
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, '', '2');
- // }else{
- // rszfComboBugtList(cmb_bugtflag,cmb_instcd_search.value, cmb_groupbugt.value, '2');
- // }
-
- fDisabledComboflag();
- ]]>
- </script>
- </select1>
- <output id="opt_projectnm" ref="/root/main/reqeqmtlist/projectnm" class="output_fix" style="left:103px; top:398px; width:181px; height:19px; "/>
- <input id="ipt_bugtflag" ref="/root/main/reqeqmtlist/bugtflag" visibility="hidden" style="left:475px; top:274px; width:80px; height:19px; "/>
- <input id="ipt_bugtflagnm" ref="/root/main/reqeqmtlist/bugtflagnm" style="left:405px; top:374px; width:179px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_stdysubjno.value = '';
- ipt_stdysubjnm.value = '';
- ]]>
- </script>
- </input>
- <button id="btn_bugtflagnm" class="icon_search" style="left:385px; top:374px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_bugtflagnm,"","bugtflag,bugtflagnm,projectid,projectnm,totamt,bugtexpcamt,bugtexecamt,remainder,projectyn","SPRSD00340","instcd,reqdd,deptcd,supacntcd4", cmb_instcd_search.value + "," + opt_reqdd.value + "," + ipt_reqdeptcd.value + "," + cmb_groupbugt.value);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_projectid" ref="/root/main/reqeqmtlist/projectid" visibility="hidden" style="left:390px; top:274px; width:80px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:396px; width:101px; height:23px; vertical-align:middle; ">프로젝트</caption>
- <caption id="caption30" class="cell_1" style="left:285px; top:396px; width:100px; height:23px; vertical-align:middle; ">예산편성/추산액</caption>
- <caption id="caption33" class="cell_1" style="left:285px; top:420px; width:100px; height:23px; vertical-align:middle; ">예산집행/잔액</caption>
- <input id="ipt_remainder" ref="/root/main/reqeqmtlist/remainder" class="output_fix" format="#,###" style="left:488px; top:421px; width:96px; height:19px; text-align:right; "/>
- <input id="ipt_bugtexpcamt" ref="/root/main/reqeqmtlist/bugtexpcamt" class="output_fix" format="#,###" style="left:488px; top:398px; width:96px; height:19px; text-align:right; "/>
- <input id="ipt_totamt" ref="/root/main/reqeqmtlist/totamt" class="output_fix" format="#,###" style="left:387px; top:398px; width:96px; height:19px; text-align:right; "/>
- <input id="ipt_bugtexecamt" ref="/root/main/reqeqmtlist/bugtexecamt" class="output_fix" format="#,###" style="left:387px; top:421px; width:96px; height:19px; text-align:right; "/>
- <caption id="cap_fundorigin" class="cell_1" style="left:370px; top:348px; width:58px; height:23px; vertical-align:middle; ">자금출처</caption>
- <select1 id="cmb_fundorigin" ref="/root/main/reqeqmtlist/fundorigin" class="combo_default" appearance="minimal" style="left:430px; top:350px; width:154px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( fDataCheck() ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- } else {
- fInitialize();
- }
- } else {
- fInitialize();
- }
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1070px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fCheckSaveData() ) {
- if ( grd_reqeqmtlist.rows <= 1 ) {
- misfGridInit(grd_reqeqmtlist);
- misfGridIUD(grd_reqeqmtlist, "A");
- model.refresh();
- }
-
- if ( fDataCheck() ) {
- misfSave("TXRSC11901");
- if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
- } else {
- messageBox("변경된 데이터가","I004");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter5" visibility="hidden" style="left:0; top:3px; width:87px; height:22px; ">
- <caption>청구서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <output id="opt_instcd" ref="/root/main/reqeqmtlist/instcd" class="output_fix" visibility="hidden" appearance="output" style="left:490px; top:5px; width:78px; height:19px; "/>
- <output id="opt_reqdd" ref="/root/main/reqeqmtlist/reqdd" class="output_fix" visibility="hidden" appearance="output" style="left:575px; top:5px; width:78px; height:19px; "/>
- <output id="opt_reqseqno" ref="/root/main/reqeqmtlist/reqseqno" class="output_fix" visibility="hidden" appearance="output" style="left:660px; top:5px; width:78px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|