123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRAD00400" position="absolute 0 0 705 313" titletext="품의내역조회" oninit="SPRAD00400_oninit" onload="SPRAD00400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="품의내역조회" class="tit_1" position="absolute 0 0 190 23"/>
- <Grid id="datagrid1" taborder="1" binddataset="ds_main_list_pumlist" useinputpanel="false" position="absolute 0 25 698 285" autoenter="select" autofittype="col" autosizingtype="col" oncelldblclick="datagrid1_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="138"/>
- <Column size="321"/>
- <Column size="128"/>
- <Column size="87"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pumno"/>
- <Cell col="1" text="bind:naeyong"/>
- <Cell col="2" text="bind:pumtot" mask="(-)#,###"/>
- <Cell col="3" text="bind:pumemplnm"/>
- <Cell col="4" text="bind:chulseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button1" taborder="2" text="확인" class="btn4" position="absolute 582 286 638 308" onclick="button1_onclick"/>
- <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 642 286 698 308" onclick="btn_close_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_pumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pumno" type="STRING"/>
- <Column id="naeyong" type="STRING"/>
- <Column id="pumtot" type="STRING"/>
- <Column id="pumemplnm" type="STRING"/>
- <Column id="chulseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="junpyodate" type="STRING" size="256"/>
- <Column id="makedeptcd" type="STRING" size="256"/>
- <Column id="yogudeptcd" type="STRING" size="256"/>
- <Column id="pumgubun" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="junpyodate"/>
- <Col id="makedeptcd"/>
- <Col id="yogudeptcd"/>
- <Col id="pumgubun"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <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 SPRAD00400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRAD00400_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function fInitialize()
- {
- ds_main_list_pumlist.clearData();
- var instcd = sysf_getUserInfo("dutplceinstcd");
-
- try
- {
- ds_popdata.copyData(arg_ds_popdata);
- }
- catch(e)
- {
- }
-
- dsf_makeValue(ds_popdata, "instcd", "string", instcd, 0);
- var oParam = {};
- oParam.id = "TRRAD01507";
- oParam.service = "slipapp.AccBook";
- oParam.method = "reqGetPumPopupList";
- oParam.inds = "req=ds_popdata";
- oParam.outds = "ds_main_list_pumlist=pumlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRAD01507";
- tranf_submit(oParam);
- }
- function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- button1.click();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_main_list_pumlist.rowposition < 0)
- {
- sysf_messageBox("조회할 품의내역을 선택한 후 처리하시기 바랍니다.", "E999", "");
- return;
- }
- opener.ds_send_paydedu.setColumn(0, "pumno", ds_main_list_pumlist.getColumn(ds_main_list_pumlist.rowposition, "pumno"));
- opener.ds_send_paydedu.setColumn(0, "chulseq", ds_main_list_pumlist.getColumn(ds_main_list_pumlist.rowposition, "chulseq"));
- opener.group4.btn_search.click();
- this.close();
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|