SMLBT11000_혈액반납폐기관리.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBP10700_혈액반납폐기관리.xrw
  4. * 설 명 : 혈액반납폐기관리
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2007.08.20
  8. * 수정이력 : 출고일자, 반환/폐기일자 시간까지
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>혈액반환폐기관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <rtnabnlist>
  20. <blodno/>
  21. <comcd/>
  22. <btype/>
  23. <testpsn/>
  24. <acptpsn/>
  25. <rtnabn/>
  26. <cnfmdt/>
  27. <cnfm/>
  28. <rsn/>
  29. <tnsreqacptno/>
  30. <blodcomcd/>
  31. <blodvol/>
  32. <tnsreqseq/>
  33. <instcd/>
  34. <prepyy/>
  35. <prepblodseqno/>
  36. <prcpgenrflag/>
  37. <rsncd/>
  38. <prcpcd/>
  39. <calcscorcd/>
  40. <drugmthdspccd/>
  41. <chk/>
  42. <tnsstrnursenm/>
  43. <blodbarcd/>
  44. </rtnabnlist>
  45. <getrtnpsnnm>
  46. <rtnpsnnm/>
  47. </getrtnpsnnm>
  48. </main>
  49. <send>
  50. <rtnpsn/>
  51. <pid/>
  52. <blodno/>
  53. <flag/>
  54. <appsdt/>
  55. <appedt/>
  56. <abn/>
  57. <codeflag/>
  58. <rtnabndata/>
  59. <bldkind/>
  60. <cnfmflag/>
  61. </send>
  62. <init>
  63. </init>
  64. <hidden>
  65. <rtnpsn/>
  66. <pid/>
  67. <blodno/>
  68. <flag/>
  69. <appsdt/>
  70. <appedt/>
  71. <bldkind>00</bldkind>
  72. <cnfmflag>0</cnfmflag>
  73. <refparam>
  74. <blodno/>
  75. <GGSgbn/>
  76. </refparam>
  77. </hidden>
  78. </root>
  79. </instance>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. fSetInit();
  86. group3.disabled = true;
  87. model.setFocus("ID_txt");
  88. ]]>
  89. </script>
  90. <submission id="TRLBT10703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/abn"/>
  91. <submission id="TRLBT10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getrtnpsnnm"/>
  92. <submission id="TRLBT10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnabnlist"/>
  93. <submission id="TXLBT10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  94. <submission id="TXLBT10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  95. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB0605"/>
  96. </model>
  97. <script type="javascript">
  98. <![CDATA[
  99. // 2008-10-09 정은1
  100. //초기화
  101. function fSetInit() {
  102. var toDay = getCurrentDate();
  103. model.removeNodeset("/root/main/rtnabnlist");
  104. model.setValue("/root/hidden/rtnpsn", "");
  105. model.setValue("/root/hidden/pid", "");
  106. model.setValue("/root/hidden/blodno", "");
  107. model.setValue("/root/hidden/flag", "0");
  108. model.setValue("/root/hidden/appsdt", toDay);
  109. model.setValue("/root/hidden/appedt", toDay);
  110. grd_rtnabnlist.fixedcellcheckbox(0,1)=true;
  111. //model.refresh();
  112. model.setValue("/root/send/codeflag", "0606|"); //성분제제 blodbarcd
  113. submit("TRLZZ00101");
  114. }
  115. //반환(폐기)자 조회
  116. function fGetRtnPsnNm() {
  117. if(model.getValue("/root/hidden/rtnpsn")==""){
  118. alert("반환(폐기)자를 입력하십시오.");
  119. return;
  120. }
  121. model.setValue("/root/send/rtnpsn", model.getValue("/root/hidden/rtnpsn"));
  122. submit("TRLBT10701");
  123. }
  124. //조회
  125. function fGetRtnAbnList() {
  126. //if(model.getValue("/root/hidden/pid") == "") {
  127. // messageBox("등록번호는", "I003");
  128. //} else {
  129. model.setValue("/root/send/rtnpsn", model.getValue("/root/hidden/rtnpsn"));
  130. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  131. //model.setValue("/root/send/blodno", model.getValue("/root/hidden/blodno"));
  132. model.setValue("/root/send/flag", model.getValue("/root/hidden/flag"));
  133. model.setValue("/root/send/appsdt", model.getValue("/root/hidden/appsdt"));
  134. model.setValue("/root/send/appedt", model.getValue("/root/hidden/appedt"));
  135. model.setValue("/root/send/bldkind", model.getValue("/root/hidden/bldkind"));
  136. model.setValue("/root/send/cnfmflag", model.getValue("/root/hidden/cnfmflag"));
  137. submit("TRLBT10702");
  138. var count_yn = 'N' ;
  139. for(iRow = 1; iRow < grd_rtnabnlist.rows;iRow++)
  140. {
  141. if(model.getvalue("/root/main/rtnabnlist["+iRow+"]/rsncd") == "07299" || model.getvalue("/root/main/rtnabnlist["+iRow+"]/rsncd") == "07201" )
  142. {
  143. count_yn = 'Y';
  144. break;
  145. }
  146. }
  147. if(count_yn == "Y")
  148. {
  149. messageBox("주의! 병원사유로 폐기신청된 혈액입니다. " + model.getvalue("/root/main/rtnabnlist["+iRow+"]/rsn") + " : 주의를 요합니다 " , "I007");
  150. }
  151. //}
  152. }
  153. //조회
  154. function fSetChekConfrim() {
  155. var sblodno = model.getValue("/root/hidden/blodno");
  156. var findrow = grd_rtnabnlist.findRow(sblodno , 1, 7 , true, true);
  157. model.setValue("/root/hidden/blodno" , "");
  158. model.refresh();
  159. if(findrow < 1 ) {
  160. messageBox("해당 혈액번호가 없습니다.", "I");
  161. model.setFocus("ipt_blodno");
  162. }else{
  163. //alert(model.getValue("/root/main/rtnabnlist["+findrow+"]/cnfm") );
  164. if(model.getValue("/root/main/rtnabnlist["+findrow+"]/cnfm") == "Y"){
  165. messageBox("이미 반납/폐기 확인 된 혈액입니다.","I");
  166. // return;
  167. }
  168. grd_rtnabnlist.cellStyle("color", findrow, 1, findrow, 16) = "red";
  169. model.setValue("/root/main/rtnabnlist["+findrow+"]/chk", "Y");
  170. grd_rtnabnlist.addStatus(findrow, "insert");
  171. }
  172. }
  173. function fCheckCancel(){
  174. grd_rtnabnlist.rowstyle(grd_rtnabnlist.row, "all", "color") = "#333333";
  175. model.setValue("/root/main/rtnabnlist["+grd_rtnabnlist.row+"]/chk", "N");
  176. grd_rtnabnlist.addStatus(grd_rtnabnlist.row, "delete");
  177. }
  178. //저장
  179. function fExeRtnAbnList() {
  180. var rtnabndata = grd_rtnabnlist.getUpdateData("insert");
  181. if(model.getValue("/root/hidden/rtnpsn") == "" || model.getValue("/root/main/getrtnpsnnm/rtnpsnnm") == "") {
  182. messageBox("반환(폐기)자는", "I003");
  183. model.setFocus("ipt_rtnpsn");
  184. }else {
  185. model.setValue("/root/send/rtnabndata", rtnabndata);
  186. model.setValue("/root/send/rtnpsn", model.getValue("/root/hidden/rtnpsn"));
  187. //alert(rtnabndata);
  188. if(submit("TXLBT10701")) {
  189. fGetRtnAbnList();
  190. grd_rtnabnlist.allStyle("all","color") = "FFFFFF";
  191. grd_rtnabnlist.refresh();
  192. }
  193. }
  194. }
  195. // 저장취소 진료에서 IF 못만들어준다고 해서 개발 중단
  196. function fExeRtnAbnListCancel(){
  197. if(model.getValue("/root/hidden/rtnpsn") == "" || model.getValue("/root/main/getrtnpsnnm/rtnpsnnm") == "") {
  198. messageBox("반환(폐기)자는", "I003");
  199. model.setFocus("ipt_rtnpsn");
  200. return;
  201. }
  202. var cnfmchk ="";
  203. for(i=1; i<grd_rtnabnlist.rows; i++){
  204. if(model.getValue("/root/main/rtnabnlist["+i+"]/chk") == "Y" && model.getValue("/root/main/rtnabnlist["+i+"]/cnfm")=="Y"){
  205. }else{
  206. cnfmchk = cnfmchk + i;
  207. }
  208. }
  209. if(cnfmchk != ""){
  210. alert("확인 된 혈액만 확정취소 할 수 있습니다.");
  211. return;
  212. }
  213. var rtnabndata = getGridUpdateData(grd_rtnabnlist);
  214. if(rtnabndata == ""){
  215. alert("확정취소할 내용이 없습니다. ");
  216. return;
  217. }
  218. //alert("rtnabndata= \n " + rtnabndata);
  219. model.setValue("/root/send/rtnabndata", rtnabndata);
  220. model.setValue("/root/send/rtnpsn", model.getValue("/root/hidden/rtnpsn"));
  221. submit("TXLBT10702");
  222. }
  223. //엑셀저장
  224. function fSaveExcel() {
  225. var filename = window.fileDialog("save", ",", false, "Excel", "xls", "All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  226. if(filename != "") {
  227. grd_rtnabnlist.saveExcel(filename);
  228. }
  229. }
  230. //키이벤트발생
  231. function fKeyEvent() {
  232. if(event.keyCode == "13") {
  233. if(event.target == "ipt_rtnpsn") {
  234. model.setValue("/root/hidden/rtnpsn", ipt_rtnpsn.currentText.toUpperCase());
  235. fGetRtnPsnNm();
  236. ipt_rtnpsn.selBegin = 0;
  237. ipt_rtnpsn.selEnd = ipt_rtnpsn.currentText.length;
  238. model.setFocus("ipt_pid");
  239. }
  240. if(event.target == "ipt_pid") {
  241. model.setValue("/root/hidden/pid", ipt_pid.currentText);
  242. if(model.getValue("/root/hidden/pid")==""){
  243. alert("등록번호를 입력하십시오.");
  244. return;
  245. }
  246. fGetRtnAbnList();
  247. ipt_pid.selBegin = 0;
  248. ipt_pid.selEnd = ipt_pid.currentText.length;
  249. model.setFocus("ipt_pid");
  250. }
  251. //-------------------------------------------
  252. //혈액번호 바코드 리딩하여 반환,폐기 할 것 체크후 저장한다.
  253. if(event.target == "ipt_blodno") {
  254. model.setValue("/root/hidden/blodno", (ipt_blodno.currentText).substr(0,10));
  255. if(model.getValue("/root/hidden/blodno")==""){
  256. messageBox("혈액번호를 입력하십시오.", "I");
  257. return;
  258. }
  259. if(getNodesetCount("/root/main/rtnabnlist") > 0) {
  260. fSetChekConfrim();
  261. }else{
  262. messageBox("반납,폐기 할 내역이 없습니다.", "I");
  263. return;
  264. }
  265. model.setFocus("ipt_blodno");
  266. ipt_blodno.refresh();
  267. ipt_blodno.selBegin = 0;
  268. ipt_blodno.selEnd = ipt_blodno.currentText.length;
  269. }
  270. }
  271. }
  272. // 그리드 전체선택, 전체해제
  273. function fsetgridstatus(){
  274. for(i=1; i< grd_rtnabnlist.rows; i++){
  275. if(model.getValue("/root/main/rtnabnlist["+ i +"]/chk") == "Y"){
  276. grd_rtnabnlist.rowStatus(i) = 2;
  277. }else{
  278. grd_rtnabnlist.rowStatus(i) = 0;
  279. }
  280. }
  281. grd_rtnabnlist.refresh();
  282. }
  283. // 검체번호 같은겉 전부선택되게
  284. function fSetBcnocheck(){
  285. var grow = grd_rtnabnlist.row;
  286. if(model.getValue("/root/main/rtnabnlist["+ grow +"]/chk") == "Y"){
  287. grd_rtnabnlist.rowStatus(grow) = 2; // 수정
  288. }else{
  289. grd_rtnabnlist.rowStatus(grow) = 0; // 취소
  290. }
  291. grd_rtnabnlist.refresh();
  292. }
  293. ]]>
  294. </script>
  295. </xhtml:head>
  296. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  297. <group id="group4" style="left:0px; top:40px; width:1195px; height:744px; ">
  298. <caption id="caption11" class="tit_2" style="left:5px; top:80px; width:139px; height:13px; ">반환(폐기) 목록</caption>
  299. <line id="line7" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  300. <datagrid id="grd_rtnabnlist" nodeset="/root/main/rtnabnlist" caption="^반환/폐기^등록번호^환자명^병실^seq^혈액번호^혈액성분^확인자^출고일자^반환/폐기일자^확인^사용량(ml)^의뢰의사^간호사^사유^caption1^수혈의뢰접수번호^성분제제코드^혈액용량^수혈의뢰일련번호^기관코드^준비연도^준비혈액일련번호^처방발생구분^사유코드^처방코드^수가코드^검체코드^chk^blodbarcd" colsep="^" colwidth="27, 80, 75, 70, 60, 47, 90, 110, 66, 100, 100, 30, 81, 66, 66, 168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:95px; width:1194px; height:638px; text-align:center; ">
  301. <col checkvalue="Y,N" ref="chk" type="checkbox" visibility="hidden"/>
  302. <col disabled="true" ref="rtnabn" type="combo">
  303. <choices>
  304. <item>
  305. <label>반환</label>
  306. <value>1</value>
  307. </item>
  308. <item>
  309. <label>폐기</label>
  310. <value>2</value>
  311. </item>
  312. <item>
  313. <label>잔여혈액폐기</label>
  314. <value>3</value>
  315. </item>
  316. <item>
  317. <label>잔여혈액폐기</label>
  318. <value>4</value>
  319. </item>
  320. </choices>
  321. </col>
  322. <col ref="pid"/>
  323. <col ref="patnm"/>
  324. <col ref="roomcd"/>
  325. <col ref="prepblodseqno"/>
  326. <col ref="blodno"/>
  327. <col ref="comcd"/>
  328. <col ref="testpsn" style="text-align:left; "/>
  329. <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
  330. <col ref="cnfmdt" format="yyyy-mm-dd hh:nn"/>
  331. <col disabled="true" ref="cnfm"/>
  332. <col ref="drugqty"/>
  333. <col ref="orddrnm" style="text-align:left; "/>
  334. <col ref="tnsstrnursenm" style="text-align:left; "/>
  335. <col ref="rsn" style="text-align:left; "/>
  336. <col ref="iryn"/>
  337. <col ref="tnsreqacptno"/>
  338. <col ref="blodcomcd"/>
  339. <col ref="blodvol"/>
  340. <col ref="tnsreqseq"/>
  341. <col ref="instcd" style="left:1654px; top:23px; width:100px; height:23px; "/>
  342. <col ref="prepyy"/>
  343. <col ref="prepblodseqno"/>
  344. <col ref="prcpgenrflag"/>
  345. <col ref="rsncd"/>
  346. <col ref="prcpcd"/>
  347. <col ref="calcscorcd"/>
  348. <col ref="drugmthdspccd"/>
  349. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  350. <col ref="blodbarcd"/>
  351. <script type="javascript" ev:event="onaftersort">
  352. <![CDATA[
  353. grd_rtnabnlist.gridToInstance();
  354. ]]>
  355. </script>
  356. <script type="javascript" ev:event="xforms-select">
  357. <![CDATA[
  358. if(grd_rtnabnlist.row == "0"){
  359. fsetgridstatus();
  360. }else{
  361. fSetBcnocheck();
  362. }
  363. ]]>
  364. </script>
  365. <script type="javascript" ev:event="xforms-deselect">
  366. <![CDATA[
  367. if(grd_rtnabnlist.row == "0"){
  368. fsetgridstatus();
  369. }else{
  370. fSetBcnocheck();
  371. }
  372. ]]>
  373. </script>
  374. <script type="javascript" ev:event="ondblclick">
  375. <![CDATA[
  376. // 혈액번호 더블클릭시 이력조회와 연동
  377. var row = grd_rtnabnlist.row;
  378. var col = grd_rtnabnlist.col;
  379. if (row < grd_rtnabnlist.rows && row > 0 && col == 7) {
  380. var vBlodNo = model.getValue("/root/main/rtnabnlist[" + row + "]/blodno");
  381. model.setValue("/root/hidden/refparam/blodno", vBlodNo);
  382. modal("SMLBP01000","","","","","/root/hidden/refparam", "/root/hidden/refparam");
  383. model.setValue("/root/hidden/refparam/blodno", "");
  384. }
  385. ]]>
  386. </script>
  387. </datagrid>
  388. <group id="group2" style="left:0px; top:10px; width:1195px; height:60px; ">
  389. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195px; height:60px; "/>
  390. <select1 id="rdo_flag" ref="/root/hidden/flag" class="radio_search" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:800px; top:10px; width:375px; height:20px; border-style:none; ">
  391. <choices>
  392. <item>
  393. <label>전체</label>
  394. <value>0</value>
  395. </item>
  396. <item>
  397. <label>반환_보관</label>
  398. <value>4</value>
  399. </item>
  400. <item>
  401. <label>반환_취소</label>
  402. <value>1</value>
  403. </item>
  404. <item>
  405. <label>폐기</label>
  406. <value>2</value>
  407. </item>
  408. <item>
  409. <label>잔여혈액폐기</label>
  410. <value>3</value>
  411. </item>
  412. </choices>
  413. </select1>
  414. <select1 id="rdo_cnfmflag" ref="/root/hidden/cnfmflag" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:800px; top:33px; width:255px; height:13px; border-style:none; ">
  415. <choices>
  416. <item>
  417. <label>전체</label>
  418. <value>0</value>
  419. </item>
  420. <item>
  421. <label>확정</label>
  422. <value>1</value>
  423. </item>
  424. <item>
  425. <label>미확정</label>
  426. <value>2</value>
  427. </item>
  428. </choices>
  429. </select1>
  430. <input id="ipt_appsdt" ref="/root/hidden/appsdt" class="input_search" inputtype="date" style="left:130px; top:33px; width:90px; height:19px; "/>
  431. <input id="ipt_appedt" ref="/root/hidden/appedt" class="input_search" inputtype="date" style="left:242px; top:33px; width:90px; height:19px; "/>
  432. <caption id="cap_bkind" class="search_name" style="left:348px; top:34px; width:99px; height:17px; ">혈액종류 :</caption>
  433. <select1 id="cbo_bkind" ref="/root/hidden/bldkind" class="combo_s_essential" appearance="minimal" style="left:439px; top:33px; width:216px; height:19px; ">
  434. <choices>
  435. <itemset nodeset="/root/init/LB0606">
  436. <label ref="nm"/>
  437. <value ref="cd"/>
  438. </itemset>
  439. </choices>
  440. </select1>
  441. <button id="btn_ref" class="btn1_letter2" style="left:1119px; top:34px; width:56px; height:22px; ">
  442. <caption>조회</caption>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. fGetRtnAbnList();
  446. ]]>
  447. </script>
  448. </button>
  449. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:111px; height:17px; ">반환(폐기)자 :</caption>
  450. <caption id="caption3" class="search_name" style="left:15px; top:34px; width:91px; height:17px; ">준비일시 :</caption>
  451. <caption id="caption6" class="search_name" style="left:338px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  452. <caption id="caption7" class="search_name" style="left:737px; top:9px; width:65px; height:17px; ">구분 :</caption>
  453. <caption id="caption77" class="search_name" style="left:737px; top:32px; width:65px; height:17px; ">구분 :</caption>
  454. <input id="ipt_rtnpsn" ref="/root/hidden/rtnpsn" class="input_button" inputtype="button" maxlength="10" style="left:130px; top:8px; width:100px; height:19px; "/>
  455. <output id="opt_rtnpsnnm" ref="/root/main/getrtnpsnnm/rtnpsnnm" class="output_search" style="left:232px; top:8px; width:100px; height:19px; "/>
  456. <input id="ipt_pid" ref="/root/hidden/pid" class="input_button" inputtype="button" style="left:429px; top:8px; width:100px; height:19px; ">
  457. <script type="javascript" ev:event="onbuttonclick">
  458. <![CDATA[
  459. fGetRtnAbnList();
  460. ]]>
  461. </script>
  462. </input>
  463. <caption id="caption8" class="search_name" style="left:535px; top:9px; width:86px; height:17px; ">혈액번호 :</caption>
  464. <input id="ipt_blodno" ref="/root/hidden/blodno" class="input_button" inputtype="button" style="left:621px; top:8px; width:100px; height:19px; "/>
  465. <caption id="caption4" class="search_no_b" style="left:225px; top:34px; width:15px; height:17px; ">~</caption>
  466. </group>
  467. <button id="btn_excel" class="btn2_letter2" style="left:1147px; top:74px; width:42px; height:19px; ">
  468. <caption>엑셀</caption>
  469. <script type="javascript" ev:event="DOMActivate">
  470. <![CDATA[
  471. fSaveExcel();
  472. ]]>
  473. </script>
  474. </button>
  475. <button id="btn_cancel" class="btn2_letter4" style="left:1077px; top:74px; width:64px; height:19px; ">
  476. <caption>선택취소</caption>
  477. <script type="javascript" ev:event="DOMActivate">
  478. <![CDATA[
  479. fCheckCancel();
  480. ]]>
  481. </script>
  482. </button>
  483. </group>
  484. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  485. <caption id="caption5" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">혈액반환폐기관리</caption>
  486. </group>
  487. <group id="group3" style="left:0px; top:13px; width:1195px; height:27px; ">
  488. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  489. <caption>초기화</caption>
  490. <script type="javascript" ev:event="DOMActivate">
  491. <![CDATA[
  492. fSetInit();
  493. ]]>
  494. </script>
  495. </button>
  496. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  497. <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
  498. <caption>저장</caption>
  499. <script type="javascript" ev:event="DOMActivate">
  500. <![CDATA[
  501. fExeRtnAbnList();
  502. ]]>
  503. </script>
  504. </button>
  505. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:96px; height:22px; ">
  506. <caption>출력</caption>
  507. </button>
  508. <button id="button1" class="btn4_letter4" visibility="visible" style="left:985px; top:3px; width:80px; height:22px; ">
  509. <caption>폐기취소</caption>
  510. <script type="javascript" ev:event="DOMActivate">
  511. <![CDATA[
  512. fExeRtnAbnListCancel();
  513. ]]>
  514. </script>
  515. </button>
  516. </group>
  517. <script type="javascript" ev:event="onkeypress">
  518. <![CDATA[
  519. fKeyEvent();
  520. ]]>
  521. </script>
  522. <group id="Group_idChk" style="left:476px; top:250px; width:280px; height:165px; background-color:#ff99cc; border-color:#5abaff; border-width:1px; border-style:solid; ">
  523. <caption id="caption1" style="left:19px; top:19px; width:249px; height:70px; font-size:18pt; font-weight:bold; ">반환자를 입력하세요</caption>
  524. <textarea id="ID_txt" overflow="hidden" style="left:34px; top:89px; width:195px; height:55px; font-size:22pt; ">
  525. <script type="javascript" ev:event="onkeypress">
  526. <![CDATA[
  527. if(event.keyCode == "13"){
  528. var I_txt = ID_txt.currentText;
  529. model.setValue("/root/hidden/rtnpsn", I_txt.toUpperCase());
  530. model.setValue("/root/hidden/rtnpsn", model.getvalue("/root/hidden/rtnpsn").replace("\n", ""));
  531. fGetRtnPsnNm();
  532. //model.setFocus("ipt_accept");
  533. if(model.getValue("/root/main/getrtnpsnnm/rtnpsnnm") == ""){
  534. }else{
  535. model.setFocus("ipt_pid");
  536. ipt_rtnpsn.selBegin = 0;
  537. ipt_rtnpsn.selEnd = ipt_rtnpsn.currentText.length;
  538. Group_idChk.visible = false;
  539. group3.disabled = false;
  540. }
  541. }
  542. ]]>
  543. </script>
  544. </textarea>
  545. <button id="button44" style="left:232px; top:119px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
  546. <caption>닫기</caption>
  547. <script type="javascript" ev:event="onclick">
  548. <![CDATA[
  549. Group_idChk.visible = false;
  550. ]]>
  551. </script>
  552. </button>
  553. </group>
  554. </xhtml:body>
  555. </xhtml:html>