123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>월말 정산완료 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <clselist/>
- </main>
- <send>
- <search>
- <instcd/>
- <endmonth/>
- <workflag/>
- </search>
- <save/>
- </send>
- <init>
- </init>
- <hidden/>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
-
- misfGridInit(grd_clselist);
- misfMsterDetailSet(grd_clselist, null, "TRRSO22301" ,"Y");
- //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
- model.setValue("/root/send/search/endmonth" , getCurrentDate()); //일자 설정
- model.setValue("/root/send/search/workflag" , "Y"); //작업구분 설정("Y": 완료)
- //정산완료 이력 조회
- misfMsterDetailRetrieve();
- //model.refresh();
- ]]>
- </script>
- <submission id="TRRSO22301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/clselist"/>
- <submission id="TXRSO22301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" 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="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="790" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:770px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:289px; height:14px; ">월말 정산완료 관리</caption>
- </group>
- <group id="group1" style="left:0px; top:12; width:770px; height:27px; x2:770px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:770px; y2:25px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:770px; height:405px; ">
- <group id="grp_search" style="left:0px; top:9px; width:770px; height:48px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:770px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_exec" class="btn1_letter2" navindex="4" style="left:674px; top:9px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //마감년월에 입력된 값이 올바르지 않으면, 마감년월을 선택하라고 alert함
- if(ipt_endmonth.value.length < 6) {
- messageBox("마감년월이 올바로 선택되지 않았습니다. \n\n먼저 마감년월을 선택하십시요.", "E999", "");
- model.setFocus("ipt_endmonth");
- return;
- }
-
- //작업 실행전 confirm
- var dd = model.getValue("/root/send/search/endmonth");
- if (messageBox( dd.substr(0,4) + " 년 " + dd.substr(4,2) + " 월 정산 " + rdo_workflag.label + " 작업을 실행하시겠습니까? ", "Q999","") != 6){
- return;
- }
- if( submit("TXRSO22301") ) {
- //정산 완료이력 조회
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:107px; top:10px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:28px; top:10px; width:77px; height:17px; ">기관코드</caption>
- <caption id="caption20" class="search_name" style="left:446px; top:10px; width:89px; height:17px; vertical-align:middle; ">작업구분</caption>
- <line id="line30" class="line_4" style="x1:660px; y1:4px; x2:660px; y2:36px; "/>
- <caption id="caption2" class="search_name" style="left:265px; top:10px; width:76px; height:17px; ">마감년월</caption>
- <select1 id="rdo_workflag" ref="/root/send/search/workflag" navindex="3" appearance="full" cols="2" overflow="visible" style="left:529px; top:11px; width:111px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>완료취소</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_endmonth" ref="/root/send/search/endmonth" navindex="2" inputtype="date" format="yyyy-mm" style="left:345px; top:10px; width:80px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:78px; x2:770px; y2:78px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:63px; width:180px; height:14px; ">정산완료 작업 이력</caption>
- <datagrid id="grd_clselist" nodeset="/root/main/clselist" class="datagrid2" caption="마감년월^정산완료 작업 실행 일시^실행자 사번" colsep="^" colwidth="134, 213, 121" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="5" style="left:0px; top:83px; width:770px; height:237px; ">
- <col ref="endmonth" format="yyyy-mm" style="text-align:center; "/>
- <col ref="exectime" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- </datagrid>
- <button id="btn_close" class="btn4_letter2" navindex="6" style="left:700px; top:380px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:0px; top:330px; width:679px; height:28px; ">
- <![CDATA[※ 정산완료 처리 이후에는 해당월의 검수, 입/출고 및 마감/마감취소 작업이 불가합니다.
- 검수, 입/출고 작업을 위해서는 우선 해당월의 정산완료 취소, 마감취소가 순차적으로 이루어져야 합니다.]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|