123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>끝전기부금현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cutdonatstate>
- <cutdonatstatelist/>
- </cutdonatstate>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init>
- </init>
- <send>
- <req>
- <payinst/>
- <payfromym/>
- <paytoym/>
- <truncflag>02</truncflag>
- </req>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset(grd_cutdonatstateetclist.nodeset);
- model.removeNodeset(grd_cutdonatstate02list.nodeset);
-
- model.refresh();
-
- misfMsterDetailSet(grd_cutdonatstate02list,null, "TRRWD11011" ,"Y");
-
- var curdate = getCurrentDate();
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- model.setValue(ipt_payfromym.attribute("ref") , curdate.substr(0,6));
- model.setValue(ipt_paytoym.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_payinst.attribute("ref") , dutplceinstcd);
-
- misfComboInstCdListMulti("cmb_payinst",getCurrentDate(),"","N");
-
- if (dutplceinstcd == "001" ) {
- cmb_payinst.disabled = false;
- }
- else {
- cmb_payinst.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- <!--<bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>-->
- <submission id="TRRWD11011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/cutdonatstate"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">끝전기부금현황</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_yy" class="search_name" style="left:235px; top:15px; width:94px; height:17px; ">통계년월 :</caption>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:50px; width:100px; height:22px; ">
- <caption>100원단위</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1") ;
- model.removeNodeset(grd_cutdonatstate02list.nodeset);
- grd_cutdonatstate02list.refresh();
- model.setValue("/root/send/req/truncflag","02");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn_sw" group="tab" selected="false" style="left:103px; top:50px; width:100px; height:22px; ">
- <caption>기타끝전</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case2") ;
- model.removeNodeset(grd_cutdonatstateetclist.nodeset);
- grd_cutdonatstateetclist.refresh();
- model.setValue("/root/send/req/truncflag","01");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:71px; width:1195px; height:600px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:598px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:1193px; y2:0px; "/>
- <datagrid id="grd_cutdonatstate02list" nodeset="/root/main/cutdonatstate/cutdonatstatelist" caption="구분^구분^구분^교원^교원^직군^직군^직군^직군^직군^직군^전공의^임시직^기타^계|구분^구분^구분^전임교원^비전임교원^행정직군^의료기술직군^간호직군^약무직군^일반기술직군^기타^전공의^임시직^기타^계" colsep="^" colwidth="55, 55, 55, 80, 80, 83, 83, 83, 83, 83, 83, 83, 83, 77, 86" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:5px; width:1193px; height:590px; ">
- <col ref="field1" style="left:20px; top:43px; width:55px; height:23px; text-align:center; "/>
- <col ref="field2" style="text-align:center; "/>
- <col ref="field3" style="text-align:center; "/>
- <col ref="field4" format="#,###.###" style="left:185px; top:43px; width:80px; height:23px; text-align:right; "/>
- <col ref="field5" format="#,###.###" style="text-align:right; "/>
- <col ref="field6" format="#,###.###" style="text-align:right; "/>
- <col ref="field7" format="#,###.###" style="text-align:right; "/>
- <col ref="field8" format="#,###.###" style="text-align:right; "/>
- <col ref="field9" format="#,###.###" style="text-align:right; "/>
- <col ref="field10" format="#,###.###" style="text-align:right; "/>
- <col ref="field11" format="#,###.###" style="text-align:right; "/>
- <col ref="field12" format="#,###.###" style="text-align:right; "/>
- <col ref="field13" format="#,###.###" style="text-align:right; "/>
- <col ref="field14" format="#,###.###" style="text-align:right; "/>
- <col ref="field15" format="#,###.###" style="color:#0000ff; text-align:right; "/>
- </datagrid>
- </case>
- <case id="case2">
- <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:1193px; y2:0px; "/>
- <datagrid id="grd_cutdonatstateetclist" nodeset="/root/main/cutdonatstate/cutdonatstatelist" caption="구분^구분^구분^교원^교원^직군^직군^직군^직군^직군^직군^전공의^임시직^기타^계|구분^구분^구분^전임교원^비전임교원^행정직군^의료기술직군^간호직군^약무직군^일반기술직군^기타^전공의^임시직^기타^계" colsep="^" colwidth="55, 55, 55, 80, 80, 80, 80, 83, 83, 84, 80, 85, 84, 82, 87" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:0px; width:1193px; height:590px; ">
- <col ref="field1" style="text-align:center; "/>
- <col ref="field2" style="text-align:center; "/>
- <col ref="field3" style="text-align:center; "/>
- <col ref="field4" format="#,###.###" style="text-align:right; "/>
- <col ref="field5" format="#,###.###" style="text-align:right; "/>
- <col ref="field6" format="#,###.###" style="text-align:right; "/>
- <col ref="field7" format="#,###.###" style="text-align:right; "/>
- <col ref="field8" format="#,###.###" style="text-align:right; "/>
- <col ref="field9" format="#,###.###" style="text-align:right; "/>
- <col ref="field10" format="#,###.###" style="text-align:right; "/>
- <col ref="field11" format="#,###.###" style="text-align:right; "/>
- <col ref="field12" format="#,###.###" style="text-align:right; "/>
- <col ref="field13" format="#,###.###" style="text-align:right; "/>
- <col ref="field14" format="#,###.###" style="text-align:right; "/>
- <col ref="field15" format="#,###.###" style="color:#0000ff; text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
-
- for(i=2; i<grd_cutdonatstate02list.rows; i++){
- grd_cutdonatstate02list.rowStyle(i, "all","color") = "#000000";
- grd_cutdonatstate02list.rowStyle(i, "all","font-weight") = "nomal";
- }
- for(i=2; i<grd_cutdonatstateetclist.rows; i++){
- grd_cutdonatstateetclist.rowStyle(i, "all","color") = "#000000";
- grd_cutdonatstateetclist.rowStyle(i, "all","font-weight") = "nomal";
- }
- grd_cutdonatstate02list.colStyle(15,"all","color") = "#0000ff";
- grd_cutdonatstateetclist.colStyle(15,"all","color") = "#0000ff";
-
- grd_cutdonatstate02list.mergeCol(1) = true;
- grd_cutdonatstate02list.mergeCol(2) = true;
- grd_cutdonatstate02list.mergeCol(3) = true;
- grd_cutdonatstate02list.mergeCol(4) = false;
- grd_cutdonatstate02list.mergeCol(5) = false;
- grd_cutdonatstate02list.mergeCol(6) = false;
- grd_cutdonatstate02list.mergeCol(7) = false;
- grd_cutdonatstate02list.mergeCol(8) = false;
- grd_cutdonatstate02list.mergeCol(9) = false;
- grd_cutdonatstate02list.mergeCol(10) = false;
- grd_cutdonatstate02list.mergeCol(11) = false;
- grd_cutdonatstate02list.mergeCol(12) = false;
- grd_cutdonatstate02list.mergeCol(13) = false;
- grd_cutdonatstate02list.mergeCol(14) = false;
- grd_cutdonatstate02list.mergeCol(15) = false;
- grd_cutdonatstate02list.mergeCells = "bycol";
- grd_cutdonatstate02list.merge();
-
- grd_cutdonatstateetclist.mergeCol(1) = true;
- grd_cutdonatstateetclist.mergeCol(2) = true;
- grd_cutdonatstateetclist.mergeCol(3) = true;
- grd_cutdonatstateetclist.mergeCol(4) = false;
- grd_cutdonatstateetclist.mergeCol(5) = false;
- grd_cutdonatstateetclist.mergeCol(6) = false;
- grd_cutdonatstateetclist.mergeCol(7) = false;
- grd_cutdonatstateetclist.mergeCol(8) = false;
- grd_cutdonatstateetclist.mergeCol(9) = false;
- grd_cutdonatstateetclist.mergeCol(10) = false;
- grd_cutdonatstateetclist.mergeCol(11) = false;
- grd_cutdonatstateetclist.mergeCol(12) = false;
- grd_cutdonatstateetclist.mergeCol(13) = false;
- grd_cutdonatstateetclist.mergeCol(14) = false;
- grd_cutdonatstateetclist.mergeCol(15) = false;
- grd_cutdonatstateetclist.mergeCells = "bycol";
- grd_cutdonatstateetclist.merge();
-
- grd_cutdonatstate02list.colStyle(15,"all","font-size") = "11pt";
- for(i=0; i<grd_cutdonatstate02list.rows; i++){
- if(model.getValue(grd_cutdonatstate02list.nodeset +"[" + (i) + "]/payym") == '999901'){
- grd_cutdonatstate02list.rowStyle(i+1, "all","color") = "#0000ff";
- }
- if(model.getValue(grd_cutdonatstate02list.nodeset +"[" + (i) + "]/payym") == '999902'){
- grd_cutdonatstate02list.rowStyle(i+1, "all","color") = "#ff0000";
- }
- if(model.getValue(grd_cutdonatstate02list.nodeset +"[" + (i) + "]/payym") == '999903'){
- grd_cutdonatstate02list.rowStyle(i+1, "all","font-weight") = "bold";
- grd_cutdonatstate02list.rowStyle(i+1, "all","color") = "#000000";
- }
- }
- grd_cutdonatstateetclist.colStyle(15,"all","font-size") = "11pt";
- for(i=0; i<grd_cutdonatstateetclist.rows; i++){
- if(model.getValue(grd_cutdonatstateetclist.nodeset +"[" + (i) + "]/payym") == '999901'){
- grd_cutdonatstateetclist.rowStyle(i+1, "all","color") = "#0000ff";
- }
- if(model.getValue(grd_cutdonatstateetclist.nodeset +"[" + (i) + "]/payym") == '999902'){
- grd_cutdonatstateetclist.rowStyle(i+1, "all","color") = "#ff0000";
- }
- if(model.getValue(grd_cutdonatstateetclist.nodeset +"[" + (i) + "]/payym") == '999903'){
- grd_cutdonatstateetclist.rowStyle(i+1, "all","font-weight") = "bold";
- grd_cutdonatstateetclist.rowStyle(i+1, "all","color") = "#000000";
- }
- }
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_payinst" ref="/root/send/req/payinst" class="combo_s_essential" disabled="false" appearance="minimal" style="left:75px; top:15px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:5px; top:15px; width:94px; height:17px; ">기관 :</caption>
- <input id="ipt_payfromym" ref="/root/send/req/payfromym" inputtype="date" format="yyyy-mm" style="left:326px; top:15px; width:80px; height:19px; "/>
- <input id="ipt_paytoym" ref="/root/send/req/paytoym" inputtype="date" format="yyyy-mm" style="left:421px; top:15px; width:80px; height:19px; "/>
- <caption id="caption3" style="left:409px; top:16px; width:10px; height:20px; ">-</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- if(switch1.selectedIndex == '0'){
- grd_cutdonatstate02list.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }else if(switch1.selectedIndex == '1'){
- grd_cutdonatstateetclist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|