123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADC62200" position="absolute 0 0 851 496" titletext="회신내역" oninit="SPADC62200_oninit" onload="SPADC62200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 850 465" id="group1">
- <Layouts>
- <Layout>
- <Static text="회신내역" position="absolute 0 5 90 22" align="align:center middle;" id="caption2" class="tit_2" anchor="default"/>
- <TextArea position="absolute 0 26 846 461" id="textarea2" anchor="default" readonly="true" wordwrap="char"/>
- <Shape position="absolute 0 21 846 27" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 462 847 491" id="group2">
- <Layouts>
- <Layout>
- <Button position="absolute 726 4 782 26" id="btn_cfm" class="btn4" text="확인" anchor="default" onclick="group2_btn_cfm_onclick"/>
- <Button position="absolute 786 4 842 26" id="btn_can" class="btn4" text="취소" anchor="default" onclick="group2_btn_can_onclick"/>
- <Shape position="absolute 0 -3 500 3" linetype="horizontal" id="line1" class="line_6" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_formdata_replinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="replcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_cnststatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnststat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_replform" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.textarea2" propid="value" datasetid="ds_main_formdata_replinfo" columnid="replcnts"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_pharmacyconsultxp::SPADC62200.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADC62200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADC62200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADC62200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADC62200_onload(obj:Form, e:LoadEventInfo)
- {
- try{
- ds_temp_replform.copyData(arg_ds_temp_replform);
- }catch(e){
- try{
- ds_temp_cnstinfo.copyData(arg_ds_temp_cnstinfo);
- }catch(e){}
- }
-
- finit();
- //2008-11-17 EN에 대해서 회신내용을 수정가능하도록 처리한다.
- //2009-01-22 PN에 대해서 회신내용 수정가능하도록 처리. formflag : EN -> NST 변경
- if (ds_temp_replform.getColumn(0,"formflag") == "NST") {
- group1.textarea2.readonly = false;
- }
- //2010-01-08 TDM저장시 저장지내용 미리보기후 저장자ID 저장하기 - 메세지를 [회신]->[저장]으로 명칭변경처리함.
- if (ds_temp_replform.getColumn(0,"formflag") == "TDM"){
- group1.caption2.text = "저장내역";
- this.titletext = "저장내역";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_cfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭
- ****************************************************************************************/
- function group2_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- if(modaltype == "emr"){
- this.close();
- }else if(modaltype == "ast"){
- fAstConfirm();
- }else{
- this.close();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_can
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소버튼 클릭
- ****************************************************************************************/
- function group2_btn_can_onclick(obj:Button, e:ClickEventInfo)
- {
- if(modaltype == "emr"){
- this.close();
- }else if(modaltype == "ast"){
- fAstCancel();
- }else{
- this.close();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|