123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?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>
- <grnt>
- <grntlist2>
- <gubun/>
- <pumno/>
- <sekeumdate/>
- <acntpum/>
- <custnm/>
- <rmrk/>
- <amt/>
- <jiamt/>
- <ymdgive/>
- <miamt/>
- <sendymd/>
- <mijigeubno/>
- <jigeubno/>
- </grntlist2>
- </grnt>
- </main>
- <send>
- <paydedu>
- <instcd/>
- <fromdd/>
- <todd/>
- <fromacnt/>
- <toacnt/>
- <fromacntnm/>
- <toacntnm/>
- <fromcustcode/>
- <tocustcode/>
- <fromcustnm/>
- <tocustnm/>
- <kyno/>
- <totamt/>
- <totamt2/>
- <totamt3/>
- <totcnt/>
- <acntcd/>
- <acntnm/>
- <slipyn/>
- <pumno/>
- </paydedu>
- <save>
- <grntlist1/>
- </save>
- </send>
- <custinfo>
- <custlist>
- <aactno/>
- <bankcd/>
- <depor/>
- <custnm/>
- </custlist>
- </custinfo>
- <acntinfo>
- <acntlist>
- <acntnm/>
- </acntlist>
- </acntinfo>
- <hidden>
- <item>
- <pumno/>
- </item>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- initialize();
- ]]>
- </script>
- <submission id="TRRAD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/custinfo"/>
- <submission id="TRRAD02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/acntinfo"/>
- <submission id="TRRAD02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/grnt"/>
- <submission id="TXRAD02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- </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/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fOpenPopupDeptHelp(pControl, pInstance)
- {
- misfOpenPopUpList("02", pControl, "", pInstance);
- model.refresh();
- }
- function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
- {
- misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
- model.refresh();
- }
- function initialize(){
- misfGridInit(grd_grntpsn1);
- misfMsterDetailSet(grd_grntpsn1,null, "TRRAD02502" ,"Y");
-
- var curdate = getCurrentDate();
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- var deptcd = getUserInfo("dutplcecd");
- var deptnm = getUserInfo("dutplcenm");
- //model.setValue("/root/send/paydedu/fromdd", curdate);
- //model.setValue("/root/send/paydedu/todd", getCurrentDate().toDate().getAddDate(+1,"D").getDateFormat("YYYYMMDD"));
- //var emplno = getUserInfo("userid");
- //var emplnm = getUserInfo("usernm");
- model.setValue("/root/send/paydedu/slipyn", "Y");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- //misfComboComCdListMulti("R0001","grd_grntpsn1.bankcode");
- //btn_search.dispatch("DOMActivate");
- model.refresh();
- }
- function Popup(){
- var ymd = model.getValue("/root/main/grnt/grntlist1/junpyodate");
- var mdeptcd = model.getValue("/root/main/grnt/grntlist1/makedeptcd");
- var ydeptcd = model.getValue("/root/main/grnt/grntlist1/yogudeptcd");
- if (ymd != "" && mdeptcd != "" && ydeptcd != ""){
- model.setValue("/root/popdata/junpyodate", ymd);
- model.setValue("/root/popdata/makedeptcd", mdeptcd);
- model.setValue("/root/popdata/yogudeptcd", ydeptcd);
- model.setValue("/root/popdata/pumgubun", "3");
- modal("SPRAD00400", "", "", "", "SPRAD00400","/root/popdata","/root/popdata");
- }
- }
- function Maxseq(){
- var flag = model.getValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flag");
- if (flag == "Y"){
- var ymd = model.getValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/ymdwrite");
- var maxseq = 0;
- var maxseq1 = 0;
- var maxseq2 = 0;
- var ymd1 = "";
- /*
- for (var i = 1; i < grd_grntpsn1.rows; i++){
- ymd1 = model.getValue("/root/main/grnt/grntlist2[" + i + "]/ymdwrite");
- if (ymd == ymd1){
- maxseq1 = model.getValue("/root/main/grnt/grntlist2[" + i + "]/maxseq");
- if (isNaN(maxseq1)){
- maxseq1 = 0;
- }
- if (parseInt(maxseq1) > parseInt(maxseq)){
- maxseq = maxseq1;
- }
- }
- }
- if (maxseq == 0){
- maxseq = 1;
- }
- */
- for (var i = 1; i < grd_grntpsn1.rows; i++){
- ymd1 = model.getValue("/root/main/grnt/grntlist2[" + i + "]/ymdwrite");
- //if (ymd == ymd1){
- maxseq1 = model.getValue("/root/main/grnt/grntlist2[" + i + "]/gipyoseq");
- if (isNaN(maxseq1)){
- maxseq1 = 0;
- }
- if (parseInt(maxseq1) > parseInt(maxseq)){
- maxseq = maxseq1;
- }
- //}
- }
- maxseq = parseInt(maxseq) + 1;
- model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/gipyoseq", maxseq);
- grd_grntpsn1.rowStatus(grd_grntpsn1.row) = 2;
- }else{
- model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/gipyoseq", "");
- if (model.getValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/seqwrite") == ""){
- grd_grntpsn1.rowStatus(grd_grntpsn1.row) = 0;
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <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:38; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1128px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- var totamt = 0;
- var totamt2 = 0;
- var totamt3 = 0;
- var totcnt = 0;
- var amt = 0;
- var amt2 = 0;
- var amt3 = 0;
- for (var i = 1; i < grd_grntpsn1.rows; i++){
- amt = model.getValue("/root/main/grnt/grntlist2[" + i +"]/amt");
- amt2 = model.getValue("/root/main/grnt/grntlist2[" + i +"]/jiamt");
- amt3 = model.getValue("/root/main/grnt/grntlist2[" + i +"]/miamt");
- if (isNaN(amt) || amt == ""){
- amt = 0;
- }
- if (isNaN(amt2) || amt2 == ""){
- amt2 = 0;
- }
- if (isNaN(amt3) || amt3 == ""){
- amt3 = 0;
- }
- totamt = parseFloat(totamt) + parseFloat(amt);
- totamt2 = parseFloat(totamt2) + parseFloat(amt2);
- totamt3 = parseFloat(totamt3) + parseFloat(amt3);
- //totcnt = parseFloat(totcnt) + 1;
- }
- model.setValue("/root/send/paydedu/totamt", totamt);
- model.setValue("/root/send/paydedu/totamt2", totamt2);
- model.setValue("/root/send/paydedu/totamt3", totamt3);
- //model.setValue("/root/send/paydedu/totcnt", totcnt);
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" visibility="hidden" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1192px; y2:96px; "/>
- <select1 id="cmb_instcd" ref="/root/send/paydedu/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:78px; top:17px; width:115px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:12px; top:18px; width:61px; height:17px; ">기관 :</caption>
- <datagrid id="grd_grntpsn1" nodeset="/root/main/grnt/grntlist2" caption="구분^품의번호^세금계산서^계정^지급처^내역^금액^지금금액^지급일^미지급금액^발송/합의^미지급전표번호^지급전표번호" colsep="^" colwidth="55, 113, 91, 76, 126, 252, 100, 100, 100, 100, 100, 110, 123" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:102px; width:1192px; height:640px; ">
- <col disabled="true" ref="gubun" style="text-align:center; "/>
- <col ref="pumno"/>
- <col ref="sekeumdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="acntpum"/>
- <col ref="custnm"/>
- <col ref="rmrk"/>
- <col ref="amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="jiamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ymdgive" style="text-align:center; "/>
- <col ref="miamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="sendymd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mijigeubno"/>
- <col ref="jigeubno"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flag"){
- Maxseq();
- }
- model.refresh();
- /*
- if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flagwrite" && model.getValue("/root/send/paydedu/newgb") == "I") {
- var flagwrite = model.getValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagwrite");
- if (flagwrite == "Y"){
- var seq = model.getValue("/root/send/paydedu/flagseq");
- if (isNaN(seq) || seq == null || seq == ""){
- seq = 0;
- }
- seq = parseInt(seq) + 1;
- model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagseq", seq);
- model.setValue("/root/send/paydedu/flagseq", seq);
- }else{
- model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagseq", "");
- model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/ymdgive", "");
- }
- model.refresh();
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_grntpsn1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_unsldd" ref="/root/send/paydedu/fromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:935px; top:20px; width:115px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //btn_search.dispatch("DOMActivate");
- /*
- for (var i = 1; i < grd_grntpsn1.rows;i++){
- model.setValue("/root/main/grnt/grntlist2[" + i + "]/junpyodate", model.getValue("/root/main/grnt/grntlist1/junpyodate"));
- }
- model.refresh();
- */
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:825px; top:30px; width:102px; height:17px; ">세금계산서 :</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:131px; height:14px; ">대금지급현황</caption>
- <input id="input1" ref="/root/send/paydedu/todd" class="input_s_essential" navindex="1" inputtype="date" style="left:935px; top:45px; width:115px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //button3.dispatch("DOMActivate");
- /*
- for (var i = 1; i < grd_grntpsn1.rows;i++){
- model.setValue("/root/main/grnt/grntlist2[" + i + "]/junpyodate", model.getValue("/root/main/grnt/grntlist1/junpyodate"));
- }
- model.refresh();
- */
- ]]>
- </script>
- </input>
- <caption id="caption4" style="left:675px; top:75px; width:45px; height:20px; font-weight:bold; ">총금액</caption>
- <input id="input2" ref="/root/send/paydedu/totamt" editable="false" format="(-)#,###" style="left:731px; top:76px; width:100px; height:19px; font-weight:bold; text-align:right; "/>
- <caption id="caption3" class="search_name" style="left:215px; top:30px; width:92px; height:17px; ">계정과목 :</caption>
- <button id="btn_acntcd" class="icon_search" navindex="-1" style="left:375px; top:22px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/projectidlist");
- fOpenPopupHelp("05", input4, "acntcd,acntnm", "", "ipt_slipyn,cmb_instcd", "slipyn,instcd");
- model.setValue("/root/send/paydedu/fromacnt", model.getValue("/root/send/paydedu/acntcd"));
- model.setValue("/root/send/paydedu/fromacntnm", model.getValue("/root/send/paydedu/acntnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/send/paydedu/fromacnt" style="left:305px; top:20px; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/paydedu/acntcd", model.getValue("/root/send/paydedu/fromacnt"));
- submit("TRRAD02501");
- model.setValue("/root/send/paydedu/fromacntnm", model.getValue("/root/acntinfo/acntlist/acntnm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/send/paydedu/fromacntnm" disabled="true" style="left:395px; top:20px; width:110px; height:19px; "/>
- <input id="input6" ref="/root/send/paydedu/toacnt" style="left:305px; top:45px; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/paydedu/acntcd", model.getValue("/root/send/paydedu/toacnt"));
- submit("TRRAD02501");
- model.setValue("/root/send/paydedu/toacntnm", model.getValue("/root/acntinfo/acntlist/acntnm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input7" ref="/root/send/paydedu/toacntnm" disabled="true" style="left:395px; top:45px; width:110px; height:19px; "/>
- <button id="button1" class="icon_search" navindex="-1" style="left:375px; top:47px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/projectidlist");
- fOpenPopupHelp("05", input6, "acntcd,acntnm", "", "ipt_slipyn,cmb_instcd", "slipyn,instcd");
- model.setValue("/root/send/paydedu/toacnt", model.getValue("/root/send/paydedu/acntcd"));
- model.setValue("/root/send/paydedu/toacntnm", model.getValue("/root/send/paydedu/acntnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:515px; top:30px; width:77px; height:17px; ">거래처 :</caption>
- <input id="ipt_custnm" ref="/root/send/paydedu/fromcustnm" class="input_essential" disabled="true" imemode="hangul" style="left:675px; top:20px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var custflag = model.getValue("/root/main/unsl_one/custflag");
-
- switch (custflag) {
- case "1": //거래처
- fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
- model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
- break;
- // case "2": //은행
- // fValidationCheck("03", "custcd,custnm", "R0001", "");
- // break;
- case "3": //부서
- fValidationCheck("02", "custcd,custnm", "", "");
- break;
- case "4": //교직원
- // fValidationCheck("01-2", "custcd,custnm", "", "");
- model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
- ipt_emplnm.dispatch("xforms-value-changed");
- break;
- case "5": //개인
- fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
- break;
- default :
- return;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_amt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_custcd" ref="/root/send/paydedu/fromcustcode" class="input_essential" navindex="-1" style="left:595px; top:20px; width:56px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/paydedu/fromcustcode") != ""){
- if (submit("TRRAD01502")){
- model.setValue("/root/send/paydedu/fromcustnm", model.getValue("/root/custinfo/custlist/custnm"));
- model.refresh();
- }
- }else{
- model.setValue("/root/send/paydedu/fromcustnm", "");
- }
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_custcd" class="icon_search" navindex="-1" style="left:655px; top:22px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("14", ipt_custcd, "fromcustcode,fromcustnm", "", "");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/paydedu/tocustnm" class="input_essential" disabled="true" imemode="hangul" style="left:675px; top:45px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var custflag = model.getValue("/root/main/unsl_one/custflag");
-
- switch (custflag) {
- case "1": //거래처
- fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
- model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
- break;
- // case "2": //은행
- // fValidationCheck("03", "custcd,custnm", "R0001", "");
- // break;
- case "3": //부서
- fValidationCheck("02", "custcd,custnm", "", "");
- break;
- case "4": //교직원
- // fValidationCheck("01-2", "custcd,custnm", "", "");
- model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
- ipt_emplnm.dispatch("xforms-value-changed");
- break;
- case "5": //개인
- fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
- break;
- default :
- return;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_amt");
- }
- ]]>
- </script>
- </input>
- <input id="input9" ref="/root/send/paydedu/tocustcode" class="input_essential" navindex="-1" style="left:595px; top:45px; width:56px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/paydedu/tocustcode") != ""){
- if (submit("TRRAD01502")){
- model.setValue("/root/send/paydedu/tocustnm", model.getValue("/root/custinfo/custlist/custnm"));
- model.refresh();
- }
- }else{
- model.setValue("/root/send/paydedu/tocustnm", "");
- }
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" navindex="-1" style="left:655px; top:47px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("14", input9, "tocustcode,tocustnm", "", "");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_slipyn" ref="/root/send/paydedu/slipyn" navindex="-1" visibility="hidden" style="left:1055px; top:45px; width:35px; height:19px; "/>
- <input id="input3" ref="/root/send/paydedu/totamt2" editable="false" format="(-)#,###" style="left:831px; top:76px; width:100px; height:19px; font-weight:bold; text-align:right; "/>
- <input id="input10" ref="/root/send/paydedu/totamt3" editable="false" format="(-)#,###" style="left:1031px; top:76px; width:100px; height:19px; font-weight:bold; text-align:right; "/>
- <button id="btn_savegrntpsn1excel" class="btn2_letter4" style="left:1127px; top:76px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_grntpsn1.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:12px; top:45px; width:92px; height:17px; ">품의번호 :</caption>
- <input id="input11" ref="/root/send/paydedu/pumno" style="left:100px; top:45px; width:105px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button36" class="btn4_letter2" visibility="hidden" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- for (var i = 1; i < grd_grntpsn1.rows; i++){
- if (model.getValue("/root/main/grnt/grntlist2[" + i + "]/flagseq") == ""){
- messageBox(i + "번째 지출번호는 필수 입력항목입니다.", "E999", "");
- return;
- }
- }
- */
- if (misfSave("TXRAD02401")){
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </button>
- <button id="button35" class="btn4_letter3" visibility="hidden" style="left:1069px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/grnt/grntlist1");
- group3.disabled = false;
- grd_grntpsn1.disabled = false;
- ipt_unsldd.disabled = false;
- ipt_costcntrdeptcd.disabled = false;
- combo1.disabled = false;
- input4.disabled = false;
- input14.disabled = true;
- input15.disabled = true;
- input10.disabled = true;
- model.setValue("/root/send/paydedu/pumno1", "");
- model.setValue("/root/send/paydedu/pumno2", "");
- initialize();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button3" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- exeReportPreview("RPRAD02500", "XMLSTR");
-
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|