123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>CRCC연구비관리</xhtml:title>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function getIsamSdtycost() {
- var subjid = model.getValue("/root/init/subjid");
- if(subjid == "") return;
-
- model.removenode("/root/main/view/isamstdycost");
- submit("TRICU00111");
- }
-
- function readfunc1() {
- model.removeNodeset("/root/main/subjdtlinfo/subjmstlist");
- submit("TRISA00102");
- model.resetInstanceNode("/root/main/subreqinfo/subreqlist");
- model.setValue("/root/main/subreqinfo/subreqlist/appdd", getCurrentDate());
- model.setValue("/root/main/subreqinfo/subreqlist/iudgb", "I");
- model.setValue("/root/main/subreqinfo/subreqlist/subjid", model.getValue("/root/send/data/subjid"));
- model.setValue("/root/main/subreqinfo/subreqlist/instcd", model.getValue("/root/send/data/instcd"));
- btn_del.disabled = true;
- model.refresh();
- }
- function readfunc2() {
- model.setValue("/root/main/reqdetlstat/reqdetldg/totappamt", "0");
- model.setValue("/root/main/reqdetlstat/reqdetldg/totwonamt", "0");
- model.setValue("/root/main/reqdetlstat/reqdetldg/totcalcamt", "0");
- if (submit("TRISA00103")){
- var dappamt = 0;
- var dwonamt = 0;
- var dcalcamt = 0;
- for (var i = 1; i < datagrid2.rows; i ++){
- dappamt = dappamt + parseFloat(model.getValue("/root/main/reqdetlinfo/reqdetllist[" + i + "]/totamt"));
- dwonamt = dwonamt + parseFloat(model.getValue("/root/main/reqdetlinfo/reqdetllist[" + i + "]/wonamt"));
- dcalcamt = dcalcamt + parseFloat(model.getValue("/root/main/reqdetlinfo/reqdetllist[" + i + "]/calcamt"));
- }
-
- model.setValue("/root/main/reqdetlstat/reqdetldg/totappamt", dappamt);
- model.setValue("/root/main/reqdetlstat/reqdetldg/totwonamt", dwonamt);
- model.setValue("/root/main/reqdetlstat/reqdetldg/totcalcamt", dcalcamt);
- datagrid2.subtotal("clear", -1, 0, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 1, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 2, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 3, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 4, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 5, "(-)#,###", "", 0, "합계");
- datagrid2.subtotal("sum", -1, 6, "(-)#,###", "", 0, "합계");
- }
- model.refresh();
- }
-
- ]]>
- </script>
- <model id="model1">
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRIRZ00000");
- model.toggle("case1");
- model.removenode("/root/main/grid/stdyexplst");
-
- model.setValue("/root/send/srch/srchfromdd", ((getCurrentDate().toDate("YYYYMMDD")).getAddDate(-1,"M")).getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/srch/srchtodd", getCurrentDate());
- if(submit("TRICU00100")){
- for(var i =datagrid1.fixedRows;i < datagrid1.rows;i++){
- if(datagrid1.valueMatrix(i,datagrid1.colRef("missendyn")) == "Y"){
- datagrid1.isReadOnly(i,datagrid1.colRef("flag")) =true;
- datagrid1.rebuildStyle();
- setRowStyle("datagrid1","1","Y","missendyn","equal"); // mis에 저장구분 RowStyle변경
- } else {
- datagrid1.isReadOnly(i,datagrid1.colRef("flag")) =false;
- }
- }
- }
- datagrid1.refresh();
- ]]>
- </script>
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <stdyexplst>
- <subjno/>
- <itemnm/>
- <hospnm/>
- <instcd/>
- <appdd/>
- <cmpynm/>
- <rusernm/>
- <stdystartdd/>
- <stdyenddd/>
- <appdg/>
- <appamt/>
- <remamt/>
- <actseqno/>
- <subjid/>
- <instcd/>
- <appaprvyn/>
- <misseqno/>
- <appaprvnm/>
- <conreseryn/>
- <conusernm/>
- <conrrgstno/>
- </stdyexplst>
- </grid>
- <default>
- <hospdefinfo>
- <instcd/>
- <subjno/>
- <examadjtprf/>
- <respstdyempno/>
- <usernm/>
- <itemnm/>
- <comnm/>
- <condd/>
- <subjnm/>
- <stdystartdd/>
- <stdyenddd/>
- <direccost/>
- <direcamt/>
- <appamt/>
- <remamt/>
- <appdg/>
- <subjid/>
- </hospdefinfo>
- </default>
- <view>
- <isamstdycost>
- <appdg/>
- <appdd/>
- <appamt/>
- <appaprvyn/>
- <appcnfmdd/>
- <actdd/>
- <actaprvdd/>
- <rtnresnapp/>
- <subjid/>
- <instcd/>
- <evdncprstyn/>
- <unsldd/>
- <unslno/>
- <sanctslipdd/>
- </isamstdycost>
- </view>
- <reqdetlstat>
- <reqdetldg>
- <appdg/>
- <appaprvyn/>
- <totappamt/>
- <totwonamt/>
- <totcalcamt/>
- <bugtamt/>
- </reqdetldg>
- </reqdetlstat>
- <reqdetlinfo>
- <reqdetllist>
- <detlitemexpendnm/>
- <appamt/>
- <totamt/>
- <wonamt/>
- <calcamt/>
- <itemremain/>
- </reqdetllist>
- </reqdetlinfo>
- </main>
- <init>
- <subjid/>
- <instcd/>
- <appdg/>
- <appdd/>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <smicu00100>1</smicu00100>
- </init>
- <temp>
- <totalamt/>
- <hospamt/>
- <crccamt/>
- <sumamt/>
- <tempnm/>
- <tempperchgrid/>
- <tempreqinstcd/>
- </temp>
- <send>
- <srch>
- <srchappflagcd/>
- <srchinstcd/>
- <srchsubjno/>
- <srchperchgrid/>
- <srchrespstdyempno/>
- <srchfromdd/>
- <srchtodd/>
- </srch>
- <save>
- <grid/>
- </save>
- <subjid/>
- <instcd/>
- <appdg/>
- <appdd/>
- </send>
- <rex>
- <stdyinfo>
- <subjno/>
- <stdyflag/>
- <judgappdg/>
- <respstdynm/>
- <subjnm/>
- <cmpynm/>
- <direccost/>
- <posnm/>
- <jobposnm/>
- <banknm/>
- <aaa/>
- <bbb/>
- <totbugt/>
- <totappamt/>
- <totacmlamt/>
- <totremamt/>
- <countpayflagcd/>
- <hospnm/>
- <totcost/>
- </stdyinfo>
- <stdycostinfo1>
- <subjid/>
- <instcd/>
- <appdg/>
- <itemexpendcd/>
- <bugt/>
- <detlitemexpendnm/>
- <appamt/>
- <acmlamt/>
- <remamt/>
- </stdycostinfo1>
- <stdycostinfo2>
- <subjid/>
- <instcd/>
- <appdg/>
- <itemexpendcd/>
- <bugt/>
- <detlitemexpendnm/>
- <appamt/>
- <acmlamt/>
- <remamt/>
- </stdycostinfo2>
- <stdycostinfo3>
- <subjid/>
- <instcd/>
- <appdg/>
- <itemexpendcd/>
- <bugt/>
- <detlitemexpendnm/>
- <appamt/>
- <acmlamt/>
- <remamt/>
- </stdycostinfo3>
- <depoacntInfo>
- <depor/>
- <payflagcd/>
- <bankcd/>
- <banknm/>
- <acntno/>
- <totcost/>
- <cmt/>
- </depoacntInfo>
- <prsnexpsinfo>
- <depor/>
- <nm/>
- <banknm/>
- <acntno/>
- <totcost/>
- <rrgstno/>
- <addr/>
- <posnm/>
- <jobposnm/>
- <detlitemexpendcd/>
- <sumcost/>
- </prsnexpsinfo>
- </rex>
- <hidden>
- <stdyinfolist>
- </stdyinfolist>
- </hidden>
- </root>
- </instance>
- <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
- <submission id="TRICU00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/grid"/>
- <submission id="TRICU00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/main/default"/>
- <submission id="TRICU00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/main/view"/>
- <submission id="TXICU00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/grid" replace="instance" resultref="/root/main/view"/>
- <submission id="TRISA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/main/reqdetlinfo"/>
- <bind id="bind1" ref="/root/temp/totalamt" calculate="/root/main/default/hospdefinfo/direccost * 1.15"/>
- <bind id="bind2" ref="/root/temp/hospamt" calculate="/root/main/default/hospdefinfo/direccost * 0.10"/>
- <bind id="bind3" ref="/root/temp/crccamt" calculate="/root/main/default/hospdefinfo/direccost * 0.05"/>
- <submission id="TRICU00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/rex"/>
- <bind id="bind4" ref="/root/rex/stdyinfo/totbugt" calculate="sum(/root/rex/stdycostinfo1/bugt) + sum(/root/rex/stdycostinfo2/bugt) + sum(/root/rex/stdycostinfo3/bugt)"/>
- <bind id="bind5" ref="/root/rex/stdyinfo/totappamt" calculate="sum(/root/rex/stdycostinfo1/appamt) + sum(/root/rex/stdycostinfo2/appamt) + sum(/root/rex/stdycostinfo3/appamt)"/>
- <bind id="bind6" ref="/root/rex/stdyinfo/totacmlamt" calculate="sum(/root/rex/stdycostinfo1/acmlamt) + sum(/root/rex/stdycostinfo2/acmlamt) + sum(/root/rex/stdycostinfo3/acmlamt)"/>
- <bind id="bind7" ref="/root/rex/stdyinfo/totremamt" calculate="sum(/root/rex/stdycostinfo1/remamt) + sum(/root/rex/stdycostinfo2/remamt) + sum(/root/rex/stdycostinfo3/remamt)"/>
- <bind id="bind8" ref="/root/rex/stdyinfo/totcost" calculate="sum(/root/rex/depoacntInfo/totcost)"/>
- <bind id="bind9" ref="/root/rex/prsnexpsinfo/sumcost" calculate="sum(/root/rex/prsnexpsinfo/totcost)"/>
- <submission id="TXICU00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,780;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">연구비관리</caption>
- </group>
- <group id="group3" style="left:0px; top:15px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption73" class="search_name" style="left:598px; top:8px; width:74px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">의뢰자 :</caption>
- <caption id="caption74" class="search_name" style="left:20px; top:10px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">신청구분 :</caption>
- <input id="input21" ref="/root/send/srch/srchrespstdyempno" class="input_search" style="left:855px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button6", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button6" class="btn1_letter2" _auth="R" style="left:970px; top:8px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- button4.selected= true;
- datagrid1.rebuildStyle();
- model.removenode("/root/main/grid/stdyexplst");
- if(submit("TRICU00100")) {
- datagrid1.colDisabled(4) = true;
- //이창록 20090601 추가 ->mis에 저장구분 RowStyle변경
-
- for(var i =datagrid1.fixedRows;i < datagrid1.rows;i++){
- if(datagrid1.valueMatrix(i,datagrid1.colRef("missendyn")) == "Y"){
- datagrid1.isReadOnly(i,datagrid1.colRef("flag")) =true;
- datagrid1.rebuildStyle();
- setRowStyle("datagrid1","1","Y","missendyn","equal"); // mis에 저장구분 RowStyle변경
- }else{
- datagrid1.isReadOnly(i,datagrid1.colRef("flag")) =false;
- }
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption77" class="search_name" style="left:780px; top:8px; width:79px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">연구자 :</caption>
- <select1 id="combo33" ref="/root/send/srch/srchappflagcd" class="combo_search" appearance="minimal" style="left:110px; top:9px; width:68px; height:19px; ">
- <choices>
- <item>
- <label>- 전 체 -</label>
- <value/>
- </item>
- <item>
- <label>미승인</label>
- <value>N</value>
- </item>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>보류</label>
- <value>H</value>
- </item>
- </choices>
- </select1>
- <button id="button38" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1032px; top:8px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/srch");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:184px; top:8px; width:89px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병원선택 :</caption>
- <input id="input1" ref="/root/send/srch/srchperchgrid" class="input_search" style="left:673px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button6", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:401px; top:8px; width:89px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">과제번호 :</caption>
- <input id="input2" ref="/root/send/srch/srchsubjno" class="input_search" style="left:490px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button6", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/send/srch/srchinstcd" class="combo_search" appearance="minimal" style="left:274px; top:9px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button25" class="btn3_letter4" style="left:1105px; top:8px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>입금정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMIPG00101");
- ]]>
- </script>
- </button>
- <caption id="caption25" class="search_name" style="left:20px; top:35px; width:79px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">신청일 :</caption>
- <input id="input4" ref="/root/send/srch/srchfrom" class="input_search" style="left:110px; top:35px; width:100px; height:19px; "/>
- <input id="input28" ref="/root/send/srch/srchfromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:35px; width:100px; height:19px; "/>
- <input id="input29" ref="/root/send/srch/srchtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:240px; top:35px; width:100px; height:19px; "/>
- <caption id="caption26" style="left:220px; top:35px; width:15px; height:20px; ">~</caption>
- </group>
- <switch id="switch1" style="left:1px; top:115px; width:1179px; height:650px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid1" nodeset="/root/main/grid/stdyexplst" scroll="both" caption="^과제번호^품목명^해당병원^접수일^의뢰자^연구자^연구기간^연구기간^신청차수^신청금액^입금잔액^승인여부^지출결의서^지출결의서^자동분개번호^subjid^hospcd^missendyn^appaprvyn^ruserid" colsep="^" colwidth="19, 100, 139, 107, 85, 77, 70, 71, 77, 68, 82, 88, 58, 86, 79, 100, 38, 27, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:0px; width:1173px; height:638px; ">
- <col checkvalue="Y,N" ref="flag" type="checkbox"/>
- <col ref="subjno"/>
- <col ref="itemnm"/>
- <col ref="hospnm"/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmpynm" style="text-align:center; "/>
- <col ref="rusernm" style="text-align:center; "/>
- <col ref="stdystartdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="stdyenddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appdg" style="text-align:center; "/>
- <col ref="appamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="remamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="appaprvnm" style="text-align:center; "/>
- <col ref="sendmis" style="padding-left:16; background-image:../../../com/commonweb/images/btn2_letter5.gif; background-position:center; cursor:hand; "/>
- <col ref="default" style="padding-left:16; background-image:../../../com/commonweb/images/btn2_letter2.gif; background-position:center; cursor:hand; "/>
- <col ref="misseqno"/>
- <col ref="appaprvyn" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="missendyn" visibility="hidden"/>
- <col ref="ruserid" visibility="hidden"/>
- <col ref="conreseryn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if((datagrid1.rows- datagrid1.fixedRows) == 0) return;
-
- //20090526 이창록 수정
- if((datagrid1.col == datagrid1.colRef("sendmis"))||(datagrid1.col == datagrid1.colRef("default"))||(datagrid1.col == datagrid1.colRef("detlitemexpendnm"))){
- return;
- }
- model.setValue("/root/init/subjid", model.getValue("/root/main/grid/stdyexplst["+datagrid1.row+"]/subjid"));
- model.setValue("/root/init/instcd", model.getValue("/root/main/grid/stdyexplst["+datagrid1.row+"]/instcd"));
- model.toggle("case2");
- button1.selected= true;
- btn_excel.visible = false;
-
- if(submit("TRICU00110")) {
- model.setValue("/root/main/default/hospdefinfo/appdg", model.getValue("/root/main/grid/stdyexplst["+datagrid1.row+"]/appdg"));
- model.setValue("/root/init/appdg", model.getValue("/root/main/grid/stdyexplst["+datagrid1.row+"]/appdg"));
- model.refresh();
- }
- getIsamSdtycost();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //MIS 연동
- if(datagrid1.col ==datagrid1.colRef("sendmis")){
-
- datagrid1.clearStatus();
- var costRow = datagrid1.row - datagrid1.fixedRows +1 ;
- var flag = model.getValue("/root/main/grid/stdyexplst["+costRow+"]/flag");
- var missendyn = model.getValue("/root/main/grid/stdyexplst["+costRow+"]/missendyn");
-
- // 2009.07.21 우종윤 추가
- // 승인여부가 Y가 아닐경우는 MIS전송할수 없다.
- if ( model.getValue("/root/main/grid/stdyexplst["+ costRow +"]/appaprvyn") != "Y" ) {
- messageBox("승인 후 전송할 수 있습니다.", "I");
- return;
- }
-
- if(missendyn=="Y"){
- messageBox("이미 신청하신 정보","I009");
- return;
- }
- if(flag !="Y"){
- messageBox("MIS와 연동할 정보를","C002");
- return;
- }
- var flag = model.getValue("/root/main/grid/stdyexplst["+costRow+"]/flag");
- if(flag =="Y"){
- datagrid1.addStatus(costRow, "insert");
- }
- model.makeValue("/root/send/stdyexplst",datagrid1.getUpdateData());
- if(submit("TXICU00301") == true){
- messageBox("저장이","I002");
- model.removeNodeset("/root/send/stdyexplst");
- for(var i =datagrid1.fixedRows;i < datagrid1.rows;i++){
- if(datagrid1.valueMatrix(i,datagrid1.colRef("missendyn")) == "Y"){
- datagrid1.isReadOnly(i,datagrid1.colRef("flag")) =true;
- datagrid1.rebuildStyle();
- setRowStyle("datagrid1","1","Y","missendyn","equal"); // mis에 저장구분 RowStyle변경
- }
- }
- }
- }
- // 개발테스트로 인해 주석처리 2008.08.20
- /*
- if ( datagrid1.col == datagrid1.colRef("sendmis") ) {
- messageBox("MIS 전송 버튼은 현재 사용하실 수 없습니다.", "I999");
- return;
- }
- */
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <input id="input8" ref="/root/main/default/hospdefinfo/remamt" class="input_search" editable="false" format="(-)#,###" style="left:625px; top:142px; width:105px; height:19px; text-align:right; "/>
- <datagrid id="datagrid4" nodeset="/root/main/view/isamstdycost" caption="신청차수^신청일자^신청금액^승인여부^확인일자^증빙제출여부^전표발의일자^지출결의서번호^재무팀승인일자^반려사유" colsep="^" colwidth="57, 80, 100, 59, 80, 80, 90, 90, 90, 207, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:207px; width:935px; height:423px; ">
- <col ref="appdg" style="text-align:center; "/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appamt" format="(-)#,###" style="text-align:right; "/>
- <col class="gridcombo" ref="appaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>신청</label>
- <value>N</value>
- </item>
- <item>
- <label>보류</label>
- <value>H</value>
- </item>
- </choices>
- </col>
- <col ref="appcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col class="gridcombo" ref="evdncprstyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>제출</label>
- <value>Y</value>
- </item>
- <item>
- <label>미제출</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="unsldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="unslno" style="text-align:center; "/>
- <col ref="sanctslipdd" format="yyyyp-mm-dd" style="text-align:center; "/>
- <col ref="rtnresnapp" type="input"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if((datagrid4.rows- datagrid4.fixedRows) == 0) return;
-
- if ( datagrid4.col == datagrid4.colRef("rtnresnapp") ) {
- return;
- }
-
- model.toggle("case3");
- button2.selected= true;
- btn_excel.visible = false;
- var appdg_old = model.getValue("/root/init/appdg");
- model.setValue("/root/init/instcd", model.getValue("/root/main/view/isamstdycost["+ datagrid4.row +"]/instcd"));
- model.setValue("/root/init/subjid", model.getValue("/root/main/view/isamstdycost["+ datagrid4.row +"]/subjid"));
- model.setValue("/root/init/appdg", model.getValue("/root/main/view/isamstdycost["+ datagrid4.row +"]/appdg"));
- model.setValue("/root/init/appdd", model.getValue("/root/main/view/isamstdycost["+ datagrid4.row +"]/appdd"));
- model.setValue("/root/main/default/hospdefinfo/appdg", model.getValue("/root/main/view/isamstdycost["+ datagrid4.row +"]/appdg"));
-
- submit("TRISA00103");
- readfunc2();
-
- model.setValue("/root/send/subjid", model.getValue("/root/init/subjid"));
- model.setValue("/root/send/instcd", model.getValue("/root/init/instcd"));
- model.setValue("/root/send/appdg", model.getValue("/root/init/appdg"));
- model.setValue("/root/send/appdd", model.getValue("/root/init/appdd"));
- submit("TRICU00112");
- //조회원래 차수를 돌려준다
- model.setValue("/root/init/appdg", appdg_old);
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( isDataCell() ){
- if ( datagrid4.col == datagrid4.colRef("rtnresnapp") ) {
- datagrid4.editCell();
- return;
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption31" class="cell_1" style="left:391px; top:140px; width:55px; height:23px; vertical-align:middle; ">신청총액</caption>
- <caption id="caption75" class="cell_1" style="left:10px; top:115px; width:90px; height:23px; vertical-align:middle; ">연구기간</caption>
- <caption id="caption76" class="cell_1" style="left:430px; top:5px; width:90px; height:23px; vertical-align:middle; ">과제번호</caption>
- <caption id="caption3" class="cell_1" style="left:430px; top:30px; width:90px; height:23px; vertical-align:middle; ">성분명</caption>
- <caption id="caption4" class="cell_1" style="left:10px; top:30px; width:90px; height:23px; vertical-align:middle; ">품목명</caption>
- <input id="input3" ref="/root/main/default/hospdefinfo/examadjtprf" class="input_search" visibility="hidden" editable="false" style="left:1059px; top:12px; width:100px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:560px; top:140px; width:60px; height:23px; vertical-align:middle; ">입금잔액</caption>
- <caption id="caption78" class="cell_1" visibility="hidden" style="left:965px; top:10px; width:90px; height:23px; vertical-align:middle; ">시험조정자</caption>
- <caption id="caption6" class="cell_1" style="left:10px; top:55px; width:90px; height:58px; vertical-align:middle; ">과제명</caption>
- <caption id="caption79" class="cell_1" style="left:740px; top:5px; width:90px; height:23px; vertical-align:middle; ">연구책임자</caption>
- <caption id="caption7" class="cell_1" style="left:10px; top:5px; width:90px; height:23px; vertical-align:middle; ">해당병원</caption>
- <input id="input15" ref="/root/main/default/hospdefinfo/stdyenddd" class="input_s_essential" editable="false" inputtype="date" style="left:225px; top:117px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption36" class="search_n_b" style="left:209px; top:118px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption8" class="tit_2" style="left:20px; top:190px; width:408px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">연구비신청내역(더블클릭하면'항목별연구비'화면으로 이동합니다)</caption>
- <input id="input5" ref="/root/main/default/hospdefinfo/direccost" class="input_search" editable="false" format="(-)#,###" style="left:104px; top:142px; width:100px; height:19px; text-align:right; "/>
- <input id="input6" ref="/root/main/default/hospdefinfo/direcamt" class="input_search" editable="false" format="(-)#,###" style="left:280px; top:142px; width:105px; height:19px; text-align:right; "/>
- <input id="input7" ref="/root/main/default/hospdefinfo/itemnm" class="input_search" editable="false" style="left:104px; top:32px; width:320px; height:19px; "/>
- <input id="input9" ref="/root/main/default/hospdefinfo/appamt" class="input_search" editable="false" format="(-)#,###" style="left:450px; top:142px; width:105px; height:19px; text-align:right; "/>
- <caption id="caption28" class="cell_1" style="left:10px; top:140px; width:90px; height:23px; vertical-align:middle; ">직접비(100%)</caption>
- <input id="input10" ref="/root/main/default/hospdefinfo/comnm" class="input_search" editable="false" style="left:525px; top:32px; width:210px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:210px; top:140px; width:65px; height:23px; vertical-align:middle; ">입금총액</caption>
- <textarea id="textarea3" ref="/root/main/default/hospdefinfo/subjnm" scroll="vertical" editable="false" style="left:104px; top:55px; width:831px; height:58px; "/>
- <input id="input12" ref="/root/main/default/hospdefinfo/stdystartdd" class="input_s_essential" editable="false" inputtype="date" style="left:104px; top:117px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <button id="button9" class="btn5_letter2" _auth="X" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:895px; top:185px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var up = getGridUpdateData(datagrid4);
- if(up == "") return;
-
- model.setValue("/root/send/save/grid", up);
- if(submit("TXICU00111")) {
- model.setValue("/root/send/save/grid", "");
- var appdg_old = model.getValue("/root/main/grid/stdyexplst["+datagrid1.row+"]/appdg");
- //조회원래 차수를 돌려준다
- model.setValue("/root/init/appdg", appdg_old);
- button1.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </button>
- <input id="input13" ref="/root/main/default/hospdefinfo/subjno" class="input_search" editable="false" style="left:525px; top:7px; width:210px; height:19px; "/>
- <input id="input65" ref="/root/main/default/hospdefinfo/usernm" class="input_search" editable="false" style="left:835px; top:7px; width:100px; height:19px; "/>
- <input id="input66" ref="/root/main/default/hospdefinfo/condd" class="input_search" editable="false" format="yyyy-mm-dd" style="left:835px; top:32px; width:100px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:740px; top:30px; width:90px; height:23px; vertical-align:middle; ">계약일자</caption>
- <caption id="caption12" class="cell_1" style="left:746px; top:140px; width:90px; height:23px; vertical-align:middle; ">신청차수</caption>
- <input id="input67" ref="/root/main/default/hospdefinfo/appdg" class="input_search" editable="false" style="left:840px; top:142px; width:96px; height:19px; text-align:right; "/>
- <select1 id="combo1" ref="/root/main/default/hospdefinfo/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:104px; top:7px; width:320px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case3">
- <caption id="caption14" class="cell_1" style="left:285px; top:185px; width:105px; height:23px; vertical-align:middle; ">합계(115%)</caption>
- <caption id="caption15" class="cell_1" style="left:500px; top:185px; width:115px; height:23px; vertical-align:middle; ">병원 간접비(10%)</caption>
- <caption id="caption16" class="cell_1" style="left:725px; top:185px; width:115px; height:23px; vertical-align:middle; ">CRCC 간접비(5%)</caption>
- <caption id="caption49" class="tit_2" style="left:10px; top:195px; width:169px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">연구비예산내역(단위: 원)</caption>
- <button id="button18" class="btn2_letter10" _auth="P" disable.background-image="../../../com/commonweb/images/dis_btn2_letter10.gif" style="left:493px; top:214px; width:130px; height:19px; background-image:../../../com/commonweb/images/btn2_letter10.gif; ">
- <caption>연구비지급청구서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- exeReportPreview("RPICU00101", "XMLSTR" , "/root/rex");
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter8" _auth="P" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:710px; top:214px; width:108px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
- <caption>입금계좌내역출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- exeReportPreview("RPICU00102", "XMLSTR" , "/root/rex");
- ]]>
- </script>
- </button>
- <input id="input61" ref="/root/temp/totalamt" class="input_search" format="(-)#,###" style="left:395px; top:187px; width:95px; height:19px; text-align:right; "/>
- <input id="input62" ref="/root/temp/hospamt" class="input_search" format="(-)#,###" style="left:620px; top:187px; width:95px; height:19px; text-align:right; "/>
- <input id="input63" ref="/root/temp/crccamt" class="input_search" format="(-)#,###" style="left:845px; top:187px; width:95px; height:19px; text-align:right; "/>
- <input id="input11" ref="/root/main/default/hospdefinfo/itemnm" class="input_search" editable="false" style="left:104px; top:32px; width:320px; height:19px; "/>
- <input id="input14" ref="/root/main/default/hospdefinfo/remamt" class="input_search" editable="false" format="(-)#,###" style="left:625px; top:142px; width:105px; height:19px; text-align:right; "/>
- <input id="input16" ref="/root/main/default/hospdefinfo/appamt" class="input_search" editable="false" format="(-)#,###" style="left:450px; top:142px; width:105px; height:19px; text-align:right; "/>
- <input id="input17" ref="/root/main/default/hospdefinfo/usernm" class="input_search" editable="false" style="left:835px; top:7px; width:100px; height:19px; "/>
- <input id="input18" ref="/root/main/default/hospdefinfo/comnm" class="input_search" editable="false" style="left:525px; top:32px; width:210px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:10px; top:115px; width:90px; height:23px; vertical-align:middle; ">연구기간</caption>
- <caption id="caption10" class="cell_1" style="left:391px; top:140px; width:55px; height:23px; vertical-align:middle; ">신청총액</caption>
- <input id="input19" ref="/root/main/default/hospdefinfo/condd" class="input_search" editable="false" format="yyyy-mm-dd" style="left:835px; top:32px; width:100px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:430px; top:5px; width:90px; height:23px; vertical-align:middle; ">과제번호</caption>
- <select1 id="combo6" ref="/root/main/default/hospdefinfo/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:104px; top:7px; width:320px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input20" ref="/root/main/default/hospdefinfo/appdg" class="input_search" editable="false" style="left:840px; top:142px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption17" class="cell_1" style="left:740px; top:30px; width:90px; height:23px; vertical-align:middle; ">계약일자</caption>
- <input id="input22" ref="/root/main/default/hospdefinfo/stdystartdd" class="input_s_essential" editable="false" inputtype="date" style="left:104px; top:117px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption18" class="cell_1" style="left:746px; top:140px; width:90px; height:23px; vertical-align:middle; ">신청차수</caption>
- <input id="input23" ref="/root/main/default/hospdefinfo/subjno" class="input_search" editable="false" style="left:525px; top:7px; width:210px; height:19px; "/>
- <caption id="caption19" class="cell_1" visibility="hidden" style="left:965px; top:20px; width:90px; height:23px; vertical-align:middle; ">시험조정자</caption>
- <caption id="caption20" class="cell_1" style="left:430px; top:30px; width:90px; height:23px; vertical-align:middle; ">성분명</caption>
- <caption id="caption21" class="cell_1" style="left:740px; top:5px; width:90px; height:23px; vertical-align:middle; ">연구책임자</caption>
- <caption id="caption22" class="cell_1" style="left:10px; top:30px; width:90px; height:23px; vertical-align:middle; ">품목명</caption>
- <caption id="caption23" class="search_n_b" style="left:209px; top:118px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="input24" ref="/root/main/default/hospdefinfo/stdyenddd" class="input_s_essential" editable="false" inputtype="date" style="left:225px; top:117px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption39" class="cell_1" style="left:560px; top:140px; width:60px; height:23px; vertical-align:middle; ">입금잔액</caption>
- <caption id="caption40" class="cell_1" style="left:10px; top:55px; width:90px; height:58px; vertical-align:middle; ">과제명</caption>
- <caption id="caption41" class="cell_1" style="left:10px; top:5px; width:90px; height:23px; vertical-align:middle; ">해당병원</caption>
- <caption id="caption42" class="cell_1" style="left:10px; top:140px; width:90px; height:23px; vertical-align:middle; ">직접비(100%)</caption>
- <input id="input25" ref="/root/main/default/hospdefinfo/examadjtprf" class="input_search" visibility="hidden" editable="false" style="left:1059px; top:22px; width:100px; height:19px; "/>
- <textarea id="textarea2" ref="/root/main/default/hospdefinfo/subjnm" scroll="vertical" editable="false" style="left:104px; top:55px; width:831px; height:58px; "/>
- <caption id="caption43" class="cell_1" style="left:210px; top:140px; width:65px; height:23px; vertical-align:middle; ">입금총액</caption>
- <input id="input26" ref="/root/main/default/hospdefinfo/direccost" class="input_search" editable="false" format="(-)#,###" style="left:104px; top:142px; width:100px; height:19px; text-align:right; "/>
- <input id="input27" ref="/root/main/default/hospdefinfo/direcamt" class="input_search" editable="false" format="(-)#,###" style="left:280px; top:142px; width:105px; height:19px; text-align:right; "/>
- <input id="input40" ref="/root/main/reqdetlstat/reqdetldg/totwonamt" class="input_default" disabled="true" format="(-)#,###" style="left:592px; top:570px; width:105px; height:19px; text-align:right; "/>
- <input id="input41" ref="/root/main/reqdetlstat/reqdetldg/totcalcamt" class="input_default" disabled="true" format="(-)#,###" style="left:698px; top:570px; width:105px; height:19px; text-align:right; "/>
- <button id="button5" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:260px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>일반연구비</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //window.load("SPICU01100_일반연구비_조회신청.xrw","modal","stdycost01", "left:100; top:100; width:400; height:400; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;", "/root/send/data", "/root/send/data");
-
- window.load("SPICU01100_일반연구비_조회신청.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption24" class="cell_1" style="left:10px; top:568px; width:475px; height:23px; text-align:center; vertical-align:middle; ">합 계</caption>
- <button id="button3" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:285px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>카드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPICU01200_카드비_입력.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:335px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>회의비</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPICU01300_회의비_입력.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter7" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:360px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>자문료/강사료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPICU01400_자문료_입력.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:385px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>여비</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPICU01500_여비_입력.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input39" ref="/root/main/reqdetlstat/reqdetldg/totappamt" class="input_default" disabled="true" format="(-)#,###" style="left:486px; top:570px; width:105px; height:19px; text-align:right; "/>
- <button id="button11" class="btn2_letter7" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:412px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>구매</caption>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/reqdetlinfo/reqdetllist" caption="예산항목^예산편성금액^기집행금액^항목별잔액^신청(정산)금액^원천징수금액^실지급(정산)금액" colsep="^" colwidth="155, 105, 105, 105, 105, 105, 105" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" tooltip="true" style="left:10px; top:240px; width:805px; height:324px; ">
- <col ref="detlitemexpendnm"/>
- <col disabled="true" ref="bugtamt" format="(-)#,###" style="text-align:right; "/>
- <col disabled="true" ref="appamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="itemremain" format="(-)#,###" style="text-align:right; "/>
- <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="wonamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="calcamt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="Volunteer Fee"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="공공요금,잡비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="기기 구입비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="기타"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="설문조사비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="시약,재료대"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="약품관리비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="연구교수인건비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="유인물비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="임상검사비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="장비사용(임대)"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="일반연구비 버튼을 Click하십시오." + "\n" + "(카드사용은 카드 버튼을 Click하십시오.)";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="회의비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="회의비 버튼을 Click하십시오.";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="문헌구입비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="문헌구입비 버튼을 Click하십시오.";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="여비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="여비 버튼을 Click하십시오.";
- } else if ( model.getValue("/root/main/reqdetlinfo/reqdetllist["+datagrid1.mouseRow+"]/detlitemexpendnm") =="인건보조비"){
- datagrid1.tooltipText (datagrid1.mouseRow, datagrid1.mouseCol)="인건비계획 버튼을 Click하십시오.";
- }
- ]]>
- </script>
- </datagrid>
- <button id="button13" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:830px; top:310px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>문헌구입비</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPICU01700_문헌구입비_입력.xrw","modal","stdycost01", "left:100; top:100; ", "/root/init", "/root/send/data");
- var irow = datagrid2.row;
- button2.dispatch("DOMActivate");
- // readfunc1();
- //datagrid2.dispatch("onclick");
- model.copyNode("/root/main/subreqinfo/subreqlist", "/root/main/subjdtlinfo/subjmstlist[" + irow + "]");
- datagrid2.row = irow;
- datagrid2.topRow = irow;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter5" _auth="P" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:629px; top:214px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
- <caption>인건비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- exeReportPreview("RPICU00103", "XMLSTR" , "/root/rex");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="button1" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:93px; width:87px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>연구비신청</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_excel.visible = false;
- getIsamSdtycost();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:181px; top:93px; width:99px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>항목별연구비</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_excel.visible = false;
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:1px; top:93px; width:93px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>과제목록</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_excel.visible = true;
- ]]>
- </script>
- </button>
- <button id="button15" class="btn5_letter7" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn5_letter7.gif" style="left:1090px; top:60px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn5_letter7.gif; ">
- <caption>지출결의서 전송</caption>
- </button>
- <button id="btn_excel" class="btn2_letter3" style="left:1127px; top:91px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var fileName = window.fileDialog("save",",",false,"CRCC 연구비 관리","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if(fileName !=""){
- datagrid1.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1055px; top:90px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.clearStatus();
-
- for(var i = datagrid1.fixedrows; i < datagrid1.rows; i++)
- {
- var flag = model.getValue("/root/main/grid/stdyexplst["+i+"]/flag");
- if(flag =="Y"){
- datagrid1.addStatus(i, "insert");
- }
- }
-
- model.makeValue("/root/send/stdyexplst",datagrid1.getUpdateData());
- //if(submit("TXICU00301")){
-
- //}
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|