SPADC62200_회신내역서식.xfdl 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADC62200" position="absolute 0 0 851 496" titletext="회신내역" oninit="SPADC62200_oninit" onload="SPADC62200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 850 465" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="회신내역" position="absolute 0 5 90 22" align="align:center middle;" id="caption2" class="tit_2" anchor="default"/>
  11. <TextArea position="absolute 0 26 846 461" id="textarea2" anchor="default" readonly="true" wordwrap="char"/>
  12. <Shape position="absolute 0 21 846 27" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  13. </Layout>
  14. </Layouts>
  15. </Div>
  16. <Div position="absolute 0 462 847 491" id="group2">
  17. <Layouts>
  18. <Layout>
  19. <Button position="absolute 726 4 782 26" id="btn_cfm" class="btn4" text="확인" anchor="default" onclick="group2_btn_cfm_onclick"/>
  20. <Button position="absolute 786 4 842 26" id="btn_can" class="btn4" text="취소" anchor="default" onclick="group2_btn_can_onclick"/>
  21. <Shape position="absolute 0 -3 500 3" linetype="horizontal" id="line1" class="line_6" anchor="default"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. </Layout>
  26. </Layouts>
  27. <Objects>
  28. <Dataset id="ds_main_formdata_replinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  29. <ColumnInfo>
  30. <Column id="replcnts" type="STRING" size="256"/>
  31. </ColumnInfo>
  32. <Rows>
  33. <Row/>
  34. </Rows>
  35. </Dataset>
  36. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  37. <ColumnInfo>
  38. <Column id="formrecseq" type="STRING" size="256"/>
  39. <Column id="pid" type="STRING" size="256"/>
  40. <Column id="formcd" type="STRING" size="256"/>
  41. </ColumnInfo>
  42. <Rows>
  43. <Row/>
  44. </Rows>
  45. </Dataset>
  46. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  47. <Dataset id="ds_hidden_cnststatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  48. <ColumnInfo>
  49. <Column id="cnststat" type="STRING" size="256"/>
  50. </ColumnInfo>
  51. <Rows>
  52. <Row/>
  53. </Rows>
  54. </Dataset>
  55. <Dataset id="ds_temp_replform" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  56. <ColumnInfo>
  57. <Column id="formflag" type="STRING" size="256"/>
  58. </ColumnInfo>
  59. <Rows>
  60. <Row/>
  61. </Rows>
  62. </Dataset>
  63. <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  64. <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  65. </Objects>
  66. <Bind>
  67. <BindItem id="item0" compid="group1.textarea2" propid="value" datasetid="ds_main_formdata_replinfo" columnid="replcnts"/>
  68. </Bind>
  69. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  70. * System Name :
  71. * Job Name :
  72. * Creator :
  73. * Make Date : 2015-11-13
  74. * Description :
  75. *---------------------------------------------------------------------------------------
  76. * Modify Date Modifier Modify Description
  77. *---------------------------------------------------------------------------------------
  78. * 2015-11-13 Live Converter TF->XP
  79. *
  80. *---------------------------------------------------------------------------------------
  81. ****************************************************************************************/
  82. //=======================================================================================
  83. // Lib Include
  84. //---------------------------------------------------------------------------------------
  85. include "com_commonxp::comm_main.xjs"
  86. include "ast_pharmacyconsultxp::SPADC62200.xjs"
  87. //=======================================================================================
  88. // Event
  89. //---------------------------------------------------------------------------------------
  90. /****************************************************************************************
  91. * Components : Form
  92. * Components ID : SPADC62200
  93. * Event : oninit
  94. * Argument : 01.obj : Object Event has occurred
  95. * : 02.e : Event Object
  96. * Description : 화면 처음 초기화시 폼초기화
  97. ****************************************************************************************/
  98. function SPADC62200_oninit(obj:Form, e:InitEventInfo)
  99. {
  100. frmf_initForm(obj); // 폼 초기화
  101. }
  102. /****************************************************************************************
  103. * Components : Form
  104. * Components ID : SPADC62200
  105. * Event : onload
  106. * Argument : 01.obj : Object Event has occurred
  107. * : 02.e : Event Object
  108. * Description : 화면 처음 초기화시 폼초기화
  109. ****************************************************************************************/
  110. function SPADC62200_onload(obj:Form, e:LoadEventInfo)
  111. {
  112. try{
  113. ds_temp_replform.copyData(arg_ds_temp_replform);
  114. }catch(e){
  115. try{
  116. ds_temp_cnstinfo.copyData(arg_ds_temp_cnstinfo);
  117. }catch(e){}
  118. }
  119. finit();
  120. //2008-11-17 EN에 대해서 회신내용을 수정가능하도록 처리한다.
  121. //2009-01-22 PN에 대해서 회신내용 수정가능하도록 처리. formflag : EN -> NST 변경
  122. if (ds_temp_replform.getColumn(0,"formflag") == "NST") {
  123. group1.textarea2.readonly = false;
  124. }
  125. //2010-01-08 TDM저장시 저장지내용 미리보기후 저장자ID 저장하기 - 메세지를 [회신]->[저장]으로 명칭변경처리함.
  126. if (ds_temp_replform.getColumn(0,"formflag") == "TDM"){
  127. group1.caption2.text = "저장내역";
  128. this.titletext = "저장내역";
  129. }
  130. }
  131. /****************************************************************************************
  132. * Components : Button
  133. * Components ID : group2.btn_cfm
  134. * Event : onclick
  135. * Argument : 01.obj : Object Event has occurred
  136. * : 02.e : Event Object
  137. * Description : 확인버튼 클릭
  138. ****************************************************************************************/
  139. function group2_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  140. {
  141. if(modaltype == "emr"){
  142. this.close();
  143. }else if(modaltype == "ast"){
  144. fAstConfirm();
  145. }else{
  146. this.close();
  147. }
  148. }
  149. /****************************************************************************************
  150. * Components : Button
  151. * Components ID : group2.btn_can
  152. * Event : onclick
  153. * Argument : 01.obj : Object Event has occurred
  154. * : 02.e : Event Object
  155. * Description : 취소버튼 클릭
  156. ****************************************************************************************/
  157. function group2_btn_can_onclick(obj:Button, e:ClickEventInfo)
  158. {
  159. if(modaltype == "emr"){
  160. this.close();
  161. }else if(modaltype == "ast"){
  162. fAstCancel();
  163. }else{
  164. this.close();
  165. }
  166. }
  167. ]]></Script>
  168. </Form>
  169. </FDL>