SPADB64000_제한항생제조건별품목관리.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADB64000" position="absolute 0 0 630 620" titletext="MIX 처방 약품 리스트 조회" oninit="SPADB64000_oninit" onload="SPADB64000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="MIX 처방 관리 조건 관리" position="absolute 0 0 200 25" id="caption6" class="tit_1"/>
  8. <Div position="absolute 0 20 630 619" align="align:center top;" id="group1">
  9. <Layouts>
  10. <Layout>
  11. <Static text="MIX 처방 약품 리스트" position="absolute 0 225 175 243" id="cpt_worktitle" class="tit_2" anchor="default"/>
  12. <Shape position="absolute 0 241 630 247" linetype="horizontal" id="line3" class="line_1" anchor="default"/>
  13. <Button position="absolute 570 222 630 241" id="btn_excel" class="btn7" text="Excel" anchor="default" onclick="group1_btn_excel_onclick"/>
  14. <Static text="MIX 처방 조건 리스트" position="absolute 0 10 188 26" align="align:left middle;" id="caption3" class="tit_2" anchor="default"/>
  15. <Grid position="absolute 0 31 630 211" id="grd_hardcodespec" binddataset="ds_grd_hardcodespec" anchor="default" autofittype="col" onlbuttonup="group1_grd_hardcodespec_onlbuttonup" cellsizingtype="both" extendsizetype="row">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="25" band="left"/>
  20. <Column size="100"/>
  21. <Column size="494"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="24" band="head"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell/>
  29. <Cell col="1" text="조건코드"/>
  30. <Cell col="2" text="조건명"/>
  31. </Band>
  32. <Band id="body">
  33. <Cell celltype="head" text="expr:currow+1"/>
  34. <Cell col="1" text="bind:hardcdno"/>
  35. <Cell col="2" displaytype="text" edittype="none" text="bind:hardcdnm"/>
  36. </Band>
  37. </Format>
  38. </Formats>
  39. </Grid>
  40. <Grid position="absolute 0 246 630 596" id="grd_hardcodespecdetl" binddataset="ds_grd_hardcodespecdetl" anchor="default" autofittype="col" onexpanddown="group1_grd_hardcodespecdetl_onexpanddown" autoenter="select" cellsizingtype="both" extendsizetype="row">
  41. <Formats>
  42. <Format id="default">
  43. <Columns>
  44. <Column size="25" band="left"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="100"/>
  48. <Column size="315"/>
  49. <Column size="0"/>
  50. <Column size="90"/>
  51. <Column size="90"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="24" band="head"/>
  55. <Row size="24"/>
  56. </Rows>
  57. <Band id="head">
  58. <Cell/>
  59. <Cell col="1" text="status"/>
  60. <Cell col="2" text="hardcd"/>
  61. <Cell col="3" text="처방코드"/>
  62. <Cell col="4" text="처방명"/>
  63. <Cell col="5" text="코드일련번호"/>
  64. <Cell col="6" text="시작일자"/>
  65. <Cell col="7" text="종료일자"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell celltype="head" displaytype="image"/>
  69. <Cell col="1" text="bind:status"/>
  70. <Cell col="2" text="bind:hardcd"/>
  71. <Cell col="3" displaytype="text" edittype="text" style="padding:0 5 0 5;" text="bind:trgtcd" expandshow="show"/>
  72. <Cell col="4" displaytype="text" edittype="text" text="bind:trgtcdnm"/>
  73. <Cell col="5" text="bind:cdseqno"/>
  74. <Cell col="6" displaytype="date" edittype="date" text="bind:valifromdd"/>
  75. <Cell col="7" displaytype="date" edittype="date" text="bind:valitodd"/>
  76. </Band>
  77. </Format>
  78. <Format id="format_copy"/>
  79. </Formats>
  80. </Grid>
  81. <Button position="absolute 574 4 630 26" id="button3" class="btn4" visible="false" text="저장" anchor="default"/>
  82. <Shape position="absolute 0 26 630 32" linetype="horizontal" id="line1" class="line_1" anchor="default"/>
  83. <Shape position="absolute 0 209 630 215" linetype="horizontal" id="line2" class="line_3" anchor="default"/>
  84. <Button position="absolute 435 222 477 241" id="button7" class="btn2" text="신규" anchor="default" onclick="group1_button7_onclick"/>
  85. <Button position="absolute 480 222 522 241" id="button8" class="btn2" text="삭제" anchor="default" onclick="group1_button8_onclick"/>
  86. <Button position="absolute 525 222 567 241" id="button9" class="btn5" text="저장" anchor="default" onclick="group1_button9_onclick"/>
  87. <Shape position="absolute 0 597 630 599" linetype="horizontal" id="line4" class="line_3" anchor="default"/>
  88. <Div position="absolute 20 294 615 517" id="grp_limantibioapplist" visible="false" anchor="default" style="background:white;border:2 solid #808080ff ;">
  89. <Layouts>
  90. <Layout>
  91. <Button position="absolute 548 199 590 218" id="btn_grdhidden" class="btn2" text="닫기" anchor="default" onclick="group1_grp_limantibioapplist_btn_grdhidden_onclick"/>
  92. <Grid id="grd_limantibioapplist" taborder="1" binddataset="ds_grd_limantibioapplist" useinputpanel="false" autofittype="col" position="absolute 0 0 591 198" oncelldblclick="group1_grp_limantibioapplist_grd_limantibioapplist_oncelldblclick" anchor="default" cellsizingtype="both" extendsizetype="row">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  96. <Column size="25" band="left"/>
  97. <Column size="100"/>
  98. <Column size="260"/>
  99. <Column size="100"/>
  100. <Column size="100"/>
  101. </Columns>
  102. <Rows>
  103. <Row size="24" band="head"/>
  104. <Row size="24"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell/>
  108. <Cell col="1" text="처방코드"/>
  109. <Cell col="2" text="처방명"/>
  110. <Cell col="3" text="시작일자"/>
  111. <Cell col="4" text="종료일자"/>
  112. </Band>
  113. <Band id="body">
  114. <Cell celltype="head" text="expr:currow+1"/>
  115. <Cell col="1" style="align:left;padding:0 5 0 5;" text="bind:prcpcd"/>
  116. <Cell col="2" style="align:left;padding:0 5 0 5;" text="bind:prcpnm"/>
  117. <Cell col="3" displaytype="date" edittype="date" text="bind:valifromdd"/>
  118. <Cell col="4" displaytype="date" edittype="date" text="bind:valitodd"/>
  119. </Band>
  120. </Format>
  121. </Formats>
  122. </Grid>
  123. </Layout>
  124. </Layouts>
  125. </Div>
  126. <Shape id="line00" class="line_1" position="absolute 0 240 630 246"/>
  127. <Shape id="line05" class="line_1" position="absolute 0 242 630 248"/>
  128. <Shape id="line06" class="line_1" position="absolute 0 25 630 31"/>
  129. <Shape id="line07" class="line_1" position="absolute 0 27 630 33"/>
  130. </Layout>
  131. </Layouts>
  132. </Div>
  133. </Layout>
  134. </Layouts>
  135. <Objects>
  136. <Dataset id="ds_grd_hardcodespec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="hardcdno" type="STRING"/>
  139. <Column id="hardcdnm" type="STRING"/>
  140. </ColumnInfo>
  141. <Rows>
  142. <Row/>
  143. </Rows>
  144. </Dataset>
  145. <Dataset id="ds_grd_hardcodespecdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  146. <ColumnInfo>
  147. <Column id="status" type="STRING"/>
  148. <Column id="hardcd" type="STRING"/>
  149. <Column id="trgtcd" type="STRING"/>
  150. <Column id="trgtcdnm" type="STRING"/>
  151. <Column id="cdseqno" type="STRING"/>
  152. <Column id="valifromdd" type="STRING"/>
  153. <Column id="valitodd" type="STRING"/>
  154. </ColumnInfo>
  155. <Rows>
  156. <Row/>
  157. </Rows>
  158. </Dataset>
  159. <Dataset id="ds_grd_limantibioapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  160. <ColumnInfo>
  161. <Column id="prcpcd" type="STRING"/>
  162. <Column id="prcpnm" type="STRING"/>
  163. <Column id="valifromdd" type="STRING"/>
  164. <Column id="valitodd" type="STRING"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row/>
  168. </Rows>
  169. </Dataset>
  170. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  171. <ColumnInfo>
  172. <Column id="hardcdlist" type="STRING" size="256"/>
  173. <Column id="prcpcd" type="STRING" size="256"/>
  174. </ColumnInfo>
  175. <Rows>
  176. <Row>
  177. <Col id="hardcdlist">275</Col>
  178. </Row>
  179. </Rows>
  180. </Dataset>
  181. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  182. <ColumnInfo>
  183. <Column id="hardcdno" type="STRING" size="256"/>
  184. <Column id="hardcdnm" type="STRING" size="256"/>
  185. <Column id="status" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row/>
  189. </Rows>
  190. </Dataset>
  191. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  192. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  193. </Objects>
  194. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  195. * System Name :
  196. * Job Name :
  197. * Creator :
  198. * Make Date : 2015-11-05
  199. * Description :
  200. *---------------------------------------------------------------------------------------
  201. * Modify Date Modifier Modify Description
  202. *---------------------------------------------------------------------------------------
  203. * 2015-11-05 Live Converter TF->XP
  204. *
  205. *---------------------------------------------------------------------------------------
  206. ****************************************************************************************/
  207. //=======================================================================================
  208. // Lib Include
  209. //---------------------------------------------------------------------------------------
  210. include "com_commonxp::comm_main.xjs";
  211. var arErrorCode = new HashArray();
  212. //=======================================================================================
  213. // Global Form Variable
  214. //---------------------------------------------------------------------------------------
  215. //이전 셀의 행,열 인덱스를 저장하는 변수
  216. var col = 0;
  217. var row = 0;
  218. //=======================================================================================
  219. // Function
  220. //---------------------------------------------------------------------------------------
  221. /****************************************************************************************
  222. * Argument : N/A
  223. * Description :
  224. ****************************************************************************************/
  225. //=======================================================================================
  226. // Event
  227. //---------------------------------------------------------------------------------------
  228. /****************************************************************************************
  229. * Components : Form
  230. * Components ID : SPADB64000
  231. * Event : oninit
  232. * Argument : 01.obj : Object Event has occurred
  233. * : 02.e : Event Object
  234. * Description : 화면 처음 초기화시 폼초기화
  235. ****************************************************************************************/
  236. function SPADB64000_oninit(obj:Form, e:InitEventInfo)
  237. {
  238. frmf_initForm(obj);
  239. }
  240. /****************************************************************************************
  241. * Components : Form
  242. * Components ID : SPADB64000
  243. * Event : onload
  244. * Argument : 01.obj : Object Event has occurred
  245. * : 02.e : Event Object
  246. * Description : 화면 처음 초기화시 폼초기화
  247. ****************************************************************************************/
  248. function SPADB64000_onload(obj:Form, e:LoadEventInfo)
  249. {
  250. try {
  251. ds_hidden.copyData(arg_ds_hidden);
  252. } catch(e) {}
  253. //상태값 설정
  254. grdf_setRowTypeIcon(group1.grd_hardcodespecdetl, 0);
  255. ds_grd_hardcodespec.clearData();
  256. ds_grd_hardcodespecdetl.clearData();
  257. ds_grd_limantibioapplist.clearData();
  258. grdf_setGridSort(group1.grd_hardcodespecdetl); // 그리드 소트만
  259. //제한항생제 조건 리스트 조회
  260. var oParam = {};
  261. oParam.id = "TRMMO33101";
  262. oParam.service = "prcpmngtapp.LimAntibioMngt";
  263. oParam.method = "reqGetLimAntiBioCondList";
  264. oParam.inds = "req=ds_send_reqdata";
  265. oParam.outds = "ds_grd_hardcodespec=speclist";
  266. oParam.async = true;
  267. //oParam.callback = "cf_TRMMO33101";
  268. tranf_submit(oParam);
  269. }
  270. /****************************************************************************************
  271. * Components : Button
  272. * Components ID : group1.button7
  273. * Event : onclick
  274. * Argument : 01.obj : Object Event has occurred
  275. * : 02.e : Event Object
  276. * Description : 신규 Button Event
  277. ****************************************************************************************/
  278. function group1_button7_onclick(obj:Button, e:ClickEventInfo)
  279. {
  280. if( ds_grd_hardcodespec.rowposition < 0 ){
  281. alert("제한항생제 조건을 선택해주십시오.");
  282. return;
  283. }
  284. var iRow = ds_grd_hardcodespecdetl.addRow();
  285. if( ds_grd_hardcodespecdetl.rowcount > 0 ){
  286. ds_grd_hardcodespecdetl.setColumn(iRow, "status", "I");
  287. ds_grd_hardcodespecdetl.setColumn(iRow, "hardcd", ds_grd_hardcodespec.getColumn(0, "hardcdno"));
  288. ds_grd_hardcodespecdetl.setColumn(iRow, "valifromdd", utlf_getCurrentDate());
  289. ds_grd_hardcodespecdetl.setColumn(iRow, "valitodd", "99991231");
  290. }
  291. }
  292. /****************************************************************************************
  293. * Components : Button
  294. * Components ID : group1.button8
  295. * Event : onclick
  296. * Argument : 01.obj : Object Event has occurred
  297. * : 02.e : Event Object
  298. * Description : 삭제 Button Event
  299. ****************************************************************************************/
  300. function group1_button8_onclick(obj:Button, e:ClickEventInfo)
  301. {
  302. var cRow = ds_grd_hardcodespecdetl.rowposition;
  303. var getStatus = ds_grd_hardcodespecdetl.getColumn(cRow, "status");
  304. if( getStatus == "I" ){
  305. ds_grd_hardcodespecdetl.deleteRow(cRow);
  306. } else if( getStatus == "D" ){
  307. ds_grd_hardcodespecdetl.setColumn(cRow, "status", "");
  308. grdf_setStatus(group1.grd_hardcodespecdetl, "", grdf_getSelectedRows(group1.grd_hardcodespecdetl));
  309. } else {
  310. ds_grd_hardcodespecdetl.setColumn(cRow, "status", "D");
  311. grdf_setStatus(group1.grd_hardcodespecdetl, "D", grdf_getSelectedRows(group1.grd_hardcodespecdetl));
  312. }
  313. }
  314. /****************************************************************************************
  315. * Components : Button
  316. * Components ID : group1.button9
  317. * Event : onclick
  318. * Argument : 01.obj : Object Event has occurred
  319. * : 02.e : Event Object
  320. * Description : MIX 처방 약품 리스트 저장 Button Event
  321. ****************************************************************************************/
  322. function group1_button9_onclick(obj:Button, e:ClickEventInfo)
  323. {
  324. var oDsUpdate = grdf_getGridUpdateData(group1.grd_hardcodespecdetl,"all");
  325. if( oDsUpdate.rowcount < 1 ){
  326. sysf_messageBox("입력","E013");
  327. return;
  328. }
  329. ds_send_req.clear();
  330. dsf_makeValue(ds_send_req,"hardcdno","string",ds_grd_hardcodespec.getColumn(ds_grd_hardcodespec.rowposition, "hardcdno"));
  331. dsf_makeValue(ds_send_req,"hardcdnm","string",ds_grd_hardcodespec.getColumn(ds_grd_hardcodespec.rowposition, "hardcdnm"));
  332. for(var i = 0 ; i < oDsUpdate.rowcount ; i++) {
  333. if(oDsUpdate.getRowType(i) == 4) {
  334. oDsUpdate.setColumn(i,"status","U");
  335. }
  336. }
  337. ds_send_reqdata.clear();
  338. ds_send_reqdata.copyData(oDsUpdate, true);
  339. for( var i = 0; i < ds_send_reqdata.rowcount; i++ ){
  340. if( utlf_isNull(ds_send_reqdata.getColumn(i, "trgtcd")) ){
  341. sysf_messageBox("처방코드가 누락되었습니다.", "");
  342. return;
  343. }
  344. if( utlf_isNull(ds_send_reqdata.getColumn(i, "trgtcdnm")) ){
  345. sysf_messageBox("처방명칭이 누락되었습니다.", "");
  346. return;
  347. }
  348. if( utlf_isNull(ds_send_reqdata.getColumn(i, "valifromdd")) ){
  349. sysf_messageBox("시작일자가 누락되었습니다.", "");
  350. return;
  351. }
  352. if( utlf_isNull(ds_send_reqdata.getColumn(i, "valitodd")) ){
  353. sysf_messageBox("종료일자가 누락되었습니다.", "");
  354. return;
  355. }
  356. }
  357. // sysf_trace( ds_send_req.saveXML());
  358. // sysf_trace( ds_send_reqdata.saveXML());
  359. var oParam = {};
  360. oParam.id = "TXMMO33102";
  361. oParam.service = "prcpmngtapp.LimAntibioMngt";
  362. oParam.method = "reqExeLimAntiBioCondInfo";
  363. oParam.inds = "req=ds_send_req savedata=ds_send_reqdata";
  364. oParam.outds = "ds_grd_hardcodespecdetl=specdetllist";
  365. oParam.async = true;
  366. //oParam.callback = "cf_TXMMO33102";
  367. tranf_submit(oParam);
  368. }
  369. /****************************************************************************************
  370. * Components : Button
  371. * Components ID : group1.btn_excel
  372. * Event : onclick
  373. * Argument : 01.obj : Object Event has occurred
  374. * : 02.e : Event Object
  375. * Description : Excel Button Event
  376. ****************************************************************************************/
  377. function group1_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  378. {
  379. if( ds_grd_hardcodespecdetl.rowcount > 0 ){
  380. grdf_exportExcel(group1.grd_hardcodespecdetl,"제한항생제 조건코드","sheet1");
  381. } else {
  382. sysf_messageBox("제한항생제 조건을 선택해주십시오.", "I");
  383. return;
  384. }
  385. }
  386. /****************************************************************************************
  387. * Components : Grid
  388. * Components ID : group1.grd_hardcodespecdetl
  389. * Event : onexpanddown
  390. * Argument : 01.obj : Object Event has occurred
  391. * : 02.e : Event Object
  392. * Description : 처방코드조회 Event
  393. ****************************************************************************************/
  394. function group1_grd_hardcodespecdetl_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  395. {
  396. if(e.col == 3) {
  397. obj.updateToDataset();
  398. ds_send_reqdata.clear();
  399. ds_send_reqdata.addColumn("prcpcd", "string");
  400. ds_send_reqdata.setColumn(ds_send_reqdata.addRow(), "prcpcd", ds_grd_hardcodespecdetl.getColumn(ds_grd_hardcodespecdetl.rowposition, "trgtcd"));
  401. var oParam = {};
  402. oParam.id = "TRMMD08701";
  403. oParam.service = "prcpmngtapp.LimAntibioMngt";
  404. oParam.method = "reqGetLimAntibioMasterPrcpList";
  405. oParam.inds = "req=ds_send_reqdata";
  406. oParam.outds = "ds_grd_limantibioapplist=limantibiodruglist";
  407. oParam.async = true;
  408. //oParam.callback = "cf_TRMMD08701";
  409. tranf_submit(oParam);
  410. group1.grp_limantibioapplist.visible = true;
  411. }
  412. }
  413. /****************************************************************************************
  414. * Components : Button
  415. * Components ID : group1.grp_limantibioapplist.btn_grdhidden
  416. * Event : onclick
  417. * Argument : 01.obj : Object Event has occurred
  418. * : 02.e : Event Object
  419. * Description : 처방코드조회 POPUP 닫기Event
  420. ****************************************************************************************/
  421. function group1_grp_limantibioapplist_btn_grdhidden_onclick(obj:Button, e:ClickEventInfo)
  422. {
  423. group1.grp_limantibioapplist.visible = false;
  424. }
  425. /****************************************************************************************
  426. * Components : Grid
  427. * Components ID : group1.grp_limantibioapplist.grd_limantibioapplist
  428. * Event : oncelldblclick
  429. * Argument : 01.obj : Object Event has occurred
  430. * : 02.e : Event Object
  431. * Description : 처방코드조회 리스트 선택 Event
  432. ****************************************************************************************/
  433. function group1_grp_limantibioapplist_grd_limantibioapplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  434. {
  435. var pRow = ds_grd_hardcodespecdetl.rowposition;
  436. var cRow = e.row;
  437. if(cRow > -1) {
  438. ds_grd_hardcodespecdetl.setColumn(pRow, "trgtcd" , ds_grd_limantibioapplist.getColumn(cRow, "prcpcd"));
  439. ds_grd_hardcodespecdetl.setColumn(pRow, "trgtcdnm" , ds_grd_limantibioapplist.getColumn(cRow, "prcpnm"));
  440. group1.grp_limantibioapplist.visible = false;
  441. }
  442. }
  443. /****************************************************************************************
  444. * Components : Grid
  445. * Components ID : group1.grd_hardcodespec
  446. * Event : onlbuttonup
  447. * Argument : 01.obj : Object Event has occurred
  448. * : 02.e : Event Object
  449. * Description : MIX 처방 조건리스트 선택
  450. ****************************************************************************************/
  451. function group1_grd_hardcodespec_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  452. {
  453. if(e.row > -1) {
  454. ds_main_cond.setColumn(0, "hardcdno", ds_grd_hardcodespec.getColumn(e.row, "hardcdno"));
  455. ds_main_cond.setColumn(0, "hardcdnm", ds_grd_hardcodespec.getColumn(e.row, "hardcdnm"));
  456. //MIX 처방 약품 리스트 조회
  457. var oParam = {};
  458. oParam.id = "TRMMO33101";
  459. oParam.service = "prcpmngtapp.LimAntibioMngt";
  460. oParam.method = "reqGetLimAntiBioCondInfo";
  461. oParam.inds = "req=ds_main_cond";
  462. oParam.outds = "ds_grd_hardcodespecdetl=specdetllist";
  463. oParam.async = true;
  464. //oParam.callback = "cf_TRMMO33101";
  465. tranf_submit(oParam);
  466. }
  467. }
  468. ]]></Script>
  469. </Form>
  470. </FDL>