123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675 |
- <?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>
- <list>
- <orchlist>
- <instcd/>
- <seqno/>
- <detlseqno/>
- <chrgflag/>
- <emplno/>
- <name/>
- <entrregno/>
- <rrgstno/>
- <custnm/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <induflag/>
- <incmflag/>
- <dayno/>
- <dypay/>
- <paytotamt/>
- <taxrate/>
- <incmtax/>
- <resdntax/>
- <cmt/>
- </orchlist>
- <orch>
- <instcd/>
- <seqno/>
- <chrgflag/>
- <unsldd/>
- <unslno/>
- <undeciseqno/>
- <paydd/>
- <status/>
- </orch>
- </list>
- <orch_one>
- <instcd/>
- <seqno/>
- <detlseqno/>
- <chrgflag/>
- <emplno/>
- <name/>
- <entrregno/>
- <rrgstno/>
- <custnm/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <induflag/>
- <incmflag/>
- <dayno/>
- <dypay/>
- <paytotamt/>
- <taxrate/>
- <incmtax/>
- <resdntax/>
- <cmt/>
- </orch_one>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <seqno/>
- <chrgflag/>
- <detlseqno/>
- </retrparams>
- <list>
- <orchlist/>
- <orch/>
- </list>
- </send>
- <hidden>
- <incmpsn/>
- <totamt/>
- <maxdetlseqno>0000</maxdetlseqno>
- <orch_one>
- <instcd/>
- <seqno/>
- <detlseqno/>
- <chrgflag/>
- <emplno/>
- <name/>
- <entrregno/>
- <rrgstno/>
- <custnm/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <induflag/>
- <incmflag/>
- <dayno/>
- <dypay/>
- <paytotamt/>
- <taxrate/>
- <incmtax/>
- <resdntax/>
- <cmt/>
- </orch_one>
- <orchreturn>
- <amt/>
- <etcnotefact/>
- <incmtax/>
- <resdntax/>
- </orchreturn>
- </hidden>
- <init>
- </init>
- <temp>
- <seqno>
- <seqno/>
- </seqno>
- </temp>
- <target/>
- </root>
- </instance>
- <submission id="TRRAD00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TXRAD00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list" resultref="/root/temp"/>
- <bind id="bind_amt" ref="/root/hidden/orchreturn/amt" calculate="sum(/root/main/list/orchlist/paytotamt)"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.removenode("/root/main/list/orchlist");
- var instcd = getUserInfo("dutplceinstcd");
-
- if (model.getValue("/root/target/slipinfo/profflag") == "8")
- {
- document.title = "비과세 근로소득자료관리";
- cpt_title.text = "비과세 근로소득자료관리";
- }
-
- if (model.getValue("/root/target/slipinfo/seqno") != "")
- {
- model.setValue("/root/send/retrparams/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/send/retrparams/seqno", model.getValue("/root/target/slipinfo/seqno"));
- model.setValue("/root/send/retrparams/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.refresh();
- fSearch();
-
- if(grd_orchlist.rows > 1)
- {
- grd_orchlist.row = grd_orchlist.rows -1;
- fGridRowClick();
- }
- }
- else
- {
- model.setValue("/root/main/list/orch/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/main/list/orch/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/main/list/orch/unsldd", model.getValue("/root/target/slipinfo/unsldd"));
- model.setValue("/root/main/list/orch/unslno", model.getValue("/root/target/slipinfo/unslno"));
- model.setValue("/root/main/list/orch/undeciseqno", model.getValue("/root/target/slipinfo/unslseqno"));
- model.setValue("/root/main/list/orch/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.setValue("/root/main/orch_one/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/main/orch_one/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.setValue("/root/main/orch_one/detlseqno", "0001");
- model.setValue("/root/hidden/maxdetlseqno", "0000");
- model.setValue("/root/main/list/orch/status", "i");
-
- model.setValue("/root/main/orch_one/emplno", model.getValue("/root/target/slipinfo/emplno"));
- ipt_emplno.refresh();
- ipt_emplno.dispatch("xforms-value-changed");
-
- model.makeValue("/root/main/orch_one/cmt", model.getValue("/root/target/slipinfo/cmt"));
-
- }
- model.refresh();
- if (model.getValue("/root/target/slipinfo/readonly") == "Y")
- {
- btn_grdadd.disabled = true;
- btn_save.disabled = true;
- btn_delete.disabled = true;
- }
- model.setFocus("ipt_name");
- }
-
- function fSearch() {
- submit("TRRAD00105");
- if(instance1.selectNodes("/root/main/list/orchlist").length == 0)
- {
- model.makeValue("/root/main/list/orch/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.makeValue("/root/main/list/orch/unsldd", model.getValue("/root/target/slipinfo/unsldd"));
- model.makeValue("/root/main/list/orch/unslno", model.getValue("/root/target/slipinfo/unslno"));
- model.makeValue("/root/main/list/orch/undeciseqno", model.getValue("/root/target/slipinfo/unslseqno"));
- model.makeValue("/root/main/list/orch/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.makeValue("/root/main/list/orch/status", "i");
- model.setValue("/root/main/orch_one/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/main/orch_one/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.setValue("/root/main/orch_one/detlseqno", "0001");
- model.setValue("/root/hidden/maxdetlseqno", "0000");
- }
- else
- {
- var rowCnt = grd_orchlist.rows - 1;
- model.setValue("/root/hidden/maxdetlseqno",model.getValue("/root/main/list/orchlist["+ rowCnt +"]/detlseqno"));
- model.setValue("/root/main/list/orch/status", "u");
- fIncreSeqno("/root/main/orch_one/detlseqno");
- model.setValue("/root/main/orch_one/instcd", model.getValue("/root/main/list/orch/instcd"));
- model.setValue("/root/main/orch_one/seqno", model.getValue("/root/main/list/orch/seqno"));
- model.setValue("/root/main/orch_one/chrgflag", model.getValue("/root/main/list/orch/chrgflag"));
- }
- model.refresh();
- }
- function fSave()
- {
- var updtdata = getGridUpdateData(grd_orchlist);
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.setValue("/root/send/list/orchlist", grd_orchlist.getUpdateData());
- model.copyNode("/root/send/list/orch", "/root/main/list/orch");
- if (submit("TXRAD00105"))
- {
- model.setValue("/root/send/list/orchlist","");
- if (model.getValue("/root/temp/seqno/seqno") != "")
- {
- model.setValue("/root/send/retrparams/instcd", model.getValue("/root/main/list/orch/instcd"));
- model.setValue("/root/send/retrparams/seqno", model.getValue("/root/temp/seqno/seqno"));
- model.setValue("/root/send/retrparams/chrgflag", model.getValue("/root/main/list/orch/chrgflag"));
- model.refresh();
- fSearch();
- }
- else
- {
- model.removeNodeset("/root/main/list/orchlist");
-
- model.setValue("/root/main/list/orch/instcd", model.getValue("/root/target/slipinfo/instcd"));
- model.setValue("/root/main/list/orch/seqno", "");
- model.setValue("/root/main/list/orch/unsldd", model.getValue("/root/target/slipinfo/unsldd"));
- model.setValue("/root/main/list/orch/unslno", model.getValue("/root/target/slipinfo/unslno"));
- model.setValue("/root/main/list/orch/undeciseqno", model.getValue("/root/target/slipinfo/unslseqno"));
- model.setValue("/root/main/list/orch/chrgflag", model.getValue("/root/target/slipinfo/profflag"));
- model.setValue("/root/main/list/orch/status", "i");
- model.setValue("/root/hidden/maxdetlseqno", "0000");
- fRowClearClick();
- }
-
- var rowcnt = grd_orchlist.rows - 1;
-
- if (rowcnt > 0) {
- if (rowcnt > 1) {
- var cmt = model.getValue("/root/main/list/orchlist[1]/cmt") + " (" + model.getValue("/root/main/list/orchlist[1]/name") + " 외 " + (rowcnt - 1) + "명)";
- model.setValue("/root/hidden/orchreturn/etcnotefact", cmt);
- } else {
- model.setValue("/root/hidden/orchreturn/etcnotefact", model.getValue("/root/main/list/orchlist[1]/cmt"));
- }
- } else {
- model.setValue("/root/hidden/orchreturn/etcnotefact", "");
- }
- model.refresh();
-
- var receiveref = model.getValue("/root/target/receiveref");
- if (checkOpener())
- {
-
- opener.model.setValue(receiveref + "/seqno", model.getValue("/root/temp/seqno/seqno"));
- opener.model.setValue(receiveref + "/amt", model.getValue("/root/hidden/orchreturn/amt"));
- opener.model.setValue(receiveref + "/etcnotefact", model.getValue("/root/hidden/orchreturn/etcnotefact"));
- opener.model.setValue(receiveref + "/incmtax", model.getValue("/root/hidden/orchreturn/incmtax"));
- opener.model.setValue(receiveref + "/resdntax", model.getValue("/root/hidden/orchreturn/resdntax"));
- messageBox("저장이 " ,"I002");
- }
- else
- {
- messagebox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
- }
- model.setFocus("ipt_name");
- btn_close.dispatch("DOMActivate");
- }
- function fDelete()
- {
- if (messageBox("내역을","Q001") == "6")
- {
- var rowCnt = grd_orchlist.rows;
- for (i=1; i<rowCnt; i++)
- {
- grd_orchlist.addStatus(i,"delete");
- }
- model.setValue("/root/main/list/orch/status","d");
- model.refresh();
- fSave();
- }
- }
-
- //========================================================================================
- //not null check
- //========================================================================================
- function fNotNullCheck() {
- if(model.getValue("/root/main/orch_one/emplno").length== 0)
- {
- messageBox("사원번호는" ,"I003");
- model.setFocus("ipt_emplno");
- return false;
- }
-
- if(model.getValue("/root/main/orch_one/name").length== 0 )
- {
- messageBox("성명은" ,"I003");
- model.setFocus("ipt_name");
- return false;
- }
-
- if(model.getValue("/root/main/orch_one/paytotamt").length== 0 )
- {
- messageBox("지급액은" ,"I003");
- model.setFocus("ipt_paytotamt");
- return false;
- }
- }
-
- function fGridRowAddClick() {
- var detlseq = model.getValue("/root/main/orch_one/detlseqno");
- var detlseqno = model.getValue("/root/main/list/orchlist[detlseqno='"+ detlseq +"']/detlseqno");
- var cur_row = grd_orchlist.row;
-
- if(fNotNullCheck() == false) {
- return;
- }
-
- if (detlseqno == "") {
- grd_orchlist.addRow(false);
- } else {
- grd_orchlist.addStatus(cur_row,"update");
- }
-
- model.copyNode("/root/main/list/orchlist["+grd_orchlist.row+"]","/root/main/orch_one");
-
- var maxdetlseqno = model.getValue("/root/hidden/maxdetlseqno");
- if (parseInt(maxdetlseqno,10) < parseInt(detlseq,10)) {
- model.setValue("/root/hidden/maxdetlseqno", detlseq);
- }
- fRowClearClick(); //행정리
- }
-
- function fGridRowDelClick()
- {
- grd_orchlist.row = grd_orchlist.rows - 1;
- var rowstat;
- var i, j=0;
- grd_orchlist.addStatus(grd_orchlist.row, "delete");
-
-
- for (i=1; i<grd_orchlist.rows; i++)
- {
- rowstat = parseInt(grd_orchlist.rowStatus(i),10);
- if (rowstat >= 4)
- {
- j++;
- }
- }
- if (j == grd_orchlist.rows - 1)
- {
- model.setValue("/root/main/list/orch/status","d");
- }
- else
- {
- model.setValue("/root/main/list/orch/status","u");
- }
- model.refresh();
-
- fRowClearClick();
- }
-
- function fGridRowClick()
- {
- var cur_row = grd_orchlist.row;
-
- model.removenode("/root/main/orch_one");
- model.makeNode("/root/main/orch_one");
- model.copyNode("/root/main/orch_one","/root/main/list/orchlist["+cur_row+"]");
- model.recalculate();
- model.refresh();
-
- btn_grddel.disabled = false;
- model.setFocus("ipt_paytotamt");
- }
-
- function fRowClearClick() {
- var cmt = model.getValue("/root/main/orch_one/cmt");
- model.removenode("/root/main/orch_one");
- model.makeNode("/root/main/orch_one");
- model.copyNode("/root/main/orch_one","/root/hidden/orch_one");
-
- fIncreSeqno("/root/main/orch_one/detlseqno");
- model.setValue("/root/main/orch_one/instcd", model.getValue("/root/main/list/orch/instcd"));
- model.setValue("/root/main/orch_one/seqno", model.getValue("/root/main/list/orch/seqno"));
- model.setValue("/root/main/orch_one/chrgflag", model.getValue("/root/main/list/orch/chrgflag"));
- model.setValue("/root/main/orch_one/cmt", cmt);
- model.recalculate();
- model.refresh();
-
- btn_grddel.disabled = true;
- model.setFocus("ipt_name");
- }
-
- //========================================================================================
- //행번 증가
- //========================================================================================
- function fIncreSeqno(pRef) {
- var detlseqno = model.getValue("/root/hidden/maxdetlseqno");
- var seqno = parseInt(detlseqno, 10);
-
- seqno++;
- model.setValue(pRef, seqno.toString().getLeftPad(4,"0"));
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="470" pageheight="170" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:455px; height:13px; ">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">근로소득자료관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:455px; height:117px; ">
- <line id="line3" class="line_2" style="x1:0px; y1:38px; x2:455px; y2:38px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:112px; x2:455px; y2:112px; "/>
- <caption id="caption47" class="cell_1" style="left:0px; top:14px; width:100px; height:23px; vertical-align:middle; ">사원번호</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:455px; y2:9px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:89px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:64px; width:100px; height:23px; vertical-align:middle; ">지급액</caption>
- <caption id="caption13" class="cell_1" visibility="hidden" style="left:0px; top:39px; width:100px; height:23px; vertical-align:middle; ">지급일자</caption>
- <input id="ipt_paytotamt" ref="/root/main/orch_one/paytotamt" class="input_s_essential" navindex="2" format="(-)#,###" style="left:103px; top:67px; width:150px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_cmt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_cmt" ref="/root/main/orch_one/cmt" class="input_default" navindex="3" style="left:103px; top:91px; width:347px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_grdadd");
- }
- ]]>
- </script>
- </input>
- <line id="line10" class="line_2" style="x1:0px; y1:63px; x2:455px; y2:63px; "/>
- <input id="ipt_paydd" ref="/root/main/list/orch/paydd" class="input_default" disabled="true" navindex="-1" visibility="hidden" style="left:103px; top:42px; width:171px; height:19px; text-align:center; "/>
- <datagrid id="grd_orchlist" nodeset="/root/main/list/orchlist" visibility="hidden" caption="기관코드^일련번호^세부일련번호^징수구분^사원번호^주민등록번호^성명^사업자등록번호^상호^일용근로일수^일용근로일급^지급액^세율^소득세^주민세^비고^우편번호^우편번호1^우편번호2^우편번호일련번호^주소^상세주소^업종구분^소득구분" colwidth="0, 0, 0, 0, 97, 0, 91, 0, 0, 0, 0, 106, 0, 0, 0, 449, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:400px; top:60px; width:30px; height:30px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="detlseqno" visibility="hidden"/>
- <col ref="chrgflag" visibility="hidden"/>
- <col ref="emplno"/>
- <col ref="rrgstno" visibility="hidden" format="999999-9999999"/>
- <col ref="name"/>
- <col ref="entrregno" visibility="hidden" format="999-99-99999"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="dayno" visibility="hidden"/>
- <col ref="dypay" visibility="hidden"/>
- <col ref="paytotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="taxrate" visibility="hidden"/>
- <col ref="incmtax" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="resdntax" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmt"/>
- <col ref="zipcd" visibility="hidden"/>
- <col ref="zipcd1" visibility="hidden"/>
- <col ref="zipcd2" visibility="hidden"/>
- <col ref="zipcdseqno" visibility="hidden"/>
- <col ref="supaddr" visibility="hidden"/>
- <col ref="infaddr" visibility="hidden"/>
- <col disabled="true" ref="induflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/R0278list/R0278">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="incmflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/R0279list/R0279">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_orchlist.isCell(event.target) && grd_orchlist.row >= grd_orchlist.fixedRows)
- {
- fGridRowClick();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fGridRowClick();
- ]]>
- </script>
- </datagrid>
- <input id="input1" ref="/root/main/list/orch/instcd" class="input_s_essential" visibility="hidden" style="left:263px; top:65px; width:20px; height:19px; "/>
- <input id="input2" ref="/root/main/list/orch/seqno" class="input_s_essential" visibility="hidden" style="left:282px; top:65px; width:20px; height:19px; "/>
- <input id="input3" ref="/root/main/list/orch/chrgflag" class="input_s_essential" visibility="hidden" style="left:301px; top:65px; width:20px; height:19px; "/>
- <input id="input4" ref="/root/main/list/orch/unsldd" class="input_s_essential" visibility="hidden" style="left:320px; top:65px; width:20px; height:19px; "/>
- <input id="input5" ref="/root/main/list/orch/unslno" class="input_s_essential" visibility="hidden" style="left:339px; top:65px; width:20px; height:19px; "/>
- <input id="input6" ref="/root/main/list/orch/undeciseqno" class="input_s_essential" visibility="hidden" style="left:358px; top:65px; width:20px; height:19px; "/>
- <input id="ipt_taxrate" ref="/root/main/orch_one/taxrate" class="input_default" navindex="-1" visibility="hidden" maxlength="10" format="(-)#,###%" style="left:377px; top:65px; width:19px; height:19px; text-align:right; "/>
- <button id="btn_grddel" class="btn2_letter3" disabled="true" navindex="-1" visibility="hidden" style="left:340px; top:40px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridRowDelClick();
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" visibility="hidden" style="left:285px; top:40px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridRowAddClick();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/hidden/orchreturn/amt" navindex="-1" visibility="hidden" format="(-)#,###" style="left:435px; top:65px; width:9px; height:19px; text-align:right; "/>
- <input id="ipt_name" ref="/root/main/orch_one/name" class="input_essential" navindex="1" style="left:225px; top:16px; width:225px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_paytotamt");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("49", "", "emplno,name","","","name","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_userhelp" class="icon_search" navindex="-1" style="left:205px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("49", ipt_paytotamt, "", "emplno,name");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/main/orch_one/emplno" class="input_essential" style="left:103px; top:16px; width:97px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_paytotamt");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("49", "", "emplno,name", "", "", "code","");
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line4" class="line_2" style="x1:0px; y1:88px; x2:455px; y2:88px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:130px; width:455px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:455px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:282px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- fGridRowAddClick();
- fSave();
- model.setFocus("btn_close");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGridRowAddClick();
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" navindex="-1" style="left:340px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelete();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" navindex="4" style="left:398px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var receiveref = model.getValue("/root/target/receiveref");
- // if (checkOpener())
- // {
- // opener.model.setValue(receiveref + "/seqno", model.getValue("/root/main/list/orch/seqno"));
- // opener.model.setValue(receiveref + "/amt", model.getValue("/root/hidden/orchreturn/amt"));
- // }
- // else
- // {
- // messagebox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- // }
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|