1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRC01300" position="absolute 0 0 863 645" titletext="차트대출정보관리" oninit="SMMRC01300_oninit" onload="SMMRC01300_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 40 860 640" id="switch1">
- <Tabpages>
- <Tabpage text="차트과 정보" position="absolute 0 0 860 600" id="chrtdept">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 26 860 573" id="grd_chrtdeptlist" taborder="18" binddataset="ds_main_chrtdept_chrtdeptlist" onexpandup="switch1_chrtdept_grd_chrtdeptlist_onexpandup" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="130"/>
- <Column size="20"/>
- <Column size="50"/>
- <Column size="130"/>
- <Column size="20"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="3" text="챠트과" taborder="undefined"/>
- <Cell col="4" colspan="3" text="진료과" taborder="undefined"/>
- <Cell col="7" text="CHRTDEPTNO"/>
- <Cell col="8" text="최초등록일시"/>
- <Cell col="9" text="최초등록자"/>
- <Cell col="10" text="최종수정일시"/>
- <Cell col="11" text="최종수정자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;" text="bind:chrtdeptnm"/>
- <Cell col="2" displaytype="text" edittype="expand" text="bind:chrtdeptcd" editautoselect="true" expandshow="show" expandsize="15"/>
- <Cell col="3" text="bind:chrtdeptabbr"/>
- <Cell col="4" style="align:left middle;" text="bind:deptnm"/>
- <Cell col="5" displaytype="text" edittype="expand" text="bind:deptcd" editautoselect="true" expandshow="show" expandsize="15"/>
- <Cell col="6" text="bind:deptabbr"/>
- <Cell col="7" text="bind:chrtdeptno"/>
- <Cell col="8" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="9" text="bind:fstrgstruser"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="11" text="bind:lastupdtruser"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 775 5 850 24" id="btn_chrtdeptdel" class="btn2" text="선택행삭제" onclick="switch1_chrtdept_btn_chrtdeptdel_onclick"/>
- <Button position="absolute 720 5 773 24" id="btn_chrtdeptadd" class="btn2" text="행추가" onclick="switch1_chrtdept_btn_chrtdeptadd_onclick"/>
- <Button position="absolute 675 5 717 24" id="btn_chrtdeptsave" class="btn2" text="저장" onclick="switch1_chrtdept_btn_chrtdeptsave_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="차트담당자" id="chrtuser">
- <Layouts>
- <Layout>
- <Button position="absolute 675 5 717 24" align="align:left middle;" id="btn_chrtusersave" class="btn2" taborder="15" text="저장" onclick="switch1_chrtuser_btn_chrtusersave_onclick"/>
- <Button position="absolute 720 5 773 24" id="btn_chrtuseradd" class="btn2" taborder="16" text="행추가" onclick="switch1_chrtuser_btn_chrtuseradd_onclick"/>
- <Button position="absolute 775 5 850 24" id="btn_chrtuserdel" class="btn2" taborder="17" text="선택행삭제" onclick="switch1_chrtuser_btn_chrtuserdel_onclick"/>
- <Grid position="absolute 0 26 860 573" id="grd_chgrlist" taborder="5" binddataset="ds_main_chrtuser_chgrlist" onexpandup="switch1_chrtuser_grd_chgrlist_onexpandup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="130"/>
- <Column size="20"/>
- <Column size="50"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="3" text="대출과" taborder="undefined"/>
- <Cell col="4" text="담당자"/>
- <Cell col="5" text="chgrno"/>
- <Cell col="6" displaytype="normal" edittype="none" text="최초등록일시"/>
- <Cell col="7" text="최초등록자"/>
- <Cell col="8" text="최종수정일시"/>
- <Cell col="9" text="최종수정자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;" text="bind:deptnm"/>
- <Cell col="2" displaytype="text" edittype="expand" text="bind:deptcd" expandshow="show" expandsize="15"/>
- <Cell col="3" text="bind:deptabbr"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:userid" combodataset="ds_init_user" combocodecol="id" combodatacol="nm"/>
- <Cell col="5" text="bind:chgrno"/>
- <Cell col="6" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="7" edittype="none" text="bind:fstrgstruser"/>
- <Cell col="8" displaytype="date" edittype="none" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="9" edittype="none" text="bind:lastupdtruser"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="차트보관장소" id="chrtkeepplce">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 26 860 572" id="grd_keepplcelist" taborder="12" binddataset="ds_main_chrtkeepplce_keepplcelist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- </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="keepno"/>
- <Cell col="5" text="최초등록일시"/>
- <Cell col="6" text="최초등록자"/>
- <Cell col="7" text="최종수정일시"/>
- <Cell col="8" text="최종수정자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:keepplce"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:frompid"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:topid"/>
- <Cell col="4" text="bind:keepno"/>
- <Cell col="5" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="6" text="bind:fstrgstruser"/>
- <Cell col="7" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="8" text="bind:lastupdtruser"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 775 5 850 24" id="btn_keepplcedel" class="btn2" taborder="17" text="선택행삭제" onclick="switch1_chrtkeepplce_btn_keepplcedel_onclick"/>
- <Button position="absolute 720 5 773 24" id="btn_keepplceadd" class="btn2" taborder="16" text="행추가" onclick="switch1_chrtkeepplce_btn_keepplceadd_onclick"/>
- <Button position="absolute 675 5 717 24" id="btn_keepplcesave" class="btn2" taborder="15" text="저장" onclick="switch1_chrtkeepplce_btn_keepplcesave_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="대출코드(외래차트)" id="rendcd">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 26 860 572" id="grd_rendcdlist" taborder="26" binddataset="ds_main_rendcd_rendcdlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="75"/>
- </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="최종수정자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:rendcd"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 3;" text="bind:rendresn"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:defltrendterm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:defltrendtermunit" combodataset="ds_defltrendtermunit" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0"/>
- <Cell col="6" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="7" text="bind:fstrgstruser"/>
- <Cell col="8" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="9" text="bind:lastupdtruser"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 797 5 850 24" id="btn_rendcdadd" class="btn2" taborder="16" text="행추가" onclick="switch1_rendcd_btn_rendcdadd_onclick"/>
- <Button position="absolute 752 5 794 24" id="btn_rendcdsave" class="btn2" taborder="15" text="저장" onclick="switch1_rendcd_btn_rendcdsave_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="대출코드(입원차트)" id="inrendcd">
- <Layouts>
- <Layout>
- <Button position="absolute 797 5 850 24" id="btn_inrendcdadd" class="btn2" taborder="16" text="행추가" onclick="switch1_inrendcd_btn_inrendcdadd_onclick"/>
- <Button position="absolute 752 5 794 24" id="but_inrendcdsave" class="btn2" taborder="15" text="저장" onclick="switch1_inrendcd_but_inrendcdsave_onclick"/>
- <Grid position="absolute 0 26 860 572" id="grd_inrendcd" taborder="26" binddataset="ds_main_inrendcd_rendcdlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="75"/>
- </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="최종수정자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:rendcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:rendresn"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:defltrendterm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:defltrendtermunit" combodataset="ds_cmb_defltrendtermunit" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:useyn" expr="expr:useryn == "Y" ? "1" : "0""/>
- <Cell col="6" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="7" text="bind:fstrgstruser"/>
- <Cell col="8" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="9" text="bind:lastupdtruser"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="대출과(센터)정보" id="lenddept">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 26 860 572" id="grd_lenddept" taborder="18" binddataset="ds_main_lenddept_lenddeptlist" onexpanddown="switch1_lenddept_grd_lenddept_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="130"/>
- <Column size="16"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="75"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="3" text="대출과" taborder="undefined"/>
- <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="종료된부서"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:lenddeptnm"/>
- <Cell col="2" displaytype="text" edittype="expand" text="bind:lenddeptcd" expandshow="show"/>
- <Cell col="3" text="bind:lenddeptabbr"/>
- <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:usedyn" expr="expr:usedyn == 'Y' ? 1 : 0"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:allwardyn" expr="expr:allwardyn == 'Y' ? 1 : 0"/>
- <Cell col="6" text="bind:fstrgstrid"/>
- <Cell col="7" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- <Cell col="9" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="10" text="bind:lastdeptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 775 5 850 24" id="button1" class="btn2" text="선택행삭제" onclick="switch1_lenddept_button1_onclick"/>
- <Button position="absolute 720 5 773 24" id="button2" class="btn2" text="행추가" onclick="switch1_lenddept_button2_onclick"/>
- <Button position="absolute 675 5 717 24" id="button3" class="btn2" text="저장" onclick="switch1_lenddept_button3_onclick"/>
- <Radio position="absolute 5 5 150 25" id="rdo_allwardyn" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_lenddept_rdo_allwardyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">부서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">병동</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="대출용도 SET (외래차트)" id="lendset">
- <Layouts>
- <Layout>
- <Button position="absolute 505 5 580 24" id="button5" class="btn2" text="선택행삭제" onclick="switch1_lendset_button5_onclick"/>
- <Button position="absolute 450 5 503 24" id="button6" class="btn2" text="행추가" onclick="switch1_lendset_button6_onclick"/>
- <Button position="absolute 405 5 447 24" id="button7" class="btn2" text="저장" onclick="switch1_lendset_button7_onclick"/>
- <Grid position="absolute 0 26 580 573" id="grd_setcdlist" taborder="18" binddataset="ds_main_lendset_lendsetlist" onexpanddown="switch1_lendset_grd_setcdlist_onexpanddown" oncelldblclick="switch1_lendset_grd_setcdlist_oncelldblclick" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="50"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="20"/>
- <Column size="60"/>
- <Column size="105"/>
- <Column size="90"/>
- <Column size="105"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="SET 코드"/>
- <Cell col="2" text="SET 명"/>
- <Cell col="3" text="의 사 사 용"/>
- <Cell col="4" text="간호사 사 용"/>
- <Cell col="5" colspan="2" text="사용부서" taborder="undefined"/>
- <Cell col="7" text="최 초 등록자"/>
- <Cell col="8" text="최초등록일시"/>
- <Cell col="9" text="최종 수정자"/>
- <Cell col="10" text="최종수정일시"/>
- <Cell col="11" text="deptcd"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:setcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:setnm"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:drflag" expr="expr:drflag == 'Y' ? 1 : 0"/>
- <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:nursflag" expr="expr:nursflag == 'Y' ? 1 : 0"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:deptnm"/>
- <Cell col="6" displaytype="text" edittype="expand" expandshow="show"/>
- <Cell col="7" text="bind:fstrgstrusernm"/>
- <Cell col="8" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="9" text="bind:lastupdtrusernm"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="11" text="bind:deptcd"/>
- <Cell col="12" text="bind:deptabbr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 585 26 857 573" id="grd_setitemlist" taborder="26" binddataset="ds_main_lendsetitem_setitemlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="29" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1" text="대출용도"/>
- <Cell col="2" text="대출시 사 용"/>
- <Cell col="3" text="조회시 사 용"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rendcd"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:rendresn"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:lenduseyn" expr="expr:lenduseyn == 'Y' ? 1 : 0"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:srchuseyn" expr="expr:srchuseyn == 'Y' ? 1 : 0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 790 5 854 24" id="button8" class="btn2" text="항목저장" onclick="switch1_lendset_button8_onclick"/>
- <Static text="* SET 명:" position="absolute 585 7 655 22" id="caption1" style="color:#0000ffff;font:Dotum,9,bold;"/>
- <Static text="..." position="absolute 650 7 785 22" id="cap_setnm" style="color:#0000ffff;font:Dotum,9,bold;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="차트대출정보관리" class="tit_1" position="absolute 0 0 147 24"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_chrtdept_chrtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chrtdeptnm" type="STRING"/>
- <Column id="chrtdeptcd" type="STRING"/>
- <Column id="chrtdeptabbr" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="deptabbr" type="STRING"/>
- <Column id="chrtdeptno" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstruser" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtruser" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtuser_chgrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="deptabbr" type="STRING"/>
- <Column id="userid" type="STRING"/>
- <Column id="chgrno" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstruser" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtruser" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtkeepplce_keepplcelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="keepplce" type="STRING"/>
- <Column id="frompid" type="STRING"/>
- <Column id="topid" type="STRING"/>
- <Column id="keepno" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstruser" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtruser" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_rendcd_rendcdlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="rendcd" type="STRING"/>
- <Column id="rendresn" type="STRING"/>
- <Column id="defltrendterm" type="STRING"/>
- <Column id="defltrendtermunit" type="STRING"/>
- <Column id="useyn" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstruser" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtruser" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_inrendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_inrendcd_rendcdlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="rendcd" type="STRING"/>
- <Column id="rendresn" type="STRING"/>
- <Column id="defltrendterm" type="STRING"/>
- <Column id="defltrendtermunit" type="STRING"/>
- <Column id="useyn" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstruser" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtruser" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_lenddept_lenddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lenddept_lenddeptlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="lenddeptnm" type="STRING"/>
- <Column id="lenddeptcd" type="STRING"/>
- <Column id="lenddeptabbr" type="STRING"/>
- <Column id="usedyn" type="STRING"/>
- <Column id="allwardyn" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="lastupdtrid" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastdeptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_lendset_lendsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lendset_lendsetlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="setcd" type="STRING"/>
- <Column id="setnm" type="STRING"/>
- <Column id="drflag" type="STRING"/>
- <Column id="nursflag" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- <Column id="fstrgstrusernm" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="lastupdtrusernm" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="deptabbr" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_lendsetitem_setitemlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lendsetitem_setitemlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="rendcd" type="STRING"/>
- <Column id="rendresn" type="STRING"/>
- <Column id="lenduseyn" type="STRING"/>
- <Column id="srchuseyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="allwardyn" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="nursflag" type="STRING" size="256"/>
- <Column id="setcd" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="deptcd" 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="setnm" type="STRING" size="256"/>
- <Column id="setcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_user" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_defltrendtermunit" 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="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일(Day)</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">월(Month)</Col>
- <Col id="value">M</Col>
- </Row>
- <Row>
- <Col id="label">년(Year)</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_defltrendtermunit" 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="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일(Day)</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">월(Month)</Col>
- <Col id="value">M</Col>
- </Row>
- <Row>
- <Col id="label">년(Year)</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <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";
- include "com_basiccodexp::ZBC001.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "emr_commonxp::EMRCommon.xjs";
- include "emr_chrtmngtxp::SMMRC01300.xjs";
- function SMMRC01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMRC01300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.chrtdept.grd_chrtdeptlist); //차트과 정보
- grdf_initGrid(switch1.chrtuser.grd_chgrlist); //차트담당자
- grdf_initGrid(switch1.chrtkeepplce.grd_keepplcelist); //차트보관장소
- grdf_initGrid(switch1.rendcd.grd_rendcdlist); //대출코드(외래차트)
- grdf_initGrid(switch1.inrendcd.grd_inrendcd); //대출코드(입원차트)
- grdf_initGrid(switch1.lenddept.grd_lenddept); //대출과(센터)정보
- grdf_initGrid(switch1.lendset.grd_setcdlist); //대출용도SET(외래차트)
- grdf_initGrid(switch1.lendset.grd_setitemlist); //대출용도SET(외래차트)
-
- grdf_setRowTypeIcon(switch1.chrtdept.grd_chrtdeptlist, 0);
- grdf_setRowTypeIcon(switch1.chrtuser.grd_chgrlist, 0);
- grdf_setRowTypeIcon(switch1.chrtkeepplce.grd_keepplcelist, 0);
- grdf_setRowTypeIcon(switch1.rendcd.grd_rendcdlist, 0);
- grdf_setRowTypeIcon(switch1.inrendcd.grd_inrendcd, 0);
- grdf_setRowTypeIcon(switch1.lenddept.grd_lenddept, 0);
- grdf_setRowTypeIcon(switch1.lendset.grd_setcdlist, 0);
-
- fFormInit(); // 폼초기화
- }
- function switch1_chrtdept_btn_chrtdeptsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveChrtDept();
- }
- function switch1_chrtdept_grd_chrtdeptlist_onexpandup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 2)
- {
- trace("aa")
- fReceiveDept(ds_main_chrtdept_chrtdeptlist, "C");
- }
- else
- {
- trace("bb")
- fReceiveDept(ds_main_chrtdept_chrtdeptlist, "O");
- }
- }
- function fReceiveDept(gridObj, flag)
- {
- if (gridObj.rowcount > 0)
- {
- // 부서코드 가져오기.. (팝업)
- fReceiveDeptPopup();
- var deptcd = ds_hidden_dept.getColumn(0, "deptcd");
- var deptnm = ds_hidden_dept.getColumn(0, "deptnm");
- if(!utlf_isNull(deptcd))
- {
- var gridPath = gridObj
- switch (flag)
- {
- case "C":
- gridPath.setColumn(gridPath.rowposition, "chrtdeptcd", deptcd);
- gridPath.setColumn(gridPath.rowposition, "chrtdeptnm", deptnm);
- gridPath.setColumn(gridPath.rowposition, "chrtdeptabbr", "");
- break;
- case "O":
- gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
- gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
- gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
- break;
- case "R":
- gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
- gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
- gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
- break;
-
- case "L":
- gridPath.setColumn(gridPath.rowposition, "lenddeptcd", deptcd);
- gridPath.setColumn(gridPath.rowposition, "lenddeptnm", deptnm);
- gridPath.setColumn(gridPath.rowposition, "lenddeptabbr", "");
- break;
- case "S":
- gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
- gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
- gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
- break;
- };
-
- // rowStatus - 0:기본, 1:추가, 2:변경
- if (gridObj.getRowType(gridObj.rowposition) == 1)
- {
- gridObj.setRowType(gridObj.rowposition) = 4;
- }
- }
- }
- }
- //행추가
- function switch1_chrtdept_btn_chrtdeptadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_chrtdept_chrtdeptlist.addRow();
- ds_main_chrtdept_chrtdeptlist.rowposition = ds_main_chrtdept_chrtdeptlist.rowcount-1;
- }
- function switch1_chrtdept_btn_chrtdeptdel_onclick(obj:Button, e:ClickEventInfo)
- {
- var chrtdeptno = ds_main_chrtdept_chrtdeptlist.getColumn(ds_main_chrtdept_chrtdeptlist.rowposition, "chrtdeptno"); //model.getValue("/root/main/chrtdept/chrtdeptlist[" + grd_chrtdeptlist.row + "]/chrtdeptno");
-
- dsf_createDsRow("ds_send_savedata", [{col : "chrtdeptno", val : chrtdeptno}]);
-
- var oParam = {};
- oParam.id = "TXMRC01306";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "delChrtDeptList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_chrtdept_chrtdeptlist=chrtdeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TXMRC01306";
- tranf_submit(oParam);
-
- }
- function switch1_chrtuser_btn_chrtusersave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveChrtUser();
- }
- //차트담당자 행추가
- function switch1_chrtuser_btn_chrtuseradd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_chrtuser_chgrlist.addRow();
- ds_main_chrtuser_chgrlist.rowposition = ds_main_chrtuser_chgrlist.rowcount-1;
- }
- //차트담당자 선택행삭제
- function switch1_chrtuser_btn_chrtuserdel_onclick(obj:Button, e:ClickEventInfo)
- {
- var chgrno = ds_main_chrtuser_chgrlist.getColumn(ds_main_chrtuser_chgrlist.rowposition, "chgrno");
-
- dsf_createDsRow("ds_send_savedata", [{col : "chgrno", val : chgrno}]);
- var oParam = {};
- oParam.id = "TXMRC01302";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "delChgrList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_chrtuser_chgrlist=chgrlist";
- oParam.async = false;
- //oParam.callback = "cf_TXMRC01302";
- tranf_submit(oParam);
- }
- function switch1_chrtuser_grd_chgrlist_onexpandup(obj:Grid, e:GridMouseEventInfo)
- {
- fReceiveDept(ds_main_chrtuser_chgrlist, "R");
- }
- function switch1_chrtkeepplce_btn_keepplcesave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveKeepPlce();
- }
- function switch1_chrtkeepplce_btn_keepplceadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_chrtkeepplce_keepplcelist.addRow();
- ds_main_chrtkeepplce_keepplcelist.rowposition = ds_main_chrtkeepplce_keepplcelist.rowcount -1;
- }
- function switch1_chrtkeepplce_btn_keepplcedel_onclick(obj:Button, e:ClickEventInfo)
- {
- var keepno = ds_main_chrtkeepplce_keepplcelist.getColumn(ds_main_chrtkeepplce_keepplcelist.rowposition, "keepno");
-
- dsf_createDsRow("ds_send_savedata", [{col : "keepno", val : keepno}]);
- var oParam = {};
- oParam.id = "TXMRC01302";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "delKeepList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_chrtkeepplce_keepplcelist=keepplcelist";
- oParam.async = false;
- //oParam.callback = "cf_TXMRC01302";
- tranf_submit(oParam);
- }
- //대출코드(외래차트)저장
- function switch1_rendcd_btn_rendcdsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveRendCd();
- }
- function switch1_rendcd_btn_rendcdadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var rendrow = ds_main_rendcd_rendcdlist.addRow();
- ds_main_rendcd_rendcdlist.rowposition = ds_main_rendcd_rendcdlist.rowcount -1;
-
- ds_main_rendcd_rendcdlist.setColumn(rendrow, "defltrendterm", "0");
- ds_main_rendcd_rendcdlist.setColumn(rendrow, "defltrendtermunit", "D");
- ds_main_rendcd_rendcdlist.setColumn(rendrow, "useyn", "Y");
- }
- function ds_main_rendcd_rendcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_inrendcd_rendcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_inrendcd_but_inrendcdsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveInRendCd();
- }
- function switch1_inrendcd_btn_inrendcdadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var addRow = ds_main_inrendcd_rendcdlist.addRow();
- ds_main_inrendcd_rendcdlist.setColumn(addRow, "defltrendterm","0");
- ds_main_inrendcd_rendcdlist.setColumn(addRow, "defltrendtermunit","D");
- ds_main_inrendcd_rendcdlist.setColumn(addRow, "useyn","Y");
- }
- function switch1_lenddept_rdo_allwardyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var oParam = {};
- oParam.id = "TRMRC01311";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetLendDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_lenddept_lenddeptlist=lenddeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRC01311";
- tranf_submit(oParam);
- }
- function ds_main_lenddept_lenddeptlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "usedyn")
- {
- obj.setColumn(e.row, "usedyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "allwardyn")
- {
- obj.setColumn(e.row, "allwardyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_lenddept_grd_lenddept_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- fReceiveDept(obj, "L");
- }
- function switch1_lenddept_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveLendDept();
- }
- function switch1_lenddept_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var addRow = ds_main_lenddept_lenddeptlist.addRow();
- ds_main_lenddept_lenddeptlist.setColumn(addRow, "usedyn", "Y");
- ds_main_lenddept_lenddeptlist.setColumn(addRow, "allwardyn", "Y");
- }
- function switch1_lenddept_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_lenddept_lenddeptlist.updatecontrol = false;
- ds_main_lenddept_lenddeptlist.setRowType(ds_main_lenddept_lenddeptlist.rowposition, "d");
- ds_main_lenddept_lenddeptlist.updatecontrol = true;
-
- var lenddeptcd = ds_main_lenddept_lenddeptlist.getColumn(ds_main_lenddept_lenddeptlist.rowposition, "lenddeptcd");
- dsf_makeValue(ds_send_savedata, "lenddeptcd", "string", lenddeptcd);
- var oParam = {};
- oParam.id = "TXMRC01703";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqDelLendDeptList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_lenddept_lenddeptlist=lenddeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TXMRC01703";
- tranf_submit(oParam);
- }
- function ds_main_lendset_lendsetlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "drflag")
- {
- obj.setColumn(e.row, "drflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "nursflag")
- {
- obj.setColumn(e.row, "nursflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_lendset_grd_setcdlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- fReceiveDept(obj, "S");
- }
- function switch1_lendset_grd_setcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (ds_main_lendset_lendsetlist.rowcount > 0 && obj.currentcol > 6)
- {
- var setcd = ds_main_lendset_lendsetlist.getColumn(ds_main_lendset_lendsetlist.rowposition, "setcd");
- if (!utlf_isNull(setcd))
- {
- dsf_makeValue(ds_send_savedata, "setcd", "String", setcd);
- dsf_makeValue(ds_send_savedata, "useyn", "String", "");
-
- var oParam = {};
- oParam.id = "TRMRC01313";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetLendSetItem";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_lendsetitem_setitemlist=setitemlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRC01313";
- tranf_submit(oParam);
- var setnm = ds_main_lendset_lendsetlist.getColumn(ds_main_lendset_lendsetlist.rowposition, "setnm");
- dsf_makeValue(ds_hidden, "setnm", "string", setnm);
- dsf_makeValue(ds_hidden, "setcd", "string", setcd);
- }
- }
- }
- function ds_main_lendsetitem_setitemlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "lenduseyn")
- {
- obj.setColumn(e.row, "lenduseyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "srchuseyn")
- {
- obj.setColumn(e.row, "srchuseyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_lendset_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveLendSetCD();
- }
- function switch1_lendset_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var addRow = ds_main_lendset_lendsetlist.addRow();
- ds_main_lendset_lendsetlist.setColumn(addRow, "drflag", "N");
- ds_main_lendset_lendsetlist.setColumn(addRow, "nursflag", "N");
- }
- function switch1_lendset_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = grdf_getSelectedRows(switch1.lendset.grd_setcdlist);
- for(var i = 0; i < rows.length; i++)
- {
- var m_row = rows[i];
- ds_main_lendset_lendsetlist.updatecontrol = false;
- ds_main_lendset_lendsetlist.setRowType(m_row, "d");
- ds_main_lendset_lendsetlist.updatecontrol = true;
- }
- fSaveLendSetCD();
- }
- function switch1_lendset_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveLendSetItem();
- }
- ]]></Script>
- </Form>
- </FDL>
|