123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSE01600" position="absolute 0 0 1199 775" titletext="고정자산 반납 청구 접수" oninit="SMRSE01600_oninit" onload="SMRSE01600_onload">
- <Layouts>
- <Layout>
- <Static id="caption19" position="absolute 85 393 185 413"/>
- <Grid id="grd_rfchrtdmlist" taborder="8" binddataset="ds_main_grid_rfchrtdmlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 149 1195 443" anchor="all" onselectchanged="grd_rfchrtdmlist_onselectchanged">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="166"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="71"/>
- <Column size="90"/>
- <Column size="146"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="70"/>
- <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"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" text="bind:rtnreqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:goodflag" enable="false"/>
- <Cell col="3" text="bind:fixasetcd"/>
- <Cell col="4" text="bind:goodflaghngnm"/>
- <Cell col="5" text="bind:goodmodel"/>
- <Cell col="6" text="bind:goodspec"/>
- <Cell col="7" text="bind:windd"/>
- <Cell col="8" text="bind:rtnreqdeptnm"/>
- <Cell col="9" style="align:left;" text="bind:cmt"/>
- <Cell col="10" text="bind:rtnreqpsn"/>
- <Cell col="11" text="bind:rtnreqpsnnm"/>
- <Cell col="12" displaytype="date" text="bind:rtnconfirmdd" calendardisplaynulltype="nulltext"/>
- <Cell col="13" text="bind:rtnconfirmdeptnm"/>
- <Cell col="14" text="bind:rtnconfirmpsnid"/>
- <Cell col="15" text="bind:rtnconfirmpsnnm"/>
- <Cell col="16" displaytype="combo" edittype="combo" style="align:center middle;background:#ffff99ff;background2:#ffff99ff;color:#800000ff;color2:#800000ff;" text="bind:rtnconfirmyn" combodataset="ds_init_combo_rtnconfirmyn" combocodecol="value" combodatacol="label"/>
- <Cell col="17" text="bind:instcd"/>
- <Cell col="18" text="bind:rtnreqdeptcd"/>
- <Cell col="19" text="bind:rtnreqseq"/>
- <Cell col="20" text="bind:rtnconfirmdeptcd"/>
- <Cell col="21" text="bind:mainrec"/>
- <Cell col="22" text="bind:rtnconfirmyn1"/>
- <Cell col="23" text="bind:updtseq"/>
- <Cell col="24" displaytype="checkbox" edittype="checkbox" text="bind:rtreqaprvyn"/>
- <Cell col="25" text="bind:rtreqaprvdd" mask="yyyy-mm-dd"/>
- <Cell col="26" text="bind:rtreqaprvpsn"/>
- <Cell col="27" text="bind:rtreqaprvpsnnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="고정자산 반납 청구 접수" class="tit_1" position="absolute 0 0 226 25"/>
- <Shape id="line9" class="line_6" position="absolute 0 47 1195 53" anchor="left top right"/>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1069 26 1125 48" anchor="top right" onclick="btn_save_onclick"/>
- <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 26 1195 48" anchor="top right" onclick="btn_init_onclick"/>
- <Button id="button27" taborder="3" text="출력" class="btn6" visible="false" position="absolute 0 26 56 48"/>
- <Shape id="line1" class="line_10" position="absolute 0 469 1194 475" anchor="left right bottom"/>
- <Grid id="grd_chgnhistlist" taborder="4" binddataset="ds_main_chgnhistlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 474 1194 768" anchor="left right bottom" onselectchanged="grd_chgnhistlist_onselectchanged">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="37"/>
- <Column size="70"/>
- <Column size="123"/>
- <Column size="100"/>
- <Column size="73"/>
- <Column size="91"/>
- <Column size="98"/>
- <Column size="88"/>
- <Column size="89"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="93"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="순번"/>
- <Cell col="2" colspan="2" text="자산" taborder="undefined"/>
- <Cell col="4" text="변동일자"/>
- <Cell col="5" text="변동구분"/>
- <Cell col="6" colspan="2" text="변경부서" taborder="undefined"/>
- <Cell col="8" colspan="2" text="변경설치장소*" taborder="undefined"/>
- <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"/>
- <Cell col="18" text="caption1"/>
- <Cell col="19"/>
- <Cell col="20" text="변경전사용부서코드"/>
- <Cell col="21" text="변경전사용부서이름"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:updtseq"/>
- <Cell col="2" style="align:left;" text="bind:fixasetcd"/>
- <Cell col="3" style="align:left;" text="bind:goodflaghngnm"/>
- <Cell col="4" displaytype="date" class="input_essential" text="bind:updtdd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" class="input_essential" text="bind:updtflag" enable="false"/>
- <Cell col="6" displaytype="text" class="input_essential" text="bind:upddeptcd" expandshow="show" enable="false"/>
- <Cell col="7" text="bind:upddeptnm"/>
- <Cell col="8" displaytype="text" class="input_essential" text="bind:chnginstallplcecd" expandshow="show" enable="false"/>
- <Cell col="9" text="bind:installplcenm" enable="false"/>
- <Cell col="10" displaytype="combo" edittype="combo" text="bind:possnflagcd"/>
- <Cell col="11" displaytype="text" edittype="text" text="bind:forgncurncyamt" mask="#,###"/>
- <Cell col="12" displaytype="combo" edittype="combo" text="bind:curncyunit"/>
- <Cell col="13" displaytype="number" text="bind:fixasetamt" enable="false"/>
- <Cell col="14" displaytype="text" text="bind:mainrec" enable="false"/>
- <Cell col="15" text="bind:custcd"/>
- <Cell col="16" text="bind:instcd"/>
- <Cell col="17" text="bind:rtnreqdeptcd"/>
- <Cell col="18" text="bind:rtnreqdd"/>
- <Cell col="19" text="bind:rtnreqseq"/>
- <Cell col="20" text="bind:premngtdeptcd"/>
- <Cell col="21" text="bind:premngtdeptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption4" text="자산변동이력" class="tit_2" position="absolute 0 453 121 474" anchor="left bottom"/>
- <Button id="btn_delrow" taborder="5" text="행삭제" class="btn2" visible="false" position="absolute 1142 450 1195 469" anchor="right bottom"/>
- <Button id="btn_addrow" taborder="6" text="행추가" class="btn2" visible="false" position="absolute 1086 450 1139 469" anchor="right bottom" onclick="btn_addrow_onclick"/>
- <Div id="grp_sea" anchor="left top right" taborder="7" class="div_SA2" position="absolute 0 51 1195 116">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="0" text="조회" class="btn1" position="absolute 1122 21 1178 43" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1096 8 1102 57" anchor="top right"/>
- <Static id="cap_instcd" text="기관코드 :" class="search_name" position="absolute 15 10 101 27"/>
- <Edit id="opt_instnm" taborder="1" readonly="true" class="output" position="absolute 105 10 235 29"/>
- <Edit id="ipt_instcd" taborder="2" visible="false" position="absolute 180 10 235 29"/>
- <Edit id="ipt_deptcd" taborder="3" position="absolute 701 10 801 29" autoselect="true" autoskip="true" onkeydown="grp_sea_ipt_deptcd_onkeydown"/>
- <Edit id="ipt_deptnm" taborder="4" position="absolute 825 10 1025 29" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="물 품 명 :" class="search_name" position="absolute 265 38 353 55"/>
- <Edit id="ipt_goodflaghngnm" taborder="5" class="input_fix" position="absolute 355 38 575 57" autoselect="true" autoskip="true"/>
- <Static id="caption3" text="자산코드 :" class="search_name" position="absolute 609 38 695 55"/>
- <Edit id="ipt_fixasetcd" taborder="6" class="input_search" position="absolute 701 38 801 57" autoselect="true" autoskip="true" onkeydown="grp_sea_ipt_fixasetcd_onkeydown"/>
- <Button id="btn_fixasetcd" taborder="7" class="icon_search" position="absolute 804 38 820 54" onclick="grp_sea_btn_fixasetcd_onclick"/>
- <Edit id="ipt_fixasetnm" taborder="8" class="input_search" enable="false" position="absolute 825 38 1025 57"/>
- <Static id="cap_deptcd" text="청구부서 :" class="search_name" position="absolute 609 10 695 27"/>
- <Button id="btn_deptcd" taborder="9" class="icon_search" position="absolute 804 10 820 26" onclick="grp_sea_btn_deptcd_onclick"/>
- <Combo id="cmb_goodflag" taborder="10" innerdataset="@ds_init_goodflag" codecolumn="value" datacolumn="label" position="absolute 105 38 235 57"/>
- <Static id="cap_goodflag" text="물품구분 :" class="search_name" position="absolute 15 38 101 55"/>
- <Calendar id="ipt_reqdd2" taborder="13" class="input_essential" position="absolute 475 10 575 29" autoselect="true" autoskip="true"/>
- <Static id="caption12" text="~" position="absolute 459 10 479 30"/>
- <Calendar id="ipt_reqdd1" taborder="11" class="input_essential" position="absolute 355 10 455 29" autoselect="true" autoskip="true"/>
- <Static id="cap_reqdd1" text="의뢰일자 :" class="search_name" position="absolute 265 10 351 27"/>
- <Edit id="ipt_rtreqaprvyn" taborder="12" visible="false" position="absolute 1070 45 1095 64"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" class="line_10" position="absolute 0 144 1194 150" anchor="left top right"/>
- <Static id="caption24" text="반납 청구 List" class="tit_2" position="absolute 0 128 157 150"/>
- <Button id="btn_excel" taborder="9" text="Excel 저장" class="btn5" position="absolute 1120 125 1195 144" anchor="top right" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="instnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="reqdd1" type="STRING" size="256"/>
- <Column id="reqdd2" type="STRING" size="256"/>
- <Column id="rtreqaprvyn" type="STRING" size="256"/>
- <Column id="goodflaghngnm" type="STRING" size="256"/>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="fixasetnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="instnm"/>
- <Col id="deptcd"/>
- <Col id="deptnm"/>
- <Col id="goodflag"/>
- <Col id="reqdd1"/>
- <Col id="reqdd2"/>
- <Col id="rtreqaprvyn"/>
- <Col id="goodflaghngnm"/>
- <Col id="fixasetcd"/>
- <Col id="fixasetnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_goodflag" 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">-전 체-</Col>
- <Col id="value"/>
- </Row>
- <Row>
- <Col id="label">의료장비</Col>
- <Col id="value">EQ</Col>
- </Row>
- <Row>
- <Col id="label">일반비품</Col>
- <Col id="value">GE</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grid_rfchrtdmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_grid_rfchrtdmlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="rtnreqdeptcd" type="STRING" size="256" sumtext="요청부서code"/>
- <Column id="rtnreqdeptnm" type="STRING" size="256" sumtext="요청부서"/>
- <Column id="rtnreqdd" type="STRING" size="256" sumtext="반납일자"/>
- <Column id="rtnreqseq" type="STRING" size="256" sumtext="반납순번"/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산명(한글)"/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산명(영문)"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="자산모델"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="자산규격"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
- <Column id="rtnreqpsn" type="STRING" size="256" sumtext="반납요청자id"/>
- <Column id="rtnreqpsnnm" type="STRING" size="256" sumtext="반납요청자"/>
- <Column id="rtnconfirmyn" type="STRING" size="256" sumtext="반납확인여부"/>
- <Column id="rtnconfirmdd" type="STRING" size="256" sumtext="반납확인일자"/>
- <Column id="rtnconfirmpsnid" type="STRING" size="256" sumtext="반납확인자id"/>
- <Column id="rtnconfirmpsnnm" type="STRING" size="256" sumtext="반납확인자"/>
- <Column id="rtnconfirmdeptcd" type="STRING" size="256" sumtext="반납확인부서code"/>
- <Column id="rtnconfirmdeptnm" type="STRING" size="256" sumtext="반납확인부서"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="rtnconfirmyn1" type="STRING" size="256" sumtext="반납확인여부"/>
- <Column id="updtseq" type="STRING" size="256" sumtext="변동사항이력 일련번호"/>
- <Column id="rtreqaprvyn" type="STRING" size="256" sumtext="반납승인여부"/>
- <Column id="rtreqaprvdd" type="STRING" size="256" sumtext="반납승인일자"/>
- <Column id="rtreqaprvpsn" type="STRING" size="256" sumtext="반납승인자ID"/>
- <Column id="rtreqaprvpsnnm" type="STRING" size="256" sumtext="반납승인자"/>
- <Column id="windd" type="STRING" size="256" sumtext="반납승인자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chgnhistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choice" type="STRING" size="256" sumtext="선택 "/>
- <Column id="updtseq" type="STRING" size="256" sumtext="순번 "/>
- <Column id="updtdd" type="STRING" size="256" sumtext="변동일자 "/>
- <Column id="updtflag" type="STRING" size="256" sumtext="변동구분 "/>
- <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소코드 "/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소명 "/>
- <Column id="possnflagcd" type="STRING" size="256" sumtext="취득구분 "/>
- <Column id="forgncurncyamt" type="STRING" size="256" sumtext="외화액 "/>
- <Column id="curncyunit" type="STRING" size="256" sumtext="단위 "/>
- <Column id="fixasetamt" type="STRING" size="256" sumtext="금액 "/>
- <Column id="mainrec" type="STRING" size="256" sumtext="적요 "/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고 "/>
- <Column id="custcd" type="STRING" size="256" sumtext="거래처코드 "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="자산구분 "/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산코드 "/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산한글명 "/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산영문명 "/>
- <Column id="upddeptcd" type="STRING" size="256" sumtext="변경부서코드 "/>
- <Column id="upddeptnm" type="STRING" size="256" sumtext="변경부서 "/>
- <Column id="rtnreqdeptcd" type="STRING" size="256" sumtext="요청부서 "/>
- <Column id="rtnreqdd" type="STRING" size="256" sumtext="반납요청일자 "/>
- <Column id="rtnreqseq" type="STRING" size="256" sumtext="반납요청순번 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사 "/>
- <Column id="acqtflagnm" type="STRING" size="256" sumtext="도입구분코드 "/>
- <Column id="possndd" type="STRING" size="256" sumtext="취득일자 "/>
- <Column id="premngtdeptnm" type="STRING" size="256" sumtext="변경전사용부서 "/>
- <Column id="premngtdeptcd" type="STRING" size="256" sumtext="변경전사용부서 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- <Column id="prodplcenm" type="STRING" size="256" sumtext="제조국"/>
- <Column id="suplplcenm" type="STRING" size="256" sumtext="공급처명"/>
- <Column id="mngtno" type="STRING" size="256" sumtext="시리얼번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="ipaddr" type="STRING" size="256" sumtext="IP주소"/>
- <Column id="userid" type="STRING" size="256" sumtext="처리자ID"/>
- <Column id="usernm" type="STRING" size="256" sumtext="처리자명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo_rtnconfirmyn" 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">승인</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">미확인</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">부결</Col>
- <Col id="value">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_rfchcgmt_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="자산구분 "/>
- <Column id="updtdd1" type="STRING" size="256" sumtext="변경일자 "/>
- <Column id="updtdd2" type="STRING" size="256" sumtext="변경일자 "/>
- <Column id="updtflag" type="STRING" size="256" sumtext="변경구분 "/>
- <Column id="deptcd" type="STRING" size="256" sumtext="귀속부서 "/>
- <Column id="fixasetnm" type="STRING" size="256" sumtext="자산명 "/>
- <Column id="userid" type="STRING" size="256" sumtext="처리자ID "/>
- <Column id="name_search" type="STRING" size="256" sumtext="자산명 "/>
- <Column id="screen_id" type="STRING" size="256" sumtext="화면ID "/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.opt_instnm" propid="value" datasetid="ds_send" columnid="instnm"/>
- <BindItem id="item1" compid="grp_sea.ipt_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item2" compid="grp_sea.ipt_reqdd1" propid="value" datasetid="ds_send" columnid="reqdd1"/>
- <BindItem id="item3" compid="grp_sea.ipt_reqdd2" propid="value" datasetid="ds_send" columnid="reqdd2"/>
- <BindItem id="item4" compid="grp_sea.ipt_deptcd" propid="value" datasetid="ds_send" columnid="deptcd"/>
- <BindItem id="item5" compid="grp_sea.ipt_deptnm" propid="value" datasetid="ds_send" columnid="deptnm"/>
- <BindItem id="item6" compid="grp_sea.cmb_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item7" compid="grp_sea.ipt_goodflaghngnm" propid="value" datasetid="ds_send" columnid="goodflaghngnm"/>
- <BindItem id="item8" compid="grp_sea.ipt_fixasetcd" propid="value" datasetid="ds_send" columnid="fixasetcd"/>
- <BindItem id="item9" compid="grp_sea.ipt_fixasetnm" propid="value" datasetid="ds_send" columnid="fixasetnm"/>
- <BindItem id="item10" compid="grp_sea.ipt_rtreqaprvyn" propid="value" datasetid="ds_send" columnid="rtreqaprvyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- function SMRSE01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRSE01600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_chgnhistlist);
- grdf_setRowTypeIcon(grd_chgnhistlist, 0);
- grdf_initGrid(grd_rfchrtdmlist);
- grdf_setRowTypeIcon(grd_rfchrtdmlist, 0);
-
- fInitialize();
- grp_sea.ipt_rtreqaprvyn.value = "Y";
- }
- function fInitialize()
- {
- ds_send.clearData();
- ds_send.addRow();
-
- misfGridInit(grd_rfchrtdmlist);
- misfGridInit(grd_chgnhistlist);
-
- rszfGoodFlagListByPgmGubn(grp_sea.cmb_goodflag,"2","N");
-
- misfComboComCdListMulti("R0025,R0041","grd_rfchrtdmlist.goodflag,grd_chgnhistlist.updtflag");
- misfMsterDetailSet(grd_rfchrtdmlist, null, "TRRSE01501", "Y");
-
- grp_sea.ipt_instcd.value = sysf_getUserInfo("dutplceinstcd");
- grp_sea.opt_instnm.value = sysf_getUserInfo("dutplceinstnm");
-
- var reqdate = utlf_getCurrentDate();
- var cvtdate = reqdate.toDate("YYYYMMDD");
-
- ds_send.setColumn(0, "reqdd1", String(reqdate).substr(0,6)+"01");
- ds_send.setColumn(0, "reqdd2", String(reqdate).substr(0,6)+cvtdate.getMonthDay());
-
- grp_sea.cmb_goodflag.value = "GE";
- }
- function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "deptcd")
- {
- var objFocus = this.getFocus();
- grp_sea.ipt_deptcd.value = e.newvalue;
- grp_sea.ipt_deptcd.setFocus();
-
- if(!utlf_isNull(e.newvalue))
- {
- misfValidationCheck("02", "", "deptcd,deptnm" );
- }
- else
- {
- grp_sea.ipt_deptnm.value = "";
- }
-
- objFocus.setFocus();
- }
- if(e.columnid == "deptnm")
- {
- var objFocus = this.getFocus();
- grp_sea.ipt_deptnm.value = e.newvalue;
- grp_sea.ipt_deptnm.setFocus();
-
- if(!utlf_isNull(e.newvalue))
- {
- misfValidationCheck("02", "", "deptcd,deptnm" );
- }
- else
- {
- grp_sea.ipt_deptcd.value = "";
- }
-
- objFocus.setFocus();
- }
- if(e.columnid == "fixasetcd")
- {
- var objFocus = this.getFocus();
- grp_sea.ipt_fixasetcd.value = e.newvalue;
- grp_sea.ipt_fixasetcd.setFocus();
-
- if(!utlf_isNull(e.newvalue))
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- grp_sea.ipt_instcd.value +",fixasetcd," + e.newvalue +"," + grp_sea.cmb_goodflag.value,
- "", "fixasetcd,fixasetnm", grp_sea.ipt_fixasetcd, "SPRSD00240",
- "instcd,goodflag","grp_sea.ipt_instcd,grp_sea.cmb_goodflag");
-
- ds_send.setColumn(0, "fixasetnm", ds_init_main.getColumn(0, "goodflaghngnm"));
- }
- else
- {
- grp_sea.ipt_fixasetnm.value = "";
- }
-
- objFocus.setFocus();
- }
- }
- function grp_sea_btn_deptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- misfOpenPopUpList("02", grp_sea.ipt_deptcd,"", "deptcd,deptnm") ;
- }
- function grp_sea_btn_fixasetcd_onclick(obj:Button, e:ClickEventInfo)
- {
- rszfOpenPopUpListByWndName(grp_sea.ipt_fixasetcd, "", "fixasetcd,fixasetnm","SPRSD00240","instcd,goodflag","grp_sea.ipt_instcd,grp_sea.cmb_goodflag");
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("grp_sea.ipt_instcd","grp_sea.ipt_reqdd1","grp_sea.ipt_reqdd2");
- if(!frmf_isRequiredControls(arrCompId)) return;
-
- misfMsterDetailRetrieve();
- }
- function ds_main_grid_rfchrtdmlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "rtnconfirmyn")
- {
- if(e.newvalue == "Y")
- {
- obj.setColumn(e.row, "rtnconfirmdd", utlf_getCurrentDate());
- obj.setColumn(e.row, "rtnconfirmdeptcd", "4081400000");
- obj.setColumn(e.row, "rtnconfirmdeptnm", "재고물품");
- obj.setColumn(e.row, "rtnconfirmpsnid", sysf_getUserInfo("userid"));
- obj.setColumn(e.row, "rtnconfirmpsnnm", sysf_getUserInfo("usernm"));
- obj.setColumn(e.row, "mainrec", "부서반납확인");
-
- misfGridIUD(grd_chgnhistlist, "A");
- var cur_row = ds_main_chgnhistlist.rowposition;
- ds_main_chgnhistlist.setColumn(cur_row, "instcd", obj.getColumn(e.row, "instcd"));
- ds_main_chgnhistlist.setColumn(cur_row, "fixasetcd", obj.getColumn(e.row, "fixasetcd"));
- ds_main_chgnhistlist.setColumn(cur_row, "goodflaghngnm", obj.getColumn(e.row, "goodflaghngnm"));
- ds_main_chgnhistlist.setColumn(cur_row, "updtflag", "0");
- ds_main_chgnhistlist.setColumn(cur_row, "upddeptcd", obj.getColumn(e.row, "rtnconfirmdeptcd"));
- ds_main_chgnhistlist.setColumn(cur_row, "upddeptnm", obj.getColumn(e.row, "rtnconfirmdeptnm"));
- ds_main_chgnhistlist.setColumn(cur_row, "chnginstallplcecd", obj.getColumn(e.row, "rtnconfirmdeptcd"));
- ds_main_chgnhistlist.setColumn(cur_row, "installplcenm", obj.getColumn(e.row, "rtnconfirmdeptnm"));
- ds_main_chgnhistlist.setColumn(cur_row, "premngtdeptnm", obj.getColumn(e.row, "rtnreqdeptnm"));
- ds_main_chgnhistlist.setColumn(cur_row, "premngtdeptcd", obj.getColumn(e.row, "rtnreqdeptcd"));
-
- var sBaseDate = utlf_getCurrentDate();
- ds_main_chgnhistlist.setColumn(cur_row, "updtdd", sBaseDate);
- }
-
- if(e.newvalue == obj.getColumn(e.row, "rtnconfirmyn1"))
- {
- obj.updatecontrol = false;
- obj.setRowType(e.row, "");
- obj.setColumn(e.row, "rtnconfirmdd", "");
- obj.setColumn(e.row, "rtnconfirmdeptcd", "");
- obj.setColumn(e.row, "rtnconfirmdeptnm", "");
- obj.setColumn(e.row, "rtnconfirmpsnid", "");
- obj.setColumn(e.row, "rtnconfirmpsnnm", "");
- obj.setColumn(e.row, "mainrec", "");
- obj.updatecontrol = true;
- }
- }
- }
- function grd_rfchrtdmlist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- misfGridInit(grd_chgnhistlist);
-
- ds_send_rfchcgmt_send.clearData();
- ds_send_rfchcgmt_send.addRow();
- ds_send_rfchcgmt_send.copyRow(0, ds_main_grid_rfchrtdmlist, ds_main_grid_rfchrtdmlist.rowposition);
-
- var oParam = {};
- oParam.id = "TRRFE00201";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetChngHistList";
- oParam.inds = "req=ds_send_rfchcgmt_send";
- oParam.outds = "ds_main_chgnhistlist=chgnhistlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE00201";
- tranf_submit(oParam);
-
- ds_main_chgnhistlist.updateColID("installplcecd", "chnginstallplcecd");
-
- ds_main_chgnhistlist.updatecontrol = false;
- dsf_setFixVal(ds_main_chgnhistlist, "choice:N");
- ds_main_chgnhistlist.updatecontrol = true;
-
- if(ds_main_chgnhistlist.rowcount != 0)
- {
- for(var i = 0; i < ds_main_chgnhistlist.rowcount; i++ )
- {
- if(!utlf_isNull(ds_main_chgnhistlist.getColumn(i, "rtnreqseq")))
- {
- misfSetReadOnlyCol(grd_chgnhistlist, "updtdd,updtflag,upddeptcd,chnginstallplcecd,fixasetamt,mainrec", true, i);
- }
- else
- {
- misfSetReadOnlyCol(grd_chgnhistlist, "updtdd", true, i);
- }
- }
-
- ds_main_chgnhistlist.rowposition = 0;
- grd_chgnhistlist.setCellPos(grd_chgnhistlist.getBindCellIndex("body", "goodflaghngnm"));
- grd_chgnhistlist.showEditor(true);
- }
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- function grd_chgnhistlist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- if(!utlf_isNull(ds_main_chgnhistlist.getColumn(ds_main_chgnhistlist.rowposition, "rtnreqseq")))
- {
- btn_delrow.enable = false;
- }
- else
- {
- btn_delrow.enable = true;
- }
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_grid_rfchrtdmlist.rowcount > 0)
- {
- var fileName = "반납청구List_" + utlf_getCurrentDate();
- grdf_exportExcel(grd_rfchrtdmlist, fileName, "Sheet", "true", "", "");
- }
- else
- {
- sysf_messageBox("저장 데이터가","I004");
- }
- }
- function btn_addrow_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridIUD(grd_chgnhistlist, "A");
-
- var cur_row = ds_main_chgnhistlist.rowposition;
-
- ds_main_chgnhistlist.setColumn(cur_row, "instcd", grp_sea.ipt_instcd.value);
- ds_main_chgnhistlist.setColumn(cur_row, "fixasetcd", grp_sea.ipt_fixasetcd.value);
- var sBaseDate = utlf_getCurrentDate();
-
- ds_main_chgnhistlist.setColumn(cur_row, "updtdd", sBaseDate);
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("", "Q002") == "6")
- {
- fupdateCheckSave();
- }
- }
- function fupdateCheckSave()
- {
- var updtdata = grdf_getGridUpdateData(grd_rfchrtdmlist).rowcount;
- if (updtdata == 0)
- {
- sysf_messageBox("저장 하려는 데이터가","I004");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXRSE01501";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqExeSetRfchrtdmList";
- oParam.inds = "req=ds_main_grid_rfchrtdmlist:u";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXRSE01501";
- tranf_submit(oParam);
- grp_sea.btn_search.click();
- }
- function grp_sea_ipt_deptcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- }
- }
- function grp_sea_ipt_fixasetcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|