123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMD03600" position="absolute 0 0 595 90" titletext="Allergy 수정/삭제 사유입력" onload="SPMMD03600_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 466 53 522 75" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
- <Button position="absolute 525 53 581 75" id="button2" class="btn4" text="취소" onclick="button2_onclick"/>
- <Static text="Allergy 수정/삭제 사유 입력" position="absolute 2 5 285 21" id="caption3" class="tit_2"/>
- <Shape position="absolute 0 21 581 27" linetype="horizontal" id="line7" class="line_1" style="strokepen:3 solid #9ebed4ff;"/>
- <Static text="수정/삭제 사유" position="absolute 0 26 110 48" align="align:left middle;" id="caption54" class="cell_1"/>
- <Shape position="absolute 0 48 581 54" linetype="horizontal" id="line1" class="line_3" style="strokepen:3 solid #9ebed4ff;"/>
- <Edit position="absolute 112 27 581 47" id="ipt_resnetc" autoselect="true"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_remlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resncd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_resnetc" propid="value" datasetid="ds_main_remlist" columnid="resncd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-11-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-11-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMD03600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMMD03600_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- ipt_resnetc.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRemOpener();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소버튼 클릭
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- opener.frmf_setParameter("SPMMD01600_useyn", "N");
- this.close();
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fAddRemOpener
- * Description : 수정/삭제사유 전달
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fAddRemOpener(){
- if(utlf_isNull(ds_main_remlist.getColumn(0,"resncd"))) {
- sysf_messageBox(" 추가사항이 입력되지 않았습니다.", "C001");
- return false;
- }
-
- if(frmf_checkOpener()) {
- opener.ds_temp_receivedata.setColumn(0,"receivecmt",ds_main_remlist.getColumn(0,"resncd"));
- this.close();
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 없습니다.", "E");
- return false;
- }
- }]]></Script>
- </Form>
- </FDL>
|