123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592 |
- <?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>전자세금계산서 LIST</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <ebilllist/>
- </list>
- </main>
- <send>
- <condition>
- <instcd/>
- <mappingyn>N</mappingyn>
- <taxbillkind/>
- <taxbillflag>1</taxbillflag>
- <deptcd/>
- <depthngnm/>
- <emplno/>
- <emplnm/>
- <entrregno/>
- <custnm/>
- <fromdd/>
- <todd/>
- <proc_flag/>
- <isscust>01</isscust>
- </condition>
- <acntdept>
- <instcd/>
- <mngtcd>acntdept</mngtcd>
- </acntdept>
- <regcust>
- <instcd/>
- <inv_no/>
- </regcust>
- </send>
- <init>
- <init_taxbillkind>
- <item>
- <label>세금계산서</label>
- <value>4</value>
- </item>
- <item>
- <label>계산서</label>
- <value>5</value>
- </item>
- </init_taxbillkind>
- <init_taxbillflag>
- <item>
- <label>매입</label>
- <value>1</value>
- </item>
- <item>
- <label>매출</label>
- <value>2</value>
- </item>
- </init_taxbillflag>
- <code>
- <codelist/>
- </code>
- </init>
- <target/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- var entrregno = model.getValue("/root/target/condition/entrregno");
- var custnm = model.getValue("/root/target/condition/custnm");
- var taxbillflag = model.getValue("/root/target/condition/taxbillflag");
- var taxbillkind = model.getValue("/root/target/condition/taxbillkind");
- var isscust = model.getValue("/root/target/condition/isscust");
-
- model.setValue(ipt_entrregno.attribute("ref"), entrregno);
- model.setValue(ipt_custnm.attribute("ref"), custnm);
- model.setValue(rdo_billflag.attribute("ref"), taxbillflag);
- model.setValue(rdo_billkind.attribute("ref"), taxbillkind);
- model.setValue(cmb_isscust.attribute("ref"), isscust);
-
- model.removeNode("/root/main/list/ebilllist");
-
- if(instance1.selectNodes("/root/target/validation/custlist").length == 0)
- {
- btn_search.dispatch("DOMActivate");
- }
- else
- {
- model.copyNode("/root/main/list","/root/target/validation");
-
- model.refresh();
- }
- model.setValue("/root/send/acntdept/instcd", getUserInfo("dutplceinstcd"));
- submit("TRRAZ00001");
-
- if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd"))
- {
- model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue(ipt_depthngnm.attribute("ref"), getUserInfo("dutplcenm"));
-
- ipt_deptcd.disabled = true;
- ipt_depthngnm.disabled = true;
- }
-
- model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
-
- // model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- // model.setValue(ipt_depthngnm.attribute("ref"), getUserInfo("dutplcenm"));
-
- model.setValue(ipt_fromdd.attribute("ref"), "20091201");
- // model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate().toString().substr(0, 6) + "01");
- model.setValue(ipt_todd.attribute("ref"), getCurrentDate().toString());
-
- misfComboComCdList("R0364", cmb_proc_flag, "Y");
-
- misfGridComboComCdList("R0364", grd_ebilllist, "proc_flag", "");
-
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
- }
-
- //========================================================================================
- // 부서코드 조회
- //========================================================================================
- function fOpenPopupDeptHelp(pControl, pInstance)
- {
- misfOpenPopUpList("02", pControl, "", pInstance);
- model.refresh();
- }
-
- //========================================================================================
- // 사번 조회
- //========================================================================================
- function fOpenPopupUserHelp(pCtrl, pInstance)
- {
- misfOpenPopUpList("01", pCtrl, "", pInstance);
- model.refresh();
- }
-
- //========================================================================================
- //코드 Validation Check
- //========================================================================================
- function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName, pRetrKind)
- {
- if(event.keyCode == 13 || event.name == "xforms-value-changed")
- {
- document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
- misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName, pRetrKind);
- model.refresh();
-
- if (pNextIndex != "") {
- model.setFocus(pNextIndex);
- }
- }
- }
-
- function fncLogin()
- {
- // alert(FormValidation(document.loginForm));
- // if(FormValidation(document.loginForm) != false)
- // {
- document.loginForm.action="http://222.106.233.111:8081/docubill-dti-web/login.do?method=process1";
- document.loginForm.submit();
- // }
- }
-
-
- ]]>
- </script>
- <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acntdept" resultref="/root/init/code"/>
- <submission id="TRRAC91301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:1177px; height:525px; ">
- <group id="group2" style="left:0px; top:5px; width:1175px; height:85px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1175px; height:85px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1089px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRRAC91301");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1069px; y1:20px; x2:1069px; y2:69px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_custnm" ref="/root/send/condition/custnm" navindex="6" imemode="hangul" style="left:540px; top:59px; width:171px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "name");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "name");
- ]]>
- </script>
- </input>
- <button id="btn_entregnohelp" class="icon_search" style="left:520px; top:61px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:305px; top:60px; width:100px; height:17px; ">거 래 처 :</caption>
- <input id="ipt_entrregno" ref="/root/send/condition/entrregno" navindex="5" format="999-99-99999" style="left:406px; top:59px; width:109px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "code");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "code");
- ]]>
- </script>
- </input>
- <select1 id="rdo_billflag" ref="/root/send/condition/taxbillflag" class="radio_search" disabled="true" navindex="4" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:120px; top:36px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/init_taxbillflag/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:15px; top:10px; width:99px; height:17px; ">계산서종류 :</caption>
- <caption id="caption6" class="search_name" style="left:15px; top:36px; width:109px; height:17px; ">계산서구분 :</caption>
- <select1 id="rdo_billkind" ref="/root/send/condition/taxbillkind" class="radio_search" disabled="true" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:120px; top:10px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/init_taxbillkind/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_slipdepthelp" class="icon_search" navindex="-1" style="left:520px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm"); //전체부서
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/condition/deptcd" class="input_essential" navindex="-1" maxlength="11" style="left:406px; top:8px; width:109px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- racfDeptValidCheck("deptcd,depthngnm"); // 전체부서
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:305px; top:10px; width:100px; height:17px; ">부 서 :</caption>
- <input id="ipt_depthngnm" ref="/root/send/condition/depthngnm" class="input_essential" style="left:540px; top:8px; width:171px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- racfDeptValidCheck("deptcd,depthngnm"); // 전체부서
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- </input>
- <caption id="caption10" class="search_name" style="left:305px; top:35px; width:100px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplnm" ref="/root/send/condition/emplnm" class="input_s_essential" navindex="2" editable="true" style="left:540px; top:34px; width:171px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("12", "emplno,emplnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:520px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupUserHelp(ipt_emplno, "emplno,emplnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:406px; top:34px; width:109px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fValidationCheck("12", "emplno,emplnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:740px; top:36px; width:140px; height:17px; ">mapping 계산서 :</caption>
- <caption id="caption3" class="search_name" style="left:740px; top:10px; width:90px; height:17px; ">일 자 :</caption>
- <input id="ipt_todd" ref="/root/send/condition/todd" class="input_s_essential" inputtype="date" style="left:947px; top:10px; width:90px; height:19px; "/>
- <caption id="caption4" style="left:930px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/condition/fromdd" class="input_s_essential" inputtype="date" style="left:835px; top:10px; width:90px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/condition/mappingyn" class="radio_search" navindex="3" overflow="visible" appearance="full" cellspacing="50" cols="4" style="left:880px; top:36px; width:155px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>포함</label>
- <value/>
- </item>
- <item>
- <label>제외</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_proc_flag" ref="/root/send/condition/proc_flag" class="combo_default" visibility="visible" appearance="minimal" style="left:120px; top:59px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:15px; top:60px; width:109px; height:17px; ">처리 상태 :</caption>
- <select1 id="cmb_isscust" ref="/root/send/condition/isscust" class="combo_default" disabled="true" visibility="visible" appearance="minimal" style="left:845px; top:60px; width:195px; height:19px; ">
- <choices>
- <item>
- <label>매출자발행</label>
- <value>01</value>
- </item>
- <item>
- <label>매입자발행</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_isscust" class="search_name" style="left:740px; top:61px; width:109px; height:17px; ">발행 구분 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:97px; width:145px; height:13px; ">전자세금계산서 LIST</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:112px; x2:1175px; y2:112px; "/>
- <datagrid id="grd_ebilllist" nodeset="/root/main/list/ebilllist" class="grd_custlist" caption="기관코드^계산서종류^계산서구분^발행구분^처리상태^등록^사업자등록번호^거래처명^주소^대표자명^업태^종목^일자^공급가액^세액^합계액^비고^확인^세금계산서발행처^과세유형^거래처담당자^거래처E-mail^세금계산서번호^부서^담당자명^담당자E-mail^일련번호^미결전표일^미결전표번호^미결전표일련번호^전표정보^맵핑여부" colsep="^" colwidth="0, 0, 0, 0, 80, 30, 120, 100, 0, 80, 0, 0, 80, 80, 80, 80, 200, 30, 120, 120, 80, 80, 150, 120, 80, 150, 0, 0, 0, 0, 150, 0" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:117px; width:1175px; height:408px; ">
- <col ref="instcd"/>
- <col ref="taxbillkind"/>
- <col ref="taxbillflag"/>
- <col ref="isscust"/>
- <col ref="proc_flag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="reg_cust" type="checkbox"/>
- <col ref="entrregno" format="999-99-99999"/>
- <col ref="custnm"/>
- <col ref="supaddr"/>
- <col ref="prsdnm"/>
- <col ref="bizcont"/>
- <col ref="item"/>
- <col ref="genrdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suplamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="valaddtax" format="(-)#,###" style="text-align:right; "/>
- <col ref="amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmt"/>
- <col ref="ebillcheck" type="radio"/>
- <col ref="isscust"/>
- <col ref="taxkind"/>
- <col ref="custdtieacntchrgnm"/>
- <col ref="custdtiemailaddr"/>
- <col ref="inv_no"/>
- <col ref="deptnm"/>
- <col ref="name"/>
- <col ref="dtiemail"/>
- <col ref="seqno"/>
- <col ref="unsldd"/>
- <col ref="unslno"/>
- <col ref="unslseqno"/>
- <col ref="unslinfo"/>
- <col ref="mappingyn"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_ebilllist.isCell(event.target) && grd_ebilllist.row >= grd_ebilllist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(grd_ebilllist.isCell(event.target) && grd_ebilllist.col == grd_ebilllist.colRef("ebillcheck"))
- {
- var dtitaxbillflag = "";
-
- if(grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("taxbillflag")) == "1")
- {
- dtitaxbillflag = "2";
- }
- else
- {
- dtitaxbillflag = "1";
- }
- var sLink = "http://222.106.233.111:8081/view.do?method=process3&invNo=" + grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("inv_no")) + "&invType=" + dtitaxbillflag;
-
- window.load(sLink, "html");
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_openpsn" class="btn2_letter5" style="left:1100px; top:92px; width:75px; height:19px; ">
- <caption>거래처등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SPRAC00600","","","","","/root/source", "/root/target" );
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter5" style="left:1020px; top:92px; width:75px; height:19px; ">
- <caption>E-mail등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SMRAC01200","","","","","/root/source", "/root/target" );
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:524px; width:1177px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:1062px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // NotNullCheck
- //------------------------------------------------------------------------------------------------------------------------------------------------
- var vNullYN = "N"
-
- if(grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custnm")) == "") { messageBox("등록되지 않은 거래처 입니다.", "I000"); vNullYN = "Y" }
- if(grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("name")) == "") { messageBox("등록되지 않은 E-mail 입니다.", "I000"); vNullYN = "Y" }
- if(grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("mappingyn")) == "Y") { messageBox("이미 mapping 된 자료 입니다.", "I000"); vNullYN = "Y" }
-
- if(vNullYN == "Y") return false;
- //------------------------------------------------------------------------------------------------------------------------------------------------
-
- if (checkOpener())
- {
- var mainViewer = getMainViewer();
-
- var receiveref = model.getValue("/root/target/receiveref");
-
- opener.model.setValue(receiveref + "/inv_no", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("inv_no")));
- opener.model.setValue(receiveref + "/entrregno", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("entrregno")));
- opener.model.setValue(receiveref + "/custnm", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custnm")));
- opener.model.setValue(receiveref + "/isscust", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("isscust")));
-
- opener.model.setValue(receiveref + "/dtiemail", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("dtiemail")));
- opener.model.setValue(receiveref + "/custdtiemailaddr", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custdtiemailaddr")));
- if(opener.javascript.getScreenID() == "SPRAT00101")
- {
- // if (messageBox("전자세금계산서 내용으로 덥어쓰시겠습니까?", "Q000") == "6")
- // {
- opener.model.setValue(receiveref + "/genrdd", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("genrdd")));
- opener.model.setValue(receiveref + "/custaddr", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custaddr")));
- opener.model.setValue(receiveref + "/custprsd", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custprsd")));
- opener.model.setValue(receiveref + "/custbizcond", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custbizcond")));
- opener.model.setValue(receiveref + "/custitem", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("custitem")));
-
-
-
- opener.model.setValue(receiveref + "/cmt", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("cmt")));
- opener.model.setValue(receiveref + "/suplamt", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("suplamt")));
- opener.model.setValue(receiveref + "/valaddtax", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("valaddtax")));
- opener.model.setValue(receiveref + "/amt", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("amt")));
- // }
- }
- else if(opener.javascript.getScreenID() == "SMRAT00100")
- {
- opener.model.setValue(receiveref + "/name", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("name")));
-
- opener.model.setValue(receiveref + "/suplamt", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("suplamt")));
- opener.model.setValue(receiveref + "/valaddtax", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("valaddtax")));
- opener.model.setValue(receiveref + "/amt", grd_ebilllist.valueMatrix(grd_ebilllist.row, grd_ebilllist.colRef("amt")));
- }
-
- window.close();
- }
- else
- {
- messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:1119px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:950; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|