SMPIJ01200_미시행처방및반납처방조회.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPIJ01200" position="absolute 0 0 1280 1024" titletext="미시행 처방 및 반납처방 조회" onload="SMPIJ01200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1194 13" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 191 13" style="" text="미시행 처방 및 반납처방 조회" />
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group3" scrollbars="autoboth" position="absolute 0 13 1195 757" style="">
  15. <Layouts>
  16. <Layout>
  17. <Div id="group2" position="absolute 0 10 1194 45" style="align: top;border: solid #ffd799 #ffd799;background:#fffbf2 ;">
  18. <Layouts>
  19. <Layout>
  20. <Shape id="roundrect1" anchor="default" position="absolute 0 0 1194 35" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;" />
  21. <Button id="button1" class="btn1_letter2" position="absolute 1123 7 1179 29" style="" text="조회" onclick="group3_group2_button1_onclick" />
  22. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default" />
  23. <Static id="caption3" class="search_name" position="absolute 13 9 99 26" style="" text="의뢰일자 :" />
  24. <Static id="caption2" class="search_name" position="absolute 744 9 817 26" style="" text="입원일 :" />
  25. <Static id="caption4" position="absolute 190 8 202 25" style="" text="~" />
  26. <Static id="caption7" class="search_name" position="absolute 302 9 362 26" style="" text="병동 :" />
  27. <Static id="caption5" class="search_name" position="absolute 495 9 581 26" style="" text="환자번호 :" />
  28. <Static id="caption8" class="search_name" position="absolute 920 9 980 26" style="" text="확인 :" />
  29. <Calendar id="ipt_fromdd" class="input_search" position="absolute 102 8 187 27" style="" anchor="default" />
  30. <Calendar id="ipt_todd" class="input_search" position="absolute 205 8 290 27" style="" anchor="default" />
  31. <Combo innerdataset="ds_init_U0001list_U0001" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_wardcd" class="combo_search" position="absolute 365 8 480 27" style="" />
  32. <Edit id="ipt_pid" class="input_search" position="absolute 584 8 669 27" style="" anchor="default" onlbuttonup="group3_group2_ipt_pid_onlbuttonup" onkeypress="group3_group2_ipt_pid_onkeypress" />
  33. <Edit id="opt_patnm" class="output_fix" position="absolute 673 8 730 27" style="" anchor="default" readonly="true" />
  34. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_chkflag" class="combo_search" position="absolute 983 8 1085 27" style="">
  35. <Dataset id="innerdataset">
  36. <ColumnInfo>
  37. <Column id="codecolumn" />
  38. <Column id="datacolumn" />
  39. </ColumnInfo>
  40. <Rows>
  41. <Row>
  42. <Col id="codecolumn">1</Col>
  43. <Col id="datacolumn">미시행 + 반납</Col>
  44. </Row>
  45. <Row>
  46. <Col id="codecolumn">2</Col>
  47. <Col id="datacolumn">미시행</Col>
  48. </Row>
  49. <Row>
  50. <Col id="codecolumn">3</Col>
  51. <Col id="datacolumn">반납</Col>
  52. </Row>
  53. <Row>
  54. <Col id="codecolumn">4</Col>
  55. <Col id="datacolumn">시행</Col>
  56. </Row>
  57. <Row>
  58. <Col id="codecolumn">5</Col>
  59. <Col id="datacolumn">전체</Col>
  60. </Row>
  61. </Rows>
  62. </Dataset>
  63. </Combo>
  64. <Calendar id="ipt_indd" class="input_search" position="absolute 820 8 905 27" style="" anchor="default" />
  65. </Layout>
  66. </Layouts>
  67. </Div>
  68. <Static id="caption1" class="tit_2" position="absolute 5 55 211 68" style="" text="미시행 처방 및 반납처방 리스트" />
  69. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 70 1194 73" style="" anchor="default" />
  70. <Grid id="grd_ordlist" binddataset="ds_main_list01_ordlist" class="datagrid2" position="absolute 0 75 1194 739" style="" oncelldblclick="group3_grd_ordlist_oncelldblclick" onaftersort="group3_grd_ordlist_onaftersort">
  71. <Formats>
  72. <Format id="default">
  73. <Columns>
  74. <Column size="85" />
  75. <Column size="86" />
  76. <Column size="66" />
  77. <Column size="60" />
  78. <Column size="109" />
  79. <Column size="86" />
  80. <Column size="54" />
  81. <Column size="84" />
  82. <Column size="68" />
  83. <Column size="59" />
  84. <Column size="80" />
  85. <Column size="77" />
  86. <Column size="52" />
  87. <Column size="122" />
  88. <Column size="56" />
  89. <Column size="47" />
  90. <Column size="37" />
  91. <Column size="37" />
  92. <Column size="100" />
  93. <Column size="100" />
  94. <Column size="75" />
  95. <Column size="71" />
  96. <Column size="100" />
  97. <Column size="73" />
  98. <Column size="76" />
  99. </Columns>
  100. <Rows>
  101. <Row size="25" band="head" />
  102. <Row size="25" />
  103. </Rows>
  104. <Band id="head">
  105. <Cell text="의뢰일자" />
  106. <Cell col="1" text="환자번호" />
  107. <Cell col="2" text="성명" />
  108. <Cell col="3" text="구분" />
  109. <Cell col="4" text="상태" />
  110. <Cell col="5" text="처방일" />
  111. <Cell col="6" text="병실" />
  112. <Cell col="7" text="처방부서" />
  113. <Cell col="8" text="진료의" />
  114. <Cell col="9" text="처방번호" />
  115. <Cell col="10" text="처방구분번호" />
  116. <Cell col="11" text="처방코드" />
  117. <Cell col="12" text="Acting" />
  118. <Cell col="13" text="처방명" />
  119. <Cell col="14" text="계산여부" />
  120. <Cell col="15" text="투여량" />
  121. <Cell col="16" text="횟수" />
  122. <Cell col="17" text="일수" />
  123. <Cell col="18" text="사유" />
  124. <Cell col="19" text="참고" />
  125. <Cell col="20" text="등록부서" />
  126. <Cell col="21" text="등록자" />
  127. <Cell col="22" text="확인일시" />
  128. <Cell col="23" text="확인자" />
  129. <Cell col="24" text="심사자" />
  130. </Band>
  131. <Band id="body">
  132. <Cell text="bind:actorddd" />
  133. <Cell col="1" text="bind:pid" />
  134. <Cell col="2" text="bind:hngnm" />
  135. <Cell col="3" text="bind:prcpflag" />
  136. <Cell col="4" text="bind:execprcphistcd" />
  137. <Cell col="5" text="bind:prcpdd" />
  138. <Cell col="6" text="bind:roomcd" />
  139. <Cell col="7" text="bind:prcpexecdeptcd" />
  140. <Cell col="8" text="bind:orddrid" />
  141. <Cell col="9" text="bind:prcpno" />
  142. <Cell col="10" text="bind:prcphistno" />
  143. <Cell col="11" text="bind:prcpcd" />
  144. <Cell col="12" text="bind:actcretno" />
  145. <Cell col="13" text="bind:prcpnm" />
  146. <Cell col="14" text="bind:calcflag" />
  147. <Cell col="15" text="bind:execprcpqty" />
  148. <Cell col="16" text="bind:execprcptims" />
  149. <Cell col="17" text="bind:execprcpdayno" />
  150. <Cell col="18" text="bind:resncd" />
  151. <Cell col="19" text="bind:rem" />
  152. <Cell col="20" text="bind:rgstdeptcd" />
  153. <Cell col="21" text="bind:rgstrid" />
  154. <Cell col="22" text="bind:carecnfmdd" />
  155. <Cell col="23" text="bind:carecnfmrid" />
  156. <Cell col="24" text="bind:judgid" />
  157. </Band>
  158. </Format>
  159. </Formats>
  160. </Grid>
  161. </Layout>
  162. </Layouts>
  163. </Div>
  164. <Div id="grp_btn" scrollbars="autoboth" position="absolute 0 757 1195 784" style="">
  165. <Layouts>
  166. <Layout>
  167. <Button id="button9" class="btn4_letter2" position="absolute 1138 5 1194 27" style="" text="닫기" />
  168. <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 1194 3" style="" anchor="default" />
  169. </Layout>
  170. </Layouts>
  171. </Div>
  172. </Layout>
  173. </Layouts>
  174. <Objects>
  175. <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  176. <ColumnInfo>
  177. <Column id="srchcond" type="STRING" size="256" />
  178. <Column id="pid" type="STRING" size="256" />
  179. <Column id="hngnm" type="STRING" size="256" />
  180. <Column id="rrgstno1" type="STRING" size="256" />
  181. <Column id="rrgstno2" type="STRING" size="256" />
  182. </ColumnInfo>
  183. <Rows>
  184. <Row>
  185. <Col id="srchcond"></Col>
  186. <Col id="pid"></Col>
  187. <Col id="hngnm"></Col>
  188. <Col id="rrgstno1"></Col>
  189. <Col id="rrgstno2"></Col>
  190. </Row>
  191. </Rows>
  192. </Dataset>
  193. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  194. <ColumnInfo>
  195. <Column id="U0001" type="STRING" size="256" />
  196. </ColumnInfo>
  197. </Dataset>
  198. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  199. <ColumnInfo>
  200. <Column id="fromdd" type="STRING" size="256" />
  201. <Column id="todd" type="STRING" size="256" />
  202. <Column id="wardcd" type="STRING" size="256" />
  203. <Column id="pid" type="STRING" size="256" />
  204. <Column id="patnm" type="STRING" size="256" />
  205. <Column id="indd" type="STRING" size="256" />
  206. <Column id="chkflag" type="STRING" size="256" />
  207. </ColumnInfo>
  208. <Rows>
  209. <Row>
  210. <Col id="fromdd"></Col>
  211. <Col id="todd"></Col>
  212. <Col id="wardcd"></Col>
  213. <Col id="pid"></Col>
  214. <Col id="patnm"></Col>
  215. <Col id="indd"></Col>
  216. <Col id="chkflag"></Col>
  217. </Row>
  218. </Rows>
  219. </Dataset>
  220. <Dataset id="ds_hidden_sppmc02500" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  221. <ColumnInfo />
  222. </Dataset>
  223. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  224. <ColumnInfo />
  225. </Dataset>
  226. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  227. <ColumnInfo />
  228. </Dataset>
  229. <Dataset id="ds_init_P0160list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  230. <ColumnInfo>
  231. <Column id="P0160" type="STRING" size="256" />
  232. </ColumnInfo>
  233. <Rows>
  234. <Row>
  235. <Col id="P0160"></Col>
  236. </Row>
  237. </Rows>
  238. </Dataset>
  239. <Dataset id="ds_main_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  240. <ColumnInfo />
  241. </Dataset>
  242. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  243. <ColumnInfo>
  244. <Column id="patinfolist" type="STRING" size="256" />
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="patinfolist"></Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  253. <ColumnInfo />
  254. </Dataset>
  255. <Dataset id="ds_main_list01_ordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  256. <ColumnInfo>
  257. <Column id="actorddd" type="STRING" size="256" />
  258. <Column id="pid" type="STRING" size="256" />
  259. <Column id="hngnm" type="STRING" size="256" />
  260. <Column id="prcpflag" type="STRING" size="256" />
  261. <Column id="execprcphistcd" type="STRING" size="256" />
  262. <Column id="prcpdd" type="STRING" size="256" />
  263. <Column id="roomcd" type="STRING" size="256" />
  264. <Column id="prcpexecdeptcd" type="STRING" size="256" />
  265. <Column id="orddrid" type="STRING" size="256" />
  266. <Column id="prcpno" type="STRING" size="256" />
  267. <Column id="prcphistno" type="STRING" size="256" />
  268. <Column id="prcpcd" type="STRING" size="256" />
  269. <Column id="actcretno" type="STRING" size="256" />
  270. <Column id="prcpnm" type="STRING" size="256" />
  271. <Column id="calcflag" type="STRING" size="256" />
  272. <Column id="execprcpqty" type="STRING" size="256" />
  273. <Column id="execprcptims" type="STRING" size="256" />
  274. <Column id="execprcpdayno" type="STRING" size="256" />
  275. <Column id="resncd" type="STRING" size="256" />
  276. <Column id="rem" type="STRING" size="256" />
  277. <Column id="rgstdeptcd" type="STRING" size="256" />
  278. <Column id="rgstrid" type="STRING" size="256" />
  279. <Column id="carecnfmdd" type="STRING" size="256" />
  280. <Column id="carecnfmrid" type="STRING" size="256" />
  281. <Column id="judgid" type="STRING" size="256" />
  282. </ColumnInfo>
  283. <Rows>
  284. <Row>
  285. <Col id="actorddd"></Col>
  286. <Col id="pid"></Col>
  287. <Col id="hngnm"></Col>
  288. <Col id="prcpflag"></Col>
  289. <Col id="execprcphistcd"></Col>
  290. <Col id="prcpdd"></Col>
  291. <Col id="roomcd"></Col>
  292. <Col id="prcpexecdeptcd"></Col>
  293. <Col id="orddrid"></Col>
  294. <Col id="prcpno"></Col>
  295. <Col id="prcphistno"></Col>
  296. <Col id="prcpcd"></Col>
  297. <Col id="actcretno"></Col>
  298. <Col id="prcpnm"></Col>
  299. <Col id="calcflag"></Col>
  300. <Col id="execprcpqty"></Col>
  301. <Col id="execprcptims"></Col>
  302. <Col id="execprcpdayno"></Col>
  303. <Col id="resncd"></Col>
  304. <Col id="rem"></Col>
  305. <Col id="rgstdeptcd"></Col>
  306. <Col id="rgstrid"></Col>
  307. <Col id="carecnfmdd"></Col>
  308. <Col id="carecnfmrid"></Col>
  309. <Col id="judgid"></Col>
  310. </Row>
  311. </Rows>
  312. </Dataset>
  313. </Objects>
  314. <Bind>
  315. <BindItem id="item0" compid="group3.group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd" />
  316. <BindItem id="item1" compid="group3.group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd" />
  317. <BindItem id="item2" compid="group3.group2.cmb_wardcd" propid="value" datasetid="ds_send" columnid="wardcd" />
  318. <BindItem id="item3" compid="group3.group2.ipt_pid" propid="value" datasetid="ds_send" columnid="pid" />
  319. <BindItem id="item4" compid="group3.group2.opt_patnm" propid="value" datasetid="ds_send" columnid="patnm" />
  320. <BindItem id="item5" compid="group3.group2.cmb_chkflag" propid="value" datasetid="ds_send" columnid="chkflag" />
  321. <BindItem id="item6" compid="group3.group2.ipt_indd" propid="value" datasetid="ds_send" columnid="indd" />
  322. </Bind>
  323. <Script type="xscript4.0"><![CDATA[function SMPIJ01200_onload(obj:Form, e:LoadEventInfo) {
  324. frmf_initForm(obj);
  325. //grdf_initGrid(grd_XXX);
  326. //grdf_setGridSort(grd_XXX);
  327. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  328. var arrParam = [ {dsNm: "ds_init_P0160list",
  329. cdGrpId: "P0160" } ];
  330. appf_getCodeList(arrParam, );
  331. // submit("TRPIJ01201");
  332. var oParam = {};
  333. oParam.id = "TRPIJ01201";
  334. oParam.service = "bfjudgapp.UnExecRtnPrcp";
  335. oParam.method = "reqGetWardCd";
  336. oParam.inds = "req=ds_";
  337. oParam.outds = "ds_=U0001";
  338. oParam.async = false;
  339. oParam.callback = "cf_TRPIJ01201";
  340. tranf_submit(oParam);
  341. /*
  342. function cf_TRPIJ01201(sSvcId, nErrorCode, sErrorMsg) {
  343. if(nErrorCode < 0) return;
  344. }
  345. function cf_TRPIJ01201(sSvcId, nErrorCode, sErrorMsg) {
  346. arErrorCode.push(sSvcId, nErrorCode);
  347. }
  348. arErrorCode.pop("TRPIJ01201") > -1
  349. arErrorCode.pop("TRPIJ01201") < 0
  350. */
  351. init();
  352. }
  353. function init() {
  354. // 팝업일 경우 자동 조회
  355. if(window.parent != null) {
  356. // if(ds_send.getColumn(0, "wardcd") != "" || ds_send.getColumn(0, "pid") != "" ||
  357. // ds_send.getColumn(0, "indd") != "" || ds_send.getColumn(0, "chkflag") != "") {
  358. if(ds_send.getColumn(0, "wardcd") != "" || ds_send.getColumn(0, "pid") != "" || ds_send.getColumn(0, "indd") != "") {
  359. search();
  360. }
  361. }
  362. }
  363. // 조회 실행시 검색조건 검사
  364. function search() {
  365. if(group3.group2.cmb_chkflag.value=='4') {
  366. if(group3.group2.ipt_fromdd.value == "") {
  367. sysf_messageBox("의뢰일자 시작일을","C001");
  368. group3.group2.ipt_fromdd.setFocus();
  369. return false;
  370. }
  371. if(group3.group2.ipt_todd.value == "") {
  372. sysf_messageBox("의뢰일자 종료일을","C001");
  373. group3.group2.ipt_todd.setFocus();
  374. return false;
  375. }
  376. }
  377. ds_main_list01.clearData();
  378. // submit("TRPIJ01202");
  379. var oParam = {};
  380. oParam.id = "TRPIJ01202";
  381. oParam.service = "bfjudgapp.UnExecRtnPrcp";
  382. oParam.method = "reqGetExipMech";
  383. oParam.inds = "req=ds_";
  384. oParam.outds = "ds_=ordlist";
  385. oParam.async = false;
  386. oParam.callback = "cf_TRPIJ01202";
  387. tranf_submit(oParam);
  388. /*
  389. function cf_TRPIJ01202(sSvcId, nErrorCode, sErrorMsg) {
  390. if(nErrorCode < 0) return;
  391. }
  392. function cf_TRPIJ01202(sSvcId, nErrorCode, sErrorMsg) {
  393. arErrorCode.push(sSvcId, nErrorCode);
  394. }
  395. arErrorCode.pop("TRPIJ01202") > -1
  396. arErrorCode.pop("TRPIJ01202") < 0
  397. */
  398. }
  399. include '../../.._com_commonweb_js_common.js'
  400. include '../../.._com_commonweb_js_numericHelper.js'
  401. include '../../.._com_commonweb_js_dateHelper.js'
  402. include '../../.._com_commonweb_js_stringHelper.js'
  403. include '../../.._com_commonweb_js_tfHelper.js'
  404. include '../../.._com_basiccodeweb_js_ZBC001.js'
  405. function group3_group2_button1_onclick(obj:Button, e:ClickEventInfo) {
  406. if ((ds_send.getColumn(0, "fromdd") && ds_send.getColumn(0, "todd")) ||
  407. (ds_send.getColumn(0, "wardcd") != "" || ds_send.getColumn(0, "pid") != "" || ds_send.getColumn(0, "indd") != "")) {
  408. search();
  409. } else {
  410. sysf_messageBox("의뢰일자(시작일자~종료일자) 또는 그외의 조건을","C001");
  411. }
  412. }
  413. function group3_group2_ipt_pid_onlbuttonup(obj:Edit, e:MouseEventInfo) {
  414. if (group3.group2.ipt_pid.value) {
  415. ds_hidden_sppmc02500_cond.setColumn( 0, "srchcond", "1"); // 검색조건 : 등록번호로 설정
  416. ds_hidden_sppmc02500_cond.setColumn( 0, "pid", group3.group2.ipt_pid.value);
  417. } else {
  418. ds_hidden_sppmc02500_cond.clearData(); ds_hidden_sppmc02500_cond.addRow();
  419. }
  420. frmf_modal("SPPMC02500", "SPPMC02500", "ds_hidden_sppmc02500_cond""-"ds_send"", "", "1", "150", "150", "", "", "", "", "", "M");
  421. var srch_pid = ds_main_patinfo_patinfolist.getColumn(0, "pid");
  422. group3.group2.ipt_pid.value = ds_main_patinfo_patinfolist.getColumn(0, "pid");
  423. group3.group2.opt_patnm.value = ds_main_patinfo_patinfolist.getColumn(0, "hngnm");
  424. //model.refresh();
  425. }
  426. function group3_group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo) {
  427. if (event.keyCode == '13') { // Enter 입력 시에
  428. if (group3.group2.ipt_pid.value) {
  429. ds_hidden_sppmc02500_cond.setColumn( 0, "srchcond", "1"); // 검색조건 : 등록번호로 설정
  430. ds_hidden_sppmc02500_cond.setColumn( 0, "pid", group3.group2.ipt_pid.value);
  431. } else {
  432. ds_hidden_sppmc02500_cond.clearData(); ds_hidden_sppmc02500_cond.addRow();
  433. }
  434. frmf_modal("SPPMC02500", "SPPMC02500", "ds_hidden_sppmc02500_cond""-"ds_send"", "", "1", "150", "150", "", "", "", "", "", "M");
  435. var srch_pid = ds_main_patinfo_patinfolist.getColumn(0, "pid");
  436. group3.group2.ipt_pid.value = ds_main_patinfo_patinfolist.getColumn(0, "pid");
  437. group3.group2.opt_patnm.value = ds_main_patinfo_patinfolist.getColumn(0, "hngnm");
  438. //model.refresh();
  439. }
  440. }
  441. function group3_grd_ordlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  442. if(window.parent != null) {
  443. var row = group3.grd_ordlist.row;
  444. opener.ds_hidden_ordlist.clearData();
  445. opener.dsf_makeValue( ds_hidden, "ordlist", "string", "" );
  446. opener.ds_hidden_ordlis.copyRow( t, ds_main_list01_ordlist, row);
  447. window.close();
  448. } else {
  449. return false;
  450. }
  451. }
  452. function group3_grd_ordlist_onaftersort {
  453. group3.grd_ordlist.gridToInstance();
  454. }
  455. ]]></Script>
  456. </Form>
  457. </FDL>