SPMRC02400_사본발행관련처방이력.xfdl 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRC02400" position="absolute 0 0 675 275" titletext="처방 이력 조회" oninit="SPMRC02400_oninit" onload="SPMRC02400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="처방 이력 조회" position="absolute 0 0 116 16" id="caption21" class="tit_2"/>
  8. <Button position="absolute 619 255 675 275" id="button4" class="btn4" text="닫기" onclick="button4_onclick"/>
  9. <Grid position="absolute 0 22 675 252" id="datagrid1" binddataset="ds_main_prcphistinfo_prcphistlist" autofittype="col" cellsizingtype="both">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="20" band="left"/>
  14. <Column size="90"/>
  15. <Column size="133"/>
  16. <Column size="181"/>
  17. <Column size="100"/>
  18. <Column size="149"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="24" band="head"/>
  22. <Row size="24"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell celltype="none"/>
  26. <Cell col="1" text="처방상태"/>
  27. <Cell col="2" text="수가코드"/>
  28. <Cell col="3" text="수가명칭" wordwrap="char"/>
  29. <Cell col="4" text="매수"/>
  30. <Cell col="5" text="신청부수"/>
  31. </Band>
  32. <Band id="body">
  33. <Cell celltype="head" text="expr:currow + 1"/>
  34. <Cell col="1" displaytype="combo" edittype="none" style="align:left middle;" text="bind:prcphistcd" combodataset="ds_init_prcphistcd_M0009" combocodecol="cdid" combodatacol="cdnm"/>
  35. <Cell col="2" style="align:left middle;" text="bind:calcscorcd"/>
  36. <Cell col="3" style="align:left middle;" text="bind:calcscornm" wordwrap="char"/>
  37. <Cell col="4" style="align:left middle;" text="bind:shtno"/>
  38. <Cell col="5" style="align:left middle;" text="bind:emrappcopies"/>
  39. </Band>
  40. </Format>
  41. </Formats>
  42. </Grid>
  43. <Shape position="absolute 0 18 675 24" linetype="horizontal" id="line1" class="line_1"/>
  44. </Layout>
  45. </Layouts>
  46. <Objects>
  47. <Dataset id="ds_main_prcphistinfo_prcphistlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  48. <ColumnInfo>
  49. <Column id="prcphistcd" type="STRING" size="256" sumtext="처방이력상태"/>
  50. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  51. <Column id="calcscornm" type="STRING" size="256" sumtext="수가명칭"/>
  52. <Column id="shtno" type="INT" size="256" sumtext="매수"/>
  53. <Column id="emrappcopies" type="INT" size="256" sumtext="부수"/>
  54. </ColumnInfo>
  55. </Dataset>
  56. <Dataset id="ds_init_prcphistcd_M0009" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  57. <ColumnInfo>
  58. <Column id="cdnm" type="STRING" size="256"/>
  59. <Column id="cdid" type="STRING" size="256"/>
  60. </ColumnInfo>
  61. </Dataset>
  62. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  63. <ColumnInfo>
  64. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
  65. </ColumnInfo>
  66. </Dataset>
  67. </Objects>
  68. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  69. * System Name :
  70. * Job Name :
  71. * Creator :
  72. * Make Date : 2014-11-20
  73. * Description :
  74. *---------------------------------------------------------------------------------------
  75. * Modify Date Modifier Modify Description
  76. *---------------------------------------------------------------------------------------
  77. * 2014-11-20 Live Converter TF->XP
  78. *
  79. *---------------------------------------------------------------------------------------
  80. ****************************************************************************************/
  81. //=======================================================================================
  82. // Lib Include
  83. //---------------------------------------------------------------------------------------
  84. include "com_commonxp::comm_main.xjs"
  85. //=======================================================================================
  86. // Global Form Variable
  87. //---------------------------------------------------------------------------------------
  88. var arErrorCode = new HashArray();
  89. //=======================================================================================
  90. // Function
  91. //---------------------------------------------------------------------------------------
  92. /****************************************************************************************
  93. * Argument : 01. :
  94. * : 02. :
  95. * Description : 화면 초기화
  96. ****************************************************************************************/
  97. function fInitialize()
  98. { // 공통코드 목록 가져오기
  99. appf_getCodeList([{dsNm: "ds_init_prcphistcd_M0009", cdGrpId: "M0009"}], true);
  100. //zbcfGetCodeList(new Array("M0009"), new Array("/root/init/prcphistcd") , true);
  101. var param = opener.frmf_getParameter("SPMRC02400_Param");
  102. ds_send.clearData();
  103. ds_send.addRow();
  104. ds_send.setColumn(0, "copyseqno", param);
  105. var oParam = {};
  106. oParam.id = "TRMRC02401";
  107. oParam.service = "chrtmngtapp.CopyIssMngt";
  108. oParam.method = "reqGetPrcpHistList";
  109. oParam.inds = "req=ds_send";
  110. oParam.outds = "ds_main_prcphistinfo_prcphistlist=prcphistlist";
  111. oParam.async = true;
  112. //oParam.callback = "cf_TRMRC02401";
  113. tranf_submit(oParam);
  114. }
  115. //=======================================================================================
  116. // Transaction Callback
  117. //---------------------------------------------------------------------------------------
  118. /****************************************************************************************
  119. * Argument : 01.sSvcId : 서비스 ID
  120. * : 02.nErrorCode : 에러코드
  121. * : 03.sErrorMsg : 에러메시지
  122. * Description : tr_getCodeList의 콜백함수
  123. ****************************************************************************************/
  124. function cf_TRMRC02401(sSvcId, nErrorCode, sErrorMsg) {
  125. if(nErrorCode < 0) return;
  126. arErrorCode.push(sSvcId, nErrorCode);
  127. sysf_trace("***** cf_TRMRC02401 *****");
  128. }
  129. //=======================================================================================
  130. // Event
  131. //---------------------------------------------------------------------------------------
  132. /****************************************************************************************
  133. * Components :
  134. * Components ID : button5
  135. * Event : onlbuttonup
  136. * Argument : 01.obj : Object Event has occurred
  137. * : 02.e : Event Object
  138. * Description :
  139. ****************************************************************************************/
  140. function SPMRC02400_oninit(obj:Form, e:InitEventInfo)
  141. {
  142. frmf_initForm(obj);
  143. }
  144. function SPMRC02400_onload(obj:Form, e:LoadEventInfo)
  145. {
  146. fInitialize();
  147. }
  148. function button4_onclick(obj:Button, e:ClickEventInfo)
  149. {
  150. this.close();
  151. }
  152. ]]></Script>
  153. </Form>
  154. </FDL>