123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRFE02000" position="absolute 0 0 1200 770" titletext="예방점검등록" oninit="SMRFE02000_oninit" onload="SMRFE02000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="예방점검 대상장비 목록" class="tit_1" position="absolute 0 0 207 25"/>
- <Shape id="line15" class="line_6" position="absolute 0 47 1195 53" anchor="left top right"/>
- <Button id="button1" taborder="1" text="바코드" class="btn4" position="absolute 1000 26 1068 48" anchor="top right" onclick="button1_onclick"/>
- <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1069 26 1125 48" anchor="top right" onclick="btn_save_onclick"/>
- <Button id="btn_init" taborder="3" text="초기화" class="btn4" position="absolute 1126 26 1194 48" anchor="top right" onclick="btn_init_onclick"/>
- <Button id="btn_print" taborder="4" text="출력" class="btn6" visible="false" position="absolute 0 26 56 48"/>
- <Div id="grp_sea" anchor="left top right" taborder="5" class="div_SA2" position="absolute 0 51 1195 111">
- <Layouts>
- <Layout>
- <Static id="cap_instcd" text="기관코드 :" class="search_name" position="absolute 4 7 90 24"/>
- <Button id="btn_search" taborder="10" text="조회" class="btn1" position="absolute 1130 20 1186 42" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Combo id="cmb_instcd" taborder="11" class="combo_essential" position="absolute 89 7 220 26" onitemchanged="grp_sea_cmb_instcd_onitemchanged"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1119 8 1125 53" anchor="top right"/>
- <Combo id="cmb_fixtrseqmtflag" taborder="12" innerdataset="ds_init_cmb_fixtrseqmtflag" codecolumn="value" datacolumn="label" class="combo_essential" visible="false" position="absolute 1160 0 1186 19"/>
- <Edit id="ipt_tempmngtdeptcd" taborder="13" class="input_default" visible="false" position="absolute 530 41 614 60"/>
- <Button id="btn_tempmngtdeptcd" taborder="14" class="icon_search" visible="false" position="absolute 620 41 636 57" onclick="grp_sea_btn_tempmngtdeptcd_onclick"/>
- <Static id="cap_tempmngtdeptcd" text="관리부서 :" class="search_name" visible="false" position="absolute 440 46 526 63"/>
- <Edit id="ipt_tempmngtdeptnm" taborder="15" visible="false" position="absolute 640 39 780 58"/>
- <Edit id="opt_last_prvnchkdd_yn" taborder="16" readonly="true" visible="false" position="absolute 1130 0 1160 19"/>
- <Combo id="cmb_lrgcd_search" taborder="17" visible="false" position="absolute 1075 39 1105 58" onitemchanged="grp_sea_cmb_lrgcd_search_onitemchanged"/>
- <Static id="caption91" text="대 분 류 :" class="search_name" visible="false" position="absolute 985 45 1088 62"/>
- <Static id="caption94" text="중 분 류 :" class="search_name" visible="false" position="absolute 985 42 1088 59"/>
- <Calendar id="ipt_frlastchkdd" taborder="18" class="input_default" position="absolute 895 9 995 28" autoselect="true" autoskip="true"/>
- <Static id="cap_prvnchkdd" text="최종 점검일 :" class="search_name" position="absolute 785 9 902 26"/>
- <Static id="caption3" text="~" position="absolute 997 9 1012 26"/>
- <Calendar id="ipt_tolastchkdd" taborder="19" class="input_default" position="absolute 1010 9 1110 28" autoselect="true" autoskip="true"/>
- <CheckBox id="chk_noprcssrch" taborder="20" visible="false" position="absolute 1060 1 1085 16" truevalue="Y" falsevalue="N"/>
- <Static id="caption4" text="미처리 :" class="search_name" visible="false" position="absolute 990 0 1060 17"/>
- <Calendar id="ipt_frnextchkdd" taborder="21" class="input_default" position="absolute 895 36 995 55" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="다음 점검일 :" class="search_name" position="absolute 785 37 902 54"/>
- <Static id="caption5" text="~" position="absolute 997 41 1012 58"/>
- <Calendar id="ipt_tonextchkdd" taborder="22" class="input_default" position="absolute 1010 36 1110 55" autoselect="true" autoskip="true"/>
- <Static id="caption7" text="자산코드 :" class="search_name" position="absolute 565 7 682 24"/>
- <Static id="caption8" text="자 산 명 :" class="search_name" position="absolute 565 36 682 53"/>
- <Edit id="ipt_goodcd" taborder="23" class="input_default" position="absolute 655 7 765 26" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_goodcd_onkeyup"/>
- <Edit id="input1" taborder="24" class="input_default" position="absolute 655 35 765 54" onkeyup="grp_sea_input1_onkeyup"/>
- <Button id="btn_mngtdeptcd" taborder="25" class="icon_search" position="absolute 410 7 426 23" onclick="grp_sea_btn_mngtdeptcd_onclick"/>
- <Edit id="ipt_mngtdeptcd" taborder="26" class="input_default" position="absolute 320 7 404 26" autoselect="true" autoskip="true"/>
- <Edit id="ipt_mngtdeptnm" taborder="27" readonly="true" position="absolute 430 7 550 26" autoselect="true" autoskip="true" class="output"/>
- <Static id="cap_mngtdeptcd" text="사용부서 :" class="search_name" position="absolute 230 7 316 24"/>
- <Button id="btn_installplcecd" taborder="28" class="icon_search" position="absolute 410 35 426 51" onclick="grp_sea_btn_installplcecd_onclick"/>
- <Static id="cap_installplcecd" text="설치장소 :" class="search_name" position="absolute 230 35 316 52"/>
- <Edit id="ipt_installplcenm" taborder="29" readonly="true" position="absolute 430 35 550 54" autoselect="true" autoskip="true" class="output"/>
- <Edit id="ipt_installplcecd" taborder="30" class="input_default" position="absolute 320 35 404 54" autoselect="true" autoskip="true"/>
- <Combo id="cmb_mdlcd_search" taborder="31" visible="false" position="absolute 1075 36 1105 55"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption21" text="예방점검 대상장비 목록" class="tit_2" position="absolute 0 134 165 155"/>
- <Shape id="line16" class="line_10" position="absolute 0 149 1195 158" anchor="left top right"/>
- <Grid id="grd_fixasetlist" taborder="6" binddataset="ds_main_fixasetlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 155 1195 420" anchor="all" onexpanddown="grd_fixasetlist_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="18"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="93"/>
- <Column size="83"/>
- <Column size="70"/>
- <Column size="104"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="132"/>
- <Column size="131"/>
- <Column size="75"/>
- <Column size="95"/>
- <Column size="0"/>
- <Column size="98"/>
- <Column size="0"/>
- <Column size="77"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <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" displaytype="checkbox" edittype="checkbox"/>
- <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="INVENTORY여부"/>
- <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="S/N"/>
- <Cell col="16" text="모델명"/>
- <Cell col="17" text="거래처"/>
- <Cell col="18" text="사용부서"/>
- <Cell col="19" text="관리부서"/>
- <Cell col="20" text="부서담당자"/>
- <Cell col="21" text="구입금액"/>
- <Cell col="22" text="설치장소"/>
- <Cell col="23" text="사용장소코드"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'Y' ? 1 : 0"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:prvnchkyn"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:chkprid"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:lastchkdd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" displaytype="date" edittype="none" text="bind:nextchkdd" calendardisplaynulltype="nulltext"/>
- <Cell col="6" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:mngtgrade" enable="false"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:fixasetcd"/>
- <Cell col="8" text="bind:inventoryflag"/>
- <Cell col="9" text="bind:goodflaghngnm"/>
- <Cell col="10" style="align:left middle;padding:0 0 0 3;" text="bind:goodflagengnm"/>
- <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:prodcmpynm"/>
- <Cell col="12" displaytype="date" text="bind:possndd" calendardisplaynulltype="nulltext"/>
- <Cell col="13" style="align:left middle;padding:0 0 0 3;" text="bind:goodspec"/>
- <Cell col="14" text="bind:oldcd"/>
- <Cell col="15" style="align:left middle;padding:0 0 0 3;" text="bind:mngtno"/>
- <Cell col="16" text="bind:goodmodel"/>
- <Cell col="17" style="align:left middle;padding:0 0 0 3;" text="bind:suplplcenm"/>
- <Cell col="18" style="align:left middle;padding:0 0 0 3;" text="bind:mngtdeptnm"/>
- <Cell col="19" style="align:left middle;padding:0 0 0 3;" text="bind:tempmngtdeptnm"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:deptchrgnm" expandshow="show"/>
- <Cell col="21" text="bind:possnamt" mask="#,###"/>
- <Cell col="22" style="align:left middle;padding:0 0 0 3;" text="bind:installplcenm"/>
- <Cell col="23" text="bind:installplcecd"/>
- <Cell col="24" text="bind:prodplce"/>
- <Cell col="25" text="bind:instcd"/>
- <Cell col="26" text="bind:maineqmt"/>
- <Cell col="27" text="bind:prodcmpy"/>
- <Cell col="28" text="bind:mngtdeptcd"/>
- <Cell col="29" text="bind:suplplcecd"/>
- <Cell col="30" text="bind:deptchrg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_rfchprvnlist" taborder="7" binddataset="ds_main_rfchprvnlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 472 1195 762" anchor="left right bottom" oncelldblclick="grd_rfchprvnlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="88"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="45"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="140"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <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"/>
- <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="S/N"/>
- <Cell col="10" text="모델"/>
- <Cell col="11" text="사용부서"/>
- <Cell col="12" text="관리부서"/>
- <Cell col="13" text="설치장소"/>
- <Cell col="14" text="담당자"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <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"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:prvnchkprcsstat" combodataset="ds_init_prvnchkprcsstat" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" displaytype="date" text="bind:prvnchkdd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" displaytype="date" text="bind:todd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" text="bind:acptno"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:fixasetcd"/>
- <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:goodflaghngnm"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:goodflagengnm"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:goodspec"/>
- <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:mngtno"/>
- <Cell col="10" text="bind:goodmodel"/>
- <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:mngtdeptnm"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:tempmngtdeptnm"/>
- <Cell col="13" style="align:left middle;padding:0 0 0 3;" text="bind:installplcenm"/>
- <Cell col="14" text="bind:acptpsnnm"/>
- <Cell col="15" text="bind:medelectacptyn"/>
- <Cell col="16" text="bind:medelectacptpsnid"/>
- <Cell col="17" text="bind:usedeprtmangrcnfm"/>
- <Cell col="18" text="bind:rpircvrtyn"/>
- <Cell col="19" text="bind:reqdd"/>
- <Cell col="20" text="bind:reqno"/>
- <Cell col="21" text="bind:prvnchkprcsstat"/>
- <Cell col="22" text="bind:sanctyn"/>
- <Cell col="23" text="bind:sanctdd"/>
- <Cell col="24" text="bind:instcd"/>
- <Cell col="25" text="bind:vischk"/>
- <Cell col="26" text="bind:viscmt"/>
- <Cell col="27" text="bind:pwrchk"/>
- <Cell col="28" text="bind:pwrcmt"/>
- <Cell col="29" text="bind:syschk"/>
- <Cell col="30" text="bind:syscmt"/>
- <Cell col="31" text="bind:itslfchkyn"/>
- <Cell col="32" text="bind:acsrsuseyn"/>
- <Cell col="33" text="bind:todd"/>
- <Cell col="34" text="bind:chkpsnid"/>
- <Cell col="35" text="bind:acptpsnid"/>
- <Cell col="36" text="bind:chkpsnnm"/>
- <Cell col="37" text="bind:bugtyy"/>
- <Cell col="38" text="bind:bugtcd"/>
- <Cell col="39" text="bind:stdysubjno"/>
- <Cell col="40" text="bind:tempmngtdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="예방점검목록" class="tit_2" position="absolute 0 451 103 472" anchor="left bottom"/>
- <Shape id="line1" class="line_10" position="absolute 0 466 1195 475" anchor="left right bottom"/>
- <Button id="btn_delete" taborder="8" text="행삭제" class="btn2" position="absolute 1141 448 1194 467" anchor="right bottom" onclick="btn_delete_onclick"/>
- <Calendar id="ipt_prvnchktodd" taborder="9" class="input_essential" position="absolute 303 448 403 467" autoselect="true" autoskip="true" anchor="left bottom" onchanged="ipt_prvnchktodd_onchanged"/>
- <Calendar id="ipt_prvnchkfrdd" taborder="10" class="input_essential" position="absolute 190 448 290 467" autoselect="true" autoskip="true" anchor="left bottom" onchanged="ipt_prvnchkfrdd_onchanged"/>
- <Static id="cap_prvnchkfrdd" text="계획일자:" position="absolute 127 446 187 469" style="font:Dotum,9,bold;" anchor="left bottom"/>
- <Static id="caption23" text="~" position="absolute 290 450 305 470" anchor="left bottom"/>
- <Button id="btn_goodsave" taborder="11" text="품목저장" class="btn2" position="absolute 1130 131 1194 150" anchor="top right" onclick="btn_goodsave_onclick"/>
- <Button id="btn_reglpridchk" taborder="12" text="정기예방" class="btn2" visible="false" position="absolute 979 131 1043 150" anchor="top right" onclick="btn_reglpridchk_onclick"/>
- <Button id="btn_search2" taborder="13" text="조회" class="btn2" position="absolute 1091 448 1133 467" anchor="right bottom" onclick="btn_search2_onclick"/>
- <Button id="btn_excel_RFCH" taborder="14" text="Excel 저장" class="btn5" position="absolute 1051 131 1126 150" anchor="top right" onclick="btn_excel_RFCH_onclick"/>
- <Button id="button2" taborder="15" text="Excel 저장" class="btn5" position="absolute 1009 448 1084 467" anchor="right bottom" onclick="button2_onclick"/>
- <Div id="grp_barcode" taborder="16" style="background:#ffffccff;border:1 solid black ;" visible="false" position="absolute 89 48 669 103">
- <Layouts>
- <Layout>
- <Edit id="ipt_barcode" taborder="1" autoselect="true" autoskip="true" class="input_input" position="absolute 180 10 550 45" style="font:Dotum,20;" anchor="default"/>
- <Static id="caption9" text="바코드 :" position="absolute 35 10 170 45" style="font:Dotum,26,bold;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </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="fixtrseqmtflag" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="prvnchkdd" type="STRING" size="256"/>
- <Column id="tempmngtdeptcd" type="STRING" size="256"/>
- <Column id="tempmngtdeptnm" type="STRING" size="256"/>
- <Column id="prvnchkyn" type="STRING" size="256"/>
- <Column id="prvnchkfrdd" type="STRING" size="256"/>
- <Column id="prvnchktodd" type="STRING" size="256"/>
- <Column id="last_prvnchkdd_yn" type="STRING" size="256"/>
- <Column id="inventoryflag" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="frlastchkdd" type="STRING" size="256"/>
- <Column id="tolastchkdd" type="STRING" size="256"/>
- <Column id="noprcssrch" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="frnextchkdd" type="STRING" size="256"/>
- <Column id="tonextchkdd" type="STRING" size="256"/>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="goodflagnm" type="STRING" size="256"/>
- <Column id="mngtdeptcd" type="STRING" size="256"/>
- <Column id="mngtdeptnm" type="STRING" size="256"/>
- <Column id="installplcecd" type="STRING" size="256"/>
- <Column id="installplcenm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="fixtrseqmtflag"/>
- <Col id="goodflag"/>
- <Col id="prvnchkdd"/>
- <Col id="tempmngtdeptcd"/>
- <Col id="tempmngtdeptnm"/>
- <Col id="prvnchkyn"/>
- <Col id="prvnchkfrdd"/>
- <Col id="prvnchktodd"/>
- <Col id="last_prvnchkdd_yn"/>
- <Col id="inventoryflag"/>
- <Col id="lrgcd"/>
- <Col id="mdlcd"/>
- <Col id="frlastchkdd"/>
- <Col id="tolastchkdd"/>
- <Col id="noprcssrch"/>
- <Col id="scrnid"/>
- <Col id="frnextchkdd"/>
- <Col id="tonextchkdd"/>
- <Col id="fixasetcd"/>
- <Col id="goodflagnm"/>
- <Col id="mngtdeptcd"/>
- <Col id="mngtdeptnm"/>
- <Col id="installplcecd"/>
- <Col id="installplcenm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_fixasetlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_fixasetlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="select" type="STRING" size="256" sumtext=" 예방등록에서필요 "/>
- <Column id="instcd" type="STRING" size="256" sumtext=" 기관코드 "/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext=" 자산코드 "/>
- <Column id="fixasetcd_search" type="STRING" size="256" sumtext=" 자산명 "/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext=" 자산명 "/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext=" 자산명 "/>
- <Column id="maineqmt" type="STRING" size="256" sumtext=" 메인장비 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext=" 모델명 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext=" 규격 "/>
- <Column id="installplcecd" type="STRING" size="256" sumtext=" 설치장소코드 "/>
- <Column id="installplcenm" type="STRING" size="256" sumtext=" 설치장소명 "/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext=" 공급처코드 "/>
- <Column id="suplplcenm" type="STRING" size="256" sumtext=" 공급처명 "/>
- <Column id="prodplce" type="STRING" size="256" sumtext=" 제조국 "/>
- <Column id="prodcmpy" type="STRING" size="256" sumtext=" 제조회사코드 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext=" 제조회사명 "/>
- <Column id="possndd" type="STRING" size="256" sumtext=" 취득일자 "/>
- <Column id="possnamt" type="STRING" size="256" sumtext=" 취득금액 "/>
- <Column id="mngtdeptcd" type="STRING" size="256" sumtext=" 관리부서코드 "/>
- <Column id="mngtdeptnm" type="STRING" size="256" sumtext=" 관리부서명 "/>
- <Column id="prvnchkyn" type="STRING" size="256" sumtext=" 관리부서명 "/>
- <Column id="rfehemht_cnt" type="STRING" size="256" sumtext=" 수리내역여부 "/>
- <Column id="last_prvnchkdd" type="STRING" size="256" sumtext=" 최종예방일자 "/>
- <Column id="chrgpsnid" type="STRING" size="256" sumtext=" 담당자 "/>
- <Column id="chrgpsnnm" type="STRING" size="256" sumtext=" 담당자명 "/>
- <Column id="oldcd" type="STRING" size="256" sumtext=" 구코드 "/>
- <Column id="mngtno" type="STRING" size="256" sumtext=" S/N "/>
- <Column id="tempmngtdeptcd" type="STRING" size="256" sumtext=" 관리부서코드(의공) "/>
- <Column id="tempmngtdeptnm" type="STRING" size="256" sumtext=" 관리부서명(의공) "/>
- <Column id="inventoryflag" type="STRING" size="256" sumtext=" inventory여부 "/>
- <Column id="chkprid" type="STRING" size="256" sumtext=" 주기 "/>
- <Column id="lastchkdd" type="STRING" size="256" sumtext=" 최종점검일 "/>
- <Column id="nextchkdd" type="STRING" size="256" sumtext=" 다음점검일 "/>
- <Column id="deptchrg" type="STRING" size="256" sumtext=" 부서담당자 "/>
- <Column id="deptchrgnm" type="STRING" size="256" sumtext=" 부서담당자 "/>
- <Column id="mngtgrade" type="STRING" size="256" sumtext=" 관리등급 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rfchprvnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="select" type="STRING" size="256" sumtext="선택"/>
- <Column id="instcd" 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="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="prvnchkdd" type="STRING" size="256" sumtext="예방점검일자"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="vischk" type="STRING" size="256" sumtext="visualcheck"/>
- <Column id="viscmt" type="STRING" size="256" sumtext="viscmt"/>
- <Column id="pwrchk" type="STRING" size="256" sumtext="powercheck"/>
- <Column id="pwrcmt" type="STRING" size="256" sumtext="pwrcmt"/>
- <Column id="syschk" type="STRING" size="256" sumtext="systemcheck"/>
- <Column id="syscmt" type="STRING" size="256" sumtext="syscmt"/>
- <Column id="clnchk" type="STRING" size="256" sumtext="clncheck"/>
- <Column id="clncmt" type="STRING" size="256" sumtext="clncmt"/>
- <Column id="itslfchkyn" type="STRING" size="256" sumtext="자체점검여부"/>
- <Column id="acsrsuseyn" type="STRING" size="256" sumtext="부품활용여부"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="chkpsnid" type="STRING" size="256" sumtext="점검자id"/>
- <Column id="chkpsnnm" type="STRING" size="256" sumtext="점검자명"/>
- <Column id="acptpsnid" type="STRING" size="256" sumtext="담당자id"/>
- <Column id="acptpsnnm" type="STRING" size="256" sumtext="담당자명"/>
- <Column id="usedeprtmangrcnfm" type="STRING" size="256" sumtext="사용부서장확인"/>
- <Column id="rpircvrtyn" type="STRING" size="256" sumtext="수리전환여부"/>
- <Column id="prerpircvrtyn" type="STRING" size="256" sumtext="old수리전환여부"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="수리접수일자"/>
- <Column id="reqno" type="STRING" size="256" sumtext="수리접수번호"/>
- <Column id="prvnchkprcsstat" type="STRING" size="256" sumtext="(이전)예방점검진행상태"/>
- <Column id="prvnchkprcsstat" type="STRING" size="256" sumtext="예방점검진행상태"/>
- <Column id="sanctyn" type="STRING" size="256" sumtext="결재여부"/>
- <Column id="sanctdd" type="STRING" size="256" sumtext="결재일자"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
- <Column id="suplplcenm" type="STRING" size="256" sumtext="공급처명"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사"/>
- <Column id="mngtno" type="STRING" size="256" sumtext="SERIALNO"/>
- <Column id="mngtdeptcd" type="STRING" size="256" sumtext="사용부서"/>
- <Column id="mngtdeptnm" type="STRING" size="256" sumtext="사용부서명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="자산구분"/>
- <Column id="bugtyy" type="STRING" size="256" sumtext="예산년도"/>
- <Column id="bugtcd" type="STRING" size="256" sumtext="예산계정"/>
- <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제"/>
- <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제명"/>
- <Column id="tempmngtdeptcd" type="STRING" size="256" sumtext="관리부서(의공)"/>
- <Column id="tempmngtdeptnm" type="STRING" size="256" sumtext="관리부서명(의공)"/>
- <Column id="bizscrnid" type="STRING" size="256" sumtext="화면id"/>
- <Column id="attfilenm" type="STRING" size="256" sumtext="파일명"/>
- <Column id="attfilepathnm" type="STRING" size="256" sumtext="첨부파일경로명"/>
- <Column id="deptsanctyn" type="STRING" size="256" sumtext="부서결재여부"/>
- <Column id="deptsanctdd" type="STRING" size="256" sumtext="부서결재일자"/>
- <Column id="flag" type="STRING" size="256" sumtext="구분"/>
- <Column id="mngtgrade" type="STRING" size="256" sumtext="관리등급"/>
- <Column id="r1" type="STRING" size="256" sumtext="1차점검일자"/>
- <Column id="r2" type="STRING" size="256" sumtext="2차점검일자"/>
- <Column id="r3" type="STRING" size="256" sumtext="3차점검일자 "/>
- <Column id="chkprid" type="STRING" size="256" sumtext="예방점검주기 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_prvnchkprcsstat" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">점검완료</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">내부결제</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_barcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item1" compid="grp_sea.ipt_mngtdeptcd" propid="value" datasetid="ds_send" columnid="mngtdeptcd"/>
- <BindItem id="item2" compid="grp_sea.ipt_mngtdeptnm" propid="value" datasetid="ds_send" columnid="mngtdeptnm"/>
- <BindItem id="item3" compid="grp_sea.ipt_installplcecd" propid="value" datasetid="ds_send" columnid="installplcecd"/>
- <BindItem id="item4" compid="grp_sea.ipt_installplcenm" propid="value" datasetid="ds_send" columnid="installplcenm"/>
- <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="goodflagnm"/>
- <BindItem id="item6" compid="grp_sea.ipt_tempmngtdeptnm" propid="value" datasetid="ds_send" columnid="tempmngtdeptnm"/>
- <BindItem id="item7" compid="grp_sea.ipt_tempmngtdeptcd" propid="value" datasetid="ds_send" columnid="tempmngtdeptcd"/>
- <BindItem id="item8" compid="grp_sea.ipt_frlastchkdd" propid="value" datasetid="ds_send" columnid="frlastchkdd"/>
- <BindItem id="item9" compid="grp_sea.ipt_tolastchkdd" propid="value" datasetid="ds_send" columnid="tolastchkdd"/>
- <BindItem id="item10" compid="grp_sea.chk_noprcssrch" propid="value" datasetid="ds_send" columnid="noprcssrch"/>
- <BindItem id="item11" compid="grp_sea.cmb_mdlcd_search" propid="value" datasetid="ds_send" columnid="mdlcd"/>
- <BindItem id="item12" compid="grp_sea.cmb_fixtrseqmtflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item13" compid="grp_sea.opt_last_prvnchkdd_yn" propid="value" datasetid="ds_send" columnid="last_prvnchkdd_yn"/>
- <BindItem id="item14" compid="grp_sea.cmb_lrgcd_search" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- <BindItem id="item15" compid="ipt_prvnchkfrdd" propid="value" datasetid="ds_send" columnid="prvnchkfrdd"/>
- <BindItem id="item16" compid="ipt_prvnchktodd" propid="value" datasetid="ds_send" columnid="prvnchktodd"/>
- <BindItem id="item17" compid="grp_barcode.ipt_barcode" propid="value" datasetid="ds_barcode" columnid="code"/>
- <BindItem id="item18" compid="grp_sea.ipt_goodcd" propid="value" datasetid="ds_send" columnid="fixasetcd"/>
- <BindItem id="item19" compid="grp_sea.ipt_tonextchkdd" propid="value" datasetid="ds_send" columnid="tonextchkdd"/>
- <BindItem id="item20" compid="grp_sea.ipt_frnextchkdd" propid="value" datasetid="ds_send" columnid="frnextchkdd"/>
- </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 SMRFE02000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRFE02000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_fixasetlist);
- grdf_setRowTypeIcon(grd_fixasetlist, 0);
- grdf_initGrid(grd_rfchprvnlist);
- grdf_setRowTypeIcon(grd_rfchprvnlist, 0);
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_send.clearData()
- ds_send.addRow();
-
- misfComboComCdListMulti("C0048,030R0033","grp_sea.cmb_instcd,grd_fixasetlist.mngtgrade");
-
- grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
-
- grd_fixasetlist.setCellProperty("Head", 1, "text", 0);
-
- var acptdate = utlf_getCurrentDate().toDate("YYYYMMDD");
-
- ipt_prvnchkfrdd.value = utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-15, "D").getDateFormat("YYYYMMDD");
- ipt_prvnchktodd.value = utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(15, "D").getDateFormat("YYYYMMDD");
- grp_sea.opt_last_prvnchkdd_yn.value = "Y";
- var vfixtrseqmtflag = grp_sea.cmb_fixtrseqmtflag.value
- ds_send.setColumn(0, "fixtrseqmtflag", vfixtrseqmtflag);
- grp_sea.chk_noprcssrch.value = "N";
- grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
-
- frmf_inputEnterKey("grp_sea.cmb_instcd", "onitemchanged", new ItemChangeEventInfo );
- }
- function grp_sea_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchprvnlist);
- grp_sea.cmb_mdlcd_search.value = "";
- }
- function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "mngtdeptcd")
- {
- grp_sea.ipt_mngtdeptcd.value = e.newvalue;
- grp_sea.ipt_mngtdeptcd.setFocus();
- misfSearchDept(grp_sea.ipt_mngtdeptnm);
- }
- if(e.columnid == "installplcecd")
- {
- grp_sea.ipt_installplcecd.value = e.newvalue;
- grp_sea.ipt_installplcecd.setFocus();
- misfSearchDept(grp_sea.ipt_installplcenm);
- }
- if(e.columnid == "tempmngtdeptcd")
- {
- grp_sea.ipt_tempmngtdeptcd.value = e.newvalue;
- grp_sea.ipt_tempmngtdeptcd.setFocus();
- if(String(e.newvalue).length == 0)
- {
- grp_sea.ipt_tempmngtdeptnm.value = "";
- }
- else
- {
- misfValidationCheck("02", "", "tempmngtdeptcd,tempmngtdeptnm" );
- }
- }
- }
- function grp_sea_btn_mngtdeptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- misfOpenPopUpList("02", grp_sea.ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
- }
- function grp_sea_btn_installplcecd_onclick(obj:Button, e:ClickEventInfo)
- {
- misfOpenPopUpList("02", grp_sea.ipt_installplcecd,"","installplcecd,installplcenm");
- }
- function grp_sea_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_cmb_lrgcd_search_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- rszfLMSComboList("E", obj.value, "", "grp_sea.cmb_mdlcd_search", "", "M", "Y", "Y");
- grp_sea.cmb_mdlcd_search.value="";
- }
- function grp_sea_btn_tempmngtdeptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- misfOpenPopUpList("02", grp_sea.ipt_tempmngtdeptcd,"","tempmngtdeptcd,tempmngtdeptnm");
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("grp_sea.cmb_instcd","ipt_prvnchkfrdd","ipt_prvnchktodd");
- if(!frmf_isRequiredControls(arrCompId)) return;
-
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchprvnlist);
- ds_send.setColumn(0, "scrnid", "SMRFE02000");
-
- var oParam = {};
- oParam.id = "TRRFC01401";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetFixAsetListByRepair";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_fixasetlist=fixasetlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFC01401";
- tranf_submit(oParam);
-
- ds_main_fixasetlist.enableevent = false;
- ds_main_fixasetlist.updatecontrol = false;
-
- dsf_setDefaultVal(ds_main_fixasetlist, "select:N");
-
- ds_main_fixasetlist.updatecontrol = true;
- ds_main_fixasetlist.enableevent = true;
-
- var oParam = {};
- oParam.id = "TRRFE02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetRfchprvnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rfchprvnlist=rfchprvnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE02001";
- tranf_submit(oParam);
- }
- function ds_main_fixasetlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "select")
- {
- obj.setColumn(e.row, "select", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function grd_fixasetlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- misfOpenPopUpList("01", grd_fixasetlist, "", "deptchrg,deptchrgnm");
- }
- function btn_reglpridchk_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXRFE02003";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqExeSaveReglPridChk";
- oParam.inds = "req=ds_send";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXRFE02003";
- tranf_submit(oParam);
- }
- function cf_TXRFE02003(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- var oParam = {};
- oParam.id = "TRRFE02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetRfchprvnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rfchprvnlist=rfchprvnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE02001";
- tranf_submit(oParam);
- }
- }
- function btn_excel_RFCH_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_fixasetlist, "예방점검 대상장비 목록", "예방점검 대상장비 목록", "true", "", "");
- }
- function btn_goodsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grdf_getGridUpdateData(grd_fixasetlist).rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가", "I004");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXRFE02002";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqExePrvnChkynToRfcmfacd";
- oParam.inds = "req=ds_main_fixasetlist:u";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXRFE02002";
- tranf_submit(oParam);
- }
- function cf_TXRFE02002(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- grp_sea.btn_search.click();
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_rfchprvnlist, "예방점검목록", "예방점검목록", "true", "", "");
- }
- function btn_search2_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(grd_rfchprvnlist);
- var oParam = {};
- oParam.id = "TRRFE02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetRfchprvnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rfchprvnlist=rfchprvnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE02001";
- tranf_submit(oParam);
- }
- function btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridIUD(grd_rfchprvnlist, "D");
- }
- function grd_rfchprvnlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- frmf_setParameter("paraminstcd" , ds_main_rfchprvnlist.getColumn(ds_main_rfchprvnlist.rowposition, "instcd"));
- frmf_setParameter("paramtempmngtdeptcd" , ds_main_rfchprvnlist.getColumn(ds_main_rfchprvnlist.rowposition, "tempmngtdeptcd"));
- frmf_setParameter("paramtempmngtdeptnm" , ds_main_rfchprvnlist.getColumn(ds_main_rfchprvnlist.rowposition, "tempmngtdeptnm"));
- frmf_setParameter("paramprvnchkdd" , ds_main_rfchprvnlist.getColumn(ds_main_rfchprvnlist.rowposition, "prvnchkdd"));
- frmf_setParameter("paramprvnchkprcsstat" , ds_main_rfchprvnlist.getColumn(ds_main_rfchprvnlist.rowposition, "prvnchkprcsstat"));
- frmf_modal("SMRFE02100", "SMRFE02100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_barcode.visible == false)
- {
- ds_send.clearData();
- ds_send.addRow();
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchprvnlist);
-
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "prvnchkfrdd", utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-15, "D").getDateFormat("YYYYMMDD"))
- ds_send.setColumn(0, "prvnchktodd", utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(15, "D").getDateFormat("YYYYMMDD"))
- ds_send.setColumn(0, "last_prvnchkdd_yn", "Y");
-
- grp_barcode.visible = true;
-
- grp_sea.enable = false;
-
- btn_save.enable = false;
- btn_init.enable = false;
- grp_barcode.ipt_barcode.setFocus();
- }
- else
- {
- grp_barcode.visible = false;
- ds_send.setColumn(0, "fixasetcd", "");
- ds_barcode.setColumn(0, "code", "");
-
- grp_sea.enable = true;
- btn_save.enable = true;
- btn_init.enable = true;
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fInsertPrvn();
- if(grdf_getGridUpdateData(grd_rfchprvnlist).rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가", "I004");
- return;
- }
- var oParam = {};
- oParam.id = "TXRFE02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "setRfchprvnList";
- oParam.inds = "req=ds_main_rfchprvnlist:u";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXRFE02001";
- tranf_submit(oParam);
- }
- function cf_TXRFE02001(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- for (var i = 0; i < ds_main_fixasetlist.rowcount; i++)
- {
- ds_main_fixasetlist.updatecontrol = false;
- ds_main_fixasetlist.setRowType(i, "")
- ds_main_fixasetlist.setColumn(i, "select", "N");
- ds_main_fixasetlist.updatecontrol = true;
- }
-
- var oParam = {};
- oParam.id = "TRRFE02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetRfchprvnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rfchprvnlist=rfchprvnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE02001";
- tranf_submit(oParam);
- }
- }
- function fInsertPrvn()
- {
- for(var currow = 0; currow < ds_main_fixasetlist.rowcount; currow++)
- {
- if(ds_main_fixasetlist.getColumn(currow , "select") == "Y")
- {
- misfGridIUD(grd_rfchprvnlist, "A");
- var row = ds_main_rfchprvnlist.rowposition;
- ds_main_rfchprvnlist.setColumn(row, "instcd", grp_sea.cmb_instcd.value);
- ds_main_rfchprvnlist.setColumn(row, "fixasetcd", ds_main_fixasetlist.getColumn(currow, "fixasetcd"));
- ds_main_rfchprvnlist.setColumn(row, "prvnchkdd", utlf_getCurrentDate());
- ds_main_rfchprvnlist.setColumn(row, "vischk", "");
- ds_main_rfchprvnlist.setColumn(row, "pwrchk", "");
- ds_main_rfchprvnlist.setColumn(row, "syschk", "");
- ds_main_rfchprvnlist.setColumn(row, "itslfchkyn", "N");
- ds_main_rfchprvnlist.setColumn(row, "acsrsuseyn", "N");
- ds_main_rfchprvnlist.setColumn(row, "medelectacptyn", "Y");
- ds_main_rfchprvnlist.setColumn(row, "usedeprtmangrcnfm", "N");
- ds_main_rfchprvnlist.setColumn(row, "rpircvrtyn", "N");
- ds_main_rfchprvnlist.setColumn(row, "prvnchkprcsstat", "1");
- ds_main_rfchprvnlist.setColumn(row, "sanctyn", "N");
- ds_main_rfchprvnlist.setColumn(row, "sanctdd", "");
- }
- }
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grdf_getGridUpdateData(grd_rfchprvnlist).rowcount != 0)
- {
- if(sysf_messageBox("변경된 데이터가 있습니다. \n초기화 작업을", "Q003") == 7)
- return;
- }
- fInitialize();
- }
- function ipt_prvnchkfrdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- btn_search2.click();
- }
- function ipt_prvnchktodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- btn_search2.click();
- }
- ]]></Script>
- </Form>
- </FDL>
|