123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSM01300" position="absolute 0 0 1196 783" titletext="임대차 장비재료 내역조회" oninit="SMRSM01300_oninit" onload="SMRSM01300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="임대차 장비재료 내역조회" class="tit_1" position="absolute 0 0 188 25" style="align:left middle;" anchor="left top"/>
- <Shape id="line2" linetype="horizontal" class="line_6" position="absolute 0 23 1196 29" style="align:center middle;" anchor="left top right"/>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1141 2 1196 24" style="align:right middle;" anchor="top right" onclick="btn_save_onclick"/>
- <Div id="grp_sea" taborder="2" class="div_SA2" position="absolute 0 27 1196 67" style="align:center middle;" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption7" text="기관코드 :" class="search_name" position="absolute 21 13 95 30" anchor="left top" style="align:left middle;"/>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1106 10 1112 32" anchor="top right" style="align:center middle;"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1124 10 1180 32" anchor="top right" onclick="grp_sea_btn_search_onclick" style="align:left middle;"/>
- <Static id="caption1" text="장비코드:" class="search_name" position="absolute 286 13 360 30" anchor="left top" style="align:left middle;"/>
- <Edit id="ipt_goodcd" taborder="4" class="output" position="absolute 361 12 461 31" anchor="left top" style="align:left middle;" autoselect="true" useime="none" inputmode="upper" onkeydown="grp_sea_ipt_goodcd_onkeydown" readonly="true"/>
- <Combo id="cmb_instcd" taborder="5" class="combo_default" position="absolute 99 12 249 31" anchor="default" enable="false"/>
- <Button id="btn_goodcd" taborder="6" class="icon_search" position="absolute 462 14 478 30" anchor="default" onclick="grp_sea_btn_goodcd_onclick"/>
- <Edit id="ipt_goodnm" taborder="7" autoselect="true" class="output" position="absolute 481 12 781 31" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" anchor="default" readonly="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 95 1196 101" style="align:center middle;" anchor="left top right"/>
- <Static id="caption21" text="임차 장비별 재료조회 내역" class="tit_2" position="absolute 0 79 243 96" style="align:left top;" anchor="left top" onclick="caption21_onclick"/>
- <Grid id="grd_goodfaxlst" taborder="3" position="absolute 0 100 1196 400" style="align:center middle;" anchor="left top right" binddataset="ds_goodfaxlst" cellsizingtype="col" autoenter="key" tooltiptype="hover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <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="자산명"/>
- <Cell col="5" text="물품코드"/>
- <Cell col="6" text="물품명"/>
- <Cell col="7" text="EDI코드"/>
- <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" colspan="2" text="단가계약기간" taborder="undefined"/>
- <Cell col="18" text="주거래처코드"/>
- <Cell col="19" text="주거래처명"/>
- <Cell col="20" colspan="2" text="장비계약기간" taborder="undefined"/>
- <Cell col="22" text="장비비고사항"/>
- <Cell col="23" text="비고"/>
- <Cell col="24" text="창고구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:gubun"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center;color:EXPR(useyn == 'Y' ? 'red' : '');color2:EXPR(useyn == 'Y' ? 'red' : '');font:EXPR(useyn == 'Y' ? 'arial,9,bold' : 'arial,9');" text="bind:useyn" combodataset="ds_useYn" combocodecol="value" combodatacol="label"/>
- <Cell col="3" style="align:left;" text="bind:fixasetcd"/>
- <Cell col="4" style="align:left;" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
- <Cell col="5" text="bind:goodcd"/>
- <Cell col="6" style="align:left;" text="bind:goodnm" tooltiptext="bind:goodnm"/>
- <Cell col="7" text="bind:edicd"/>
- <Cell col="8" text="bind:winacnt"/>
- <Cell col="9" style="align:left;" text="bind:winacntnm" tooltiptext="bind:winacntnm"/>
- <Cell col="10" style="align:left;" text="bind:goodspec"/>
- <Cell col="11" displaytype="number" edittype="masknumber" text="bind:estiamt" mask="#,###"/>
- <Cell col="12" text="bind:afupperlimit"/>
- <Cell col="13" text="bind:goodunitcost"/>
- <Cell col="14" text="bind:conflag"/>
- <Cell col="15" text="bind:costconyn"/>
- <Cell col="16" displaytype="date" text="bind:fromconterm" calendardisplaynulltype="none"/>
- <Cell col="17" displaytype="date" text="bind:toconterm" calendardisplaynulltype="none"/>
- <Cell col="18" text="bind:custcode"/>
- <Cell col="19" text="bind:custnm" tooltiptext="bind:custnm"/>
- <Cell col="20" displaytype="date" text="bind:fcondd" calendardisplaynulltype="none"/>
- <Cell col="21" displaytype="date" text="bind:tcondd" calendardisplaynulltype="none"/>
- <Cell col="22" style="align:left top;padding:4 2 2 2;" text="bind:facdcmt" wordwrap="word" tooltiptext="bind:facdcmt"/>
- <Cell col="23" displaytype="text" edittype="text" style="align:left top;padding:4 2 2 2;" text="bind:cmt" wordwrap="word" tooltiptext="bind:cmt"/>
- <Cell col="24" text="bind:wareflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button8" taborder="15" text="재료" class="btn2" position="absolute 1142 72 1194 94" onclick="button8_onclick"/>
- <Div id="grp_sea2" anchor="left top right" taborder="16" style="align:center middle;" class="div_SA2" position="absolute 0 410 1196 450">
- <Layouts>
- <Layout>
- <Static id="caption7" text="종류 :" class="search_name" position="absolute 26 13 75 30" anchor="left top" style="align:left middle;"/>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1106 10 1112 32" anchor="top right" style="align:center middle;"/>
- <Button id="btn_search2" taborder="8" text="조회" class="btn1" position="absolute 1124 10 1180 32" anchor="top right" style="align:left middle;" onclick="grp_sea2_btn_search2_onclick"/>
- <Static id="caption1" text="장비코드 :" class="search_name" position="absolute 211 13 285 30" anchor="left top" style="align:left middle;"/>
- <Edit id="ipt_code" taborder="9" autoselect="true" position="absolute 286 12 386 31" anchor="left top" style="align:left middle;" inputmode="upper" useime="none" onkeydown="grp_sea2_ipt_code_onkeydown"/>
- <Combo id="cmb_flag" taborder="10" position="absolute 74 12 174 31" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_sea2_cmb_flag_onitemchanged" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">장비코드</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_code" taborder="11" class="icon_search" position="absolute 387 14 403 30" anchor="default" onclick="grp_sea2_btn_code_onclick"/>
- <Edit id="ipt_nm" taborder="12" autoselect="true" class="output" position="absolute 406 12 706 31" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" anchor="default"/>
- <Static id="caption02" text="물품구분 :" class="search_name" position="absolute 904 11 978 28" anchor="left top" style="align:left middle;" visible="false"/>
- <Combo id="cmb_goodflag" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 982 10 1082 29" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">EQ</Col>
- <Col id="datacolumn">물품구분</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption00" text="사용여부 :" class="search_name" position="absolute 741 13 815 30" anchor="left top" style="align:left middle;"/>
- <Combo id="cmb_useYn" taborder="15" class="combo_default" position="absolute 819 12 869 31" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn"/>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption00" text="매핑내역" class="tit_2" position="absolute 0 462 73 479" anchor="left top" style="align:left top;"/>
- <Shape id="line00" class="line_10" position="absolute 0 478 1196 484" anchor="left top right" style="align:center middle;"/>
- <Button id="bnt_excel" taborder="18" text="엑셀" onclick="bnt_excel_onclick" class="btn7" position="absolute 1143 455 1196 477" anchor="top right"/>
- <Grid id="grd_gflist" taborder="20" useinputpanel="false" cellsizingtype="col" position="absolute 0 483 1196 783" anchor="all" style="align:center middle;" binddataset="ds_gflist" tooltiptype="hover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <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="자산명"/>
- <Cell col="5" text="물품코드"/>
- <Cell col="6" text="물품명"/>
- <Cell col="7" text="EDI코드"/>
- <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" colspan="2" text="단가계약기간" taborder="undefined"/>
- <Cell col="18" text="주거래처코드"/>
- <Cell col="19" text="주거래처명"/>
- <Cell col="20" colspan="2" text="장비계약기간" taborder="undefined"/>
- <Cell col="22" text="장비비고사항"/>
- <Cell col="23" text="비고"/>
- <Cell col="24" text="창고구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:gubun"/>
- <Cell col="2" displaytype="combo" style="align:center;color:EXPR(useyn == 'Y' ? 'red' : '');color2:EXPR(useyn == 'Y' ? 'red' : '');font:EXPR(useyn == 'Y' ? 'arial,9,bold' : 'arial,9');" text="bind:useyn" combodataset="ds_useYn" combocodecol="value" combodatacol="label"/>
- <Cell col="3" style="align:left;" text="bind:fixasetcd"/>
- <Cell col="4" style="align:left;" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
- <Cell col="5" text="bind:goodcd"/>
- <Cell col="6" style="align:left;" text="bind:goodnm" tooltiptext="bind:goodnm"/>
- <Cell col="7" text="bind:edicd"/>
- <Cell col="8" text="bind:winacnt"/>
- <Cell col="9" style="align:left;" text="bind:winacntnm" tooltiptext="bind:winacntnm"/>
- <Cell col="10" style="align:left;" text="bind:goodspec"/>
- <Cell col="11" displaytype="number" text="bind:estiamt" mask="#,###"/>
- <Cell col="12" text="bind:afupperlimit"/>
- <Cell col="13" text="bind:goodunitcost"/>
- <Cell col="14" text="bind:conflag"/>
- <Cell col="15" text="bind:costconyn"/>
- <Cell col="16" displaytype="date" text="bind:fromconterm" calendardisplaynulltype="none"/>
- <Cell col="17" displaytype="date" text="bind:toconterm" calendardisplaynulltype="none"/>
- <Cell col="18" text="bind:custcode"/>
- <Cell col="19" style="align:left;" text="bind:custnm" tooltiptext="bind:custnm"/>
- <Cell col="20" displaytype="date" text="bind:fcondd" calendardisplaynulltype="none"/>
- <Cell col="21" displaytype="date" text="bind:tcondd" calendardisplaynulltype="none"/>
- <Cell col="22" style="align:left top;padding:4 2 2 2;" text="bind:facdcmt" wordwrap="word" tooltiptext="bind:facdcmt"/>
- <Cell col="23" displaytype="text" style="align:left top;padding:4 2 2 2;" text="bind:cmt" wordwrap="word" tooltiptext="bind:cmt"/>
- <Cell col="24" text="bind:wareflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="fixasetnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_goodfaxlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="255"/>
- <Column id="useyn" type="STRING" size="255"/>
- <Column id="goodcd" type="STRING" size="255"/>
- <Column id="goodnm" type="STRING" size="255"/>
- <Column id="fixasetcd" type="STRING" size="255"/>
- <Column id="fixasetnm" type="STRING" size="255"/>
- <Column id="edicd" type="STRING" size="255"/>
- <Column id="winacnt" type="STRING" size="255"/>
- <Column id="winacntnm" type="STRING" size="255"/>
- <Column id="goodspec" type="STRING" size="255"/>
- <Column id="wareflag" type="STRING" size="255"/>
- <Column id="afupperlimit" type="STRING" size="255"/>
- <Column id="goodunitcost" type="BIGDECIMAL" size="255"/>
- <Column id="conflag" type="STRING" size="255"/>
- <Column id="costconyn" type="STRING" size="255"/>
- <Column id="fromconterm" type="STRING" size="255"/>
- <Column id="toconterm" type="STRING" size="255"/>
- <Column id="custcode" type="STRING" size="255"/>
- <Column id="custnm" type="STRING" size="255"/>
- <Column id="fcondd" type="STRING" size="255"/>
- <Column id="tcondd" type="STRING" size="255"/>
- <Column id="facdcmt" type="STRING" size="255"/>
- <Column id="cmt" type="STRING" size="255"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- <Column id="estiamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popgood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="winacnt" type="STRING" size="256"/>
- <Column id="winacntnm" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="wareflag" type="STRING" size="256"/>
- <Column id="afupperlimit" type="STRING" size="256"/>
- <Column id="goodunitcost" type="STRING" size="256"/>
- <Column id="conflag" type="STRING" size="256"/>
- <Column id="costconyn" type="STRING" size="256"/>
- <Column id="fromconterm" type="STRING" size="256"/>
- <Column id="toconterm" type="STRING" size="256"/>
- <Column id="custcode" type="STRING" size="256"/>
- <Column id="custnm" type="STRING" size="256"/>
- <Column id="returntype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="selectyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_useYn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_goodfaxlsthidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="255"/>
- <Column id="useyn" type="STRING" size="255"/>
- <Column id="goodcd" type="STRING" size="255"/>
- <Column id="goodnm" type="STRING" size="255"/>
- <Column id="fixasetcd" type="STRING" size="255"/>
- <Column id="fixasetnm" type="STRING" size="255"/>
- <Column id="edicd" type="STRING" size="255"/>
- <Column id="winacnt" type="STRING" size="255"/>
- <Column id="winacntnm" type="STRING" size="255"/>
- <Column id="goodspec" type="STRING" size="255"/>
- <Column id="wareflag" type="STRING" size="255"/>
- <Column id="afupperlimit" type="STRING" size="255"/>
- <Column id="goodunitcost" type="BIGDECIMAL" size="255"/>
- <Column id="conflag" type="STRING" size="255"/>
- <Column id="costconyn" type="STRING" size="255"/>
- <Column id="fromconterm" type="STRING" size="255"/>
- <Column id="toconterm" type="STRING" size="255"/>
- <Column id="custcode" type="STRING" size="255"/>
- <Column id="custnm" type="STRING" size="255"/>
- <Column id="fcondd" type="STRING" size="255"/>
- <Column id="tcondd" type="STRING" size="255"/>
- <Column id="facdcmt" type="STRING" size="255"/>
- <Column id="cmt" type="STRING" size="255"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_search2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_gflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_popfixa" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="fixasetnm" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_popgoodhidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="winacnt" type="STRING" size="256"/>
- <Column id="winacntnm" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="wareflag" type="STRING" size="256"/>
- <Column id="afupperlimit" type="STRING" size="256"/>
- <Column id="goodunitcost" type="STRING" size="256"/>
- <Column id="conflag" type="STRING" size="256"/>
- <Column id="costconyn" type="STRING" size="256"/>
- <Column id="fromconterm" type="STRING" size="256"/>
- <Column id="toconterm" type="STRING" size="256"/>
- <Column id="custcode" type="STRING" size="256"/>
- <Column id="custnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="selectyn"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item13" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
- <BindItem id="item0" compid="grp_sea.ipt_goodcd" propid="value" datasetid="ds_send_search" columnid="fixasetcd"/>
- <BindItem id="item1" compid="grp_sea.ipt_goodnm" propid="value" datasetid="ds_send_search" columnid="fixasetnm"/>
- <BindItem id="item2" compid="grp_sea2.cmb_flag" propid="value" datasetid="ds_send_search2" columnid="flag"/>
- <BindItem id="item3" compid="grp_sea2.ipt_code" propid="value" datasetid="ds_send_search2" columnid="code"/>
- <BindItem id="item4" compid="grp_sea2.ipt_nm" propid="value" datasetid="ds_send_search2" columnid="nm"/>
- <BindItem id="item5" compid="grp_sea2.cmb_useYn" propid="value" datasetid="ds_send_search2" columnid="useyn"/>
- <BindItem id="item6" compid="grp_sea2.cmb_goodflag" propid="value" datasetid="ds_send_search2" columnid="goodflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_purcbasexp -> SMRSM01300
- * Creator : yjh
- * Make Date : 2018-08-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-08-13 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRSM01300
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMRSM01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRSM01300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMRSM01300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grd_goodfaxlst, 0);
-
- misfComboComCdList("C0048", grp_sea.cmb_instcd, "Y");
- grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
- ds_send_search2.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- grp_sea2.cmb_flag.value = "F";
- grp_sea2.cmb_goodflag.value = "EQ";
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_goodcd
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function grp_sea_btn_goodcd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_goodfaxlst.clearData();
- ds_goodfaxlsthidden.clearData();
-
- frmf_modal("SPRFC00204", "SPRFC00204", null, "", "", "", "", "", "", "", "", "", "M");
-
- if( ds_popfixa.getColumn(0, "selectyn") == "Y" ){
- ds_send_search.setColumn(0, "fixasetcd", ds_popfixa.getColumn(0, "fixasetcd"));
- ds_send_search.setColumn(0, "fixasetnm", ds_popfixa.getColumn(0, "fixasetnm"));
-
- grp_sea.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if( utlf_isNull(grp_sea.ipt_goodcd.value) ){
- sysf_messageBox("장비코드는" ,"I003");
- grp_sea.ipt_goodcd.setFocus();
- return false;
- }
-
- var oParam = {};
- oParam.id = "TRRSM01301";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetGoodFaxLst";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_goodfaxlsthidden=goodfaxlst";
- oParam.async = false;
- //oParam.callback = "cf_TRRSM01301";
- tranf_submit(oParam);
-
- ds_goodfaxlsthidden.addColumn("instcd", "string");
-
- if( ds_goodfaxlsthidden.rowcount > 0 && !utlf_isNull(ds_goodfaxlsthidden.getColumn(ds_goodfaxlsthidden.rowcount-1, "goodcd")) ){
- ds_goodfaxlst.copyData(ds_goodfaxlsthidden);
- ds_goodfaxlsthidden.clearData();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_flag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_sea2_cmb_flag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if( e.postvalue == "M" ){
- grp_sea2.caption1.text = "물품코드 :";
- }else{
- grp_sea2.caption1.text = "장비코드 :";
- }
-
- grp_sea2.ipt_code.value = "";
- grp_sea2.ipt_nm.value = "";
- grp_sea2.cmb_useYn.value = "";
-
- ds_gflist.clearData();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button8
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 재료버튼 클릭시
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_goodfaxlst.rowcount < 1 && ds_send_search.getColumn(0, "fixasetcd") == "" ){
- sysf_messageBox("장비코드를 먼저 조회하시기 바랍니다.");
- return false;
- }
- // ds_popgood.setColumn(0, "instcd", grp_sea.cmb_instcd.value);
- // ds_popgood.setColumn(0, "selectyn", "");
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_goodfaxlst;
-
- frmf_modal("SPRSC01300", "SPRSC01300", objArg, "", "", "", "", "", "", "", "", "", "M");
- // if( ds_goodfaxlst.getColumn(0, "selectyn") == "Y" ){
- // ds_send_search.setColumn(0, "fixasetcd", ds_goodfaxlst.getColumn(0, "fixasetcd"));
- // ds_send_search.setColumn(0, "fixasetnm", ds_goodfaxlst.getColumn(0, "fixasetnm"));
- //
- // grp_sea.btn_search.click();
- // }
-
-
- // if( ds_goodfaxlst.rowcount < 1 && ds_goodfaxlsthidden.rowcount < 1 ){
- // sysf_messageBox("재료코드를 먼저 조회하시기 바랍니다.");
- // return false;
- // }
- //
- // frmf_modal("SPRFC00204", "SPRFC00204", null, "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if( grdf_getGridUpdateData(grd_goodfaxlst).rowcount < 1 ){
- sysf_messageBox("변경된 데이터가","I004");
- return false;
- }
-
- if( sysf_messageBox("", "Q002") != "6" ){
- return false;
- }
-
- ds_goodfaxlst.enableevent = false;
- ds_goodfaxlst.updatecontrol = false;
-
- grdf_setStatusColumn(ds_goodfaxlst, "status");
-
- ds_goodfaxlst.updatecontrol = true;
- ds_goodfaxlst.enableevent = true;
-
- var oParam = {};
- oParam.id = "TXRSM01301";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqSetGFinfoMapping";
- oParam.inds = "req=ds_goodfaxlst";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TRRSM01301";
- tranf_submit(oParam);
-
- grp_sea.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_code
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function grp_sea2_btn_code_onclick(obj:Button, e:ClickEventInfo)
- {
- if( grp_sea2.cmb_flag.value == "M" ){
- ds_popgood.setColumn(0, "instcd", grp_sea.cmb_instcd.value);
- //ds_popgood.setColumn(0, "wareflag", grp_search.cmb_wareflag.value);
- ds_popgood.setColumn(0, "returntype", "2");
- ds_popgood.setColumn(0, "selectyn", "");
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popgood;
-
- frmf_modal("SPRSO20300", "SPRSO20300", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if( ds_popgood.getColumn(0, "selectyn") == "Y" ){
- ds_send_search2.setColumn(0, "code", ds_popgood.getColumn(0, "goodcd"));
- ds_send_search2.setColumn(0, "nm", ds_popgood.getColumn(0, "goodnm"));
-
- grp_sea2.btn_search2.click();
- }
- }else{
- rszfOpenPopUpListByWndName(grp_sea2.ipt_code, "", "code,nm", "SPRSD00240", "instcd,goodflag", "grp_sea.cmb_instcd,grp_sea2.cmb_goodflag");
-
- grp_sea2.btn_search2.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_sea2_btn_search2_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRSM01302";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetGFList";
- oParam.inds = "req=ds_send_search2";
- oParam.outds = "ds_gflist=gflist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSM01301";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bnt_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function bnt_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_gflist.rowcount > 0 ){
- grdf_exportExcel(grd_gflist, "임대차 장비재료 내역조회", "매핑내역", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodcd
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_sea_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- grp_sea.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_code
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_sea2_ipt_code_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- grp_sea2.btn_search2.click();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|