1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPAE00100" position="absolute 0 0 1195 780" titletext="일일마감" onload="SMPAE00100_onload">
- <Layouts>
- <Layout>
- <Div id="Div00" taborder="16" position="absolute 0 25 1195 59" class="div_SA2" anchor="left top right"/>
- <Static id="caption6" class="tit_1" position="absolute 0 0 90 24" style="" text="일일마감"/>
- <Button id="btn_search" class="btn1" taborder="15" position="absolute 1130 30 1190 54" text="조회" onclick="btn_search_onclick" anchor="top right"/>
- <Static id="caption35" class="search_name" position="absolute 5 30 79 54" style="" text="조회일자 :"/>
- <Calendar id="ipt_enddd" taborder="6" position="absolute 85 30 175 54" style="" anchor="default" onkillfocus="ipt_enddd_onkillfocus" dateformat="yyyy-MM-dd" value="null" onchanged="ipt_enddd_onchanged" autoselect="true" autoskip="true"/>
- <Static id="caption63" class="search_name" position="absolute 215 30 294 54" style="" text="수납자 ID :"/>
- <Edit id="ipt_endid" position="absolute 300 30 379 54" style="" anchor="default" onkeyup="ipt_endid_onkeyup"/>
- <Combo innerdataset="ds_init_user" datacolumn="endnm" codecolumn="endid" columncount="-1" rowcount="-1" id="cmb_pamid" enable="False" taborder="9" position="absolute 385 30 475 54" style="" onitemchanged="cmb_pamid_onitemchanged"/>
- <Button id="btn_kiosk" class="btn3" position="absolute 485 30 589 54" style="" text="무인수납내역" onclick="btn_kiosk_onclick"/>
- <Tab id="switch1" position="absolute 0 60 1195 558" style="" anchor="all" tabindex="0">
- <Tabpages>
- <Tabpage id="case1" selected="true" position="absolute 0 0 1195 493" style="anchor:default;margin:0 0 0 0;" anchor="default" text="수납자별 수납내역">
- <Layouts>
- <Layout>
- <Grid id="grd_endlist" binddataset="ds_main_magm" position="absolute 0 30 590 474" style="" oncelldblclick="switch1_case1_grd_endlist_oncelldblclick" onexpanddown="switch1_case1_grd_endlist_onexpanddown" anchor="all" autofittype="col,allrow" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="업무코드"/>
- <Cell col="1" text="업무구분"/>
- <Cell col="2" text="건수"/>
- <Cell col="3" text="오류"/>
- <Cell col="4" text="현금금액"/>
- <Cell col="5" text="카드금액"/>
- <Cell col="6" text="온라인금액"/>
- <Cell col="7" text="미수금액"/>
- <Cell col="8" text="endid"/>
- <Cell col="9" text="합계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:worktype"/>
- <Cell col="1" displaytype="text" style="padding:0 0 0 5;" text="bind:worktypenm" expandshow="show"/>
- <Cell col="2" displaytype="number" style="padding:0 5 0 5;" text="bind:execnt" mask="#,##0"/>
- <Cell col="3" displaytype="number" style="padding:0 5 0 5;" text="bind:errcnt" mask="#,##0"/>
- <Cell col="4" displaytype="number" style="padding:0 5 0 5;" text="bind:cashamt" mask="#,##0"/>
- <Cell col="5" displaytype="number" style="padding:0 5 0 5;" text="bind:cardamt" mask="#,##0"/>
- <Cell col="6" displaytype="number" style="padding:0 5 0 5;" text="bind:onlineamt" mask="#,##0"/>
- <Cell col="7" displaytype="number" style="padding:0 5 0 5;" text="bind:uncoamt" mask="#,##0"/>
- <Cell col="8" style="padding:0 5 0 5;" text="bind:rcptrid"/>
- <Cell col="9" displaytype="number" style="padding:0 5 0 5;" text="bind:totamt" mask="#,##0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption77" class="tit_2" position="absolute 0 10 75 29" style="" text="마감내역"/>
- <Static id="caption4" class="search_name" position="absolute 355 10 429 29" style="" text="수납위치 :" anchor="top right"/>
- <Combo columncount="" rowcount="" id="cmb_rcptpos" position="absolute 430 5 529 29" style="" innerdataset="ds_init_P0128list_P0128" codecolumn="cdid" datacolumn="cdnm" anchor="top right"/>
- <Button id="button3" class="btn4" position="absolute 530 5 590 29" text="마감" onclick="switch1_case1_button3_onclick" anchor="top right"/>
- <Button id="btn_acptaprv1" taborder="1" text="결재" onclick="switch1_case1_btn_acptaprv1_onclick" class="btn4" position="absolute 715 100 774 125" anchor="top right"/>
- <Button id="btn_acptcncl1" taborder="2" text="취소" onclick="switch1_case1_btn_acptcncl1_onclick" class="btn4" position="absolute 775 100 834 125" anchor="top right"/>
- <TextArea id="ta_acptaprv1" taborder="3" position="absolute 715 55 834 99" style="align:center middle;" wordwrap="word" readonly="true" anchor="top right"/>
- <Div id="cap_aprv1nm" taborder="4" style="background:#ecf7fcff;border:1 solid #b0b0b0ff #b0b0b0ff;align:center middle;" text="수납자" position="absolute 715 30 834 54" anchor="top right"/>
- <TextArea id="tar_remark" taborder="5" scrollbars="autovert" wordwrap="char" position="absolute 595 55 714 125" anchor="top right"/>
- <Static id="caption34" text="비고" class="cell_1" position="absolute 595 30 714 54" style="align:center ;border:1 solid #B0B0B0 #B0B0B0;" anchor="top right"/>
- <TextArea id="ta_acptaprv2" taborder="6" position="absolute 835 55 954 125" style="align:center middle;" readonly="true" anchor="top right"/>
- <Div id="cap_aprv2nm" taborder="7" style="background:#ecf7fcff;border:1 solid #b0b0b0ff #b0b0b0ff;align:center middle;" text="담당자" position="absolute 835 30 954 54" anchor="top right"/>
- <TextArea id="ta_acptaprv3" taborder="8" enable="true" position="absolute 955 55 1074 125" style="align:center middle;" readonly="true" anchor="top right"/>
- <Static id="cap_aprv3nm" position="absolute 955 30 1074 54" style="background:#ecf7fcff;border:1 solid #b0b0b0ff #b0b0b0ff;align:center;" anchor="top right"/>
- <TextArea id="ta_acptaprv4" taborder="9" enable="true" position="absolute 1075 55 1195 125" style="align:center middle;" readonly="true" anchor="top right"/>
- <Static id="cap_aprv4nm" position="absolute 1075 30 1195 54" style="background:#ecf7fcff;border:1 solid #b0b0b0ff #b0b0b0ff;align:center;" anchor="top right"/>
- <Static id="caption2" text="승인내역" class="tit_2" position="absolute 595 10 674 29" anchor="top right"/>
- <Grid id="grd_errinfo" taborder="10" binddataset="ds_main_erinfo" position="absolute 595 160 1195 474" anchor="top right bottom" autosizebandtype="allband" autosizingtype="col" selecttype="multiarea" onkeyup="switch1_case1_grd_errinfo_onkeyup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="600"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell style="padding:0 5 0 5;" text="업무구분"/>
- <Cell col="1" style="padding:0 5 0 5;" text="등록번호"/>
- <Cell col="2" style="padding:0 5 0 5;" text="환자명"/>
- <Cell col="3" style="padding:0 5 0 5;" text="진료일자"/>
- <Cell col="4" style="padding:0 5 0 5;" text="수납일자"/>
- <Cell col="5" style="padding:0 5 0 5;" text="오류코드"/>
- <Cell col="6" style="padding:0 5 0 5;" text="오류메세지"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:worktypenm"/>
- <Cell col="1" style="padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:pid"/>
- <Cell col="2" style="padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:hngnm" wordwrap="char"/>
- <Cell col="3" displaytype="date" style="padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="date" style="padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:rcptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="5" style="padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:errcode"/>
- <Cell col="6" style="align:left middle;padding:0 5 0 5;background:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");background2:EXPR(errpassyn == "N" ? "#ff8888" : "#ffffff");" text="bind:errtext"/>
- <Cell col="7" text="bind:errpassyn"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Static id="caption1" text="오류내역" class="tit_2" position="absolute 595 140 670 159" anchor="top right"/>
- <Button id="btn_arpverrinfo" taborder="11" text="오류전체조회" onclick="switch1_case1_btn_arpverrinfo_onclick" class="btn2" position="absolute 1109 135 1195 159" anchor="top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" position="absolute 0 0 1195 493" style="" anchor="default" text="환자별 수납내역">
- <Layouts>
- <Layout>
- <Static id="caption5" class="tit_2" position="absolute 0 10 112 29" style="" text="수납 상세 내역"/>
- <Combo innerdataset="ds_init_worktypelist_PK021" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_worktype" position="absolute 915 5 1034 29" style="" anchor="top right"/>
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_rcpttype" position="absolute 1035 5 1134 29" style="" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">all</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">cashamt</Col>
- <Col id="datacolumn">현금금액</Col>
- </Row>
- <Row>
- <Col id="codecolumn">cardamt</Col>
- <Col id="datacolumn">카드금액</Col>
- </Row>
- <Row>
- <Col id="codecolumn">onlineamt</Col>
- <Col id="datacolumn">온라인금액</Col>
- </Row>
- <Row>
- <Col id="codecolumn">uncoamt</Col>
- <Col id="datacolumn">미수금액</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="button4" class="btn1" position="absolute 1135 5 1195 29" text="조회" onclick="switch1_case2_button4_onclick" anchor="top right"/>
- <Grid id="grd_rcptdetlist" binddataset="ds_main_detl" position="absolute 0 30 1195 467" style="" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="90"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="42"/>
- <Column size="30"/>
- <Column size="50"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="업무구분"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="진료일자"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" colspan="2" text="보험유형" taborder="undefined"/>
- <Cell col="9" text="현금금액"/>
- <Cell col="10" text="카드금액"/>
- <Cell col="11" text="온라인금액"/>
- <Cell col="12" text="미수금액"/>
- <Cell col="13" text="수납일자"/>
- <Cell col="14" text="수납시간"/>
- <Cell col="15" text="영수일자"/>
- <Cell col="16" colspan="2" text="영수번호" taborder="undefined"/>
- <Cell col="18" text="수납자"/>
- <Cell col="19" text="무인번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:worktype" combodataset="ds_init_worktypelist_PK021" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" text="bind:orddeptnm"/>
- <Cell col="6" text="bind:medispclnm"/>
- <Cell col="7" text="bind:insukind"/>
- <Cell col="8" text="bind:suppkind"/>
- <Cell col="9" displaytype="number" text="bind:cashamt" mask="#,##0"/>
- <Cell col="10" displaytype="number" text="bind:cardamt" mask="#,##0"/>
- <Cell col="11" displaytype="number" text="bind:onlineamt" mask="#,##0"/>
- <Cell col="12" displaytype="number" text="bind:uncoamt" mask="#,##0"/>
- <Cell col="13" displaytype="date" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" displaytype="date" text="bind:rcpttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="15" displaytype="date" text="bind:rcptdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:rcptno"/>
- <Cell col="17" text="bind:rcptseqno"/>
- <Cell col="18" text="bind:rcptrnm"/>
- <Cell col="19" text="bind:ktrmnno"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;font:Dotum,9, bold;" text="합계"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="7" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="8" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="9" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:Dotum,9, bold;" expr="getSum('cashamt')" mask="#,##0"/>
- <Cell col="10" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:Dotum,9, bold;" expr="getSum('cardamt')" mask="#,##0"/>
- <Cell col="11" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:Dotum,9, bold;" expr="getSum('onlineamt')" mask="#,##0"/>
- <Cell col="12" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:Dotum,9, bold;" expr="getSum('uncoamt')" mask="#,##0"/>
- <Cell col="13" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="14" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="15" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="16" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="17" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="18" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="19" style="background:#99ff99ff;background2:#99ff99ff;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button5" class="btn2" position="absolute 870 5 914 29" text="엑셀" onclick="switch1_case2_button5_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption3" class="tit_2" position="absolute 0 575 75 594" style="" text="수납내역" anchor="left bottom"/>
- <Button id="btn_prtrcpt" class="btn4" position="absolute 1140 570 1195 594" text="출력" onclick="btn_prtrcpt_onclick" anchor="right bottom"/>
- <Grid id="grd_mgsm" taborder="17" useinputpanel="false" position="absolute 0 595 1195 780" selecttype="cell" binddataset="ds_main_mgsm_disp" autofittype="col,allrow" anchor="left right bottom" style="border:1 solid #33bbbbff,0 solid #b0b0b0ff,0 solid #b0b0b0ff,0 solid #b0b0b0ff;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="80"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="70"/>
- <Column size="85"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell style="align:left;background:#cce8ffff;background2:#cce8ffff;font:EXPR(currow < 4 ? "돋움,8,bold" : "돋움,8,normal");selectbackground:#cce8ffff;selectfont:EXPR(currow < 4 ? "굴림,8,bold" : "굴림,8,normal");" text="bind:c01"/>
- <Cell col="1" displaytype="number" style="padding:0 5 0 0;background:EXPR(currow < 4 ? "#ffffd7" : "#ffffff");background2:EXPR(currow < 4 ? "#ffffd7" : "#ffffff");font:EXPR(currow < 4 ? "굴림,9,bold" : "굴림,9,normal");selectbackground:EXPR(currow < 4 ? "#ffffd7" : "#ffffff");selectfont:EXPR(currow < 4 ? "굴림,9,bold" : "굴림,9,normal");" text="bind:c02"/>
- <Cell col="2" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c03"/>
- <Cell col="3" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c04"/>
- <Cell col="4" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c05"/>
- <Cell col="5" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c06"/>
- <Cell col="6" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c07"/>
- <Cell col="7" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c08"/>
- <Cell col="8" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c09"/>
- <Cell col="9" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c10"/>
- <Cell col="10" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c11"/>
- <Cell col="11" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c12"/>
- <Cell col="12" style="align:left;background:#cce8ffff;background2:#cce8ffff;font:돋움,8;selectbackground:#cce8ffff;" text="bind:c13"/>
- <Cell col="13" displaytype="number" style="padding:0 5 0 0;background:#ffffffff;background2:#ffffffff;selectbackground:#ffffffff;" text="bind:c14"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="aprvinfo" type="STRING" size="256"/>
- <Column id="aprverrinfo" type="STRING" size="256"/>
- <Column id="magminfo" type="STRING" size="256"/>
- <Column id="magmstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="aprvinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_aprverrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_aprvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_magminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_magmstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_rcptmagmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rcptmagminfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rcptmagminfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_rcptmagmlist_rcptmagminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rcptrinfo" type="STRING" size="256"/>
- <Column id="worktypelist" type="STRING" size="256"/>
- <Column id="P0128list" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rcptrinfo"/>
- <Col id="worktypelist"/>
- <Col id="P0128list"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0128list_P0128" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_user" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_worktypelist_PK021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_endinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="endinfolist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="endinfolist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_magm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mgsm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cashamt" type="STRING" size="256"/>
- <Column id="cardamt" type="STRING" size="256"/>
- <Column id="onlineamt" type="STRING" size="256"/>
- <Column id="uncoamt" type="STRING" size="256"/>
- <Column id="ocashamt" type="STRING" size="256"/>
- <Column id="ocardamt" type="STRING" size="256"/>
- <Column id="oonlineamt" type="STRING" size="256"/>
- <Column id="icashamt" type="STRING" size="256"/>
- <Column id="icardamt" type="STRING" size="256"/>
- <Column id="ionlineamt" type="STRING" size="256"/>
- <Column id="bogjdcashamt" type="STRING" size="256"/>
- <Column id="bogjdcardamt" type="STRING" size="256"/>
- <Column id="bogjdonlineamt" type="STRING" size="256"/>
- <Column id="bogjdreplamt" type="STRING" size="256"/>
- <Column id="bogjrcashamt" type="STRING" size="256"/>
- <Column id="bogjrcardamt" type="STRING" size="256"/>
- <Column id="bogjronlineamt" type="STRING" size="256"/>
- <Column id="bogjrreplamt" type="STRING" size="256"/>
- <Column id="bldcuamt" type="STRING" size="256"/>
- <Column id="bloddiscamt" type="STRING" size="256"/>
- <Column id="carduamt" type="STRING" size="256"/>
- <Column id="carddcamt" type="STRING" size="256"/>
- <Column id="heallifeamtclamamt" type="STRING" size="256"/>
- <Column id="heallifeuamt" type="STRING" size="256"/>
- <Column id="pregdmndamt" type="STRING" size="256"/>
- <Column id="preguamt" type="STRING" size="256"/>
- <Column id="clamuamt" type="STRING" size="256"/>
- <Column id="clamnamt" type="STRING" size="256"/>
- <Column id="cvapuamt" type="STRING" size="256"/>
- <Column id="cmpyuamt" type="STRING" size="256"/>
- <Column id="cmpycashamt" type="STRING" size="256"/>
- <Column id="cmpycardamt" type="STRING" size="256"/>
- <Column id="cmpyonlineamt" type="STRING" size="256"/>
- <Column id="insuuamt" type="STRING" size="256"/>
- <Column id="insuonlineamt" type="STRING" size="256"/>
- <Column id="uncouamt" type="STRING" size="256"/>
- <Column id="uncocashamt" type="STRING" size="256"/>
- <Column id="uncocardamt" type="STRING" size="256"/>
- <Column id="uncoonlineamt" type="STRING" size="256"/>
- <Column id="uncodebtamt" type="STRING" size="256"/>
- <Column id="uncoaprvamt" type="STRING" size="256"/>
- <Column id="ptuncashamt" type="STRING" size="256"/>
- <Column id="ptuncardamt" type="STRING" size="256"/>
- <Column id="ptunonlineamt" type="STRING" size="256"/>
- <Column id="kpamamt" type="STRING" size="256"/>
- <Column id="kpamdamt" type="STRING" size="256"/>
- <Column id="taxamt" type="STRING" size="256"/>
- <Column id="discamt" type="STRING" size="256"/>
- <Column id="reduamt" type="STRING" size="256"/>
- <Column id="aprv1" type="STRING" size="256"/>
- <Column id="aprv2" type="STRING" size="256"/>
- <Column id="aprv3" type="STRING" size="256"/>
- <Column id="aprv4" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cashamt"/>
- <Col id="cardamt"/>
- <Col id="onlineamt"/>
- <Col id="uncoamt"/>
- <Col id="ocashamt"/>
- <Col id="ocardamt"/>
- <Col id="oonlineamt"/>
- <Col id="icashamt"/>
- <Col id="icardamt"/>
- <Col id="ionlineamt"/>
- <Col id="bogjdcashamt"/>
- <Col id="bogjdcardamt"/>
- <Col id="bogjdonlineamt"/>
- <Col id="bogjdreplamt"/>
- <Col id="bogjrcashamt"/>
- <Col id="bogjrcardamt"/>
- <Col id="bogjronlineamt"/>
- <Col id="bogjrreplamt"/>
- <Col id="bldcuamt"/>
- <Col id="bloddiscamt"/>
- <Col id="carduamt"/>
- <Col id="carddcamt"/>
- <Col id="heallifeamtclamamt"/>
- <Col id="heallifeuamt"/>
- <Col id="pregdmndamt"/>
- <Col id="preguamt"/>
- <Col id="clamuamt"/>
- <Col id="clamnamt"/>
- <Col id="cvapuamt"/>
- <Col id="cmpyuamt"/>
- <Col id="cmpycashamt"/>
- <Col id="cmpycardamt"/>
- <Col id="cmpyonlineamt"/>
- <Col id="insuuamt"/>
- <Col id="insuonlineamt"/>
- <Col id="uncouamt"/>
- <Col id="uncocashamt"/>
- <Col id="uncocardamt"/>
- <Col id="uncoonlineamt"/>
- <Col id="uncodebtamt"/>
- <Col id="uncoaprvamt"/>
- <Col id="ptuncashamt"/>
- <Col id="ptuncardamt"/>
- <Col id="ptunonlineamt"/>
- <Col id="kpamamt"/>
- <Col id="kpamdamt"/>
- <Col id="taxamt"/>
- <Col id="discamt"/>
- <Col id="reduamt"/>
- <Col id="aprv1"/>
- <Col id="aprv2"/>
- <Col id="aprv3"/>
- <Col id="aprv4"/>
- <Col id="remark"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mgsm_disp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="c01" type="STRING" size="256"/>
- <Column id="c02" type="STRING" size="256"/>
- <Column id="c03" type="STRING" size="256"/>
- <Column id="c04" type="STRING" size="256"/>
- <Column id="c05" type="STRING" size="256"/>
- <Column id="c06" type="STRING" size="256"/>
- <Column id="c07" type="STRING" size="256"/>
- <Column id="c08" type="STRING" size="256"/>
- <Column id="c09" type="STRING" size="256"/>
- <Column id="c10" type="STRING" size="256"/>
- <Column id="c11" type="STRING" size="256"/>
- <Column id="c12" type="STRING" size="256"/>
- <Column id="c13" type="STRING" size="256"/>
- <Column id="c14" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="c01">현금</Col>
- <Col id="c02"/>
- <Col id="c03">미수발생</Col>
- <Col id="c04"/>
- <Col id="c05">외래선수 현금</Col>
- <Col id="c06"/>
- <Col id="c07">청구미수 발생</Col>
- <Col id="c08"/>
- <Col id="c09">업체미수 발생</Col>
- <Col id="c10"/>
- <Col id="c11">건유비 발생</Col>
- <Col id="c12"/>
- <Col id="c13">민원입금</Col>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">카드</Col>
- <Col id="c02"/>
- <Col id="c03">미수입금 현금</Col>
- <Col id="c04"/>
- <Col id="c05">외래선수 카드</Col>
- <Col id="c06"/>
- <Col id="c07">청구미수 입금</Col>
- <Col id="c08"/>
- <Col id="c09">업체미수 현금</Col>
- <Col id="c10"/>
- <Col id="c11">건유비 입금</Col>
- <Col id="c12"/>
- <Col id="c13">부가가치세</Col>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">온라인</Col>
- <Col id="c02"/>
- <Col id="c03">미수입금 카드</Col>
- <Col id="c04"/>
- <Col id="c05">외래선수 온라인</Col>
- <Col id="c06"/>
- <Col id="c07">미수대손</Col>
- <Col id="c08"/>
- <Col id="c09">업체미수 카드</Col>
- <Col id="c10"/>
- <Col id="c11">산전비 발생</Col>
- <Col id="c12"/>
- <Col id="c13">할인금액</Col>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">미수</Col>
- <Col id="c02"/>
- <Col id="c03">미수입금 온라인</Col>
- <Col id="c04"/>
- <Col id="c05">외래선수 대체</Col>
- <Col id="c06"/>
- <Col id="c07">승인미수</Col>
- <Col id="c08"/>
- <Col id="c09">업체미수 온라인</Col>
- <Col id="c10"/>
- <Col id="c11">산전비 입금</Col>
- <Col id="c12"/>
- <Col id="c13">감액</Col>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">외래수납 현금</Col>
- <Col id="c02"/>
- <Col id="c03">입원수납 현금</Col>
- <Col id="c04"/>
- <Col id="c05">가정선수 현금</Col>
- <Col id="c06"/>
- <Col id="c07">장기요양 청구</Col>
- <Col id="c08"/>
- <Col id="c09">독촉미수 현금</Col>
- <Col id="c10"/>
- <Col id="c11">보관금 발생</Col>
- <Col id="c12"/>
- <Col id="c13"/>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">외래수납 카드</Col>
- <Col id="c02"/>
- <Col id="c03">입원수납 카드</Col>
- <Col id="c04"/>
- <Col id="c05">가정선수 카드</Col>
- <Col id="c06"/>
- <Col id="c07">장기요양 입금</Col>
- <Col id="c08"/>
- <Col id="c09">독촉미수 카드</Col>
- <Col id="c10"/>
- <Col id="c11">보관금 환불</Col>
- <Col id="c12"/>
- <Col id="c13"/>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01">외래수납 온라인</Col>
- <Col id="c02"/>
- <Col id="c03">입원수납 온라인</Col>
- <Col id="c04"/>
- <Col id="c05">가정선수 온라인</Col>
- <Col id="c06"/>
- <Col id="c07">수혈대체 발생</Col>
- <Col id="c08"/>
- <Col id="c09">독촉미수 온라인</Col>
- <Col id="c10"/>
- <Col id="c11">카드입금 금액</Col>
- <Col id="c12"/>
- <Col id="c13"/>
- <Col id="c14"/>
- </Row>
- <Row>
- <Col id="c01"/>
- <Col id="c02"/>
- <Col id="c03"/>
- <Col id="c04"/>
- <Col id="c05">가정선수 대체</Col>
- <Col id="c06"/>
- <Col id="c07">수혈대체 입금</Col>
- <Col id="c08"/>
- <Col id="c09"/>
- <Col id="c10"/>
- <Col id="c11">카드입금 수수료</Col>
- <Col id="c12"/>
- <Col id="c13"/>
- <Col id="c14"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_user" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="telno" type="STRING" size="256"/>
- <Column id="automagm" type="STRING" size="256"/>
- <Column id="uncoyn" type="STRING" size="256"/>
- <Column id="rcptposcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="telno"/>
- <Col id="automagm"/>
- <Col id="uncoyn"/>
- <Col id="rcptposcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_erinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rcptlist" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_report_prtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="rcptnm" type="STRING" size="256"/>
- <Column id="rcptdt" type="STRING" size="256"/>
- <Column id="prtnm" type="STRING" size="256"/>
- <Column id="prtdt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_report_rcptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_magm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="endflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="endflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="endid" type="STRING" size="256"/>
- <Column id="pamid" type="STRING" size="256"/>
- <Column id="worktype" type="STRING" size="256"/>
- <Column id="rcpttype" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="acpttype" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- <Column id="staffkind" type="STRING" size="256"/>
- <Column id="rcptposcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="enddd"/>
- <Col id="endid"/>
- <Col id="pamid"/>
- <Col id="worktype"/>
- <Col id="rcpttype"/>
- <Col id="gubun"/>
- <Col id="acpttype"/>
- <Col id="remark"/>
- <Col id="staffkind"/>
- <Col id="rcptposcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_staff" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_enddd" propid="value" datasetid="ds_send_srch" columnid="enddd"/>
- <BindItem id="item1" compid="ipt_endid" propid="value" datasetid="ds_send_srch" columnid="endid"/>
- <BindItem id="item2" compid="cmb_pamid" propid="value" datasetid="ds_send_srch" columnid="pamid"/>
- <BindItem id="item3" compid="switch1.case1.cmb_rcptpos" propid="value" datasetid="ds_send_srch" columnid="rcptposcd"/>
- <BindItem id="item9" compid="switch1.case2.cmb_worktype" propid="value" datasetid="ds_send_srch" columnid="worktype"/>
- <BindItem id="item10" compid="switch1.case2.cmb_rcpttype" propid="value" datasetid="ds_send_srch" columnid="rcpttype"/>
- <BindItem id="item113" compid="switch1.case1.ta_acptaprv1" propid="value" datasetid="ds_main_mgsm" columnid="aprv1"/>
- <BindItem id="item114" compid="switch1.case1.tar_remark" propid="value" datasetid="ds_main_mgsm" columnid="remark"/>
- <BindItem id="item115" compid="switch1.case1.ta_acptaprv2" propid="value" datasetid="ds_main_mgsm" columnid="aprv2"/>
- <BindItem id="item116" compid="switch1.case1.ta_acptaprv3" propid="value" datasetid="ds_main_mgsm" columnid="aprv3"/>
- <BindItem id="item117" compid="switch1.case1.ta_acptaprv4" propid="value" datasetid="ds_main_mgsm" columnid="aprv4"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- var arErrorCode = new HashArray();
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- var STAFFKIND = "";
- var APRV3_NM = "";
- var APRV4_NM = "";
- function formatNumber (num) {
- return num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,")
- }
- /*
- * 기본 코드 조회
- */
- function fGetBaseInfo() {
- pamfGetCodeList([{ dsNm: "ds_init_worktypelist_PK021", cdGrpId: "PK021" }
- , { dsNm: "ds_init_P0128list_P0128", cdGrpId: "P0128" }]);
-
- frmf_addComboItem("switch1.case2.cmb_worktype", "전체", "all", "above");
-
- ds_send_srch.setColumn(0, "worktype", "all");
- ds_send_srch.setColumn(0, "rcpttype", "all");
-
- //수납마감 사용자조회
- fPamuserSearch();
- }
- /*
- * 수납마감 사용자조회
- */
- function fPamuserSearch() {
-
- var oParam = {};
- oParam.id = "TRPAE00104";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetRcptrIdList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_init_user=rcptrlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (!utlf_isNull(ds_init_user.getColumnInfo("rcptrid"))) {
- ds_init_user.updateColID("rcptrid", "endid");
- ds_init_user.updateColID("rcptrnm", "endnm");
- }
- }
- /*
- * 마감 조회
- */
- function fGetEndinfo() {
-
- ds_main_erinfo.clearData();
- ds_main_mgsm.clearData();
- ds_main_user.clearData();
-
- var oParam = {};
- oParam.id = "TRPAE00101";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetPamEndStats";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_magm=endinfo "
- + "ds_main_mgsm=rcptinfo "
- + "ds_main_user=rcptuser";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- // 마감 금액 표시 DS 설정
- ds_main_mgsm_disp.setColumn(0, "c02", ds_main_mgsm.getColumn(0, "cashamt")); // 현금
- ds_main_mgsm_disp.setColumn(1, "c02", ds_main_mgsm.getColumn(0, "cardamt")); // 카드
- ds_main_mgsm_disp.setColumn(2, "c02", ds_main_mgsm.getColumn(0, "onlineamt")); // 온라인
- ds_main_mgsm_disp.setColumn(3, "c02", ds_main_mgsm.getColumn(0, "uncoamt")); // 미수
- ds_main_mgsm_disp.setColumn(4, "c02", ds_main_mgsm.getColumn(0, "ocashamt")); // 외래수납 현금
- ds_main_mgsm_disp.setColumn(5, "c02", ds_main_mgsm.getColumn(0, "ocardamt")); // 외래수납 카드
- ds_main_mgsm_disp.setColumn(6, "c02", ds_main_mgsm.getColumn(0, "oonlineamt")); // 외래수납 온라인
-
- ds_main_mgsm_disp.setColumn(0, "c04", ds_main_mgsm.getColumn(0, "uncouamt")); // 미수발생
- ds_main_mgsm_disp.setColumn(1, "c04", ds_main_mgsm.getColumn(0, "uncocashamt")); // 미수입금 현금
- ds_main_mgsm_disp.setColumn(2, "c04", ds_main_mgsm.getColumn(0, "uncocardamt")); // 미수입금 카드
- ds_main_mgsm_disp.setColumn(3, "c04", ds_main_mgsm.getColumn(0, "uncoonlineamt")); // 미수입금 온라인
- ds_main_mgsm_disp.setColumn(4, "c04", ds_main_mgsm.getColumn(0, "icashamt")); // 입원수납 현금
- ds_main_mgsm_disp.setColumn(5, "c04", ds_main_mgsm.getColumn(0, "icardamt")); // 입원수납 카드
- ds_main_mgsm_disp.setColumn(6, "c04", ds_main_mgsm.getColumn(0, "ionlineamt")); // 입원수납 온라인
-
- ds_main_mgsm_disp.setColumn(0, "c06", ds_main_mgsm.getColumn(0, "bogjdcashamt")); // 외래선수 현금
- ds_main_mgsm_disp.setColumn(1, "c06", ds_main_mgsm.getColumn(0, "bogjdcardamt")); // 외래선수 카드
- ds_main_mgsm_disp.setColumn(2, "c06", ds_main_mgsm.getColumn(0, "bogjdonlineamt")); // 외래선수 온라인
- ds_main_mgsm_disp.setColumn(3, "c06", ds_main_mgsm.getColumn(0, "bogjdreplamt")); // 외래선수 대체
- ds_main_mgsm_disp.setColumn(4, "c06", ds_main_mgsm.getColumn(0, "bogjrcashamt")); // 가정선수 현금
- ds_main_mgsm_disp.setColumn(5, "c06", ds_main_mgsm.getColumn(0, "bogjrcardamt")); // 가정선수 카드
- ds_main_mgsm_disp.setColumn(6, "c06", ds_main_mgsm.getColumn(0, "bogjronlineamt")); // 가정선수 온라인
- ds_main_mgsm_disp.setColumn(7, "c06", ds_main_mgsm.getColumn(0, "bogjrreplamt")); // 가정선수 대체
-
- ds_main_mgsm_disp.setColumn(0, "c08", ds_main_mgsm.getColumn(0, "insuuamt")); // 청구미수 발생
- ds_main_mgsm_disp.setColumn(1, "c08", ds_main_mgsm.getColumn(0, "insuonlineamt")); // 청구미수 입금
- ds_main_mgsm_disp.setColumn(2, "c08", ds_main_mgsm.getColumn(0, "uncodebtamt")); // 미수대손
- ds_main_mgsm_disp.setColumn(3, "c08", ds_main_mgsm.getColumn(0, "uncoaprvamt")); // 승인미수
- ds_main_mgsm_disp.setColumn(4, "c08", ds_main_mgsm.getColumn(0, "clamnamt")); // 장기요양 청구
- ds_main_mgsm_disp.setColumn(5, "c08", ds_main_mgsm.getColumn(0, "clamuamt")); // 장기요양 입금
- ds_main_mgsm_disp.setColumn(6, "c08", ds_main_mgsm.getColumn(0, "bloddiscamt")); // 수혈대체 발생
- ds_main_mgsm_disp.setColumn(7, "c08", ds_main_mgsm.getColumn(0, "bldcuamt")); // 수혈대체 입금
-
- ds_main_mgsm_disp.setColumn(0, "c10", ds_main_mgsm.getColumn(0, "cmpyuamt")); // 업체미수 발생
- ds_main_mgsm_disp.setColumn(1, "c10", ds_main_mgsm.getColumn(0, "cmpycashamt")); // 업체미수 현금
- ds_main_mgsm_disp.setColumn(2, "c10", ds_main_mgsm.getColumn(0, "cmpycardamt")); // 업체미수 카드
- ds_main_mgsm_disp.setColumn(3, "c10", ds_main_mgsm.getColumn(0, "cmpyonlineamt")); // 업체미수 온라인
- ds_main_mgsm_disp.setColumn(4, "c10", ds_main_mgsm.getColumn(0, "ptuncashamt")); // 독촉미수 현금
- ds_main_mgsm_disp.setColumn(5, "c10", ds_main_mgsm.getColumn(0, "ptuncardamt")); // 독촉미수 카드
- ds_main_mgsm_disp.setColumn(6, "c10", ds_main_mgsm.getColumn(0, "ptunonlineamt")); // 독촉미수 온라인
-
- ds_main_mgsm_disp.setColumn(0, "c12", ds_main_mgsm.getColumn(0, "heallifeamtclamamt")); // 건유비 발생
- ds_main_mgsm_disp.setColumn(1, "c12", ds_main_mgsm.getColumn(0, "heallifeuamt")); // 건유비 입금
- ds_main_mgsm_disp.setColumn(2, "c12", ds_main_mgsm.getColumn(0, "pregdmndamt")); // 산전비 발생
- ds_main_mgsm_disp.setColumn(3, "c12", ds_main_mgsm.getColumn(0, "preguamt")); // 산전비 입금
- ds_main_mgsm_disp.setColumn(4, "c12", ds_main_mgsm.getColumn(0, "kpamamt")); // 보관금 발생
- ds_main_mgsm_disp.setColumn(5, "c12", ds_main_mgsm.getColumn(0, "kpamdamt")); // 보관금 환불
- ds_main_mgsm_disp.setColumn(6, "c12", ds_main_mgsm.getColumn(0, "carduamt")); // 카드입금 금액
- ds_main_mgsm_disp.setColumn(7, "c12", ds_main_mgsm.getColumn(0, "carddcamt")); // 카드입금 수수료
-
- ds_main_mgsm_disp.setColumn(0, "c14", ds_main_mgsm.getColumn(0, "cvapuamt")); // 민원입금
- ds_main_mgsm_disp.setColumn(1, "c14", ds_main_mgsm.getColumn(0, "taxamt")); // 부가가치세
- ds_main_mgsm_disp.setColumn(2, "c14", ds_main_mgsm.getColumn(0, "discamt")); // 할인금액
- ds_main_mgsm_disp.setColumn(3, "c14", ds_main_mgsm.getColumn(0, "reduamt")); // 감액
- switch1.case1.btn_acptaprv1.enable = true;
- switch1.case1.btn_acptcncl1.enable = true;
-
- if (!utlf_isNull(ds_main_mgsm.getColumn(0, "aprv2"))) {
- switch1.case1.btn_acptaprv1.enable = false;
- switch1.case1.btn_acptcncl1.enable = false;
- } else if (!utlf_isNull(ds_main_mgsm.getColumn(0, "aprv1"))) {
- switch1.case1.btn_acptaprv1.enable = false;
- } else {
- switch1.case1.btn_acptcncl1.enable = false;
- }
-
- // 수납위치 기본 설정
- ds_send_srch.setColumn(0, "rcptposcd", ds_main_user.getColumn(0, "rcptposcd"));
- }
- /*
- * 총계를 생성
- */
- function fSetDetAmtSum(){
- // 향후 추가
- // switch1.case2.grd_rcptdetlist.subtotalPosition = "below";
- //
- // switch1.case2.grd_rcptdetlist.subtotal("clear", 0, 0, "", "", 0, "");
- // for (var i = 0; i < switch1.case2.grd_rcptdetlist.cols; i++) {
- // if (i >= switch1.case2.grd_rcptdetlist.colRef("cashamt") && i <= switch1.case2.grd_rcptdetlist.colRef("uncoamt")) {
- // switch1.case2.grd_rcptdetlist.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold; text-align:right", 0, "총계" );
- // }
- // }
- }
- /*
- * 오류내역 조회
- */
- function fGetErrinfo(worktype){
-
- ds_main_erinfo.clearData();
- ds_send_srch.setColumn(0, "worktype", worktype);
-
- var oParam = {};
- oParam.id = "TRPAE00103";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetErrInfoList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_erinfo=errinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
- }
- /*
- * 마감 실행
- */
- function fSetEndinfo(worktype) {
-
- if (utlf_isNull(ds_send_srch.getColumn(0, "endid"))) {
- sysf_messageBox("수납자ID는 반드시 입력하십시오.", "C000");
- return false;
- }
-
- if (STAFFKIND == "" && ds_send_srch.getColumn(0, "endid") != sysf_getUserId()) {
- sysf_messageBox("마감처리는 로그인한 본인만 가능합니다.", "C000");
- return false;
- }
-
- ds_send_srch.setColumn(0, "staffkind", "1");
-
- ds_hidden_aprvinfo.clearData();
-
- var oParam = {};
- oParam.id = "TRPAE00110";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetStaffCheck";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_aprvinfo=aprvinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (parseInt(ds_hidden_aprvinfo.getColumn(0, "aprvcnt")) > 0) {
- sysf_messageBox("수납자의 결재 내역이 있습니다.", "E999");
- return false;
- }
-
- ds_send_srch.setColumn(0, "staffkind", "2");
-
- oParam.id = "TRPAE00110";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetStaffCheck";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_aprvinfo=aprvinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (parseInt(ds_hidden_aprvinfo.getColumn(0, "aprvcnt")) > 0) {
- sysf_messageBox("담당자의 결재 내역이 있습니다.", "E999");
- return false;
- }
-
- oParam.id = "TRPAE00114";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetPaamMgsmAprv";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_magminfo=magminfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (ds_hidden_magminfo.getColumn(0, "aprvflag") == "Y") {
- sysf_messageBox("해당일자의 마감 집계는 " + APRV4_NM + " 결재가 완료되었습니다.", "E999");
- return false;
- }
-
- ds_send_srch.setColumn(0, "worktype", worktype);
-
- oParam.id = "TXPAE00101";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqSetPamEndStats";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPAE00101";
-
- frmf_openLoadingBar();
-
- tranf_submit(oParam);
-
- frmf_closeLoadingBar();
-
- if (arErrorCode.pop("TXPAE00101") > -1) {
- fGetEndinfo();
- }
-
- sysf_messageBox("마감이 완료되었습니다.", "I999");
- }
- function cf_TXPAE00101(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*
- * 결재 실행
- */
- function fSetEndAcpt(gubun, acpttype) {
-
- if (ds_main_magm.rowcount < 1) {
- sysf_messageBox("결재할 대상이 조회되지 않았습니다.", "C000");
- return false;
- }
- if (STAFFKIND == "" && ds_main_magm.getColumn(0, "rcptrid") != sysf_getUserId()) {
- sysf_messageBox("결재는 본인의 마감건에 대해서만 가능합니다.", "C000");
- return false;
- }
- if (acpttype == "aprv") {
-
- var oParam = {};
- oParam.id = "TRPAE00111";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetMagmRcptList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_rcptmagmlist_rcptmagminfo=rcptmagm";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var endid = ds_send_srch.getColumn(0, "endid");
- var errflag = ds_hidden_rcptmagmlist_rcptmagminfo.lookupExpr("rcptrid == '" + endid + "'", "errflag");
- var errstr = ds_hidden_rcptmagmlist_rcptmagminfo.lookupExpr("rcptrid == '" + endid + "'", "errstr");
-
- if (errflag == "R") {
- sysf_messageBox("마감 후 수납건이 있습니다.\n마감을 다시 실행한 후 결재해 주십시오\n" + errstr, "E999");
- return;
- }
-
- var oParam = {};
- oParam.id = "TRPAE00113";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetMagmAprvErrCnt";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_aprverrinfo=aprverrinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var aprverrcnt = ds_hidden_aprverrinfo.getColumn(0, "cnt");
- if (parseInt(aprverrcnt) > 0){
- sysf_messageBox("허용되지않는 오류내역이 " + aprverrcnt + "건 있습니다.\n오류내역을 확인 후 마감진행 하시기 바랍니다.", "E999");
- switch1.case1.btn_arpverrinfo.click();
- return;
- }
- }
- ds_send_srch.setColumn(0, "staffkind", "2");
-
- var oParam = {};
- oParam.id = "TRPAE00110";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetStaffCheck";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_aprvinfo=aprvinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (parseInt(ds_hidden_aprvinfo.getColumn(0, "aprvcnt")) > 0) {
- sysf_messageBox("담당자의 결재 내역이 있습니다.", "E999");
- return;
- }
-
- if (acpttype == "aprv") {
-
- // 결재 전 진료확인번호 승인 프로그램 호출
- frmf_setParameter("SMPAO04000_rcptrid", ds_send_srch.getColumn(0, "endid"));
- frmf_setParameter("SMPAO04000_ioflag", "O");
-
- frmf_modal("SMPAO04000", "SMPAO04000", "", "", "1", "20", "100", "", "", "", "", "", "M");
-
- // 입원수납건수 확인
- if (ds_main_magm.getCaseCount("worktype == 'A02' && execnt > 0") > 0) {
- sysf_messageBox("퇴원수납건이 존재하여 퇴원환자 의료급여 조회를 실시합니다.", "I999");
-
- frmf_setParameter("SMPAO04000_ioflag", "I");
- frmf_modal("SMPAO04000", "SMPAO04000", "", "", "1", "20", "100", "", "", "", "", "", "M");
- }
- }
- var remark = utlf_transNullToEmpty(ds_main_erinfo.getColumn(0, "remark"));
-
- ds_send_srch.setColumn(0, "remark", remark);
- ds_send_srch.setColumn(0, "gubun", gubun);
- ds_send_srch.setColumn(0, "acpttype", acpttype);
-
- oParam.id = "TXPAE00101";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqSetPamEndAcpt";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPAE00101";
-
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXPAE00101") > -1) {
- fGetEndinfo();
- }
-
- ds_send_magm.setColumn(0, "fromdd", ds_send_srch.getColumn(0, "enddd"));
- ds_send_magm.setColumn(0, "todd", ds_send_srch.getColumn(0, "enddd"));
-
- if (acpttype == "aprv") {
-
- oParam.id = "TRPAE00115";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetMagmStatus";
- oParam.inds = "req=ds_send_magm";
- oParam.outds = "ds_hidden_magmstat=magmstat";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var sumflag = ds_hidden_magmstat.getColumn(0, "sumflag");
- var aprvflag = ds_hidden_magmstat.getColumn(0, "aprvflag");
-
- if (sumflag == "Y") {
- if (aprvflag == "N") {
-
- sysf_messageBox("최종 수납자 결재가 확인되었습니다. 마감 집계가 실행됩니다.", "I999");
-
- ds_send_magm.setColumn(0, "endflag", "A");
-
- oParam.id = "TXSTP01803";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "reqExeMagmBatch";
- oParam.inds = "req=ds_send_magm";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- } else {
- sysf_messageBox("최종 수납자 결재가 확인되었습니다.\n해당 일자의 일보가 이미 결재되어 자동 집계 실행은 취소됩니다.\n담당자에게 연락하여 주시기 바랍니다.", "I999");
- }
- }
-
- switch1.case1.btn_acptaprv1.enable = false;
- switch1.case1.btn_acptcncl1.enable = true;
-
- } else if (acpttype == "cncl") {
-
- switch1.case1.btn_acptaprv1.enable = true;
- switch1.case1.btn_acptcncl1.enable = false;
- }
- }
- function cf_TXPAE00101(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fGetStaffKind() {
-
- var oParam = {};
- oParam.id = "TRPAE00109";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetMagmStaff";
- oParam.outds = "ds_init_staff=staffinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- for (var i = 0; i < ds_init_staff.rowcount; i++) {
-
- var stid = ds_init_staff.getColumn(i, "staffid");
- var stkind = ds_init_staff.getColumn(i, "staffkind");
-
- if (stid == sysf_getUserId()) {
- STAFFKIND = stkind;
- } else if (stid == "nm") {
- if (stkind == "3") {
- APRV3_NM = ds_init_staff.getColumn(i, "staffnm");
- } else if (stkind == "4") {
- APRV4_NM = ds_init_staff.getColumn(i, "staffnm");
- }
- }
- }
-
- if (sysf_getUserId() == "PAM") {
- STAFFKIND = "A";
- }
- }
- function SMPAE00100_onload(obj:Form, e:LoadEventInfo) {
-
- frmf_initForm(obj);
-
- grdf_initGrid(switch1.case1.grd_endlist);
- grdf_initGrid(switch1.case1.grd_errinfo);
- grdf_initGrid(switch1.case2.grd_rcptdetlist);
-
- var enddd = utlf_getCurrentDate();
- var userid = "";
-
- fGetStaffKind();
-
- if (STAFFKIND != "") {
- ipt_endid.enable = true;
- cmb_pamid.enable = true;
- }
-
- switch1.case1.cap_aprv3nm.text = APRV3_NM;
- switch1.case1.cap_aprv4nm.text = APRV4_NM;
- //팝업화면으로 사용될 때
- if (frmf_checkOpener() && frmf_getOpenerUID() != "top") {
-
- enddd = opener.frmf_getParameter("SMPAE00100_enddd");
- userid = opener.frmf_getParameter("SMPAE00100_endid");
- var rcpttype = opener.frmf_getParameter("SMPAE00100_rcpttype");
-
- ds_send_srch.setColumn(0, "enddd", enddd);
- fGetBaseInfo(); //기본코드 조회
-
- ds_send_srch.setColumn(0, "endid", userid);
- ds_send_srch.setColumn(0, "pamid", userid);
- ds_send_srch.setColumn(0, "worktype", "all");
-
- fGetEndinfo();
-
- if (rcpttype == "rcptrnm") {
- ds_send_srch.setColumn(0, "rcpttype", "all");
- } else {
- ds_send_srch.setColumn(0, "rcpttype", rcpttype);
-
- var oParam = {};
- oParam.id = "TRPAE00102";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetRcptDetInfoList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_detl=rcptdetinfo";
- oParam.async = false;
- oParam.callback = "cf_TRPAE00102";
-
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRPAE00102") > -1) {
- fSetDetAmtSum(); //총계를 생성
- switch1.tabindex = 1;
- }
- }
- } else {
-
- userid = sysf_getUserId();
-
- ds_send_srch.setColumn(0, "enddd", enddd);
-
- fGetBaseInfo();
-
- ds_send_srch.setColumn(0, "endid", userid);
- ds_send_srch.setColumn(0, "pamid", userid);
-
- fGetEndinfo();
- }
- }
- function cf_TRPAE00102(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetEndinfo();
- }
- function ipt_enddd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- }
- function ipt_endid_onkeyup(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- ds_send_srch.setColumn(0, "endid", ipt_endid.text);
- ds_send_srch.setColumn(0, "pamid", ipt_endid.text);
-
- fGetEndinfo();
- }
- }
- function cmb_pamid_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- if (!utlf_isNull(ds_send_srch.getColumn(0, "pamid"))) {
- ds_send_srch.setColumn( 0, "endid", ds_send_srch.getColumn(0, "pamid"));
- fGetEndinfo();
- }
- }
- function btn_kiosk_onclick(obj:Button, e:ClickEventInfo) {
- frmf_setParameter("SMPAE00202_fromdd", ds_send_srch.getColumn(0, "enddd"));
- frmf_open("SMPAE00202", "SMPAE00202", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function switch1_case1_grd_endlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
-
- if (e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "errcnt")) {
-
- fGetErrinfo(ds_main_magm.getColumn(e.row, "worktype"));
- } else if (e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "execnt") ||
- e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "cashamt") ||
- e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "cardamt") ||
- e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "onlineamt") ||
- e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "uncoamt")) {
-
- var worktype = ds_main_magm.getColumn(e.row, "worktype");
- var rcpttype = "";
-
- if (e.col == switch1.case1.grd_endlist.getBindCellIndex("body", "execnt")) {
-
- rcpttype = "all";
-
- } else {
-
- rcpttype = switch1.case1.grd_endlist.getCellProperty("body", e.col, "text").split(":")[1];
- }
- ds_send_srch.setColumn(0, "worktype", worktype);
- ds_send_srch.setColumn(0, "rcpttype", rcpttype);
-
- var oParam = {};
- oParam.id = "TRPAE00102";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetRcptDetInfoList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_detl=rcptdetinfo";
- oParam.async = false;
- oParam.callback = "cf_TRPAE00102";
-
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRPAE00102") > -1) {
- fSetDetAmtSum(); //총계를 생성
- switch1.tabindex = 1;
- }
- }
- }
- function cf_TRPAE00102(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function switch1_case1_button3_onclick(obj:Button, e:ClickEventInfo) {
- fSetEndinfo("ALL");
- }
- function switch1_case1_btn_arpverrinfo_onclick(obj:Button, e:ClickEventInfo) {
- fGetErrinfo("ALL");
- }
- function switch1_case1_btn_acptaprv1_onclick(obj:Button, e:ClickEventInfo) {
- fSetEndAcpt("approvalid_1", "aprv");
- }
- function switch1_case1_btn_acptcncl1_onclick(obj:Button, e:ClickEventInfo) {
- fSetEndAcpt("approvalid_1", "cncl");
- }
- function switch1_case2_button4_onclick(obj:Button, e:ClickEventInfo) {
- ds_send_srch.setColumn(0, "worktype", ds_send_srch.getColumn(0, "worktype"));
- ds_send_srch.setColumn(0, "rcpttype", ds_send_srch.getColumn(0, "rcpttype"));
- var oParam = {};
- oParam.id = "TRPAE00102";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetRcptDetInfoList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_detl=rcptdetinfo";
- oParam.async = false;
- oParam.callback = "cf_TRPAE00102";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPAE00102") > -1) {
- fSetDetAmtSum();
- switch1.tabindex = 1;
- }
- }
- function cf_TRPAE00102(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function switch1_case2_button5_onclick(obj:Button, e:ClickEventInfo) {
- grdf_exportExcel(switch1.case2.grd_rcptdetlist, "KU일일마감", "Sheet1", true, "" , 'user' , true);
- }
- function btn_prtrcpt_onclick(obj:Button, e:ClickEventInfo) {
- if (sysf_getUserId() != "PAM") {
-
- ds_send_srch.setColumn(0, "staffkind", "1");
-
- var oParam = {};
- oParam.id = "TRPAE00110";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetStaffCheck";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_hidden_aprvinfo=aprvinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if (eval(ds_hidden_aprvinfo.getColumn(0, "aprvcnt")) < 1) {
- sysf_messageBox("수납자 결재 후 출력이 가능합니다.", "E999");
- return;
- }
- }
-
- ds_report_rcptlist.clearData();
- ds_report_rcptlist.copyData(ds_main_mgsm);
-
- var oParam = {};
- oParam.id = "TRPAE00107";
- oParam.service = "pamendstatsapp.PamEndStats";
- oParam.method = "reqGetRcptPrtInfo";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_report_prtinfo=prtinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- dsf_makeValue(ds_report_prtinfo, "enddd", "string", ds_send_srch.getColumn(0, "enddd"));
- dsf_makeValue(ds_report_prtinfo, "aprv3nm", "string", APRV3_NM);
- dsf_makeValue(ds_report_prtinfo, "aprv4nm", "string", APRV4_NM);
-
- var objDOM = rptf_createDOM();
- var objParam = new Object();
-
- rptf_setNodeListToDOM(objDOM, "root/report/rcptlist", ds_report_rcptlist);
- rptf_setNodeListToDOM(objDOM, "root/report/prtinfo", ds_report_prtinfo);
-
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- //var option = "open=1;save=1;directprint=0;printdialog=1;print=0;zoom=0";
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
-
- rptf_exeReportPreview30(["RPPAE00100"],[objParam], option);
- }
- function ipt_enddd_onchanged(obj:Calendar, e:ChangeEventInfo) {
- fPamuserSearch();
- fGetEndinfo();
- }
- function switch1_case1_grd_endlist_onexpanddown(obj:Grid, e:GridMouseEventInfo) {
- fSetEndinfo(ds_main_magm.getColumn(e.row, "worktype"));
- }
- function switch1_case1_grd_errinfo_onkeyup(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey && e.keycode == 67) {
- grdf_clipboardCopy(obj, "PAM");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|