123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPJ00600" position="absolute 0 0 1198 767" titletext="검체접수취소" oninit="SMLPJ00600_oninit" onload="SMLPJ00600_onload">
- <Layouts>
- <Layout>
- <Button id="btn_save" taborder="1" text="접수취소" class="btn4" position="absolute 1114 2 1194 24" onclick="btn_save_onclick" anchor="top right"/>
- <Static id="caption6" text="검체접수취소" class="tit_1" position="absolute 0 0 106 25" anchor="left top"/>
- <Static id="caption4" text="검체접수리스트" class="tit_2" position="absolute 3 76 119 93" anchor="left top"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 94 1194 100" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_ptnolist" class="datagrid2" taborder="3" binddataset="ds_grd_ptnolist" useinputpanel="false" position="absolute 0 98 1194 433" autofittype="none" anchor="left top right" autosizingtype="none" cellsizingtype="col" oncellclick="grd_ptnolist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="38"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="248"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="133"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="56"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="87"/>
- <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"/>
- <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="24" band="head"/>
- <Row size="24"/>
- </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="검사그룹코드"/>
- <Cell col="14" text="검체명"/>
- <Cell col="15" text="그룹검사명"/>
- <Cell col="16" text="진료과코드"/>
- <Cell col="17" text="진료과"/>
- <Cell col="18" text="진료의ID"/>
- <Cell col="19" text="진료의"/>
- <Cell col="20" text="추가처방의ID"/>
- <Cell col="21" text="추가처방의"/>
- <Cell col="22" text="판독의사"/>
- <Cell col="23" text="환자구분"/>
- <Cell col="24" text="수납구분"/>
- <Cell col="25" text="검사상태코드"/>
- <Cell col="26" text="검사상태"/>
- <Cell col="27" text="검체코드"/>
- <Cell col="28" text="검체접수일자"/>
- <Cell col="29" text="검체접수번호"/>
- <Cell col="30" text="검체접수 일련번호"/>
- <Cell col="31" text="Cassette번호"/>
- <Cell col="32" text="비 고"/>
- <Cell col="33" text="접수번호"/>
- <Cell col="34" text="접수항목번호"/>
- <Cell col="35" text="실제접수일자"/>
- <Cell col="36" text="전송일자"/>
- <Cell col="37" text="전송번호"/>
- <Cell col="38" text="전송일련번호"/>
- <Cell col="39" text="실시처방고유번호"/>
- <Cell col="40" text="처방상태코드"/>
- <Cell col="41" text="readonlystate"/>
- <Cell col="42" text="spctrandd"/>
- <Cell col="43" text="spctranno"/>
- <Cell col="44" text="prcpgenrflag"/>
- <Cell col="45" text="testflagcd"/>
- <Cell col="46" text="reqinstcd"/>
- <Cell col="47" text="reqworkno"/>
- <Cell col="48" text="prcpno"/>
- <Cell col="49" text="prcphistno"/>
- <Cell col="50" text="execprcpno"/>
- <Cell col="51" text="enddd"/>
- <Cell col="52" text="보험청구Key"/>
- <Cell col="53" text="실시일자"/>
- </Band>
- <Band id="body">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="expr:acptstatnm == "접수" ? "checkbox" : (acptstatnm == "결과" ? "checkbox" : "none") " style="controlbackground:EXPR(acptstatnm == "접수" ? "" : (acptstatnm == "결과" ? "": "silver"));controlborder:EXPR(acptstatnm == "접수" ? "" : (acptstatnm == "결과" ? "" :"1 solid lightblue"));" text="bind:choi"/>
- <Cell col="2" text="bind:instcd"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="5" edittype="text" text="bind:dispptno"/>
- <Cell col="6" text="bind:ptno"/>
- <Cell col="7" text="bind:disprelaptno"/>
- <Cell col="8" text="bind:relaptno"/>
- <Cell col="9" edittype="text" text="bind:pid"/>
- <Cell col="10" text="bind:patnm"/>
- <Cell col="11" text="bind:testcd"/>
- <Cell col="12" style="align:left middle;" text="bind:testnm"/>
- <Cell col="13" text="bind:tgrupcd"/>
- <Cell col="14" style="align:left middle;" text="bind:spcnm"/>
- <Cell col="15" style="align:left;" text="bind:tgrupnm"/>
- <Cell col="16" text="bind:orddeptcd"/>
- <Cell col="17" text="bind:orddeptnm"/>
- <Cell col="18" text="bind:orddrid"/>
- <Cell col="19" text="bind:orddrnm"/>
- <Cell col="20" text="bind:appeorddrid"/>
- <Cell col="21" text="bind:appeorddrnm"/>
- <Cell col="22" text="bind:readdrnm"/>
- <Cell col="23" text="bind:patflagcd"/>
- <Cell col="24" text="bind:rcptflagcd"/>
- <Cell col="25" text="bind:orgacptstatcd"/>
- <Cell col="26" text="bind:acptstatnm"/>
- <Cell col="27" text="bind:spccd"/>
- <Cell col="28" text="bind:spcacptdd" mask="yyyy-mm-dd"/>
- <Cell col="29" text="bind:spcacptno"/>
- <Cell col="30" text="bind:spcacptseqno"/>
- <Cell col="31" text="bind:blocno"/>
- <Cell col="32" text="bind:cmt"/>
- <Cell col="33" text="bind:acptno"/>
- <Cell col="34" text="bind:acptitemno"/>
- <Cell col="35" text="bind:orgacptdd" mask="yyyy-mm-dd"/>
- <Cell col="36" text="bind:trandd"/>
- <Cell col="37" text="bind:tranno"/>
- <Cell col="38" text="bind:transeqno"/>
- <Cell col="39" text="bind:execprcpuniqno"/>
- <Cell col="40" text="bind:orgprcpstatcd"/>
- <Cell col="41" text="bind:readonlystate"/>
- <Cell col="42" text="bind:spctrandd"/>
- <Cell col="43" text="bind:spctranno"/>
- <Cell col="44" text="bind:prcpgenrflag"/>
- <Cell col="45" text="bind:testflagcd"/>
- <Cell col="46" text="bind:reqinstcd"/>
- <Cell col="47" text="bind:reqworkno"/>
- <Cell col="48" text="bind:prcpno"/>
- <Cell col="49" text="bind:prcphistno"/>
- <Cell col="50" text="bind:execprcpno"/>
- <Cell col="51" text="bind:enddd"/>
- <Cell col="52" text="bind:clamkey"/>
- <Cell col="53" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_resncancle" taborder="4" visible="false" position="absolute 389 217 809 292">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" type="roundrectangle" class="roundrect_search" position="absolute 4 5 415 70" anchor="default"/>
- <Static id="caption8" text="취소사유" class="cell_2" position="absolute 15 15 95 38" anchor="default"/>
- <Button id="btn_cncresn" taborder="12" text="확인취소" class="btn2" position="absolute 334 19 398 38" anchor="default" onclick="grp_resncancle_btn_cncresn_onclick"/>
- <Combo id="combo1" taborder="13" innerdataset="ds_init_combo1" codecolumn="resncd" datacolumn="resncnts" class="combo_default" position="absolute 15 40 398 59" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_cnclresn" text="취소사유" class="cell_2" visible="false" position="absolute 2 302 82 325"/>
- <Combo id="cbo_cnclresn" taborder="5" innerdataset="ds_init_cbo_cnclresn" codecolumn="resncd" datacolumn="resncnts" class="combo_default" visible="false" position="absolute 85 303 1170 322"/>
- <Grid id="grd_acptcncllist" class="datagrid2" taborder="6" binddataset="ds_grd_acptcncllist" useinputpanel="false" position="absolute 0 463 1194 763" autofittype="col" anchor="all" areaselecttype="overband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="28"/>
- <Column size="91"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="159"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="63"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="병리번호"/>
- <Cell col="2"/>
- <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="취소자ID"/>
- <Cell col="14" text="취소자"/>
- <Cell col="15" text="검사코드"/>
- <Cell col="16" text="검사명"/>
- <Cell col="17" text="검사그룹코드"/>
- <Cell col="18" text="그룹검사명"/>
- <Cell col="19" text="진료과코드"/>
- <Cell col="20" text="진료과"/>
- <Cell col="21" text="진료의ID"/>
- <Cell col="22" text="진료의"/>
- <Cell col="23" text="추가처방의ID"/>
- <Cell col="24" text="추가 처방의"/>
- <Cell col="25" text="검체코드"/>
- <Cell col="26" text="검체명"/>
- <Cell col="27" text="Cassette 번호"/>
- <Cell col="28" text="취소사유"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:ptno"/>
- <Cell col="2" text="expr:currow + 1"/>
- <Cell col="3" class="text_center" text="bind:dispptno"/>
- <Cell col="4" text="bind:relaptno"/>
- <Cell col="5" class="text_center" text="bind:disprelaptno"/>
- <Cell col="6" class="text_center" text="bind:pid"/>
- <Cell col="7" class="text_center" text="bind:patnm"/>
- <Cell col="8" class="text_center" text="bind:patflagnm"/>
- <Cell col="9" displaytype="date" edittype="date" class="text_center" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="10" displaytype="date" edittype="date" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="11" displaytype="date" edittype="date" class="text_center" text="bind:cncldd" mask="yyyy-MM-dd"/>
- <Cell col="12" displaytype="date" edittype="date" class="text_center" text="bind:cncltm" mask="hh:mm:ss"/>
- <Cell col="13" text="bind:cnclid"/>
- <Cell col="14" class="text_center" text="bind:cnclnm"/>
- <Cell col="15" text="bind:testcd"/>
- <Cell col="16" style="align:left middle;" text="bind:testnm"/>
- <Cell col="17" text="bind:tgrupcd"/>
- <Cell col="18" text="bind:tgrupnm"/>
- <Cell col="19" text="bind:orddeptcd"/>
- <Cell col="20" class="text_center" text="bind:orddeptnm"/>
- <Cell col="21" text="bind:orddrid"/>
- <Cell col="22" class="text_center" text="bind:orddrnm"/>
- <Cell col="23" text="bind:appeorddrid"/>
- <Cell col="24" class="text_center" text="bind:appeorddrnm"/>
- <Cell col="25" text="bind:spccd"/>
- <Cell col="26" text="bind:spcnm"/>
- <Cell col="27" class="text_center" text="bind:blocno"/>
- <Cell col="28" style="align:left middle;" text="bind:resncnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line5" linetype="horizontal" class="line_1" position="absolute 0 459 1194 465" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption9" text="검체접수취소리스트" class="tit_2" position="absolute 3 441 143 458"/>
- <Div id="group2" taborder="7" class="div_SA" position="absolute 0 25 1195 60" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 787 9 873 26" anchor="top right"/>
- <Edit id="ipt_seaval" taborder="19" onkeyup="group2_ipt_seaval_onkeyup" class="input_search" position="absolute 619 8 704 27" anchor="left top"/>
- <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 527 9 613 26" anchor="left top"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 979 8 991 25" anchor="top right"/>
- <Calendar id="ipt_acptddfrom" taborder="20" class="input_s_essential" position="absolute 876 8 976 27" mask="yyyy-mm-dd" anchor="top right"/>
- <Calendar id="ipt_acptddto" taborder="21" onkeyup="group2_ipt_acptddto_onkeyup" class="input_s_essential" position="absolute 995 8 1095 27" mask="yyyy-mm-dd" anchor="top right"/>
- <Button id="btn_sea" taborder="22" text="조회" onclick="group2_btn_sea_onclick" class="btn1" position="absolute 1123 7 1179 29" anchor="top right"/>
- <Combo id="cbo_ptnocd" taborder="23" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 107 8 263 27" anchor="left top"/>
- <Edit id="ipt_fromptno" taborder="24" class="text_center" position="absolute 296 8 346 27" anchor="left top"/>
- <Static id="caption1" text="병리번호 :" class="search_name" position="absolute 15 9 105 26" anchor="left top"/>
- <Static id="caption7" text="~" class="search_no_b" position="absolute 349 8 361 25" anchor="left top"/>
- <Edit id="input2" taborder="25" class="text_center" position="absolute 394 8 444 27" anchor="left top"/>
- <Edit id="ipt_toyear" taborder="26" class="text_center" position="absolute 364 8 391 27" anchor="left top"/>
- <Edit id="ipt_fromyear" taborder="27" class="text_center" position="absolute 266 8 293 27" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnonm" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ptnolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="disprelaptno" type="STRING"/>
- <Column id="relaptno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="tgrupcd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="tgrupnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="appeorddrid" type="STRING"/>
- <Column id="appeorddrnm" type="STRING"/>
- <Column id="readdrnm" type="STRING"/>
- <Column id="patflagcd" type="STRING"/>
- <Column id="rcptflagcd" type="STRING"/>
- <Column id="orgacptstatcd" type="STRING"/>
- <Column id="acptstatnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcacptdd" type="STRING"/>
- <Column id="spcacptno" type="STRING"/>
- <Column id="spcacptseqno" type="STRING"/>
- <Column id="blocno" type="STRING"/>
- <Column id="cmt" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="acptitemno" type="STRING"/>
- <Column id="orgacptdd" type="STRING"/>
- <Column id="trandd" type="STRING"/>
- <Column id="tranno" type="STRING"/>
- <Column id="transeqno" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="orgprcpstatcd" type="STRING"/>
- <Column id="readonlystate" type="STRING"/>
- <Column id="spctrandd" type="STRING"/>
- <Column id="spctranno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="testflagcd" type="STRING"/>
- <Column id="reqinstcd" type="STRING"/>
- <Column id="reqworkno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="execprcpno" type="STRING"/>
- <Column id="enddd" type="STRING"/>
- <Column id="clamkey" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resncnts" type="STRING"/>
- <Column id="resncd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_cnclresn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resncnts" type="STRING"/>
- <Column id="resncd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_acptcncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="relaptno" type="STRING"/>
- <Column id="disprelaptno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="patflagnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="cncldd" type="STRING"/>
- <Column id="cncltm" type="STRING"/>
- <Column id="cnclid" type="STRING"/>
- <Column id="cnclnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="tgrupcd" type="STRING"/>
- <Column id="tgrupnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="appeorddrid" type="STRING"/>
- <Column id="appeorddrnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="blocno" type="STRING"/>
- <Column id="resncnts" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_resncdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="baseflagcd" type="STRING" size="256"/>
- <Column id="resncd" type="STRING" size="256"/>
- <Column id="resncnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="seameth" type="STRING" size="256"/>
- <Column id="seaval" type="STRING" size="256"/>
- <Column id="resncd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="seaval"/>
- <Col id="seameth">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnocode" type="STRING" size="256"/>
- <Column id="fromyear" type="STRING" size="256"/>
- <Column id="fromptno" type="STRING" size="256"/>
- <Column id="toyear" type="STRING" size="256"/>
- <Column id="toptno" type="STRING" size="256"/>
- <Column id="sysdt" type="STRING" size="256"/>
- <Column id="resncd" type="STRING" size="256"/>
- <Column id="ptnocd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_acptddfrom" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
- <BindItem id="item1" compid="group2.ipt_acptddto" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
- <BindItem id="item2" compid="group2.ipt_seaval" propid="value" datasetid="ds_hidden" columnid="seaval"/>
- <BindItem id="item3" compid="group2.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
- <BindItem id="item4" compid="group2.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
- <BindItem id="item5" compid="group2.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
- <BindItem id="item6" compid="group2.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
- <BindItem id="item7" compid="group2.input2" propid="value" datasetid="ds_init" columnid="toptno"/>
- <BindItem id="item8" compid="grp_resncancle.combo1" propid="value" datasetid="ds_hidden" columnid="resncd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMLPJ00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLPJ00600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_ptnolist);
- grdf_initGrid(grd_acptcncllist);
-
- grdf_setRowTypeIcon(grd_ptnolist, "0");
- fExeInitialize();
- }
- function fExeInitialize()
- {
- var sCurDate = "";
-
- dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
- ,{col: "baseflagcd", val: '20'}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00103";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetReasonCodeList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_combo1=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00103";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "refflagcd", val : "0"}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00109";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetPtNoCdList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00109";
- tranf_submit(oParam);
- // 시스템일자 조회
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
-
- // 초기값 설정
- ds_hidden.setColumn(0, "seaval", "");
- ds_hidden.setColumn(0, "acptfromdd", sCurDate);
- ds_hidden.setColumn(0, "acpttodd", sCurDate);
- ds_hidden.setColumn(0, "seameth", "1");
- ds_hidden.setColumn(0, "resncd", "");
-
- ds_init.setColumn(0, "ptnocode", "");
- ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "fromptno", "");
- ds_init.setColumn(0, "toptno", "");
-
- }
- function fGetCnclPrcpList()
- {
- var sTemp = "";
- var sFromDD = ds_hidden.getColumn(0, "acptfromdd");
- var sToDD = ds_hidden.getColumn(0, "acpttodd");
-
- if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
- {
- if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
- {
- ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromyear");
- ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "toyear")))
- {
- ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toyear");
- ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
- {
- ds_init.setColumn(0, "fromptno", "000000");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromptno");
- ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "toptno")))
- {
- ds_init.setColumn(0, "toptno", "999999");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toptno");
- ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
- }
- }
- ds_grd_ptnolist.updatecontrol = false;
- sTemp = ds_init.getColumn(0, "ptnocode");
- ds_send.clearData();
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "acptfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
- ,{col : "acpttodd", val : ds_hidden.getColumn(0, "acpttodd")}
- ,{col : "refflagcd", val : ds_hidden.getColumn(0, "seameth")}
- ,{col : "refval", val : ds_hidden.getColumn(0, "seaval")}
- ,{col : "ptnocode", val : utlf_transNullToEmpty(sTemp).replace("-", "")}
- ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
- ,{col : "fromptno", val : ds_init.getColumn(0, "fromptno")}
- ,{col : "toyear", val : ds_init.getColumn(0, "toyear")}
- ,{col : "toptno", val : ds_init.getColumn(0, "toptno")}]);
-
- var oParam = {};
- oParam.id = "TRLPJ00601";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetCnclPrcpList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_grd_ptnolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ00601";
- tranf_submit(oParam);
-
- ds_grd_ptnolist.updatecontrol = true;
- fGetCncledPrcpList(); //접수취소리스트 조회.
-
- }
- //접수취소리스트 조회.
- function fGetCncledPrcpList()
- {
- var sTemp = "";
- var sFromDD = ds_hidden.getColumn(0, "acptfromdd");
- var sToDD = ds_hidden.getColumn(0, "acpttodd");
-
- if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
- {
- if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
- {
- ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromyear");
- ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "toyear")))
- {
- ds_init.setColumn(0, "toyear", sToDD.substr(2,2))
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toyear");
- ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
- }
-
- if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
- {
- ds_init.setColumn(0, "fromptno", "000000");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromptno");
- ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "toptno")))
- {
- ds_init.setColumn(0, "toptno", "999999");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toptno");
- ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- sTemp = ds_init.getColumn(0, "ptnocode");
-
- ds_send.clearData();
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "cnclfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
- ,{col : "cncltodd", val : ds_hidden.getColumn(0, "acpttodd")}
- ,{col : "refmthd", val : ds_hidden.getColumn(0, "seameth")}
- ,{col : "refval", val : ds_hidden.getColumn(0, "seaval")}
- ,{col : "ptnocode", val : utlf_transNullToEmpty(sTemp).replace("-", "")}
- ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
- ,{col : "fromptno", val : ds_init.getColumn(0, "fromptno")}
- ,{col : "toyear", val : ds_init.getColumn(0, "toyear")}
- ,{col : "toptno", val : ds_init.getColumn(0, "toptno")}
- ,{col : "acptflagcd", val : "1"}]);
- var oParam = {};
- oParam.id = "TRLPJ00701";
- oParam.service = "plgyrefmngtapp.AcptSpecRef";
- oParam.method = "reqGetAcptCnclList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_acptcncllist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ00701";
- tranf_submit(oParam);
- }
- //취소사유 처리 함수
- function fbfExeAcptCncl()
- {
- grp_resncancle.visible = true;
- }
- function fExeAcptCncl(param)
- {
- // 취소사유 선택여부 검사
- var iRowNo = ds_grd_ptnolist.findRow("choi","1");
-
- if (param == "1")
- {
- if (!frmf_isRequiredControls(new Array("grp_resncancle.combo1"))) return false;
- }
- if (iRowNo < 0)
- {
- sysf_messageBox("취소처방을 선택하여 주십시오! 접수취소를 ", "E001");
- return false;
- }
-
- var recvmsg = sysf_messageBox("블록(Cassette) 및 슬라이드(Slide)도 함께 ", "Q001");
-
- ds_grd_ptnolist.updatecontrol = false;
- var tmp = grdf_getGridUpdateData(grd_ptnolist, "update");
-
- ds_grd_ptnolist.updatecontrol = true;
- grdf_setStatusColumn(tmp, "status");
- dsf_createDs("ds_tmp_batchrpt");
- ds_tmp_batchrpt.copyData(tmp, true);
- dsf_createDsRow("ds_resncd", [{col : "baseflagcd", val : "20"}
- ,{col : "resncd", val : grp_resncancle.combo1.value} //ds_hidden.getColumn(0, "resncd")}
- ,{col : "blocdelyn", val : recvmsg}
- ,{col : "resncnts", val : grp_resncancle.combo1.value}]);
- var oParam = {};
- oParam.id = "TXLPJ00601";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqExeCnclPrcp";
- oParam.inds = "refData=ds_grd_ptnolist:U refInfo=ds_resncd";
- oParam.async = false;
- //oParam.callback = "cf_TXLPJ00601";
- tranf_submit(oParam);
-
- fGetCncledPrcpList(); //접수취소리스트 조회.
-
- fGetCnclPrcpList();
- }
- //조회
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetCnclPrcpList();
- }
- //조회
- function group2_ipt_acptddto_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetCnclPrcpList();
- }
- }
- //접수취소
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fbfExeAcptCncl();
- }
- //확인취소
- function grp_resncancle_btn_cncresn_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeAcptCncl("1");
- grp_resncancle.visible = false;
- }
- function group2_ipt_seaval_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden.setColumn(0, "seaval", group2.ipt_seaval.text);
- fGetCnclPrcpList();
- }
- }
- function grd_ptnolist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var nCol = grd_ptnolist.currentcol;
- if(nCol == grd_ptnolist.getBindCellIndex("Body","choi")){
- fExeGridClick();
- }
- }
- function fExeGridClick() {
-
- var iRowNo = grd_ptnolist.rowposition;
- var strNode = "ds_grd_ptnolist";
- var TestGrupCd = ds_grd_ptnolist.getColumn(iRowNo,"tgrupcd");
- var ChoiVal = ds_grd_ptnolist.getColumn(iRowNo,"choi");
- //-------------------------------
- if (iRowNo <= 0) return false;
- //-------------------------------------------------
- // 그룹검사의 경우 선택과 선택취소를 동시에 처리한다.
- // 그룹검사는 개별적으로 취소가 불가능하다.
- if (TestGrupCd != "-") {
- for (var iNodeNo=0; iNodeNo < ds_grd_ptnolist.rowcount; iNodeNo++) {
- // 선택한 로우는 제외
- if (ds_grd_ptnolist.getColumn(iNodeNo ,"pid") == ds_grd_ptnolist.getColumn(iRowNo,"pid")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo ,"acptdd") == ds_grd_ptnolist.getColumn(iRowNo,"acptdd")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo ,"acptno") == ds_grd_ptnolist.getColumn(iRowNo,"acptno")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo,"tgrupcd") == ds_grd_ptnolist.getColumn(iRowNo,"tgrupcd")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo,"trandd") == ds_grd_ptnolist.getColumn(iRowNo,"trandd")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo,"tranno") == ds_grd_ptnolist.getColumn(iRowNo,"tranno")) {
- if (ds_grd_ptnolist.getColumn(iNodeNo,"transeqno") == ds_grd_ptnolist.getColumn(iRowNo,"transeqno")) {
- ds_grd_ptnolist.setColumn(iNodeNo,"choi", ChoiVal);
-
- //------------------
- // if (ChoiVal == "true") {
- // grd_ptnolist.addStatus(iNodeNo, "update");
- // } else {
- // grd_ptnolist.removeStatus(iNodeNo, "update");
- // }
- }
- }
- }
- }
- }
- }
- }
- }
- } else {
- //--------------------------------------------------------------------------
- // RowStatus(추가 상태 : “insert”, 수정 상태 : “update”, 삭제 상태 : “delete”)
- // if (ChoiVal == "true") {
- // grd_ptnolist.addStatus(iRowNo, "update");
- // } else {
- // grd_ptnolist.removeStatus(iRowNo, "update");
- // }
- }
- //-------------
- //model.refresh();
- }]]></Script>
- </Form>
- </FDL>
|