123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- <?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>SMRWD00100_주차료단가관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <instbord>
- <instbordlist>
- <payinst/>
- <payinstnm/>
- <payym/>
- <emplno/>
- <emplnm/>
- <instnm/>
- <boardcnt/>
- <paytransyn/>
- <payappyn/>
- </instbordlist>
- </instbord>
- <instbordmb>
- <instbordmblist>
- <payinstnm/>
- <bordnm/>
- <aprvyn/>
- <bordrespcd/>
- <essnyn/>
- <appdd/>
- <todd/>
- </instbordmblist>
- </instbordmb>
- </main>
- <send>
- <instcd/>
- <paydd/>
- <instbordmb>
- <payinst/>
- <emplno/>
- </instbordmb>
- </send>
- <init>
- <essnyn>
- <label>당연직</label>
- <value>Y</value>
- <label>선임직</label>
- <value>N</value>
- </essnyn>
- <aprvyn>
- <label>공 인</label>
- <value>Y</value>
- <label>비공인</label>
- <value>N</value>
- </aprvyn>
- <bordrespflag>
- <label>위원장</label>
- <value>1</value>
- <label>간사</label>
- <value>2</value>
- <label>위원겸 간사</label>
- <value>3</value>
- <label>위원</label>
- <value>4</value>
- </bordrespflag>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfMsterDetailSet(grd_instbordlist,null, "TRRWB00301" ,"N");
- misfMsterDetailSet(grd_instbordmblist,grd_instbordlist, "TRRWB00302" ,"Y");
- //misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMM");
- model.setValue(ipt_paydd.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM"));
- //model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- if(getUserInfo("dutplceinstcd") == "001")
- {
- cmb_instcd.disabled = false;
- }
- else
- {
- cmb_instcd.disabled = true;
- }
- btn_search.dispatch("DOMActivate");
- //화면 권한 설정
- btn_search.disabled = !(checkAuth("R"));
- //btn_save.disabled = !(checkAuth("X"));
-
- ]]>
- </script>
- <submission id="TRRWB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/instbord"/>
- <submission id="TRRWB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instbordmb" resultref="/root/main/instbordmb"/>
- <submission id="TXRWB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXRWB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function finitiation()
- {
- misfGridInit(grd_instbordlist);
- misfGridInit(grd_instbordmblist);
-
- }
- function fCheckSaveData()
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- return false;
- }
- }
- ]]>
- </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="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_create" class="btn4_letter2" style="left:969px; top:3px; width:56px; height:22px; ">
- <caption>생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- }
- else if(grd_instbordlist.rows == 1)
- {
- submit("TXRWB00301");
- }
- else
- {
- messageBox("기존 데이터가 있어 생성 " ,"E001");
- }
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <button id="btn_cancelcreate" class="btn4_letter4" style="left:1029px; top:3px; width:80px; height:22px; ">
- <caption>생성취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- }
- else if(grd_instbordlist.rows == 1)
- {
- messageBox("삭제할 데이터가 " ,"I004");
- }
- else
- {
- submit("TXRWB00302");
- }
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <button id="btn_paytransfer" class="btn4_letter4" style="left:1113px; top:3px; width:80px; height:22px; ">
- <caption>급여이체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
- <caption id="caption3" style="left:13px; top:18px; width:110px; height:20px; "/>
- <caption id="caption4" class="search_name" style="left:16px; top:19px; width:94px; height:17px; ">지급년월 :</caption>
- <input id="ipt_paydd" ref="/root/send/paydd" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:104px; top:18px; width:151px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:267px; top:18px; width:91px; height:17px; ">지급 기관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:361px; top:18px; width:202px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1128px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
- <caption id="caption278" class="tit_2" style="left:10px; top:52px; width:157px; height:13px; ">기관별 위원</caption>
- <datagrid id="grd_instbordlist" nodeset="/root/main/instbord/instbordlist" caption="급여기관코드^급여기관^년월^사원번호^성명^근무 기관^위원회 수^급여이체 여부^급여반영 여부" colsep="^" colwidth="0,150, 150, 150, 150, 210, 120, 120, 120" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:1px; top:78px; width:1194px; height:315px; ">
- <col ref="payinst"/>
- <col ref="payinstnm" format="yyyy-mm"/>
- <col ref="payym"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="instnm"/>
- <col ref="boardcnt"/>
- <col ref="paytransyn"/>
- <col ref="payappyn"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- // alert(model.getValue("/root/send/instbordmb/payinst"));
- // alert(model.getValue("/root/send/instbordmb/emplno"));
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:10px; top:401px; width:157px; height:13px; ">위원 상세 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:423px; x2:1194px; y2:423px; "/>
- <datagrid id="grd_instbordmblist" nodeset="/root/main/instbordmb/instbordmblist" caption="위원회 기관^위원회 명^공인 여부^위원회 직책^당연직 여부^위촉일^종료일" colsep="^" colwidth="200, 200, 150, 150, 150, 160, 160" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:428px; width:1194px; height:315px; ">
- <col ref="payinstnm"/>
- <col ref="bordnm"/>
- <col disabled="true" ref="aprvyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/aprvyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bordrespcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/bordrespflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="essnyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/essnyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="appdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|