SPADB60900_용매선택.xfdl 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADB60900" position="absolute 0 0 501 338" titletext="용매선택" oninit="SPADB60900_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 500 306" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="용매선택" position="absolute 2 7 99 23" id="caption1" class="tit_2" anchor="default"/>
  11. <Shape position="absolute 0 23 500 29" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  12. <Grid position="absolute 0 52 250 306" id="datagrid1" binddataset="ds_main_reconlist" autofittype="col" anchor="default">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="53"/>
  17. <Column size="43"/>
  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 text="선택"/>
  26. <Cell col="1" colspan="2" text="용매" taborder="undefined"/>
  27. </Band>
  28. <Band id="body">
  29. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  30. <Cell col="1" text="bind:solvcd"/>
  31. <Cell col="2" displaytype="text" edittype="text" text="bind:solvnm"/>
  32. </Band>
  33. </Format>
  34. </Formats>
  35. </Grid>
  36. <Grid position="absolute 250 52 500 306" id="datagrid2" binddataset="ds_main_dilulist" autofittype="col" anchor="default">
  37. <Formats>
  38. <Format id="default">
  39. <Columns>
  40. <Column size="53"/>
  41. <Column size="43"/>
  42. <Column size="149"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell text="선택"/>
  50. <Cell col="1" colspan="2" text="용매" taborder="undefined"/>
  51. </Band>
  52. <Band id="body">
  53. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  54. <Cell col="1" text="bind:solvcd"/>
  55. <Cell col="2" displaytype="text" edittype="text" text="bind:solvnm"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. <Static text="재구성" position="absolute 0 28 250 51" align="align:center middle;" id="caption37" class="cell_1" anchor="default"/>
  61. <Static text="희석" position="absolute 250 28 500 51" align="align:center middle;" id="caption2" class="cell_1" anchor="default"/>
  62. </Layout>
  63. </Layouts>
  64. </Div>
  65. <Div position="absolute 0 306 501 333" id="grp_btn" scrollbars="autoboth">
  66. <Layouts>
  67. <Layout>
  68. <Button position="absolute 444 5 500 27" id="btn_cls" class="btn4" text="닫기" onclick="grp_btn_btn_cls_onclick"/>
  69. <Button position="absolute 385 5 441 27" id="btn_cfm" class="btn4" text="확인" onclick="grp_btn_btn_cfm_onclick"/>
  70. </Layout>
  71. </Layouts>
  72. </Div>
  73. </Layout>
  74. </Layouts>
  75. <Objects>
  76. <Dataset id="ds_main_reconlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  77. <ColumnInfo>
  78. <Column id="chk" type="STRING" size="256"/>
  79. <Column id="solvcd" type="STRING" size="256"/>
  80. <Column id="solvnm" type="STRING" size="256"/>
  81. </ColumnInfo>
  82. <Rows>
  83. <Row>
  84. <Col id="chk">false</Col>
  85. <Col id="solvcd">IW</Col>
  86. <Col id="solvnm">주사용 증류수</Col>
  87. </Row>
  88. <Row>
  89. <Col id="chk">false</Col>
  90. <Col id="solvcd">NS</Col>
  91. <Col id="solvnm">NS</Col>
  92. </Row>
  93. <Row>
  94. <Col id="chk">false</Col>
  95. <Col id="solvcd">DW</Col>
  96. <Col id="solvnm">DW</Col>
  97. </Row>
  98. <Row>
  99. <Col id="chk">false</Col>
  100. <Col id="solvcd">기타</Col>
  101. <Col id="solvnm"/>
  102. </Row>
  103. </Rows>
  104. </Dataset>
  105. <Dataset id="ds_main_dilulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  106. <ColumnInfo>
  107. <Column id="chk" type="STRING" size="256"/>
  108. <Column id="solvcd" type="STRING" size="256"/>
  109. <Column id="solvnm" type="STRING" size="256"/>
  110. </ColumnInfo>
  111. <Rows>
  112. <Row>
  113. <Col id="chk">false</Col>
  114. <Col id="solvcd">NS</Col>
  115. <Col id="solvnm">NS</Col>
  116. </Row>
  117. <Row>
  118. <Col id="chk">false</Col>
  119. <Col id="solvcd">DW</Col>
  120. <Col id="solvnm">DW</Col>
  121. </Row>
  122. <Row>
  123. <Col id="chk">false</Col>
  124. <Col id="solvcd">기타</Col>
  125. <Col id="solvnm"/>
  126. </Row>
  127. </Rows>
  128. </Dataset>
  129. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  130. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  131. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  132. </Objects>
  133. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  134. * System Name :
  135. * Job Name :
  136. * Creator :
  137. * Make Date : 2015-11-13
  138. * Description :
  139. *---------------------------------------------------------------------------------------
  140. * Modify Date Modifier Modify Description
  141. *---------------------------------------------------------------------------------------
  142. * 2015-11-13 Live Converter TF->XP
  143. *
  144. *---------------------------------------------------------------------------------------
  145. ****************************************************************************************/
  146. //=======================================================================================
  147. // Lib Include
  148. //---------------------------------------------------------------------------------------
  149. include "com_commonxp::comm_main.xjs"
  150. //=======================================================================================
  151. // Event
  152. //---------------------------------------------------------------------------------------
  153. /****************************************************************************************
  154. * Components : Form
  155. * Components ID : SPADB60900
  156. * Event : oninit
  157. * Argument : 01.obj : Object Event has occurred
  158. * : 02.e : Event Object
  159. * Description : 화면 처음 초기화시 폼초기화
  160. ****************************************************************************************/
  161. function SPADB60900_oninit(obj:Form, e:InitEventInfo)
  162. {
  163. frmf_initForm(obj); // 폼 초기화
  164. }
  165. /****************************************************************************************
  166. * Components : Button
  167. * Components ID : grp_btn.btn_cfm
  168. * Event : onclick
  169. * Argument : 01.obj : Object Event has occurred
  170. * : 02.e : Event Object
  171. * Description : 확인
  172. ****************************************************************************************/
  173. function grp_btn_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  174. {
  175. var MixTxt = "";
  176. var MixTxt2 = "";
  177. if(ds_main_reconlist.getColumn(0,"chk") == 1){
  178. MixTxt = MixTxt + ds_main_reconlist.getColumn(0,"solvnm")+" ";
  179. }
  180. if(ds_main_reconlist.getColumn(1,"chk") == 1){
  181. MixTxt = MixTxt + ds_main_reconlist.getColumn(1,"solvnm")+" ";
  182. }
  183. if(ds_main_reconlist.getColumn(2,"chk") == 1){
  184. MixTxt = MixTxt + ds_main_reconlist.getColumn(2,"solvnm")+" ";
  185. }
  186. if(ds_main_reconlist.getColumn(3,"chk") == 1){
  187. MixTxt = MixTxt + ds_main_reconlist.getColumn(3,"solvnm");
  188. }
  189. if(ds_main_dilulist.getColumn(0,"chk") == 1){
  190. MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(0,"solvnm")+" ";
  191. }
  192. if(ds_main_dilulist.getColumn(1,"chk") == 1){
  193. MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(1,"solvnm")+" ";
  194. }
  195. if(ds_main_dilulist.getColumn(2,"chk") == 1){
  196. MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(2,"solvnm");
  197. }
  198. opener.ds_main_baseinfo_druginfo.setColumn(0,"reconsolv", MixTxt);
  199. opener.ds_main_baseinfo_druginfo.setColumn(0,"dilusolv", MixTxt2);
  200. this.close();
  201. }
  202. /****************************************************************************************
  203. * Components : Button
  204. * Components ID : grp_btn.btn_cls
  205. * Event : onclick
  206. * Argument : 01.obj : Object Event has occurred
  207. * : 02.e : Event Object
  208. * Description : 닫기
  209. ****************************************************************************************/
  210. function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  211. {
  212. this.close();
  213. }
  214. ]]></Script>
  215. </Form>
  216. </FDL>