123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPCVO01000" position="absolute 0 0 611 310" titletext="VOC 내용 팝업" oninit="SPCVO01000_oninit" onload="SPCVO01000_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="VOC 내용 팝업" class="tit_1" position="absolute 0 0 132 25" anchor="left top"/>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 26 610 32" anchor="left top right"/>
- <Shape id="line7" linetype="horizontal" class="line_3" position="absolute 0 270 610 276" anchor="left right bottom"/>
- <Static id="caption10" class="cell_1" position="absolute 0 31 105 271" anchor="left top bottom" style="padding:0 0 0 0;align:center middle;"/>
- <TextArea id="tar_Cnts" taborder="1" position="absolute 108 32 608 268" anchor="all" wordwrap="word" imemode="hangul"/>
- <Static id="caption30" text="보고서 출력시 현재 화면에 보이는 대로 출력됩니다." class="hand" position="absolute 116 287 453 304" anchor="left bottom"/>
- <Button id="btn_input" taborder="2" text="입력" class="btn4" enable="false" position="absolute 492 285 548 307" onclick="btn_input_onclick" anchor="right bottom"/>
- <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 550 285 606 307" onclick="btn_close_onclick" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_vocpopup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="title" type="STRING" size="256"/>
- <Column id="contents" type="STRING" size="256"/>
- <Column id="inputmode" type="STRING" size="256"/>
- <Column id="receive_path" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="title"/>
- <Col id="contents"/>
- <Col id="inputmode"/>
- <Col id="receive_path"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="caption10" propid="text" datasetid="ds_main_vocpopup" columnid="title"/>
- <BindItem id="item1" compid="tar_Cnts" propid="value" datasetid="ds_main_vocpopup" columnid="contents"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPCVO01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPCVO01000_onload(obj:Form, e:LoadEventInfo)
- {
- try
- {
- ds_main_vocpopup.copyData(arg_ds_main_vocpopup);
- }
- catch(e){}
-
- var reTitle = ds_main_vocpopup.getColumn(0, "title");
- var reContents = ds_main_vocpopup.getColumn(0, "contents");
- var reInputmode = ds_main_vocpopup.getColumn(0, "inputmode");
-
- if (reInputmode == "i")
- {
- btn_input.enable = true;
- tar_Cnts.readonly = false;
- }
- else
- {
- btn_input.enable = false;
- tar_Cnts.readonly = true;
- if (utlf_isNull(reTitle)|| utlf_isNull( reContents))
- {
- tar_Cnts.readonly = false;
-
- var rtn = sysf_messageBox("표시할 내용이 없거나 필요한 정보가 전달되지", "E007");
-
- if(rtn == 1)
- {
- this.close();
- }
- }
- }
- }
- //입력
- function btn_input_onclick(obj:Button, e:ClickEventInfo)
- {
- var reContents = ds_main_vocpopup.getColumn(0, "contents");
- var receive_path = ds_main_vocpopup.getColumn(0, "receive_path");
- receive = receive_path.split("/");
-
- var receiveref = eval("opener."+receive[0]);
- opener.dsf_makeValue(receiveref, receive[1], "string", reContents);
-
- this.close();
- }
- //닫기
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|