SPMMD03600_Allergy수정삭제요청사유.xfdl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMD03600" position="absolute 0 0 595 90" titletext="Allergy 수정/삭제 사유입력" onload="SPMMD03600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 466 53 522 75" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
  8. <Button position="absolute 525 53 581 75" id="button2" class="btn4" text="취소" onclick="button2_onclick"/>
  9. <Static text="Allergy 수정/삭제 사유 입력" position="absolute 2 5 285 21" id="caption3" class="tit_2"/>
  10. <Shape position="absolute 0 21 581 27" linetype="horizontal" id="line7" class="line_1" style="strokepen:3 solid #9ebed4ff;"/>
  11. <Static text="수정/삭제 사유" position="absolute 0 26 110 48" align="align:left middle;" id="caption54" class="cell_1"/>
  12. <Shape position="absolute 0 48 581 54" linetype="horizontal" id="line1" class="line_3" style="strokepen:3 solid #9ebed4ff;"/>
  13. <Edit position="absolute 112 27 581 47" id="ipt_resnetc" autoselect="true"/>
  14. </Layout>
  15. </Layouts>
  16. <Objects>
  17. <Dataset id="ds_main_remlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  18. <ColumnInfo>
  19. <Column id="resncd" type="STRING" size="256"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row/>
  23. </Rows>
  24. </Dataset>
  25. </Objects>
  26. <Bind>
  27. <BindItem id="item0" compid="ipt_resnetc" propid="value" datasetid="ds_main_remlist" columnid="resncd"/>
  28. </Bind>
  29. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  30. * System Name :
  31. * Job Name :
  32. * Creator :
  33. * Make Date : 2014-11-27
  34. * Description :
  35. *---------------------------------------------------------------------------------------
  36. * Modify Date Modifier Modify Description
  37. *---------------------------------------------------------------------------------------
  38. * 2014-11-27 Live Converter TF->XP
  39. *
  40. *---------------------------------------------------------------------------------------
  41. ****************************************************************************************/
  42. //=======================================================================================
  43. // Lib Include
  44. //---------------------------------------------------------------------------------------
  45. include "com_commonxp::comm_main.xjs"
  46. //=======================================================================================
  47. // Event
  48. //---------------------------------------------------------------------------------------
  49. /****************************************************************************************
  50. * Components : Form
  51. * Components ID : SPMMD03600
  52. * Event : onload
  53. * Argument : 01.obj : Object Event has occurred
  54. * : 02.e : Event Object
  55. * Description : 화면오픈시 폼load이후 실행
  56. ****************************************************************************************/
  57. function SPMMD03600_onload(obj:Form, e:LoadEventInfo)
  58. {
  59. frmf_initForm(obj); // 폼 초기화
  60. ipt_resnetc.setFocus();
  61. }
  62. /****************************************************************************************
  63. * Components : Button
  64. * Components ID : button1
  65. * Event : onclick
  66. * Argument : 01.obj : Object Event has occurred
  67. * : 02.e : Event Object
  68. * Description : 확인버튼 클릭
  69. ****************************************************************************************/
  70. function button1_onclick(obj:Button, e:ClickEventInfo)
  71. {
  72. fAddRemOpener();
  73. }
  74. /****************************************************************************************
  75. * Components : Button
  76. * Components ID : button2
  77. * Event : onclick
  78. * Argument : 01.obj : Object Event has occurred
  79. * : 02.e : Event Object
  80. * Description : 취소버튼 클릭
  81. ****************************************************************************************/
  82. function button2_onclick(obj:Button, e:ClickEventInfo)
  83. {
  84. opener.frmf_setParameter("SPMMD01600_useyn", "N");
  85. this.close();
  86. }
  87. //=======================================================================================
  88. // Function
  89. //---------------------------------------------------------------------------------------
  90. /****************************************************************************************
  91. * Function : fAddRemOpener
  92. * Description : 수정/삭제사유 전달
  93. * Argument :
  94. * :
  95. * return type :
  96. * Creator :
  97. ****************************************************************************************/
  98. function fAddRemOpener(){
  99. if(utlf_isNull(ds_main_remlist.getColumn(0,"resncd"))) {
  100. sysf_messageBox(" 추가사항이 입력되지 않았습니다.", "C001");
  101. return false;
  102. }
  103. if(frmf_checkOpener()) {
  104. opener.ds_temp_receivedata.setColumn(0,"receivecmt",ds_main_remlist.getColumn(0,"resncd"));
  105. this.close();
  106. } else {
  107. sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 없습니다.", "E");
  108. return false;
  109. }
  110. }]]></Script>
  111. </Form>
  112. </FDL>