123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNG02801" position="absolute 0 0 790 560" titletext="린넨물품(린넨)조회 HELP" oninit="SPMNG02801_oninit" onload="SPMNG02801_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 781 520" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 780 30" id="group2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 780 29" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Button position="absolute 719 4 775 26" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
- <Shape position="absolute 712 0 718 29" linetype="vertical" id="line13" class="line_4"/>
- <Static text="조회조건 :" position="absolute 10 6 96 23" id="caption2" class="search_name"/>
- <Radio position="absolute 95 5 230 25" id="radio1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">물품명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 235 5 390 24" id="ipt_good" class="input_search"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="세탁물 물품리스트" position="absolute 0 45 131 61" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 61 780 67" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 65 780 515" id="grd_rscdlist" binddataset="ds_main_rscdlist" oncelldblclick="group3_grd_rscdlist_oncelldblclick" onheadclick="group3_grd_rscdlist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="20"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="160"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <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="상세규격"/>
- <Cell col="9" text="불출단위"/>
- <Cell col="10"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="2" style="align:left;" text="bind:goodcd"/>
- <Cell col="3" style="align:left;" text="bind:goodcdseq"/>
- <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:lngoodnm" wordwrap="word"/>
- <Cell col="5" style="align:left;" text="bind:goodengnm"/>
- <Cell col="6" style="align:left;" text="bind:useyn"/>
- <Cell col="7" style="align:left top;padding:4 2 2 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="8" style="align:left top;padding:4 2 2 2;" text="bind:goodmodel" wordwrap="word"/>
- <Cell col="9" style="align:left;" text="bind:goodunit"/>
- <Cell col="10" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 521 780 548" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 661 2 717 24" id="btn_confirm" class="btn4" text="확인" onclick="group1_btn_confirm_onclick"/>
- <Button position="absolute 720 2 776 24" id="btn_cancel" class="btn4" text="취소" onclick="group1_btn_cancel_onclick"/>
- <Shape position="absolute 0 0 518 6" linetype="vertical" id="line32" class="line_6"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_rscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rscdlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">C</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.radio1" propid="value" datasetid="ds_send_reqdata" columnid="srchflag"/>
- <BindItem id="item1" compid="group3.group2.ipt_good" propid="value" datasetid="ds_send_reqdata" columnid="goodcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-07-11
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-07-11 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPMNG02801_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMNG02801_onload(obj:Form, e:LoadEventInfo)
- {
- var flag = sysf_getModelProperty("flag");
- var deptcd = sysf_getModelProperty("deptcd");
-
- ds_send_reqdata.setColumn(0, "flag" , flag);
- ds_send_reqdata.setColumn(0, "deptcd" , deptcd);
- frmf_inputEnterKey("group3.group2.btn_search", "onclick", new ClickEventInfo);
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( !utlf_isNull(group3.group2.ipt_good.value) ) {
- if ( utlf_isNull(group3.group2.radio1.value) ) {
- alert("조회조건을 선택하세요");
- return;
- }
- }
-
- var oParam = {};
- oParam.id = "TRMNG02804";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetMscdInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_rscdlist=rscdlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function ds_main_rscdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function group3_grd_rscdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1 && e.col > -1)
- {
- frmf_inputEnterKey("group1.btn_confirm", "onclick", new ClickEventInfo);
- }
- }
- function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_rscdlist.rowcount == 0)
- {
- sysf_messageBox("적용할 내역이","I004");
- this.close();
- return;
- }
- //var iParam = model.getValue(grd_deptlist.nodeset);
-
- ds_main_rscdlist.filter("chkyn=='Y'");
- var rCVS = dsf_getDsCSV(ds_main_rscdlist);
-
- ds_main_rscdlist.filter("");
- if ( frmf_checkOpener() ) {
- opener.frmf_setParameter("SPMNG02801_", rCVS);
-
- } else {
- var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
- }
- this.close();
- }
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListCancel();
- }
- function group3_grd_rscdlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grdf_setEventGrid(group3.grd_rscdlist, e);
- }
- ]]></Script>
- </Form>
- </FDL>
|