123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI05430" position="absolute 0 0 1173 758" titletext="보관금 관리 대장" onload="SMPMI05430_onload" oninit="SMPMI05430_oninit">
- <Layouts>
- <Layout>
- <Div id="group5" taborder="4" position="absolute 0 25 1172 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption8" text="~" position="absolute 210 11 225 31" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1095 10 1101 32" anchor="top right"/>
- <Static id="caption39" text="수납기간조회" class="search_name" position="absolute 8 12 136 29" anchor="default"/>
- <Calendar id="todd" taborder="1" class="input_search" position="absolute 225 11 323 30" anchor="default"/>
- <Button id="btn_search2" taborder="2" text="조회" class="btn1" position="absolute 1109 10 1165 32" anchor="top right" onclick="group5_btn_search2_onclick"/>
- <Calendar id="fromdd" taborder="0" class="input_search" position="absolute 102 11 200 30" anchor="default" autoselect="true" autoskip="true" onchanged="group5_fromdd_onchanged"/>
- <CheckBox id="bool4" taborder="3" position="absolute 748 12 768 29" anchor="default" truevalue="Y" falsevalue="N"/>
- <Static id="caption1" text="미환불" position="absolute 771 11 841 31" anchor="default"/>
- <CheckBox id="bool1" taborder="4" position="absolute 331 12 353 29" anchor="default" onclick="group5_bool1_onclick"/>
- <Static id="caption2" text="보관금존재여부" position="absolute 352 11 447 31" anchor="default"/>
- <Static id="caption4" text="보관금 전체" position="absolute 573 11 679 31" anchor="default"/>
- <CheckBox id="bool2" taborder="5" position="absolute 550 12 575 29" anchor="default" truevalue="Y" falsevalue="N" onclick="group5_bool2_onclick"/>
- <Static id="caption7" text="보관금기준" class="search_name" position="absolute 460 12 550 29" anchor="default"/>
- <Static id="caption9" text="환불여부" class="search_name" position="absolute 670 12 750 29" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group4" taborder="6" position="absolute 0 25 1172 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1172" height="35">
- <Static id="caption16" text="~" position="absolute 205 11 216 31" anchor="left top"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1097 10 1103 32" anchor="top right"/>
- <Static id="caption17" text="수납기간조회" class="search_name" position="absolute 3 12 91 29" anchor="left top"/>
- <Calendar id="input3" taborder="1" class="input_search" position="absolute 220 11 323 30" anchor="left top" autoselect="true"/>
- <Button id="button4" taborder="2" text="조회" class="btn1" position="absolute 1111 10 1167 32" anchor="top right" onclick="group4_button4_onclick"/>
- <Calendar id="input4" taborder="0" class="input_search" position="absolute 99 11 202 30" anchor="left top" autoselect="true" autoskip="true" onchanged="group4_input4_onchanged"/>
- <CheckBox id="bool7" taborder="3" position="absolute 785 13 800 28" anchor="left top"/>
- <Static id="caption18" text="미환불만" position="absolute 808 11 878 31" anchor="default"/>
- <CheckBox id="bool8" taborder="4" position="absolute 330 13 345 28" anchor="left top" falsevalue="N" truevalue="Y" onclick="group4_bool8_onclick"/>
- <Static id="caption19" text="보관금존재여부" position="absolute 350 11 445 31" anchor="left top"/>
- <Static id="caption20" text="보관금만(수납제외)" position="absolute 565 11 673 31" anchor="left top"/>
- <CheckBox id="bool9" taborder="5" position="absolute 542 13 557 28" anchor="default" falsevalue="N" truevalue="Y" onclick="group4_bool9_onclick"/>
- <Static id="caption21" text="보관금기준" class="search_name" position="absolute 460 12 534 29" anchor="default"/>
- <Static id="caption22" text="환불여부" class="search_name" position="absolute 713 12 777 29" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group2" taborder="7" class="div_SA" position="absolute 0 25 1172 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption5" text="~" position="absolute 204 10 219 30" anchor="default"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1093 9 1099 31" anchor="top right"/>
- <Static id="caption10" text="수납기간조회" class="search_name" position="absolute 7 11 111 28" anchor="default"/>
- <Calendar id="input1" taborder="1" class="input_search" position="absolute 220 10 318 29" anchor="default" autoselect="true"/>
- <Button id="button3" taborder="2" text="조회" class="btn1" position="absolute 1107 9 1163 31" anchor="top right" onclick="group2_button3_onclick"/>
- <Calendar id="input2" taborder="0" class="input_search" position="absolute 103 10 201 29" anchor="default" autoselect="true" autoskip="true" onchanged="group2_input2_onchanged"/>
- <CheckBox id="bool3" taborder="3" position="absolute 743 11 763 28" anchor="default" truevalue="Y" falsevalue="N"/>
- <Static id="caption11" text="미환불" position="absolute 769 10 839 30" anchor="default"/>
- <CheckBox id="bool5" taborder="4" position="absolute 325 11 347 28" anchor="default" truevalue="Y" falsevalue="N" value="N" onclick="group2_bool5_onclick"/>
- <Static id="caption12" text="보관금존재여부" position="absolute 345 10 440 30" anchor="default"/>
- <Static id="caption13" text="보관금 전체" position="absolute 567 11 673 31" anchor="default"/>
- <CheckBox id="bool6" taborder="5" position="absolute 544 11 569 28" anchor="default" truevalue="Y" falsevalue="N" value="N" onclick="group2_bool6_onclick"/>
- <Static id="caption14" text="보관금기준" class="search_name" position="absolute 455 12 545 29" anchor="default"/>
- <Static id="caption15" text="환불여부" class="search_name" position="absolute 665 12 745 29" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="퇴원환자 보고서" class="tit_1" position="absolute 0 0 160 25" anchor="left top"/>
- <Shape id="line20" linetype="horizontal" class="line_1" position="absolute 0 89 1170 95" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption3" text="가퇴원 보관금 관리대장" class="tit_2" position="absolute 0 73 173 89" anchor="left top"/>
- <Button id="button1" taborder="1" text="엑셀저장" class="btn7" position="absolute 1095 70 1169 89" onclick="button1_onclick" anchor="top right"/>
- <Button id="button2" taborder="2" text="출력" class="btn6" position="absolute 1040 70 1092 89" onclick="button2_onclick" anchor="top right"/>
- <Grid id="grd_cusmoneylist" taborder="3" binddataset="ds_main_h_custodymoney_custodymoney" useinputpanel="false" position="absolute 0 94 1170 754" onrbuttondown="grd_cusmoneylist_onrbuttondown" oncellclick="grd_cusmoneylist_oncellclick" oncelldblclick="grd_cusmoneylist_oncelldblclick" anchor="all" autofittype="col" cellsizebandtype="body" cellsizingtype="col" autoenter="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="140"/>
- <Column size="80"/>
- <Column size="88"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="80"/>
- </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" text="수납구분"/>
- <Cell col="8" text="수납자"/>
- <Cell col="9" text="가퇴원보관금"/>
- <Cell col="10" text="보관금입금"/>
- <Cell col="11" text="보관금환불"/>
- <Cell col="12" text="환불대상금"/>
- <Cell col="13" text="안내장출력"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="3" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="4" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="5" displaytype="date" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" text="bind:rcpttm" mask="HH:mm"/>
- <Cell col="7" style="align:center middle;" text="bind:keepkind"/>
- <Cell col="8" style="align:center middle;" text="bind:rcptidnm"/>
- <Cell col="9" displaytype="number" style="align:right middle;" text="bind:rcptamt" mask="9,999"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="bind:keepamt" mask="9,999"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="bind:keepamt_rest" mask="9,999"/>
- <Cell col="12" displaytype="number" style="align:right middle;" text="bind:keepamt_refund" mask="9,999"/>
- <Cell col="13" displaytype="checkbox" edittype="checkbox" text="bind:prtyn" expr="expr:prtyn == 'true' ? 1 : 0"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="1" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;" text="합계"/>
- <Cell col="2" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="3" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="4" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="5" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="6"/>
- <Cell col="7" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="8" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- <Cell col="9" displaytype="number" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;" expr="expr:getSum("rcptamt")"/>
- <Cell col="10" displaytype="number" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;" expr="expr:getSum("keepamt")"/>
- <Cell col="11" displaytype="number" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;" expr="expr:getSum("keepamt_rest")"/>
- <Cell col="12" displaytype="number" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;" expr="expr:getSum("keepamt_refund")"/>
- <Cell col="13" style="background:#fcd2c1ff;background2:#fcd2c1ff;color:black;color2:black;font:Dotum,9,bold;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <PopupMenu id="pmn_menu1" position="absolute 1182 90 1336 117" innerdataset="@ds_hidden_popupmenu_gridmenu_item" levelcolumn="level" idcolumn="func" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="norefunds" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- <Column id="keepyn" type="STRING" size="256"/>
- <Column id="rcptyn" type="STRING" size="256"/>
- <Column id="dridsorttype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="sess_posinstcd"/>
- <Col id="ioflag"/>
- <Col id="norefunds"/>
- <Col id="sendflag"/>
- <Col id="keepyn"/>
- <Col id="rcptyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_h_custodymoney_custodymoney" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_h_custodymoney_custodymoney_oncolumnchanged">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="rcptexecdd" type="STRING" size="256" sumtext="가퇴원수납일"/>
- <Column id="keepkind" type="STRING" size="256" sumtext="수납구분"/>
- <Column id="rcptidnm" type="STRING" size="256" sumtext="수납자"/>
- <Column id="rcptamt" type="STRING" size="256" sumtext="보관금"/>
- <Column id="keepamt" type="STRING" size="256" sumtext="보관금입금"/>
- <Column id="keepamt_rest" type="STRING" size="256" sumtext="보관금환불"/>
- <Column id="keepamt_refund" type="STRING" size="256" sumtext="환불대상금"/>
- <Column id="prtyn" type="STRING" size="256" sumtext="안내장출력여부"/>
- <Column id="rcpttm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_h_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_popupmenu_gridmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">가퇴원보관금 환불안내장</Col>
- <Col id="func">fPrintKeep</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="keepamt_refund" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.input4" propid="value" datasetid="ds_send_data1" columnid="fromdd"/>
- <BindItem id="item1" compid="group4.input3" propid="value" datasetid="ds_send_data1" columnid="todd"/>
- <BindItem id="item2" compid="group4.bool8" propid="value" datasetid="ds_send_data1" columnid="keepyn"/>
- <BindItem id="item3" compid="group4.bool9" propid="value" datasetid="ds_send_data1" columnid="rcptyn"/>
- <BindItem id="item4" compid="group4.bool7" propid="value" datasetid="ds_send_data1" columnid="norefunds"/>
- <BindItem id="item5" compid="group5.fromdd" propid="value" datasetid="ds_send_data1" columnid="fromdd"/>
- <BindItem id="item6" compid="group5.todd" propid="value" datasetid="ds_send_data1" columnid="todd"/>
- <BindItem id="item7" compid="group5.bool2" propid="value" datasetid="ds_send_data1" columnid="rcptyn"/>
- <BindItem id="item8" compid="group5.bool4" propid="value" datasetid="ds_send_data1" columnid="columnid="norefunds"/>
- <BindItem id="item9" compid="group2.input1" propid="value" datasetid="ds_send_data1" columnid="todd"/>
- <BindItem id="item10" compid="group2.input2" propid="value" datasetid="ds_send_data1" columnid="fromdd"/>
- <BindItem id="item11" compid="group2.bool5" propid="value" datasetid="ds_send_data1" columnid="keepyn"/>
- <BindItem id="item12" compid="group2.bool6" propid="value" datasetid="ds_send_data1" columnid="rcptyn"/>
- <BindItem id="item13" compid="group2.bool3" propid="value" datasetid="ds_send_data1" columnid="norefunds"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include 'com_commonxp::comm_main.xjs';
- include 'pam_opatmngtxp::PMOCOM.xjs';
- var arErrorCode = new HashArray();
- function SMPMI05430_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPMI05430_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_cusmoneylist);
-
- fGetUserInfosSampling();//세션정보
-
- ds_send_data1.setColumn(0, "sess_posinstcd", ds_hidden_session.getColumn(0, "sess_dutplceinstcd"));
- ds_send_data1.setColumn(0, "ioflag","I");
- ds_send_data1.setColumn(0, "keepyn","Y");
- ds_send_data1.setColumn(0, "norefunds","N");
- ds_send_data1.setColumn(0, "rcptyn","N");
- group5.bool2.enable = false;
- ds_send_data1.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send_data1.setColumn(0, "todd", utlf_getCurrentDate());
-
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_=disccd ds_=insukind ds_=suppkind ds_=suppkindhist ds_=orddeptcd ds_=orddrid ds_=wardcd ds_=roomcd ds_=bedcd ds_=roomgrdecd ds_=roomgrdelist ds_=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00106";
- tranf_submit(oParam);
-
-
- var arrParam = [{dsNm: "ds_init1_P0101_P0101list", cdGrpId: "P0101", showValue: false}
- ,{dsNm: "ds_init1_P0028_P0028list", cdGrpId: "P0028", showValue: false}
- ,{dsNm: "ds_init1_P0038_P0038list", cdGrpId: "P0038", showValue: false}];
- appf_getCodeList(arrParam);
- }
- function f_Search()
- {
- ds_send_data1.setColumn(0, "sendflag" , "custodymoney")
-
- var oParam = {};
- oParam.id = "TRPMI05430";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqChanType";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_h_custodymoney_custodymoney=custodymoney";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI05430";
- tranf_submit(oParam);
-
- grd_cusmoneylist.setFocus();
- }
- function group2_bool5_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "rcptyn", "N");
- group5.bool2.enable = false;
- }
- else
- {
- group5.bool2.enable = true;
- }
- }
- function group2_bool6_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "keepyn", "N");
- group5.bool1.enable = false;
- }
- else
- {
- group5.bool1.enable = true;
- }
- }
- function group2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- f_Search();
- }
- function group4_bool8_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "rcptyn", "N");
- group5.bool2.enable = false;
- }
- else
- {
- group5.bool2.enable = true;
- }
- }
- function group4_bool9_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "keepyn", "N");
- group5.bool1.enable = false;
- }
- else
- {
- group5.bool1.enable = true;
- }
- }
- function group4_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- f_Search();
- }
- function group5_bool1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "rcptyn", "N");
- group5.bool2.enable = false;
- }
- else
- {
- group5.bool2.enable = true;
- }
- }
- function group5_bool2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- // 조회조건 배타처리 (수납금기준 / 보관금기준 동시 선택 불가)
- if (obj.value == "Y")
- {
- ds_send_data1.setColumn(0, "keepyn", "N");
- group5.bool1.enable = false;
- }
- else
- {
- group5.bool1.enable = true;
- }
- }
- function group5_btn_search2_onclick(obj:Button, e:ClickEventInfo)
- {
- f_Search();
- }
- function grd_cusmoneylist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.cell != obj.getBindCellIndex("Body", "prtyn"))
- {
- return;
- }
-
- fSetPrtYN();
- }
- function grd_cusmoneylist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var sPid = ds_main_h_custodymoney_custodymoney.getColumn(ds_main_h_custodymoney_custodymoney.rowposition, "pid");
-
- // 보관금화면 호출
- frmf_setParameter("SMPAI02300_PARAM", sPid);
- frmf_open("SMPAI02300", "SMPAI02300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function grd_cusmoneylist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
- {
- obj.closePopup();
- }
- function fPrintKeep()
- {
- ds_send_data2.setColumn(0, "pid" , ds_main_h_custodymoney_custodymoney.getColumn(ds_main_h_custodymoney_custodymoney.rowposition, "pid"));
- ds_send_data2.setColumn(0, "keepamt_refund" , ds_main_h_custodymoney_custodymoney.getColumn(ds_main_h_custodymoney_custodymoney.rowposition, "keepamt_refund"));
-
- var oParam = {};
- oParam.id = "TRPMI05430";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqGetPrintKpam";
- oParam.inds = "req=ds_send_data2";
- oParam.outds = "ds_main_h_print=print";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI05430";
- tranf_submit(oParam);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/h_print/print", ds_main_h_print);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPMI05431"],[objParam], option);
- ds_main_h_custodymoney_custodymoney.setColumn(ds_main_h_custodymoney_custodymoney.rowposition, "prtyn", "true");
-
- fSetPrtYN();
- }
- function fSetPrtYN()
- {
- var row = ds_main_h_custodymoney_custodymoney.rowposition;
- var pid = ds_main_h_custodymoney_custodymoney.getColumn(row, "pid");
- var indd = ds_main_h_custodymoney_custodymoney.getColumn(row, "indd");
- var prtyn = ds_main_h_custodymoney_custodymoney.getColumn(row, "prtyn");
-
- ds_send_data3.setColumn(0, "pid", pid);
- ds_send_data3.setColumn(0, "indd", indd);
- ds_send_data3.setColumn(0, "prtyn", prtyn == "true" ? "Y" : "");
-
- var oParam = {};
- oParam.id = "TXPMI05431";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqSetKeepamtPrtYn";
- oParam.inds = "req=ds_send_data3";
- oParam.async = false;
- //oParam.callback = "cf_TXPMI05431";
- tranf_submit(oParam);
- }
- function ds_main_h_custodymoney_custodymoney_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "prtyn")
- {
- obj.setColumn(e.row, "prtyn", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/send/data1", ds_send_data1);
- rptf_setNodeListToDOM(objDOM, "/root/main/h_custodymoney/custodymoney", ds_main_h_custodymoney_custodymoney);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPMI05430"],[objParam], option);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_cusmoneylist, "excel", "SheetName", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|