12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088 |
- <?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="">
- <send>
- <send01>
- <acptno/>
- <judgdg/>
- <clamno/>
- </send01>
- <send02>
- </send02>
- </send>
- <main>
- <list001>
- <U0001>
- <clamno/>
- </U0001>
- <iuntcnt>
- <cnt/>
- </iuntcnt>
- </list001>
- <list002>
- <U0002>
- <judgdg/>
- </U0002>
- </list002>
- <list01>
- <pifmiuntlist>
- <acptno/>
- <clamno/>
- <judgdg/>
- <clamym/>
- <ordym/>
- <clamtypecd/>
- <ioflag/>
- <clamdeptcd/>
- <clamcnt/>
- <clmcstotamt/>
- <clownbamt/>
- <clclamamt/>
- <clownbmaxexamt/>
- <clsuppamt/>
- <clhandicaprfund/>
- <cldruglimitdiffamtsum/>
- <judgdecicnt/>
- <jrtotordamt01/>
- <jrownbamt01/>
- <jrjudgdeciamt01/>
- <jrownbmaxexamt01/>
- <jrsuppamt01/>
- <jrhandicaprfund01/>
- <jrdruglimitdiffamtsum01/>
- <rtncnt/>
- <jrtotordamt02/>
- <jrownbamt02/>
- <jrjudgdeciamt02/>
- <jrownbmaxexamt02/>
- <jrsuppamt02/>
- <jrhandicaprfund02/>
- <jrdruglimitdiffamtsum02/>
- <judgretecnt/>
- <jrtotordamt03/>
- <jrownbamt03/>
- <jrjudgdeciamt03/>
- <jrownbmaxexamt03/>
- <jrsuppamt03/>
- <jrhandicaprfund03/>
- <jrdruglimitdiffamtsum03/>
- <rucntsum/>
- <ruadjtamtsum/>
- <realcutamt/>
- <jrownaddbamtsum/>
- <rtnrestamt/>
- <uncoamt/>
- <iuflag>I</iuflag>
- </pifmiuntlist>
- <pifmidetlist>
- <list>
- <depodd/>
- <inddepoflag/>
- <bankcd/>
- <acntcd/>
- <depocnt/>
- <depoamt/>
- <depooutamt/>
- <depoinamt/>
- <notimm/>
- <remfact/>
- <acptno/>
- <judgdg/>
- <clamno/>
- <seq/>
- </list>
- </pifmidetlist>
- <pifhrtntlist>
- <list>
- <rtndd/>
- <rtnflag/>
- <rtnacptno/>
- <rtnclamno/>
- <rtnjudgdg/>
- <rtnseqno/>
- <ofidocno/>
- <ofidocarvdd/>
- <rtnamt/>
- <notimm/>
- <rem/>
- <acptno/>
- <clamno/>
- <judgdg/>
- <seqno/>
- <cpcd/>
- <depoprocinstmark/>
- </list>
- </pifhrtntlist>
- </list01>
- <list02>
- <pifmidetlist/>
- </list02>
- <list03>
- <pifhrtntlist/>
- </list03>
- <result/>
- <result2/>
- <result3/>
- </main>
- <init>
- <P0165list>
- <P0165>
- <cdid/>
- <cdnm/>
- </P0165>
- </P0165list>
- <P0266list>
- <P0266>
- <cdid/>
- <cdnm/>
- </P0266>
- </P0266list>
- <R0001list>
- <R0001>
- <cdid/>
- <cdnm/>
- </R0001>
- </R0001list>
- <P0302list>
- <P0302>
- <cdid/>
- <cdnm/>
- </P0302>
- </P0302list>
- <P0059list>
- <P0059>
- <cdid/>
- <cdnm/>
- </P0059>
- </P0059list>
- <P0384list>
- <P0384>
- <cdid/>
- <cdnm/>
- </P0384>
- </P0384list>
- <P0503list>
- <P0503>
- <cdid/>
- <cdnm/>
- </P0503>
- </P0503list>
- <P0322list>
- <P0322>
- <cdid/>
- <cdnm/>
- </P0322>
- </P0322list>
- <temp>
- <judgretecnt>
- <cnt/>
- </judgretecnt>
- </temp>
- <bankinfo>
- <bankinfolist>
- <cdid/>
- <cdnm/>
- </bankinfolist>
- </bankinfo>
- <list01>
- <pifmiuntlist>
- <acptno/>
- <clamno/>
- <judgdg/>
- <clamym/>
- <ordym/>
- <clamtypecd/>
- <ioflag/>
- <clamdeptcd/>
- <clamcnt/>
- <clmcstotamt/>
- <clownbamt/>
- <clclamamt/>
- <clownbmaxexamt/>
- <clsuppamt/>
- <clhandicaprfund/>
- <cldruglimitdiffamtsum/>
- <judgdecicnt/>
- <jrtotordamt01/>
- <jrownbamt01/>
- <jrjudgdeciamt01/>
- <jrownbmaxexamt01/>
- <jrsuppamt01/>
- <jrhandicaprfund01/>
- <jrdruglimitdiffamtsum01/>
- <rtncnt/>
- <jrtotordamt02/>
- <jrownbamt02/>
- <jrjudgdeciamt02/>
- <jrownbmaxexamt02/>
- <jrsuppamt02/>
- <jrhandicaprfund02/>
- <jrdruglimitdiffamtsum02/>
- <judgretecnt/>
- <jrtotordamt03/>
- <jrownbamt03/>
- <jrjudgdeciamt03/>
- <jrownbmaxexamt03/>
- <jrsuppamt03/>
- <jrhandicaprfund03/>
- <jrdruglimitdiffamtsum03/>
- <rucntsum/>
- <ruadjtamtsum/>
- <realcutamt/>
- <jrownaddbamtsum/>
- <rtnrestamt/>
- <uncoamt/>
- <iuflag>I</iuflag>
- </pifmiuntlist>
- </list01>
- </init>
- <hidden>
- <session/>
- </hidden>
- <temp>
- <fstjudgdg/>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
- <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
- <submission id="TRPIF30801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list001"/>
- <submission id="TRPIF30802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list002"/>
- <submission id="TRPIF30803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
- <submission id="TRPIF30804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/list01/pifmidetlist"/>
- <submission id="TRPIF30805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01/pifhrtntlist"/>
- <submission id="TXPIF30801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list01/pifmiuntlist" resultref="/root/main/result"/>
- <submission id="TXPIF30802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result2"/>
- <submission id="TXPIF30803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result3"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetUserInfosSampling(); //세션/root/hidden/session
-
- INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
-
- //기관별 은행및 은행계좌조회
- fBankSearch();
-
- var cnt = getNodesetCount("/root/init/bankinfo/bankinfolist");
- var bankcd;
- var bankacount;
-
- for( var i = 1; i <= cnt; i++){
- if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "10"){
- bankcd = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
- }
-
- if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "20"){
- bankacount = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
- }
- }
-
- BANKCD = bankcd;
- BANKACOUNT = bankacount;
-
- // 공통코드 Load작업
- CommCode_Load();
-
- finit();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- function finit() {
- model.resetInstanceNode("/root/main/list01/pifmiuntlist");
- model.makeValue("/root/main/list01/pifmiuntlist/iuflag", "I");
- model.removeNodeset("/root/main/list01/pifmidetlist/list");
- model.removeNodeset("/root/main/list01/pifhrtntlist/list");
-
- var iuflag = model.getValue("/root/main/list01/pifmiuntlist/iuflag");
- //입력,수정 상태에 따른 접수번호, 청구번호, 심사차수 disable
- if(iuflag == "I") {
- ipt_acptno.disabled = false;
- ipt_clamno.disabled = false;
- ipt_judgdg.disabled = false;
-
- btn_idetsave.disabled = true;
- btn_idetadd.disabled = true;
- btn_idetdel.disabled = true;
- btn_rtntadd.disabled = true;
- btn_rtntdel.disabled = true;
- btn_rtntsave.disabled = true;
- } else if(iuflag == "U") {
- ipt_acptno.disabled = true;
- ipt_clamno.disabled = true;
- ipt_judgdg.disabled = true;
-
- btn_idetsave.disabled = false;
- btn_idetadd.disabled = false;
- btn_idetdel.disabled = false;
- btn_rtntadd.disabled = false;
- btn_rtntdel.disabled = false;
- btn_rtntsave.disabled = false;
- }
-
- model.refresh();
- }
-
- function Node_Init() {
- // NodeSet 초기화
- model.resetInstanceNode("/root/main/list01");
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0059","P0165","P0266","R0001","P0302", "P0384", "P0503", "P0322")
- ,new Array( "/root/init/P0059list","/root/init/P0165list","/root/init/P0266list","/root/init/R0001list","/root/init/P0302list"
- ,"/root/init/P0384list", "/root/init/P0503list", "/root/init/P0322list"));
- }
-
-
- // 청구번호 조회
- function searchClamno() {
- model.resetInstanceNode("/root/main/list01/pifmiuntlist");
- model.makeValue("/root/main/list01/pifmiuntlist/iuflag", "I");
- model.resetInstanceNode("/root/main/list001/U0001");
- model.resetInstanceNode("/root/main/list002/U0002");
-
- model.setValue("/root/send/send01/clamno","");
- model.setValue("/root/send/send01/judgdg","");
- model.refresh();
-
- submit("TRPIF30801");
-
- if(cmb_clamno.length == 1) {
- cmb_clamno.value = model.getValue("/root/main/list001/U0001/clamno");
- submit("TRPIF30802");
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
- fsearch();
- } else {
- model.setFocus("cmb_judgdg");
- }
- } else {
- model.setFocus("cmb_clamno");
- }
- cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
- model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
- }
-
- function fafsavesch() {
- var acptno = ipt_acptno.value;
- var clamno = ipt_clamno.value;
- var judgdg = ipt_judgdg.value;
-
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list001/U0001");
- model.removenode("/root/main/list002/U0002");
-
- model.resetInstanceNode("/root/main/list001/U0001");
- model.resetInstanceNode("/root/main/list002/U0002");
-
- model.setValue("/root/send/send01/clamno","");
- model.setValue("/root/send/send01/judgdg","");
- //입력한 값으로 재조회
- ipt_schacptno.value = acptno;
- submit("TRPIF30801");
-
- cmb_clamno.value = clamno;
- submit("TRPIF30802");
-
- cmb_judgdg.value = judgdg;
- fsearch();
-
- model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
- }
-
-
- function fsearch() {
- if(ipt_schacptno.value == null || ipt_schacptno.value == "") {
- messageBox("접수번호를","C001");
- return false;
- } else if(cmb_clamno.value== "" || cmb_clamno.value== null) {
- messageBox("청구번호를","C002");
- return false;
- } else if(cmb_judgdg.value== "" || cmb_judgdg.value== null) {
- messageBox("심사차수를","C002");
- return false;
- } else {
- model.resetInstanceNode("/root/main/list01");
- model.resetInstanceNode("/root/main/list02");
- model.resetInstanceNode("/root/main/list03");
-
- model.refresh();
- if(submit("TRPIF30803")) {
- var ndCnt = getNodesetCount("/root/main/list01/pifmiuntlist/acptno");
- //미수내역이 존재하지 않으면 강제flag 입력
- if(ndCnt < 1) {
- copyNodesetType("/root/main/list01", "/root/init/list01", "after");
- }
- var iuflag = model.getValue("/root/main/list01/pifmiuntlist/iuflag");
-
- //입력,수정 상태에 따른 접수번호, 청구번호, 심사차수 disable
- if(iuflag == "I") {
- ipt_acptno.disabled = false;
- ipt_clamno.disabled = false;
- ipt_judgdg.disabled = false;
-
- btn_idetsave.disabled = true;
- btn_idetadd.disabled = true;
- btn_idetdel.disabled = true;
- btn_rtntadd.disabled = true;
- btn_rtntdel.disabled = true;
- btn_rtntsave.disabled = true;
- } else if(iuflag == "U") {
- ipt_acptno.disabled = true;
- ipt_clamno.disabled = true;
- ipt_judgdg.disabled = true;
-
- btn_idetsave.disabled = false;
- btn_idetadd.disabled = false;
- btn_idetdel.disabled = false;
- btn_rtntadd.disabled = false;
- btn_rtntdel.disabled = false;
- btn_rtntsave.disabled = false;
- }
- }
- }
- }
-
- // 입금내역의 입금구분 선택시 다음 셀로 포커스 이동
- function setGridPifhbsdpFocus(code) {
- if(code == "popup") {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- } else {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- }
-
- // 환수내역의 환수구분 선택시 다음 셀로 포커스 이동
- function setGridPifhrtnsFocus() {
- model.setFocus("body");
- model.setFocus("grd_pifhrtns");
- grd_pifhrtns.col = 7;
- grd_pifhrtns.dispatch("onentercell");
- grd_pifhrtns.editCell();
- }
-
- function fBankSearch(){
- submit("TRPIF30309");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">입금내역관리(장기이식)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:769px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption52" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
- <input id="ipt_schacptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" autonext="false" maxlength="8" style="left:103px; top:8px; width:110px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode != '13') {
- return false;
- }
- setInputNodeCurText();
- if(ipt_schacptno.value == "") {
- return false;
- } else {
- searchClamno();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:232px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
- <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_s_essential" navindex="4" appearance="minimal" style="left:322px; top:8px; width:100px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/list001/U0001">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 심사차수를 초기화한다.
- model.removenode("/root/main/list002/U0002");
- model.setValue("/root/send/send01/judgdg","");
- model.refresh();
-
- submit("TRPIF30802");
-
-
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
- fsearch();
- //model.setFocus("btn_srch");
- } else if(cmb_judgdg.length > 1) {
- model.setFocus("cmb_judgdg");
- } else {
- messageBox("해당하는 심사차수가","I004");
- return false;
- }
-
- cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
- model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
-
- ]]>
- </script>
- </select1>
- <caption id="cp_judgdg" class="search_name" style="left:442px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
- <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_s_essential" navindex="3" appearance="minimal" style="left:532px; top:8px; width:138px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/list002/U0002">
- <label ref="judgdg"/>
- <value ref="judgdg"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.resetInstanceNode("/root/main/list01");
- fsearch();
- ]]>
- </script>
- </select1>
- <line id="line18" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </button>
- <input id="ipt_acptnocnt" ref="/root/main/list001/iuntcnt/cnt" visibility="hidden" style="left:1075px; top:8px; width:20px; height:19px; "/>
- </group>
- <caption id="caption32" class="tit_2" style="left:5px; top:55px; width:111px; height:13px; ">미수내역</caption>
- <button id="button7" class="btn5_letter2" style="left:1106px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(ipt_clamno.value == "") {
- messageBox("청구번호를","C001");
- model.setFocus("ipt_clamno");
- return false;
- }
- if(ipt_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- if(ipt_clamym.value == "") {
- messageBox("청구년월을","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- if(ipt_ordym.value == "") {
- messageBox("진료연월을","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- // if(cmb_clamtypecd.value == "") {
- // messageBox("청구구분을","C001");
- // model.setFocus("ipt_judgdg");
- // return false;
- // }
- // if(cmb_ioflag.value == "") {
- // messageBox("내원유형을","C001");
- // model.setFocus("ipt_judgdg");
- // return false;
- // }
- // if(cmb_clamdeptcd.value == "") {
- // messageBox("진료분야를","C001");
- // model.setFocus("ipt_judgdg");
- // return false;
- // }
- if (submit("TXPIF30801")) {
- fafsavesch();
- }
-
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1051px; top:50px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- finit();
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수번호</caption>
- <caption id="caption49" class="cell_1" style="left:146px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
- <caption id="caption47" class="cell_1" style="left:302px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
- <caption id="caption27" class="cell_1" style="left:458px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
- <caption id="caption14" class="cell_1" style="left:604px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료연월</caption>
- <caption id="caption50" class="cell_1" style="left:750px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
- <caption id="caption29" class="cell_1" style="left:905px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
- <caption id="caption51" class="cell_1" style="left:1049px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
- <input id="ipt_acptno" ref="/root/main/list01/pifmiuntlist/acptno" class="input_default" appearance="output" style="left:63px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_clamno" ref="/root/main/list01/pifmiuntlist/clamno" class="input_default" appearance="output" style="left:209px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="ipt_judgdg" ref="/root/main/list01/pifmiuntlist/judgdg" class="input_default" appearance="output" style="left:365px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="ipt_clamym" ref="/root/main/list01/pifmiuntlist/clamym" inputtype="date" format="yyyy-mm" appearance="output" style="left:521px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_ordym" ref="/root/main/list01/pifmiuntlist/ordym" class="input_default" inputtype="date" format="yyyy-mm" appearance="output" style="left:667px; top:76px; width:80px; height:19px; text-align:center; "/>
- <select1 id="cmb_clamtypecd" ref="/root/main/list01/pifmiuntlist/clamtypecd" appearance="minimal" style="left:812px; top:76px; width:90px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0503list/P0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_ioflag" ref="/root/main/list01/pifmiuntlist/ioflag" appearance="minimal" style="left:967px; top:76px; width:80px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_clamdeptcd" ref="/root/main/list01/pifmiuntlist/clamdeptcd" appearance="minimal" style="left:1111px; top:76px; width:80px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0322list/P0322">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line10" class="line_3" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
- <caption id="caption3" class="tit_2" style="left:6px; top:103px; width:78px; height:13px; ">청구내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:117px; x2:288px; y2:117px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:196px; width:115px; height:23px; vertical-align:middle; ">청구액</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption56" class="cell_1" style="left:0px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption59" class="cell_1" style="left:0px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption62" class="cell_1" style="left:0px; top:296px; width:115px; height:23px; vertical-align:middle; ">청구약제상한차액</caption>
- <input id="input9" ref="/root/main/list01/pifmiuntlist/clamcnt" class="input_default" format="#,###" style="left:118px; top:123px; width:170px; height:19px; text-align:right; "/>
- <input id="input4" ref="/root/main/list01/pifmiuntlist/clmcstotamt" class="input_default" format="#,###" style="left:118px; top:147px; width:170px; height:19px; text-align:right; "/>
- <input id="input16" ref="/root/main/list01/pifmiuntlist/clownbamt" class="input_default" format="#,###" style="left:118px; top:172px; width:170px; height:19px; text-align:right; "/>
- <input id="input3" ref="/root/main/list01/pifmiuntlist/clclamamt" class="input_default" format="#,###" style="left:118px; top:198px; width:170px; height:19px; text-align:right; "/>
- <input id="input26" ref="/root/main/list01/pifmiuntlist/clownbmaxexamt" class="input_default" format="#,###" style="left:118px; top:223px; width:170px; height:19px; text-align:right; "/>
- <input id="input21" ref="/root/main/list01/pifmiuntlist/clsuppamt" class="input_default" format="#,###" style="left:118px; top:248px; width:170px; height:19px; text-align:right; "/>
- <input id="input41" ref="/root/main/list01/pifmiuntlist/clhandicaprfund" class="input_default" format="#,###" style="left:118px; top:273px; width:170px; height:19px; text-align:right; "/>
- <input id="input46" ref="/root/main/list01/pifmiuntlist/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:118px; top:298px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption39" class="tit_2" style="left:311px; top:102px; width:114px; height:13px; ">심결내역(F204)</caption>
- <line id="line1" class="line_1" style="x1:302px; y1:117px; x2:590px; y2:117px; "/>
- <caption id="caption13" class="cell_1" style="left:302px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption17" class="cell_1" style="left:302px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption25" class="cell_1" style="left:302px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption9" class="cell_1" style="left:302px; top:196px; width:115px; height:23px; vertical-align:middle; ">심결액</caption>
- <caption id="caption15" class="cell_1" style="left:302px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption55" class="cell_1" style="left:302px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption58" class="cell_1" style="left:302px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption63" class="cell_1" style="left:302px; top:296px; width:115px; height:23px; vertical-align:middle; ">심결약제상한차액</caption>
- <input id="ipt_judgdecicnt" ref="/root/main/list01/pifmiuntlist/judgdecicnt" class="input_default" format="#,###" style="left:420px; top:123px; width:170px; height:19px; text-align:right; "/>
- <input id="input17" ref="/root/main/list01/pifmiuntlist/jrtotordamt01" class="input_default" format="#,###" style="left:420px; top:148px; width:170px; height:19px; text-align:right; "/>
- <input id="input14" ref="/root/main/list01/pifmiuntlist/jrownbamt01" class="input_default" format="#,###" style="left:420px; top:173px; width:170px; height:19px; text-align:right; "/>
- <input id="input11" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:420px; top:198px; width:170px; height:19px; text-align:right; "/>
- <input id="input27" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt01" class="input_default" format="#,###" style="left:420px; top:223px; width:170px; height:19px; text-align:right; "/>
- <input id="input23" ref="/root/main/list01/pifmiuntlist/jrsuppamt01" class="input_default" format="#,###" style="left:420px; top:248px; width:170px; height:19px; text-align:right; "/>
- <input id="input42" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund01" class="input_default" format="#,###" style="left:420px; top:273px; width:170px; height:19px; text-align:right; "/>
- <input id="input47" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum01" class="input_default" format="#,###" style="left:420px; top:298px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption40" class="tit_2" style="left:611px; top:102px; width:131px; height:13px; ">반송내역</caption>
- <line id="line4" class="line_1" style="x1:603px; y1:117px; x2:891px; y2:117px; "/>
- <caption id="caption4" class="cell_1" style="left:603px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption18" class="cell_1" style="left:603px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption5" class="cell_1" style="left:603px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption20" class="cell_1" style="left:603px; top:196px; width:115px; height:23px; vertical-align:middle; ">반송액</caption>
- <caption id="caption10" class="cell_1" style="left:603px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption7" class="cell_1" style="left:603px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption61" class="cell_1" style="left:603px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption16" class="cell_1" style="left:603px; top:296px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input6" ref="/root/main/list01/pifmiuntlist/rtncnt" class="input_default" format="#,###" style="left:721px; top:123px; width:170px; height:19px; text-align:right; "/>
- <input id="input7" ref="/root/main/list01/pifmiuntlist/jrtotordamt02" class="input_default" format="#,###" style="left:721px; top:148px; width:170px; height:19px; text-align:right; "/>
- <input id="input5" ref="/root/main/list01/pifmiuntlist/jrownbamt02" class="input_default" format="#,###" style="left:721px; top:173px; width:170px; height:19px; text-align:right; "/>
- <input id="input1" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt02" class="input_default" format="#,###" style="left:721px; top:198px; width:170px; height:19px; text-align:right; "/>
- <input id="input28" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt02" class="input_default" format="#,###" style="left:721px; top:223px; width:170px; height:19px; text-align:right; "/>
- <input id="input36" ref="/root/main/list01/pifmiuntlist/jrsuppamt02" class="input_default" format="#,###" style="left:721px; top:248px; width:170px; height:19px; text-align:right; "/>
- <input id="input43" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund02" class="input_default" format="#,###" style="left:721px; top:273px; width:170px; height:19px; text-align:right; "/>
- <input id="input48" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum02" class="input_default" format="#,###" style="left:721px; top:298px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption41" class="tit_2" style="left:911px; top:102px; width:96px; height:13px; ">심사보류내역</caption>
- <line id="line6" class="line_1" style="x1:903px; y1:117px; x2:1191px; y2:117px; "/>
- <caption id="caption28" class="cell_1" style="left:903px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption31" class="cell_1" style="left:903px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption30" class="cell_1" style="left:903px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption23" class="cell_1" style="left:903px; top:196px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
- <caption id="caption24" class="cell_1" style="left:903px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption48" class="cell_1" style="left:903px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption60" class="cell_1" style="left:903px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption64" class="cell_1" style="left:903px; top:296px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input13" ref="/root/main/list01/pifmiuntlist/judgretecnt" class="input_default" format="#,###" style="left:1021px; top:123px; width:170px; height:19px; text-align:right; "/>
- <input id="input8" ref="/root/main/list01/pifmiuntlist/jrtotordamt03" class="input_default" format="#,###" style="left:1021px; top:148px; width:170px; height:19px; text-align:right; "/>
- <input id="input12" ref="/root/main/list01/pifmiuntlist/jrownbamt03" class="input_default" format="#,###" style="left:1021px; top:173px; width:170px; height:19px; text-align:right; "/>
- <input id="input10" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt03" class="input_default" format="#,###" style="left:1021px; top:198px; width:170px; height:19px; text-align:right; "/>
- <input id="input29" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt03" class="input_default" format="#,###" style="left:1021px; top:223px; width:170px; height:19px; text-align:right; "/>
- <input id="input37" ref="/root/main/list01/pifmiuntlist/jrsuppamt03" class="input_default" format="#,###" style="left:1021px; top:248px; width:170px; height:19px; text-align:right; "/>
- <input id="input45" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund03" class="input_default" format="#,###" style="left:1021px; top:273px; width:170px; height:19px; text-align:right; "/>
- <input id="input49" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum03" class="input_default" format="#,###" style="left:1021px; top:298px; width:170px; height:19px; text-align:right; "/>
- <line id="line13" class="line_3" style="x1:302px; y1:319px; x2:589px; y2:319px; "/>
- <line id="line19" class="line_3" style="x1:603px; y1:319px; x2:890px; y2:319px; "/>
- <line id="line20" class="line_3" style="x1:903px; y1:319px; x2:1190px; y2:319px; "/>
- <line id="line3" class="line_2" style="x1:1px; y1:194px; x2:290px; y2:194px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:219px; x2:290px; y2:219px; "/>
- <line id="line42" class="line_2" style="x1:0px; y1:244px; x2:290px; y2:244px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:319px; x2:290px; y2:319px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:169px; x2:289px; y2:169px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:144px; x2:290px; y2:144px; "/>
- <line id="line22" class="line_2" style="x1:302px; y1:144px; x2:589px; y2:144px; "/>
- <line id="line23" class="line_2" style="x1:302px; y1:169px; x2:589px; y2:169px; "/>
- <line id="line24" class="line_2" style="x1:302px; y1:194px; x2:589px; y2:194px; "/>
- <line id="line25" class="line_2" style="x1:302px; y1:219px; x2:589px; y2:219px; "/>
- <line id="line40" class="line_2" style="x1:302px; y1:244px; x2:589px; y2:244px; "/>
- <line id="line26" class="line_2" style="x1:603px; y1:219px; x2:890px; y2:219px; "/>
- <line id="line41" class="line_2" style="x1:603px; y1:244px; x2:890px; y2:244px; "/>
- <line id="line27" class="line_2" style="x1:603px; y1:194px; x2:890px; y2:194px; "/>
- <line id="line28" class="line_2" style="x1:603px; y1:169px; x2:890px; y2:169px; "/>
- <line id="line29" class="line_2" style="x1:603px; y1:144px; x2:890px; y2:144px; "/>
- <line id="line30" class="line_2" style="x1:903px; y1:144px; x2:1190px; y2:144px; "/>
- <line id="line31" class="line_2" style="x1:903px; y1:169px; x2:1190px; y2:169px; "/>
- <line id="line32" class="line_2" style="x1:903px; y1:194px; x2:1190px; y2:194px; "/>
- <line id="line33" class="line_2" style="x1:903px; y1:219px; x2:1190px; y2:219px; "/>
- <line id="line38" class="line_2" style="x1:903px; y1:244px; x2:1190px; y2:244px; "/>
- <line id="line9" class="line_2" style="x1:303px; y1:269px; x2:590px; y2:269px; "/>
- <line id="line43" class="line_2" style="x1:604px; y1:269px; x2:891px; y2:269px; "/>
- <line id="line44" class="line_2" style="x1:0px; y1:269px; x2:290px; y2:269px; "/>
- <line id="line45" class="line_2" style="x1:903px; y1:269px; x2:1190px; y2:269px; "/>
- <line id="line47" class="line_2" style="x1:303px; y1:294px; x2:590px; y2:294px; "/>
- <line id="line48" class="line_2" style="x1:604px; y1:294px; x2:891px; y2:294px; "/>
- <line id="line49" class="line_2" style="x1:0px; y1:294px; x2:290px; y2:294px; "/>
- <line id="line50" class="line_2" style="x1:903px; y1:294px; x2:1190px; y2:294px; "/>
- <line id="line11" class="line_1" style="x1:0px; y1:324px; x2:1194px; y2:324px; "/>
- <caption id="caption33" class="cell_1" style="left:0px; top:329px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
- <caption id="caption43" class="cell_1" style="left:197px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
- <caption id="caption38" class="cell_1" style="left:392px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
- <caption id="caption44" class="cell_1" style="left:587px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
- <caption id="caption45" class="cell_1" style="left:782px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
- <caption id="caption46" class="cell_1" style="left:975px; top:329px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
- <input id="ipt_rucntsum" ref="/root/main/list01/pifmiuntlist/rucntsum" class="input_default" style="left:98px; top:330px; width:91px; height:19px; text-align:center; "/>
- <input id="ipt_ruadjtamtsum" ref="/root/main/list01/pifmiuntlist/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:330px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_realcutamt" ref="/root/main/list01/pifmiuntlist/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:330px; width:96px; height:19px; text-align:right; "/>
- <input id="ipt_jrownaddbamtsum" ref="/root/main/list01/pifmiuntlist/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:330px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_rtnremainamt" ref="/root/main/list01/pifmiuntlist/rtnrestamt" class="input_default" format="#,###" style="left:878px; top:330px; width:91px; height:19px; text-align:right; "/>
- <input id="input34" ref="/root/main/list01/pifmiuntlist/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:330px; width:118px; height:19px; text-align:right; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:352px; x2:1194px; y2:352px; "/>
- <button id="btn_idetsave" class="btn5_letter2" style="left:1150px; top:361px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
- var rows = grd_pifhbsdp.rows;
- var ins_cnt = 0;
-
- if(ipt_schacptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_schacptno");
- return false;
- }
- if(cmb_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("cmb_judgdg");
- return false;
- }
-
- /*저장할 행을 선택하지 않았을 시*/
- if(row_cnt == "-1") {
- return false;
- }
- if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
- messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
- return false;
- }
-
- model.setValue("/root/main/list02/pifmidetlist", grd_pifhbsdp.getUpdateData());
- if (submit("TXPIF30802")) {
- model.resetInstanceNode("/root/main/list01/pifmidetlist");
- submit("TRPIF30804");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_idetadd" class="btn2_letter3" style="left:1040px; top:361px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_pifhbsdp.addRow();
- var row_cnt = grd_pifhbsdp.row;
-
- model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/judgdg",ipt_judgdg.value);
- model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/clamno",ipt_clamno.value);
- model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/acntcd", BANKACOUNT);
-
- grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 8) = 0;
- grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
- ]]>
- </script>
- </button>
- <button id="btn_idetdel" class="btn2_letter3" style="left:1095px; top:361px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- </button>
- <line id="line5" class="line_1" style="x1:0px; y1:381px; x2:1194px; y2:381px; "/>
- <caption id="caption8" class="tit_2" style="left:6px; top:367px; width:111px; height:13px; ">입금내역</caption>
- <datagrid id="grd_pifhbsdp" nodeset="/root/main/list01/pifmidetlist/list" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^외래입금액^입원입금액^재무통보월^비고^접수번호^심사차수^청구번호^일련번호" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 90, 86, 322, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:386px; width:1194px; height:171px; ">
- <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col autonext="true" disabled="true" ref="inddepoflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0266list/P0266">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntcd" type="input" style="text-align:center; "/>
- <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depooutamt" type="input" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="depoinamt" type="input" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
- <col ref="remfact" type="input"/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <col ref="seq" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:6px; top:572px; width:111px; height:13px; ">환수내역</caption>
- <button id="btn_rtntadd" class="btn2_letter3" style="left:1040px; top:565px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var depo_rows = grd_pifhbsdp.rows;
- grd_pifhrtns.addRow();
- var row_cnt = grd_pifhrtns.row;
-
- grd_pifhrtns.valueMatrix(row_cnt, 9) = 0;
- model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/judgdg",ipt_judgdg.value);
- model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/clamno",ipt_clamno.value);
- grd_pifhrtns.topRow = grd_pifhrtns.rows-1;
- ]]>
- </script>
- </button>
- <button id="btn_rtntdel" class="btn2_letter3" style="left:1095px; top:565px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhrtns.row;
-
- if(row_cnt == '-1' || row_cnt == '0') {
- return false;
- }
-
- if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
- return false;
- }
-
- if(grd_pifhrtns.rowStatus(row_cnt) == "1" || grd_pifhrtns.rowStatus(row_cnt) == "3") {
- grd_pifhrtns.deleteItem(row_cnt);
- return false;
- } else {
- grd_pifhrtns.rowStatus(row_cnt) = "4";
- }
- ]]>
- </script>
- </button>
- <button id="btn_rtntsave" class="btn5_letter2" style="left:1150px; top:565px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhrtns.rows;
- var row = grd_pifhrtns.row;
- if(row_cnt < 2) {
- return false;
- } else {
- for(var i = 1 ; i < row_cnt ; i++) {
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- return false;
- }
- if(ipt_judgdg.value == "") {
- messageBox("심사차수를","C001");
- return false;
- }
- /*
- if(grd_pifhrtns.valueMatrix(i,1) == "00000000") {
- messageBox("환수일자를","C001");
- return false;
- }
-
- if(grd_pifhrtns.valueMatrix(i,7) == "") {
- messageBox("환수금액을","C001");
- return false;
- }
-
- if(grd_pifhrtns.valueMatrix(i,9) == "") {
- messageBox("재무통보월을","C001");
- return false;
- }
-
- if ( (grd_pifhrtns.rowStatus(i) == "1" || grd_pifhrtns.rowStatus(i) == "3" )&& grd_pifhrtns.valueMatrix(i,9) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 이전월의 재무통보월은 저장 하실 수","I004"); // 없습니다.
- return false;
- }
-
-
- if(grd_pifhrtns.valueMatrix(row_cnt,8) == "") {
- messageBox("재무통보월을","C001");
- return false;
- }*/
-
- }
-
- model.setValue("/root/main/list03/pifhrtntlist", grd_pifhrtns.getUpdateData());
-
- if (submit("TXPIF30803")) {
- model.resetInstanceNode("/root/main/list01/pifhrtntlist/list");
- submit("TRPIF30805");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:0px; y1:586px; x2:1194px; y2:586px; "/>
- <datagrid id="grd_pifhrtns" nodeset="/root/main/list01/pifhrtntlist/list" caption="환수일자^환수구분^상계접수번호^상계청구번호^상계심사차수^rtnseqno^공문번호^공문도착일^환수금액^재무통보월^비고^접수번호^심사차수^청구번호^순번^시도코드^입금보장기관기호" colsep="^" colwidth="100, 94, 110, 100, 110, 100, 117, 100, 94, 98, 325, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:591px; width:1194px; height:170px; ">
- <col autonext="true" ref="rtndd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_pifhrtns.col;
- if( col == grd_pifhrtns.colRef("rtndd")) {
- if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, 1) != '') {
- model.setFocus("body");
- model.setFocus("grd_pifhrtns");
- // grd_pifhrtns.col = 2;
- // grd_pifhrtns.dispatch("onentercell");
- // grd_pifhrtns.editCell();
- }
- }
- ]]>
- </script>
- </col>
- <col ref="rtnflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0302list/P0302">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rtnacptno" style="text-align:center; "/>
- <col ref="rtnclamno" visibility="hidden" style="text-align:center; "/>
- <col ref="rtnjudgdg" style="text-align:center; "/>
- <col ref="rtnseqno" visibility="hidden"/>
- <col ref="ofidocno" type="input" style="text-align:center; "/>
- <col ref="ofidocarvdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnamt" type="input" format="(-)#,###" style="text-align:right; "/>
- <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
- <col ref="rem" type="input"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="cpcd" visibility="hidden"/>
- <col ref="depoprocinstmark" visibility="hidden"/>
- </datagrid>
- <button id="button1" class="btn5_letter2" style="left:1150px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(ipt_clamno.value == "") {
- messageBox("청구번호를","C001");
- model.setFocus("ipt_clamno");
- return false;
- }
- if(ipt_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- if(ipt_clamym.value == "") {
- messageBox("청구년월을","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- if(ipt_ordym.value == "") {
- messageBox("진료연월을","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }
- var msg = messageBox("삭제","S001");
-
- if (msg == 6) {
- model.setValue("/root/main/list01/pifmiuntlist/iuflag","D");
- if (submit("TXPIF30801")) {
- fafsavesch();
- }
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|