123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSO22700" position="absolute 0 0 775 392" titletext="입출고현황조회" oninit="SMRSO22700_oninit" onload="SMRSO22700_onload">
- <Layouts>
- <Layout>
- <Div id="group4" taborder="6" position="absolute 0 23 770 83" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption8" text="소속기관" class="search_name" position="absolute 5 8 110 25"/>
- <Static id="caption1" text="출고부서" class="search_name" position="absolute 5 33 86 50"/>
- <Combo id="cmb_instcd" taborder="1" class="combo_search" position="absolute 85 7 250 26"/>
- <Edit id="ipt_delivedeptcd" taborder="2" class="input_default" position="absolute 85 32 175 51" autoselect="true" autoskip="true"/>
- <Button id="btn_delivedeptcd" taborder="3" class="icon_search" position="absolute 180 32 196 48" onclick="group4_btn_delivedeptcd_onclick"/>
- <Edit id="ipt_delivedeptnm" taborder="4" readonly="true" position="absolute 200 32 336 51" class="output"/>
- <Static id="caption12" text="출고일자" class="search_name" position="absolute 280 8 360 25"/>
- <Calendar id="ipt_delivedd" taborder="5" position="absolute 360 7 450 26" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
- <Static id="caption2" text="~" position="absolute 450 7 465 27"/>
- <Calendar id="ipt_delivetodd" taborder="6" position="absolute 461 7 551 26" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 687 7 693 52"/>
- <Button id="btn_search" taborder="7" text="조회" class="btn1" position="absolute 700 17 756 39" onclick="group4_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 105 770 111" linetype="horizontal" id="line8" class="line_10"/>
- <Static text="출고내역" position="absolute 0 89 184 110" id="caption20" class="tit_2"/>
- <Grid position="absolute 0 110 770 388" id="grd_delivemst" visible="true" binddataset="ds_grd_delivemst" autofittype="col" cellsizingtype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="84"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="160"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="출고유형"/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="창고"/>
- <Cell col="3" text="부서명"/>
- <Cell col="4" text="입고여부"/>
- <Cell col="5" text="출고여부"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deliveflagnm"/>
- <Cell col="1" displaytype="date" text="bind:delivedd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:wareflagnm"/>
- <Cell col="3" text="bind:delivedeptnm"/>
- <Cell col="4" text="bind:wincallyn"/>
- <Cell col="5" text="bind:delivecallyn"/>
- <Cell col="6" text="bind:wareflag"/>
- <Cell col="7" text="bind:delivedeptcd"/>
- <Cell col="8" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 715 0 771 22" id="btn_cancel" class="btn4" text="닫기" onclick="btn_cancel_onclick"/>
- <Static text="출고내역팝업" position="absolute 0 0 295 23" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_search_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="delivedd" type="STRING" size="256"/>
- <Column id="delivedeptcd" type="STRING" size="256"/>
- <Column id="delivedeptnm" type="STRING" size="256"/>
- <Column id="opener" type="STRING" size="256"/>
- <Column id="delivetodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="delivedd"/>
- <Col id="delivedeptcd"/>
- <Col id="delivedeptnm"/>
- <Col id="opener"/>
- <Col id="delivetodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_delivemst_delivemstlist" 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="delivedd" type="STRING" size="256" sumtext="출고일자"/>
- <Column id="deliveno" type="STRING" size="256" sumtext="출고번호"/>
- <Column id="wareflag" type="STRING" size="256" sumtext="창고구분"/>
- <Column id="wareflagnm" type="STRING" size="256" sumtext="창고구분명"/>
- <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서"/>
- <Column id="delivedeptnm" type="STRING" size="256" sumtext="출고부서명"/>
- <Column id="deliveflagnm" type="STRING" size="256" sumtext="출고유형명"/>
- <Column id="deliveflag" type="STRING" size="256" sumtext="출고유형"/>
- <Column id="wincallyn" type="STRING" size="256" sumtext="입고여부"/>
- <Column id="delivecallyn" type="STRING" size="256" sumtext="출고여부"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.cmb_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
- <BindItem id="item1" compid="group4.ipt_delivedd" propid="value" datasetid="ds_send_search" columnid="delivedd"/>
- <BindItem id="item2" compid="group4.ipt_delivetodd" propid="value" datasetid="ds_send_search" columnid="delivetodd"/>
- <BindItem id="item3" compid="group4.ipt_delivedeptcd" propid="value" datasetid="ds_send_search" columnid="delivedeptcd"/>
- <BindItem id="item4" compid="group4.ipt_delivedeptnm" propid="value" datasetid="ds_send_search" columnid="delivedeptnm"/>
- </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";
- function SMRSO22700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRSO22700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_delivemst);
-
- misfComboInstCdListMulti("group4.cmb_instcd",utlf_getCurrentDate(),"","N");
- try
- {
- ds_popdata.copyData(arg_ds_popdata);
- }
- catch(e)
- {
- }
- ds_send_search.setColumn(0, "instcd", ds_popdata.getColumn(0, "instcd"));
- ds_send_search.setColumn(0, "delivedd", String(ds_popdata.getColumn(0, "delivedd")).substr(0,6)+"01");
- ds_send_search.setColumn(0, "delivetodd", ds_popdata.getColumn(0, "delivedd"));
- ds_send_search.setColumn(0, "delivedeptcd", ds_popdata.getColumn(0, "delivedeptcd"));
- ds_send_search.setColumn(0, "delivedeptnm", ds_popdata.getColumn(0, "delivedeptnm"));
- ds_send_search.setColumn(0, "opener", ds_popdata.getColumn(0, "opener"));
-
- var oParam = {};
- oParam.id = "TRRSO21051";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetWinCallDeliveWare";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_delivemst_delivemstlist=delivemstlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO21051";
- tranf_submit(oParam);
- }
- function ds_send_search_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "delivedeptcd")
- {
- group4.ipt_delivedeptcd.value = e.newvalue
- group4.ipt_delivedeptcd.setFocus();
-
- misfValidationCheck("02", "", "delivedeptcd,delivedeptnm" );
-
- if(utlf_isNull(e.newvalue))
- {
- group4.ipt_delivedeptnm.value = "";
- }
-
- if(ds_main_delivemst_delivemstlist.rowcount > 0)
- {
- misfGridInit(grd_deptwinlist);
- }
- }
- }
- function group4_btn_delivedeptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var vOrigDeptcd = group4.ipt_delivedeptcd.value;
-
- var recv_list = "delivedeptcd,delivedeptnm";
- misfOpenPopUpList("02", ds_send_search,"", recv_list) ;
- }
- function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(grd_delivemst);
- var oParam = {};
- oParam.id = "TRRSO21051";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetWinCallDeliveWare";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_delivemst_delivemstlist=delivemstlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO21051";
- tranf_submit(oParam)
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|