123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP03500" position="absolute 0 0 1202 769" titletext="Cart Bag" oninit="SMMNP03500_oninit" onload="SMMNP03500_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_casecartrtnmngtlist" class="datagrid2" taborder="9" binddataset="ds_main_castcartrtnmngtlist" autoenter="select" useinputpanel="false" cellsizingtype="both" autofittype="col" position="absolute 0 102 1195 764" anchor="all" oncelldblclick="grd_casecartrtnmngtlist_oncelldblclick" extendsizetype="row" autosizingtype="row" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="45"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="330"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text=" 출력"/>
- <Cell col="2" text=" 반납"/>
- <Cell col="3" text="Cart 상태"/>
- <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="진행 상태"/>
- <Cell col="14" text="수술 구분"/>
- <Cell col="15" text="수술예약번호"/>
- <Cell col="16" text="수술상태"/>
- <Cell col="17" text="roomcd"/>
- <Cell col="18" text="sa"/>
- <Cell col="19" text="병동명"/>
- <Cell col="20" text="수술일자"/>
- <Cell col="21" text="환자구분"/>
- <Cell col="22" text="수술시작시간"/>
- <Cell col="23" text="수술진행코드"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:prntflag" expr="expr:prntflag == 'true' ? 1 : 0"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:rtnflag" expr="expr:rtnflag == 'true' ? 1 : 0"/>
- <Cell col="3" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:ccrtstatnm"/>
- <Cell col="4" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:perfdeptabbr"/>
- <Cell col="5" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:oproomnm"/>
- <Cell col="6" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="7" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:pid"/>
- <Cell col="8" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:patnm"/>
- <Cell col="9" style="align:left middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opnm"/>
- <Cell col="10" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:perfnm"/>
- <Cell col="11" style="align:left middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:anstdrnm"/>
- <Cell col="12" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:anstkind"/>
- <Cell col="13" style="align:center middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opstat" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="14" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opflag"/>
- <Cell col="15" text="bind:oprsrvno"/>
- <Cell col="16" text="bind:ccrtstat"/>
- <Cell col="17" text="bind:roomcd"/>
- <Cell col="18" text="bind:sa"/>
- <Cell col="19" text="bind:wardnm"/>
- <Cell col="20" text="bind:opcnfmdd"/>
- <Cell col="21" text="bind:disp1"/>
- <Cell col="22" text="bind:disp2"/>
- <Cell col="23" text="bind:disp3"/>
- <Cell col="24" text="bind:goodstat"/>
- <Cell col="25" text="bind:instrstat"/>
- <Cell col="26" text="bind:cststat"/>
- <Cell col="27" text="bind:patflagcd"/>
- <Cell col="28" text="bind:tm"/>
- <Cell col="29" text="bind:opstatcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="Cart Bag 반납관리" position="absolute 0 0 248 25" id="caption6" class="tit_1"/>
- <Button id="btn_cnclrtn" taborder="2" text="반납취소" class="btn5" visible="false" position="absolute 1131 78 1195 97" anchor="top right" onclick="btn_cnclrtn_onclick"/>
- <Div id="grp_sea" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Static id="caption2" text="수술일자 :" class="search_name" position="absolute 381 12 453 32"/>
- <Static id="caption4" text="수술방 :" class="search_name" position="absolute 713 12 775 32"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 10 1110 32" anchor="top right"/>
- <Combo id="cmb_oproomlist" taborder="2" innerdataset="@ds_init_oproomlist" codecolumn="oproomcd" datacolumn="oproomnm" class="combo_search" position="absolute 838 12 896 32" onitemchanged="grp_sea_cmb_oproomlist_onitemchanged"/>
- <Calendar id="input3" taborder="3" class="input_search" position="absolute 457 12 557 32" onchanged="grp_sea_input3_onchanged" autoselect="true"/>
- <Radio id="radio1" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 258 12 366 32" onitemchanged="grp_sea_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">미반납</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption5" text="반납여부 :" class="search_name" position="absolute 182 12 253 32"/>
- <Static id="caption7" text="등록번호 :" class="search_name" position="absolute 911 12 989 32"/>
- <Edit id="input1" taborder="5" autoselect="true" autoskip="true" position="absolute 993 12 1093 32" onkeyup="grp_sea_input1_onkeyup"/>
- <Combo id="cmb_rosette" taborder="6" innerdataset="@ds_init_rosettelist" codecolumn="rosettecd" datacolumn="rosettenm" class="combo_search" position="absolute 776 12 834 32" onitemchanged="grp_sea_cmb_rosette_onitemchanged"/>
- <Static id="caption10" text="구분 :" class="search_name" position="absolute 12 12 57 32"/>
- <Radio id="rdo_cartgubn" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 62 12 162 32" onitemchanged="grp_sea_rdo_cartgubn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">수술</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">마취</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_tommorow" taborder="8" text="내일" class="btn2" position="absolute 653 12 695 32" onclick="grp_sea_btn_tommorow_onclick"/>
- <Button id="btn_today" taborder="9" text="오늘" class="btn2" position="absolute 608 12 650 32" onclick="grp_sea_btn_today_onclick"/>
- <Button id="btn_yesterday" taborder="10" text="어제" class="btn2" position="absolute 563 12 605 32" onclick="grp_sea_btn_yesterday_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 97 1195 103" anchor="left top right"/>
- <Button id="btn_listprn" taborder="5" text="List출력" class="btn2" position="absolute 1003 78 1067 97" anchor="top right" onclick="btn_listprn_onclick"/>
- <Static id="caption3" text="※ Cart Bag 반납내역상세조회는 더블 클릭하시면 조회할 수 있습니다." position="absolute 340 78 764 98" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Static id="caption1" text="Cart Bag 반납관리" class="tit_2" position="absolute 0 81 147 103"/>
- <Button id="btn_excel" taborder="6" text="Excel" class="btn7" position="absolute 1069 78 1130 97" anchor="top right" onclick="btn_excel_onclick"/>
- <Button id="btn_rtnprn" taborder="7" text="반납 상세내역 출력" class="btn5" position="absolute 882 78 1001 97" anchor="top right" onclick="btn_rtnprn_onclick"/>
- <Div id="group5" taborder="8" style="background:#87cefaff;border:1 solid #808080ff ;" visible="false" position="absolute 923 139 1173 189">
- <Layouts>
- <Layout>
- <Static id="caption14" text="출력할 구분을 체크하십시요." class="tit_2" position="absolute 4 3 192 25" anchor="default"/>
- <Button id="btn_prtlabel" taborder="1" text="확인" class="btn5" position="absolute 155 25 197 44" anchor="default" onclick="group5_btn_prtlabel_onclick"/>
- <Button id="button3" taborder="2" text="취소" class="btn5" position="absolute 200 25 242 44" anchor="default" onclick="group5_button3_onclick"/>
- <CheckBox id="checkbox5" taborder="3" text="물품" truevalue="Y" position="absolute 5 25 50 45" anchor="default" onclick="group5_checkbox5_onclick"/>
- <CheckBox id="checkbox6" taborder="4" text="기구/소모품" truevalue="I" position="absolute 50 25 135 45" anchor="default" onclick="group5_checkbox6_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption8" class="color_6" position="absolute 149 81 164 96" style="background:#d22d2dff;"/>
- <Static id="caption15" text="취소" position="absolute 169 82 204 97"/>
- <Static id="caption9" text="반납" position="absolute 219 82 254 97"/>
- <Static id="caption18" class="color_6" position="absolute 199 81 214 96" style="background:#2d2dd2ff;"/>
- <Button id="btn_rtn" taborder="1" text="반납" class="btn5" position="absolute 1152 78 1194 97" anchor="top right" onclick="btn_rtn_onclick"/>
- <Div id="grp_report" taborder="10" position="absolute 294 280 567 449" visible="false">
- <Layouts>
- <Layout width="273" height="169"/>
- </Layouts>
- </Div>
- <CheckBox id="chk_prntflag" taborder="11" position="absolute 31 109 51 127" truevalue="true" falsevalue="false" onclick="chk_prntflag_onclick"/>
- <CheckBox id="chk_rtnflag" taborder="12" position="absolute 77 109 97 127" truevalue="true" falsevalue="false" onclick="chk_rtnflag_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opdd" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="rtnflag" type="STRING" size="256"/>
- <Column id="refcartgubn" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rosette" type="STRING" size="256"/>
- <Column id="prntgood" type="STRING" size="256"/>
- <Column id="prntinstr" type="STRING" size="256"/>
- <Column id="prntcst" type="STRING" size="256"/>
- <Column id="openflag" type="STRING" size="256"/>
- <Column id="prntpad" type="STRING" size="256"/>
- <Column id="cartgubn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="opdd"/>
- <Col id="oproomcd"/>
- <Col id="rtnflag">2</Col>
- <Col id="refcartgubn">O</Col>
- <Col id="pid"/>
- <Col id="rosette"/>
- <Col id="prntgood">G</Col>
- <Col id="prntinstr"/>
- <Col id="prntcst"/>
- <Col id="openflag">CCR</Col>
- <Col id="prntpad"/>
- <Col id="cartgubn">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_rosettelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rosettecd" type="STRING" size="256" sumtext="rosettecd"/>
- <Column id="rosettenm" type="STRING" size="256" sumtext="rosettenm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_oproomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술실코드"/>
- <Column id="oproomnm" type="STRING" size="256" sumtext="수술실명 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_castcartrtnmngtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_castcartrtnmngtlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="prntflag" type="STRING" size="256" sumtext="출력"/>
- <Column id="rtnflag" type="STRING" size="256" sumtext="반납"/>
- <Column id="ccrtstatnm" type="STRING" size="256" sumtext="카트상태"/>
- <Column id="perfdeptabbr" type="STRING" size="256" sumtext="집도과"/>
- <Column id="oproomnm" type="STRING" size="256" sumtext="불출수술방"/>
- <Column id="opdt" type="STRING" size="256" sumtext="수술일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="perfnm" type="STRING" size="256" sumtext="집도의"/>
- <Column id="anstdrnm" type="STRING" size="256" sumtext="마취의"/>
- <Column id="anstkind" type="STRING" size="256" sumtext="마취방법"/>
- <Column id="opstat" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="opflag" type="STRING" size="256" sumtext="수술구분"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
- <Column id="ccrtstat" type="STRING" size="256" sumtext="카트상태"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
- <Column id="sa" type="STRING" size="256" sumtext="sa"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="oproomcd"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="wardnm"/>
- <Column id="opcnfmdd" type="STRING" size="256" sumtext="opcnfmdd"/>
- <Column id="disp1" type="STRING" size="256" sumtext="혈액주의"/>
- <Column id="disp2" type="STRING" size="256" sumtext="접촉주의"/>
- <Column id="disp3" type="STRING" size="256" sumtext="공기주의"/>
- <Column id="goodstat" type="STRING" size="256" sumtext="물품"/>
- <Column id="instrstat" type="STRING" size="256" sumtext="기구"/>
- <Column id="cststat" type="STRING" size="256" sumtext="소모품"/>
- <Column id="patflagcd" type="STRING" size="256" sumtext="환자구분"/>
- <Column id="tm" type="STRING" size="256" sumtext="시간"/>
- <Column id="opstatcd" type="STRING" size="256" sumtext="수술상태값"/>
- <Column id="prntopdt" type="STRING" size="256" sumtext="출력용수술일시"/>
- <Column id="bagstat" type="STRING" size="256" sumtext="출력용수술일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_properties_error" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.rdo_cartgubn" propid="value" datasetid="ds_main_cond" columnid="cartgubn"/>
- <BindItem id="item1" compid="grp_sea.radio1" propid="value" datasetid="ds_main_cond" columnid="rtnflag"/>
- <BindItem id="item2" compid="grp_sea.input3" propid="value" datasetid="ds_main_cond" columnid="opdd"/>
- <BindItem id="item3" compid="grp_sea.cmb_rosette" propid="value" datasetid="ds_main_cond" columnid="rosette"/>
- <BindItem id="item4" compid="grp_sea.cmb_oproomlist" propid="value" datasetid="ds_main_cond" columnid="oproomcd"/>
- <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item6" compid="group5.checkbox5" propid="value" datasetid="ds_main_cond" columnid="prntgood"/>
- <BindItem id="item7" compid="group5.checkbox6" propid="value" datasetid="ds_main_cond" columnid="prntinstr"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-12
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-12 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_opanstxp::SMMNP03500.xjs";
- function SMMNP03500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNP03500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_casecartrtnmngtlist);
-
- fInit();
- }
- function grp_sea_rdo_cartgubn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(obj.value == "1" )
- {
- btn_listprn.position.left = 1003;
- btn_listprn.position.right = 1067;
- btn_listprn.position.width = 64;
-
- btn_excel.position.left = 1069;
- btn_excel.position.right = 1130;
- btn_excel.position.width = 61;
-
- btn_cnclrtn.position.left = 1131;
- btn_cnclrtn.position.right = 1195;
- btn_cnclrtn.position.width = 64;
-
- btn_rtnprn.position.left = 882;
- btn_rtnprn.position.right = 1001;
- btn_rtnprn.position.width = 119;
-
- btn_cnclrtn.visible = true;
- btn_rtn.visible = false;
- }
- else
- {
- btn_listprn.position.left = 1024;
- btn_listprn.position.width = 64;
- btn_listprn.position.right = 1088;
-
- btn_excel.position.left = 1090;
- btn_excel.position.right = 1151;
- btn_excel.position.width = 61;
-
- btn_rtn.position.left = 1152;
- btn_rtn.position.right = 1195;
- btn_rtn.position.width = 42;
-
- btn_rtnprn.position.left = 903;
- btn_rtnprn.position.right = 1022;
- btn_rtnprn.position.width = 119;
-
- btn_cnclrtn.visible = false;
- btn_rtn.visible = true;
- }
-
- fSearch();
- }
- function grp_sea_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fSearch();
- }
- function grp_sea_cmb_rosette_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.clearData();
- dsf_makeValue(ds_send, "opcnfmdd", "string", ds_main_cond.getColumn(0, "opdd"), 0);
- dsf_makeValue(ds_send, "rosette", "string", ds_main_cond.getColumn(0, "rosette"), 0);
-
- var oParam = {};
- oParam.id = "TRMNP03002";
- oParam.service = "opanstapp.OpAnstCCrtGoodMngt";
- oParam.method = "reqGetOmcdlist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_oproomlist=oproomlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP03002";
- tranf_submit(oParam);
- }
- function cf_TRMNP03002(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- frmf_addComboItem("grp_sea.cmb_oproomlist","전체","","above");
- }
- }
- function grp_sea_cmb_oproomlist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- }
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_clearSort(grd_casecartrtnmngtlist);
- fSearch();
- }
- function chk_prntflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "true")
- {
- for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
- {
- ds_main_castcartrtnmngtlist.setColumn(i, "prntflag", "true");
- }
- }
- else
- {
- for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
- {
- ds_main_castcartrtnmngtlist.setColumn(i, "prntflag", "false");
- }
- }
- }
- function chk_rtnflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "true")
- {
- for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
- {
- ds_main_castcartrtnmngtlist.setColumn(i, "rtnflag", "true");
- }
- }
- else
- {
- for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
- {
- ds_main_castcartrtnmngtlist.setColumn(i, "rtnflag", "false");
- }
- }
- }
- function ds_main_castcartrtnmngtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "prntflag")
- {
- obj.setColumn(e.row, "prntflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- if(e.columnid == "rtnflag")
- {
- obj.setColumn(e.row, "rtnflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function btn_rtnprn_onclick(obj:Button, e:ClickEventInfo)
- {
- group5.visible = true;
- }
- function btn_listprn_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_main_cond);
- rptf_setNodeListToDOM(objDOM, "/root/main/castcartrtnmngtlist", ds_main_castcartrtnmngtlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPMNP03503"],[objParam], option);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_casecartrtnmngtlist, "excel", "SheetName", "true", "", "");
- }
- function btn_rtn_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveRtn();
- }
- function btn_cnclrtn_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnclRtn();
- }
- function group5_checkbox5_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "G")
- {
- }
- else
- {
- ds_main_cond.setColumn(0, "prntgood", "");
- }
- }
- function group5_checkbox6_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "I")
- {
- }
- else
- {
- ds_main_cond.setColumn(0, "prntinstr", "");
- }
- }
- function group5_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrntCartRtnHist("1");
- group5.visible = false;
- }
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- group5.visible = false;
- }
- function grd_casecartrtnmngtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fDblClick();
- fSearch();
- }
- function grp_sea_btn_yesterday_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
- ds_main_cond.setColumn(0, "opdd", sCalcdd);
- }
- function grp_sea_btn_today_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
- ds_main_cond.setColumn(0, "opdd", sChkdd);
- }
- function grp_sea_btn_tommorow_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
- var sCalcdd = fCalcdate(1, sChkdd);
- ds_main_cond.setColumn(0, "opdd", sCalcdd);
- }
- function fCalcdate(calcn, calcd){
-
- calcd = calcd.toDate("YYYYMMDD");
- calcd = calcd.getAddDate(calcn , "D");
- calcd = calcd.getDateFormat("YYYYMMDD");
-
- return calcd;
- }]]></Script>
- </Form>
- </FDL>
|