123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569 |
- <?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>
- <prntlist/>
- </list>
- <apln>
- <approval11/>
- <approval12/>
- <approval13/>
- <approval14/>
- <approval15/>
- <approval16/>
- <approval21/>
- <approval22/>
- <approval23/>
- <approval24/>
- <approval25/>
- <approval26/>
- <arbitrary1/>
- <arbitrary2/>
- <arbitrary3/>
- <arbitrary4/>
- <arbitrary5/>
- <arbitrary6/>
- <iudflag/>
- <instcd/>
- <deptcd/>
- <expansion/>
- </apln>
- </main>
- <send>
- <retrparam>
- <instcd/>
- <frdate/>
- <todate/>
- <prntkind>RPRAD01301</prntkind>
- <searchflag/>
- <aactcd/>
- <aactno/>
- <aactnm/>
- <temp/>
- <slipkind/>
- <deptcd/>
- <refundflag/>
- <aplnflag>1</aplnflag>
- <sanctnofrom/>
- <sanctnoto/>
- <paymethod/>
- <workflag>drawseqno</workflag>
- </retrparam>
- </send>
- <init>
- </init>
- <temp/>
- <hidden>
- <rptparams>
- <frdate/>
- <todate/>
- <approval21/>
- <approval22/>
- <approval23/>
- <approval24/>
- <approval25/>
- <approval26/>
- <arbitrary1/>
- <arbitrary2/>
- <arbitrary3/>
- <arbitrary4/>
- <arbitrary5/>
- <arbitrary6/>
- <expansion/>
- <usernm/>
- <sanctnofrom/>
- <sanctnoto/>
- </rptparams>
- <substitute/>
- <slipkind>
- <slipkind>
- <label>전체</label>
- <value/>
- </slipkind>
- <slipkind>
- <label>대체</label>
- <value>1</value>
- </slipkind>
- <slipkind>
- <label>지출</label>
- <value>3</value>
- </slipkind>
- <substitute>
- <label>전체</label>
- <value/>
- </substitute>
- <substitute>
- <label>대체</label>
- <value>1</value>
- </substitute>
- <substitute>
- <label>지출</label>
- <value>3</value>
- </substitute>
- <substitute>
- <label>지출대체</label>
- <value>4</value>
- </substitute>
- </slipkind>
- <sanctmaxno>
- </sanctmaxno>
- <sanctnolist/>
- </hidden>
- </root>
- </instance>
- <submission id="TRRAD01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/main/list"/>
- <submission id="TRRAD00151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/main/apln"/>
- <submission id="TRRAD01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/hidden/sanctmaxno"/>
- </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/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fResetForm();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fResetForm()
- {
- model.removeNodeset("/root/main/list/prntlist");
-
- // 기관코드 콤보박스 세팅
- misfComboComCdList("Z0007", cmb_instcd, "N");
-
- // 기관별 지출대체 예외처리
- var vNodeset = "";
- if(radfCheckInstMngt(getUserInfo("dutplceinstcd"), 'condition7') == "Y")
- {
- vNodeset = "/root/hidden/slipkind/substitute";
- rdo_slipkind.attribute("cellspacing") = 15;
- }
- else
- {
- vNodeset = "/root/hidden/slipkind/slipkind";
- rdo_slipkind.attribute("cellspacing") = 40;
- }
- // 전표유형 세팅
- rdo_slipkind.choices.itemset.attribute("nodeset") = vNodeset;
- rdo_slipkind.choices.itemset.label.attribute("ref") = "label";
- rdo_slipkind.choices.itemset.value.attribute("ref") = "value";
- rdo_slipkind.select(0);
-
-
- // 해당 근무 기관 세팅
- model.setValue("/root/send/retrparam/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/retrparam/deptcd", getUserInfo("dutplcecd"));
-
- // 현재일자 세팅
- makeReportPreview(0, 134, 1194, 636);
- model.setValue("/root/send/retrparam/frdate", getCurrentDate());
- model.setValue("/root/send/retrparam/todate", getCurrentDate());
-
- rdo_searchflag.value = 'apsl';
-
- rdo_searchflag.dispatch("xforms-value-changed");
-
- ipt_frdate.dispatch("xforms-value-changed");
- model.refresh();
- }
-
- function fSetSanctFromToNO()
- {
- model.setValue(cmb_sanctnofrom.attribute("ref"), "");
- model.setValue(cmb_sanctnoto.attribute("ref"), "");
-
- vNodeset = "/root/hidden/sanctnolist";
-
- model.removeNodeset(vNodeset);
-
-
- for(var i = 1 ; i <= parseInt(model.getValue("/root/hidden/sanctmaxno/maxnumber"), 10) ; i++)
- {
- model.makeValue(vNodeset + "[" + i + "]" + "/label", i.toString());
- model.makeValue(vNodeset + "[" + i + "]" + "/value", i.toString());
- }
-
-
- cmb_sanctnofrom.choices.itemset.attribute("nodeset") = vNodeset;
- cmb_sanctnofrom.choices.itemset.label.attribute("ref") = "label";
- cmb_sanctnofrom.choices.itemset.value.attribute("ref") = "value";
- cmb_sanctnoto.choices.itemset.attribute("nodeset") = vNodeset;
- cmb_sanctnoto.choices.itemset.label.attribute("ref") = "label";
- cmb_sanctnoto.choices.itemset.value.attribute("ref") = "value";
-
- if(!model.getValue("/root/hidden/sanctmaxno/maxnumber") == "")
- {
- model.setValue(cmb_sanctnofrom.attribute("ref"), "1");
- model.setValue(cmb_sanctnoto.attribute("ref"), model.getValue("/root/hidden/sanctmaxno/maxnumber").toString());
- }
-
- cmb_sanctnofrom.refresh();
- cmb_sanctnoto.refresh();
-
- }
-
- function fRetrieve()
- {
- submit("TRRAD01301");
- submit("TRRAD00151");
-
- var expansion = radfCheckInstMngt(getUserInfo("dutplceinstcd"), 'condition3');
-
- model.setValue("/root/hidden/rptparams/frdate", model.getValue("/root/send/retrparam/frdate"));
- model.setValue("/root/hidden/rptparams/todate", model.getValue("/root/send/retrparam/todate"));
- model.setValue("/root/hidden/rptparams/approval21", model.getValue("/root/main/apln/approval21"));
- model.setValue("/root/hidden/rptparams/approval22", model.getValue("/root/main/apln/approval22"));
- model.setValue("/root/hidden/rptparams/approval23", model.getValue("/root/main/apln/approval23"));
- model.setValue("/root/hidden/rptparams/approval24", model.getValue("/root/main/apln/approval24"));
- model.setValue("/root/hidden/rptparams/approval25", model.getValue("/root/main/apln/approval25"));
- model.setValue("/root/hidden/rptparams/approval26", model.getValue("/root/main/apln/approval26"));
- model.setValue("/root/hidden/rptparams/arbitrary1", model.getValue("/root/main/apln/arbitrary1"));
- model.setValue("/root/hidden/rptparams/arbitrary2", model.getValue("/root/main/apln/arbitrary2"));
- model.setValue("/root/hidden/rptparams/arbitrary3", model.getValue("/root/main/apln/arbitrary3"));
- model.setValue("/root/hidden/rptparams/arbitrary4", model.getValue("/root/main/apln/arbitrary4"));
- model.setValue("/root/hidden/rptparams/arbitrary5", model.getValue("/root/main/apln/arbitrary5"));
- model.setValue("/root/hidden/rptparams/arbitrary6", model.getValue("/root/main/apln/arbitrary6"));
-
- model.setValue("/root/hidden/rptparams/sanctnofrom", model.getValue("/root/send/retrparam/sanctnofrom"));
- model.setValue("/root/hidden/rptparams/sanctnoto", model.getValue("/root/send/retrparam/sanctnoto"));
-
- model.setValue("/root/hidden/rptparams/expansion", expansion);
- model.setValue("/root/hidden/rptparams/usernm", getUserInfo("usernm"));
- exeReportPreview(rdo_prntkind.value, "XMLSTR", "/root/hidden/rptparams");
- }
-
- // 출금차수 사용여부 체크 및 세팅
- function fSanctnoUseCheck()
- {
- if(rdo_searchflag.value == "apsl" && model.getValue("/root/send/retrparam/prntkind") == "RPRAD01303")
- {
- cmb_sanctnofrom.disabled = false;
- cmb_sanctnoto.disabled = false;
- submit("TRRAD01304");
- fSetSanctFromToNO();
-
- }
- else
- {
- model.setValue(cmb_sanctnofrom.attribute("ref"), "");
- model.setValue(cmb_sanctnoto.attribute("ref"), "");
- cmb_sanctnofrom.disabled = true;
- cmb_sanctnoto.disabled = true;
-
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" 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:293px; height:14px; ">출금명세</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:83px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:83px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="caption1" class="search_name" style="left:370px; top:9px; width:86px; height:17px; ">출 금 일 :</caption>
- <caption id="caption3" visibility="visible" style="left:567px; top:10px; width:15px; height:20px; ">~</caption>
- <line id="line30" class="line_4" style="x1:1109px; y1:3px; x2:1109px; y2:31px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/retrparam/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:110px; top:8px; width:235px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_frdate" ref="/root/send/retrparam/frdate" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:459px; top:8px; width:103px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- submit("TRRAD01304");
- fSetSanctFromToNO();
-
- ]]>
- </script>
- </input>
- <input id="ipt_todate" ref="/root/send/retrparam/todate" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:584px; top:8px; width:103px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRRAD01304");
- fSetSanctFromToNO();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:765px; top:9px; width:117px; height:17px; ">출금명세 종류 :</caption>
- <select1 id="rdo_prntkind" ref="/root/send/retrparam/prntkind" overflow="visible" appearance="full" cellspacing="8" cols="3" style="left:890px; top:9px; width:220px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>전표별</label>
- <value>RPRAD01301</value>
- </item>
- <item>
- <label>계좌별</label>
- <value>RPRAD01302</value>
- </item>
- <item>
- <label>출금구분별</label>
- <value>RPRAD01303</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/retrparam/prntkind") == "RPRAD01301")
- {
- cmb_paymethod.value = "";
- cmb_paymethod.disabled = true;
- ipt_aactcd.disabled = false;
- btn_aacthelp.disabled = false;
- ipt_aactno.disabled = false;
- }
- else if(model.getValue("/root/send/retrparam/prntkind") == "RPRAD01302")
- {
- cmb_paymethod.value = "";
- cmb_paymethod.disabled = true;
- ipt_aactno.value = "";
- ipt_aactcd.disabled = true;
- btn_aacthelp.disabled = true;
- ipt_aactno.disabled = true;
- }
- else if(model.getValue("/root/send/retrparam/prntkind") == "RPRAD01303")
- {
- cmb_paymethod.disabled = false;
- ipt_aactcd.value = "";
- ipt_aactno.value = "";
- ipt_aactcd.disabled = true;
- btn_aacthelp.disabled = true;
- ipt_aactno.disabled = true;
- }
-
- fSanctnoUseCheck();
- fRetrieve();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_searchflag" ref="/root/send/retrparam/searchflag" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:890px; top:34px; width:215px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>tot</value>
- </item>
- <item>
- <label>승인</label>
- <value>apsl</value>
- </item>
- <item>
- <label>승인요청</label>
- <value>unsl</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSanctnoUseCheck();
- fRetrieve();
-
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:765px; top:34px; width:117px; height:17px; text-align:center; ">승인 여부 :</caption>
- <input id="ipt_aactno" ref="/root/send/retrparam/aactno" class="input_s_essential" navindex="6" style="left:584px; top:33px; width:161px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- misfValidationCheck("15", "", "aactcd,aactno,aactnm", "ipt_temp", "acntcd");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_aactcd" ref="/root/send/retrparam/aactcd" class="input_s_essential" navindex="6" maxlength="3" style="left:459px; top:33px; width:103px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // pvali_kind, pcdgrupid, precv_list, pValueControl, pNodeNames, pRetrKind, pInstcd
- misfValidationCheck("15", "", "aactcd,aactno,aactnm", "ipt_temp", "acntcd");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:370px; top:35px; width:86px; height:17px; ">계좌번호 :</caption>
- <button id="btn_aacthelp" class="icon_search" style="left:564px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // phelp_kind, pcontrol_name, pcdgrupid, precv_list, pdefault_value, pNodeName,precvnm_list
- misfOpenPopUpList("15", ipt_aactcd, "", "aactcd,aactno,aactnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_temp" ref="/root/send/retrparam/temp" class="input_s_essential" navindex="6" visibility="hidden" maxlength="3" style="left:1140px; top:35px; width:20px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // pvali_kind, pcdgrupid, precv_list, pValueControl, pNodeNames, pRetrKind, pInstcd
- misfValidationCheck("15", "", "aactcd,aactno,aactnm", "ipt_temp", "acntcd");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <select1 id="rdo_slipkind" ref="/root/send/retrparam/slipkind" overflow="visible" appearance="full" cellspacing="5" cols="4" style="left:110px; top:35px; width:250px; height:14px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:16px; top:35px; width:117px; height:17px; text-align:left; ">이체계좌 :</caption>
- <select1 id="rdo_refundflag" ref="/root/send/retrparam/refundflag" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:890px; top:59px; width:215px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>일반</label>
- <value>payment</value>
- </item>
- <item>
- <label>반제</label>
- <value>refund</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_searchflag.value == "apsl")
- {
- cmb_sanctnofrom.disabled = false;
- cmb_sanctnoto.disabled = false;
- submit("TRRAD01304");
- fSetSanctFromToNO();
- }
- fRetrieve();
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="search_name" style="left:765px; top:59px; width:117px; height:17px; text-align:center; ">전표 구분 :</caption>
- <caption id="cap_sanctno" class="search_name" style="left:370px; top:60px; width:86px; height:17px; ">출금차수 :</caption>
- <caption id="caption13" visibility="visible" style="left:567px; top:60px; width:15px; height:20px; ">~</caption>
- <select1 id="cmb_paymethod" ref="/root/send/retrparam/paymethod" class="combo_search" disabled="true" navindex="1" appearance="minimal" showvalue="true" style="left:110px; top:58px; width:160px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>은행송금</label>
- <value>bank</value>
- </item>
- <item>
- <label>현금</label>
- <value>cash</value>
- </item>
- <item>
- <label>지로</label>
- <value>giro</value>
- </item>
- <item>
- <label>자동이체</label>
- <value>autotransfer</value>
- </item>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:16px; top:60px; width:117px; height:17px; text-align:left; ">출금구분 :</caption>
- <select1 id="cmb_sanctnofrom" ref="/root/send/retrparam/sanctnofrom" class="combo_search" disabled="true" navindex="1" appearance="minimal" showvalue="false" style="left:459px; top:58px; width:103px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_sanctnoto" ref="/root/send/retrparam/sanctnoto" class="combo_search" disabled="true" navindex="1" appearance="minimal" showvalue="false" style="left:584px; top:58px; width:103px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:114px; x2:1195px; y2:114px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:99px; width:131px; height:13px; ">내역</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <output id="output1" style="left:75px; top:3px; width:805px; height:19px; font-size:10pt; font-weight:bold; color:#0000ff; vertical-align:middle; ">괄호안의 계좌관리번호는 승인요청 상태를 나타냅니다. ex) (A01)</output>
- </group>
- </xhtml:body>
- </xhtml:html>
|