123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2011.04.12 / 최초작성 /김상민
- -->
- <?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>산재개산지급결정통지서(I040)조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <gridlisti040>
- <i040/>
- </gridlisti040>
- </grid>
- </main>
- <send>
- <fromnotidd/>
- <tonotidd/>
- <clamno/>
- <acptno/>
- <cmpyflag/>
- </send>
- <init>
- <P0504list>
- <P0504>
- <cdid/>
- <cdnm/>
- </P0504>
- </P0504list>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드
- CommCode_Load();
-
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
- </model>
- <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/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드
- function CommCode_Load() {
- zbcfGetCodeList(new Array("P0504"),
- new Array("/root/init/P0504list"));
- model.refresh();
- }
-
- // 초기화
- function fInitialize() {
- var today = getCurrentDate();
-
- model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/fromnotidd", today); // 시작일
- model.setValue("/root/send/tonotidd", today); // 종료일
- ipt_clamno.value = "" // 청구번호
- ipt_acptno.value = "" // 접수번호
- model.setValue("/root/send/cmpyflag", "-"); //사업구분
-
-
- // 그리드 공라인 없애기
- model.removeNodeset("/root/main/grid/gridlisti040");
-
- model.refresh();
-
- // 포커스 이동
- model.setFocus("ipt_fromnotidd");
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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; ">산재개산지급결정통지서(I040)조회</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption36" class="tit_2" style="left:5px; top:80px; width:169px; height:14px; ">I040</caption>
- <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <button id="button12" class="btn2_letter4" style="left:1127px; top:75px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
- // 그리드 제목을 선택하면 저장이 안된다.
- if (grd_i040.rows == 1) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "I040-산재개산지급통지서_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_i040.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_i040" nodeset="/root/main/grid/gridlisti040/i040" caption="접수번호^차수^서식번호^청구기관코드^사업구분^발송번호^청구번호^접수일자^통지일자^지급일자^청구액^개산대상금액^개산지급액^개산지급률^개산실지급액^소득세^주민세^공제총액^개산지급률 결정사유^통지사항" colsep="^" colwidth="80, 65, 70, 100, 90, 70, 100, 75, 75, 75, 100, 100, 100, 80, 100, 100, 100, 100, 200, 200" dataheight="23" defaultrows="1" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:100px; width:1194px; height:642px; ">
- <col ref="acptno" style="text-align:center; "/>
- <col ref="dg" style="text-align:center; "/>
- <col ref="docuno" format="yyyy/mm" style="text-align:center; "/>
- <col ref="healcareinstcd" style="text-align:center; "/>
- <col ref="cmpyflag" style="text-align:center; "/>
- <col ref="sendno" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="notidd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="paydd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="calctrgtamt" format="#,###" style="text-align:right; "/>
- <col ref="calcpayamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="calcpayrt" style="text-align:center; "/>
- <col ref="calcrlpayamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="incmtax" format="#,###" style="text-align:right; "/>
- <col ref="resdntax" format="(-)#,###" style="text-align:right; "/>
- <col ref="dedutotamt" format="#,###" style="text-align:right; "/>
- <col ref="calcpayrtdeciresn" style="text-align:left; "/>
- <col ref="notifact" style="text-align:left; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_toacptym" class="search_name" style="left:0px; top:22px; width:86px; height:17px; ">통지일자 :</caption>
- <input id="ipt_fromnotidd" ref="/root/send/fromnotidd" class="input_search" inputtype="date" style="left:94px; top:21px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption31" style="left:184px; top:22px; width:15px; height:15px; ">~</caption>
- <input id="ipt_tonotidd" ref="/root/send/tonotidd" class="input_search" inputtype="date" style="left:198px; top:21px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption34" class="search_name" style="left:805px; top:21px; width:90px; height:17px; ">사업구분 :</caption>
- <select1 id="cmb_cmpyflag" ref="/root/send/cmpyflag" class="combo_search" appearance="minimal" style="left:894px; top:21px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0504list/P0504">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption35" class="search_name" style="left:330px; top:21px; width:90px; height:17px; ">청구번호 :</caption>
- <input id="ipt_clamno" ref="/root/send/clamno" class="input_search" style="left:420px; top:21px; width:100px; height:19px; "/>
- <caption id="caption30" class="search_name" style="left:564px; top:21px; width:90px; height:17px; ">접수번호 :</caption>
- <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" style="left:654px; top:21px; width:100px; height:19px; "/>
- <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_research" class="btn1_letter2" style="left:1123px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ((ipt_fromnotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "") ||
- (ipt_tonotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "")) {
- messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
- }
- else {
- submit("TRPIE02101");
- }
- ]]>
- </script>
- </button>
- </group>
- <button id="button10" class="btn2_letter3" style="left:1016px; top:75px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_i040.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:1071px; top:75px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_i040.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:961px; top:75px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_i040.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|