123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <?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>공지사항 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rwpdcmtslist/>
- </main>
- <init/>
- <send>
- <payym/>
- <saldfrayflag/>
- </send>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfMsterDetailSet(grd_rwpdcmtslist, null, "TRRWP10201" ,"Y");
-
- misfGridInit(grd_rwpdcmtslist);1
-
- misfComboComCdListMulti("R0112,R0112", "cmb_saldfrayflag,grd_rwpdcmtslist.saldfrayflag");
- addComboItem("cmb_saldfrayflag", "전체", "%", "above");
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0, 6));
-
- model.setValue("/root/send/payym", cur_yymm);
-
- cmb_saldfrayflag.select(0);
- model.refresh();
- ]]>
- </script>
- <submission id="TRRWP10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rwpdcmtslist"/>
- <submission id="TXRWP10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rwpdcmtslist" 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/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript">
- <![CDATA[
- function finit()
- {
- misfGridInit(grd_rwpdcmtslist);
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0, 6));
-
- model.setValue("/root/send/payym", cur_yymm);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <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:40px; width:1195px; height:740px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_payym"))return;
- if(!isRequiredControls("cmb_saldfrayflag"))return;
-
- submit("TRRWP10201");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
- <caption id="cap_saldfrayflag" class="search_name" style="left:327px; top:19px; width:86px; height:17px; ">급여종류 :</caption>
- <select1 id="cmb_saldfrayflag" ref="/root/send/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:415px; top:18px; width:169px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_payym" class="search_name" style="left:16px; top:19px; width:94px; height:17px; ">지급년월 :</caption>
- <input id="ipt_payym" ref="/root/send/payym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:105px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:58px; width:144px; height:14px; ">공지사항 목록</caption>
- <line id="line193" class="line_1" style="x1:2px; y1:71px; x2:1192px; y2:71px; "/>
- <datagrid id="grd_rwpdcmtslist" nodeset="/root/main/rwpdcmtslist" autoresize="true" caption="지급년월^급여 종류^공지사항" colsep="^" colwidth="100, 100, 947" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:2px; top:76px; width:1188px; height:659px; ">
- <col class="input_s_essential" ref="payym" type="inputdate" format="yyyy-mm" _key="true"/>
- <col class="combo_s_essential" ref="saldfrayflag" type="combo" _key="true">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input"/>
- </datagrid>
- <button id="btn_delete" class="btn2_letter3" style="left:1138px; top:51px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rwpdcmtslist, "D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" style="left:1083px; top:51px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rwpdcmtslist, "A");
-
- grd_rwpdcmtslist.rowheight(grd_rwpdcmtslist.row) = 150;
-
- grd_rwpdcmtslist.valueMatrix(grd_rwpdcmtslist.row, grd_rwpdcmtslist.colRef("payym")) = ipt_payym.value;
- grd_rwpdcmtslist.valueMatrix(grd_rwpdcmtslist.row, grd_rwpdcmtslist.colRef("saldfrayflag")) = cmb_saldfrayflag.value;
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1063px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkKeyColumn("grd_rwpdcmtslist"))
- {
- messageBox("필수항목을 기입하여 주세요.","");
- return;
- }
-
- misfSave("TXRWP10201");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1121px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- finit();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|