SPLBT10900_보관검체등록.xrw 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLBT10900_보관검체등록.xrw
  4. * 설 명 : 보관검체등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.06. 13
  8. * 수정이력 : SPLBP02000 -> SPLBT10900 aaa
  9. 특수문자조회시 오류 수정
  10. * 기 타 :
  11. -->
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>보관검체등록</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <patinfo>
  21. <info>
  22. <patnm/>
  23. <sexage/>
  24. <regno/>
  25. <btype/>
  26. <seqno/>
  27. <fromdd/>
  28. <abo/>
  29. <rh/>
  30. <abrnblodyn/>
  31. </info>
  32. <rsltlist>
  33. <dt/>
  34. <rslt/>
  35. </rsltlist>
  36. <rsltlistab>
  37. <dt/>
  38. <rslt/>
  39. </rsltlistab>
  40. <spckeep>
  41. <acptdt/>
  42. <fromdd/>
  43. <todd/>
  44. <bggc/>
  45. <abo/>
  46. </spckeep>
  47. <seqno>
  48. <seq/>
  49. </seqno>
  50. <msg>
  51. <msg/>
  52. </msg>
  53. </patinfo>
  54. <getkeepspc>
  55. <patnm/>
  56. <pid/>
  57. <acptdt/>
  58. <fromdt/>
  59. <todt/>
  60. <qns/>
  61. <hemolysis/>
  62. <bggcyn/>
  63. <bcno/>
  64. <spcno/>
  65. <keepspcno/>
  66. </getkeepspc>
  67. <barcdprntsetup>
  68. <prntsetupinfo>
  69. <setupinfo>
  70. <prntkind>1</prntkind>
  71. <commkind>01</commkind>
  72. <comm01>
  73. <setupval/>
  74. </comm01>
  75. <comm02>
  76. <comm>1</comm>
  77. <databit>8</databit>
  78. <stopbit>1</stopbit>
  79. <baudrate>9600</baudrate>
  80. <parity>n</parity>
  81. <setupval/>
  82. </comm02>
  83. <comm03>
  84. <setupval/>
  85. </comm03>
  86. <blank>
  87. <left>10</left>
  88. <top>50</top>
  89. </blank>
  90. </setupinfo>
  91. </prntsetupinfo>
  92. <macaddr>0019211ce80d</macaddr>
  93. </barcdprntsetup>
  94. <KeepBcnoPrint/>
  95. <keependno>
  96. <endnoA/>
  97. <endnoB/>
  98. <endnoO/>
  99. <endnoAB/>
  100. <endnoE/>
  101. </keependno>
  102. </main>
  103. <send>
  104. <pid/>
  105. <abo/>
  106. <rh/>
  107. <bcno/>
  108. <keepstat/>
  109. <scrnid/>
  110. <qhb/>
  111. <endno/>
  112. <endabo/>
  113. <acceptid/>
  114. <rgstid/>
  115. <sdd/>
  116. <edd/>
  117. </send>
  118. <init>
  119. </init>
  120. <hidden>
  121. <pid/>
  122. <temp>
  123. <abo/>
  124. <rh/>
  125. <pid/>
  126. <patinfo>
  127. <partnm/>
  128. <sexage/>
  129. </patinfo>
  130. <info/>
  131. </temp>
  132. <printflag/>
  133. <kspcno/>
  134. <bcno/>
  135. <pidsearch/>
  136. <ref>
  137. <getuserAnm>
  138. <acceptnm/>
  139. </getuserAnm>
  140. <rgstid/>
  141. </ref>
  142. <sdd/>
  143. <edd/>
  144. </hidden>
  145. </root>
  146. </instance>
  147. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  151. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  152. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  153. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  154. <script type="javascript" src="../../../lis/commonweb/js/HanFont24.js"/>
  155. <script type="javascript" src="../../../lis/commonweb/js/HanFont48.js"/>
  156. <script type="javascript" src="../../../lis/commonweb/js/HanFont32.js"/>
  157. <script type="javascript" ev:event="xforms-ready">
  158. <![CDATA[
  159. fSetInit();
  160. group4.disabled = true;
  161. model.setFocus("ID_txt");
  162. ]]>
  163. </script>
  164. <submission id="TXLBP02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  165. <submission id="TXLBP02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
  166. <submission id="TXLBP02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  167. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  168. <submission id="TRLBP02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getkeepspc"/>
  169. <submission id="TRLBP02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/temp" replace="instance" resultref="/root/hidden/temp/patinfo"/>
  170. <submission id="TRLBP02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/KeepBcnoPrint"/>
  171. <submission id="TRLBT10906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/KeepBcnoPrint"/>
  172. <submission id="TRLBT10904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getkeepspc"/>
  173. <submission id="TXLBT10901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  174. <submission id="TXLBT10902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
  175. <submission id="TXLBT10903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  176. <submission id="TXLBT10904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  177. <submission id="TRLBT10905" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/keependno"/>
  178. <submission id="TXLBT10905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  179. <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ref/getuserAnm"/>
  180. </model>
  181. <script type="javascript">
  182. <![CDATA[
  183. //키이벤트 엔터키 입력시
  184. function fKeyEvent(){
  185. if(event.keyCode == "13"){
  186. // 검사자 바코드 리딩시
  187. if(event.target == "ipt_pid"){
  188. model.setvalue("/root/hidden/pid", ipt_pid.currentText);
  189. fExeKeepSpc();
  190. ipt_pid.selBegin = 0;
  191. ipt_pid.selEnd = ipt_pid.currentText.length;
  192. }
  193. // 검사자 바코드 리딩시
  194. if(event.target == "ipt_pid2"){
  195. model.setvalue("/root/hidden/temp/pid", ipt_pid2.currentText);
  196. fSetTempInfo();
  197. ipt_pid2.selBegin = 0;
  198. ipt_pid2.selEnd = ipt_pid2.currentText.length;
  199. }
  200. // 보관검체 번호 입력시
  201. if(event.target == "ipt_kspcno"){
  202. model.setvalue("/root/hidden/kspcno", ipt_kspcno.currentText.toUpperCase());
  203. fGetKeepSpc("S");
  204. ipt_kspcno.selBegin = 0;
  205. ipt_kspcno.selEnd = ipt_kspcno.currentText.length;
  206. }
  207. if(event.target == "ipt_pidsearch"){
  208. model.setValue("/root/hidden/pidsearch", ipt_pidsearch.currentText);
  209. fGetKeepSpc("pid");
  210. ipt_pidsearch.selBegin = 0;
  211. ipt_pidsearch.selEnd = ipt_pidsearch.currentText.length;
  212. }
  213. // 등록자 바코드 리딩시
  214. if(event.target == "ipt_rgstid"){
  215. model.setValue("/root/hidden/ref/rgstid", (ipt_rgstid.currentText).toUpperCase());
  216. fGetUsernm();
  217. ipt_rgstid.selBegin = 0;
  218. ipt_rgstid.selEnd = ipt_rgstid.currentText.length;
  219. model.setFocus("ipt_pid");
  220. }
  221. }
  222. }
  223. // 유저 정보
  224. function fGetUsernm(){
  225. model.makeValue("/root/send/deliveryid", "");
  226. model.setValue("/root/send/acceptid", model.getValue("/root/hidden/ref/rgstid"));
  227. submit("TRLBT10404");
  228. }
  229. // 환자 정보 조회
  230. function fExeKeepSpc(){
  231. if(model.getValue("/root/hidden/ref/getuserAnm/acceptnm").getTrim() == ""){
  232. messageBox("등록자 아이디를 입력해주세요.","E");
  233. model.setFocus("ipt_rgstid");
  234. return;
  235. }
  236. model.removeNodeset("/root/main/patinfo");
  237. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid").getTrim());
  238. model.setValue("/root/send/rgstid", model.getValue("/root/hidden/ref/rgstid").getTrim());
  239. if(submit("TXLBT10902") == true){
  240. if(model.getValue("/root/main/patinfo/info/abrnblodyn")=="N"){ // 이형아님
  241. if(model.getValue("/root/main/patinfo/info/abo")=="A"){
  242. opt_abo.attribute("class") = "font_a";
  243. opt_abo.attribute("font-size") = 48;
  244. }else if(model.getValue("/root/main/patinfo/info/abo")=="AB"){
  245. opt_abo.attribute("class") = "font_ab";
  246. opt_abo.attribute("font-size") = 48;
  247. }else if(model.getValue("/root/main/patinfo/info/abo")=="B"){
  248. opt_abo.attribute("class") = "font_b";
  249. opt_abo.attribute("font-size") = 48;
  250. }else if(model.getValue("/root/main/patinfo/info/abo")=="O"){
  251. opt_abo.attribute("class") = "font_o";
  252. opt_abo.attribute("font-size") = 48;
  253. }else{
  254. opt_abo.attribute("class") = "font_b"; //빨간색
  255. opt_abo.attribute("font-size") = 28;
  256. }
  257. }else if(model.getValue("/root/main/patinfo/info/abrnblodyn")=="Y"){ // 이형임
  258. opt_abo.attribute("class") = "font_b"; //빨간색
  259. opt_abo.attribute("font-size") = 28;
  260. }
  261. opt_abo.refresh();
  262. if(model.getValue("/root/main/patinfo/msg/msg") != ""){
  263. if(model.getValue("/root/main/patinfo/msg/msg")=="btype rslt err"){
  264. messageBox("혈액형 결과 등록이 안된 환자 ", "E008");
  265. return;
  266. }
  267. if(model.getValue("/root/main/patinfo/msg/msg")=="bggc M insert err"){
  268. messageBox("채혈화면에서 보관검체출력을 해주세요.", "I", "");
  269. return;
  270. }
  271. }
  272. var bgabo = model.getValue("/root/main/patinfo/spckeep/abo");
  273. var seqno = model.getValue("/root/main/patinfo/seqno/seq");
  274. var fromdd = model.getValue("/root/main/patinfo/spckeep/fromdd");
  275. if(bgabo != "" && seqno != ""){
  276. //model.makeValue("/root/main/patinfo/spckeep/bggc", bgabo + seqno);
  277. model.makeValue("/root/main/patinfo/spckeep/bggc", fromdd + "-" + seqno);
  278. model.makeValue("/root/main/KeepBcnoPrint/printinfo/bggc", bgabo + seqno);
  279. }else{
  280. model.makeValue("/root/main/patinfo/spckeep/bggc", "");
  281. model.makeValue("/root/main/KeepBcnoPrint/printinfo/bggc", "");
  282. }
  283. model.refresh();
  284. if(model.getValue("/root/main/patinfo/info/flag") == "1"){
  285. messageBox("이미 접수된 검체", "E008");
  286. return;
  287. }
  288. //출력 체크되어 있으면 보관검체 라벨 출력
  289. if(model.getValue("/root/hidden/printflag") == "1"){
  290. model.removeNodeset("/root/main/KeepBcnoPrint/printinfo");
  291. submit("TRLBP02003");
  292. if(getNodesetCount("/root/main/KeepBcnoPrint/printinfo") > 0){
  293. if(bgabo != "" && seqno != ""){
  294. model.makeValue("/root/main/KeepBcnoPrint/printinfo/bggc", fromdd + "-" + seqno);
  295. }else{
  296. model.makeValue("/root/main/KeepBcnoPrint/printinfo/bggc", "");
  297. }
  298. var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
  299. var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
  300. if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7"){
  301. fKeLabelHB2("/root/main/KeepBcnoPrint/printinfo");//보관검체 라벨 발행 - 출력 체크했을시
  302. }else if(prtkind == "8"){
  303. fKeLabel_B472("/root/main/KeepBcnoPrint/printinfo"); // B472
  304. }else{
  305. fKeLabel("/root/main/KeepBcnoPrint/printinfo");//보관검체 라벨 발행 - 출력 체크했을시
  306. }
  307. }
  308. }
  309. }
  310. if(getNodesetCount("/root/main/patinfo/info") == 0) {
  311. opt_patnm.value = "";
  312. opt_sexage.value = "";
  313. opt_regno.value = "";
  314. opt_keepno.value = "";
  315. }
  316. model.refresh();
  317. }
  318. //혈액형별 보관검체 조회
  319. function fGetKeepSpc(Flag) {
  320. var kspcno = model.getValue("/root/hidden/kspcno")
  321. model.setValue("/root/send/abo", Flag);
  322. model.setValue("/root/send/sdd", model.getValue("/root/hidden/sdd"));
  323. model.setValue("/root/send/edd", model.getValue("/root/hidden/edd"));
  324. if(kspcno != "") {
  325. model.makeValue("/root/send/blod", kspcno.substr(0, 1));
  326. model.makeValue("/root/send/no", kspcno.substr(1));
  327. }
  328. if(model.getValue("/root/send/abo") == "S") {
  329. var abo = "btn_" + model.getValue("/root/send/blod").toLowerCase();
  330. botton = document.all(abo);
  331. botton.selected = true;
  332. }
  333. if(Flag =="pid"){
  334. model.setValue("/root/send/pid", model.getValue("/root/hidden/pidsearch"));
  335. }else{
  336. model.setValue("/root/send/pid", "");
  337. }
  338. submit("TRLBT10904");
  339. model.refresh();
  340. }
  341. //보관검체 삭제
  342. function fDelKeepSpc() {
  343. model.setValue("/root/send/pid", model.getValue("/root/main/getkeepspc["+ grd_keepspc.row +"]/pid"));
  344. model.setValue("/root/send/bcno", model.getValue("/root/main/getkeepspc["+ grd_keepspc.row +"]/bcno"));
  345. submit("TXLBT10903");
  346. grd_keepspc.deleteItem(grd_keepspc.row);
  347. model.refresh();
  348. }
  349. //QNS, HEMOLYSIS 저장
  350. function fSet() {
  351. messageBox("용량부족", "I");
  352. }
  353. // 임시 혈액형 화면 보이기
  354. function fSetTempBloodType(){
  355. grp_temp.visible = true;
  356. }
  357. // 임시 혈액형 등록 insert
  358. function fSetTempBlood(){
  359. if(model.getValue("/root/hidden/temp/pid") == ""){
  360. messageBox("등록번호를 입력해주세요.","E");
  361. return false;
  362. }
  363. if(model.getValue("/root/hidden/temp/abo") == "" || model.getValue("/root/hidden/temp/rh") == "") {
  364. messageBox("혈액형을 선택해주세요.","E");
  365. return false;
  366. }
  367. model.setValue("/root/send/pid", model.getValue("/root/hidden/temp/pid"));
  368. model.setValue("/root/send/abo", model.getValue("/root/hidden/temp/abo"));
  369. model.setValue("/root/send/rh", model.getValue("/root/hidden/temp/rh"));
  370. if(submit("TXLBT10901")==true){
  371. fSetTempClose();
  372. }
  373. }
  374. // 임시 혈액형 화면 닫기
  375. function fSetTempClose(){
  376. grp_temp.visible = false;
  377. }
  378. //임시혈액형등록 환자 정보 조회
  379. function fSetTempInfo(){
  380. model.setValue("/root/send/pid", model.getValue("/root/hidden/temp/pid"));
  381. submit("TRLBP02002");
  382. model.setValue("/root/hidden/temp/info", model.getValue("/root/hidden/temp/patinfo/patnm")+"/"+model.getValue("/root/hidden/temp/patinfo/sexage"));
  383. model.refresh();
  384. }
  385. // 초기화
  386. function fSetInit() {
  387. model.removeNodeset("/root/main/patinfo");
  388. model.removeNodeset("/root/main/getkeepspc");
  389. var toDay = getCurrentDate();
  390. var BfDay = getCurrentDate().toDate("YYYYMMDD").getAddDate(-6);
  391. model.setValue("/root/hidden/sdd", BfDay.getDateFormat("YYYYMMDD"));
  392. model.setValue("/root/hidden/edd", toDay);
  393. ipt_pid.value = "";
  394. opt_patnm.value = "";
  395. opt_sexage.value = "";
  396. opt_regno.value = "";
  397. opt_abo.value = "";
  398. opt_keepno.value = "";
  399. chk_printflag.select(0);
  400. chk_printflag.refresh();
  401. model.setFocus("ipt_rgstid");
  402. model.setValue("/root/send/scrnid", getScreenID());
  403. submit("TRLLC90101");
  404. lzzfMakeBrcdPrntObjHanDo("CommAX");
  405. model.refresh();
  406. }
  407. // QNS 선택시 부적합검체등록되게
  408. function fSetQns(ref){
  409. var keepspcstat = "";
  410. var qhb = "";
  411. if(ref=="Q"){
  412. if(model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/qns")=="true"){
  413. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  414. model.setValue("/root/hidden/bcno", bcno);
  415. keepspcstat = "2";
  416. }else{
  417. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  418. model.setValue("/root/send/bcno", bcno);
  419. keepspcstat = "1";
  420. }
  421. qhb= "q";
  422. }
  423. if(ref=="H"){
  424. if(model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/hemolysis")=="true"){
  425. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  426. model.setValue("/root/hidden/bcno", bcno);
  427. keepspcstat = "3";
  428. }else{
  429. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  430. model.setValue("/root/send/bcno", bcno);
  431. keepspcstat = "1";
  432. }
  433. qhb= "h";
  434. }
  435. if(ref=="B"){
  436. if(model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bggcyn")=="true"){
  437. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  438. model.setValue("/root/hidden/bcno", bcno);
  439. modal("SPLLJ90100_부적합검체등록","","","","","/root/hidden/bcno","/root/hidden/bcno");
  440. keepspcstat = "4";
  441. }else{
  442. var bcno = model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno");
  443. model.setValue("/root/send/bcno", bcno);
  444. keepspcstat = "1";
  445. }
  446. qhb= "b";
  447. }
  448. // 보관검체 QNS, HEMOLOSYS 선택시 상태값 변경해주기
  449. model.setValue("/root/send/pid", model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/pid"));
  450. model.setValue("/root/send/keepstat", keepspcstat);
  451. model.setValue("/root/send/qhb", qhb);
  452. model.setValue("/root/send/bcno", bcno);
  453. submit("TXLBT10904");
  454. }
  455. // 번호설정 팝업띄워서 시작버튼 설정하기 강남=200까지
  456. function fExekeepNoUpdateOpen(){
  457. grp_keep.visible = true;
  458. // 끝번호 조회
  459. submit("TRLBT10905");
  460. ipt_endnoA.refresh();
  461. ipt_endnoB.refresh();
  462. ipt_endnoO.refresh();
  463. ipt_endnoAB.refresh();
  464. ipt_endnoE.refresh();
  465. }
  466. // 보관검체 끝번호 설정
  467. function fSetBGGCendNo(param){
  468. var endno = "";
  469. if(param == "A"){
  470. model.setValue("/root/send/endno", model.getValue("/root/main/keependno/endnoA"));
  471. }else if(param == "B"){
  472. model.setValue("/root/send/endno", model.getValue("/root/main/keependno/endnoB"));
  473. }else if(param == "O"){
  474. model.setValue("/root/send/endno", model.getValue("/root/main/keependno/endnoO"));
  475. }else if(param == "AB"){
  476. model.setValue("/root/send/endno", model.getValue("/root/main/keependno/endnoAB"));
  477. }else if(param == "E"){
  478. model.setValue("/root/send/endno", model.getValue("/root/main/keependno/endnoE"));
  479. }
  480. model.setValue("/root/send/endabo", param);
  481. if(model.getValue("/root/send/endno") == ""){
  482. messageBox("끝번호를 입력하십시오.", "I");
  483. return;
  484. }
  485. if(model.getValue("/root/send/endno") < 1){
  486. messageBox("0보다 큰 수를 입력하십시오.", "I");
  487. return;
  488. }
  489. submit("TXLBT10905");
  490. }
  491. // 바코드 재출력
  492. function fSetReprint(){
  493. model.removeNodeset("/root/main/KeepBcnoPrint");
  494. if(grd_keepspc.row < 1 ){
  495. messageBox("재출력할 보관검체를 선택하십시오.","I");
  496. return;
  497. }
  498. model.makeValue("root/send/repid", model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/pid"));
  499. model.makeValue("root/send/rekeepspcno", model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/keepspcno"));
  500. model.makeValue("root/send/rebcno", model.getValue("/root/main/getkeepspc["+grd_keepspc.row+"]/bcno"));
  501. submit("TRLBT10906");
  502. if(getNodesetCount("/root/main/KeepBcnoPrint/printinfo") > 0){
  503. var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
  504. var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
  505. if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7"){
  506. fKeLabelHB2("/root/main/KeepBcnoPrint/printinfo");//보관검체 라벨 발행 - 출력 체크했을시
  507. }else if(prtkind == "8"){
  508. fKeLabel_B472("/root/main/KeepBcnoPrint/printinfo"); //B472
  509. }else{
  510. fKeLabel("/root/main/KeepBcnoPrint/printinfo");//보관검체 라벨 발행 - 출력 체크했을시
  511. }
  512. }
  513. model.removeNodeset("/root/main/KeepBcnoPrint");
  514. }
  515. ]]>
  516. </script>
  517. </xhtml:head>
  518. <xhtml:body pagewidth="620" pageheight="700" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  519. <group id="group4" style="left:0px; top:0px; width:580px; height:641px; ">
  520. <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:94px; height:14px; ">환자정보</caption>
  521. <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:280px; y2:25px; "/>
  522. <datagrid id="grd_spckeep" nodeset="/root/main/patinfo/spckeep" caption="접수일^From Date^To Date" colsep="^" colwidth="115, 80, 80" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:285px; top:30px; width:295px; height:94px; ">
  523. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  524. <col ref="fromdd" format="yyyy-mm-dd"/>
  525. <col ref="todd" format="yyyy-mm-dd"/>
  526. </datagrid>
  527. <caption id="caption3" class="tit_2" style="left:290px; top:10px; width:109px; height:13px; ">검체보관일</caption>
  528. <line id="line2" class="line_1" style="x1:285px; y1:25px; x2:580px; y2:25px; "/>
  529. <output id="opt_patnm" ref="/root/main/patinfo/info/patnm" class="output_fix" style="left:103px; top:55px; width:177px; height:19px; "/>
  530. <output id="opt_sexage" ref="/root/main/patinfo/info/sexage" class="output_fix" style="left:103px; top:79px; width:177px; height:19px; "/>
  531. <output id="opt_regno" ref="/root/main/patinfo/info/regno" class="output_fix" style="left:103px; top:103px; width:177px; height:19px; "/>
  532. <line id="line4" class="line_2" style="x1:0px; y1:76px; x2:280px; y2:76px; "/>
  533. <line id="line5" class="line_2" style="x1:0px; y1:100px; x2:280px; y2:100px; "/>
  534. <line id="line6" class="line_3" style="x1:0px; y1:321px; x2:280px; y2:321px; "/>
  535. <datagrid id="datagrid1" nodeset="/root/main/patinfo/rsltlist" caption="일자^ABO&amp;RH 결과" colsep="^" colwidth="120, 100" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:285px; top:128px; width:295px; height:94px; ">
  536. <col ref="dt" format="yyyy-mm-dd hh:nn:ss"/>
  537. <col ref="rslt"/>
  538. </datagrid>
  539. <caption id="caption8" class="cell_1" style="left:0px; top:126px; width:100px; height:88px; ">혈액형</caption>
  540. <caption id="caption9" class="tit_2" style="left:5px; top:225px; width:105px; height:13px; ">보관검체번호</caption>
  541. <line id="line9" class="line_1" style="x1:0px; y1:240px; x2:280px; y2:240px; "/>
  542. <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:280px; y2:52px; "/>
  543. <line id="line8" class="line_3" style="x1:285px; y1:321px; x2:580px; y2:321px; "/>
  544. <caption id="caption2" class="cell_1" style="left:0px; top:54px; width:100px; height:23px; ">환자명</caption>
  545. <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; ">등록번호</caption>
  546. <input id="ipt_pid" ref="/root/hidden/pid" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:103px; top:31px; width:117px; height:19px; ">
  547. <script type="javascript" ev:event="onbuttonclick">
  548. <![CDATA[
  549. fExeKeepSpc();
  550. ]]>
  551. </script>
  552. </input>
  553. <output id="opt_keepno" ref="/root/main/patinfo/spckeep/bggc" class="font_b" style="left:0px; top:245px; width:280px; height:75px; font-size:36; font-weight:bold; color:#ff0000; "/>
  554. <button id="btn_excel" class="btn2_letter9" style="left:161px; top:220px; width:119px; height:19px; ">
  555. <caption>혈액형별 끝번호설정</caption>
  556. <script type="javascript" ev:event="DOMActivate">
  557. <![CDATA[
  558. // 팝업띄워서 시작버튼 설정하기
  559. fExekeepNoUpdateOpen();
  560. ]]>
  561. </script>
  562. </button>
  563. <caption id="caption1" class="tit_2" style="left:5px; top:342px; width:157px; height:13px; ">혈액형별 보관검체 조회</caption>
  564. <line id="line10" class="line_1" style="x1:0px; y1:357px; x2:580px; y2:357px; "/>
  565. <button id="button3" class="btn2_letter2" visibility="hidden" style="left:400px; top:335px; width:42px; height:19px; ">
  566. <caption>저장</caption>
  567. <script type="javascript" ev:event="DOMActivate">
  568. <![CDATA[
  569. //fExeExcel(grd_tnslist);
  570. ]]>
  571. </script>
  572. </button>
  573. <case id="case4" selected="true"/>
  574. <button id="btn_a" class="btn_sw" disabled="true" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:365px; width:70px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  575. <caption>A형</caption>
  576. <script type="javascript" ev:event="DOMActivate">
  577. <![CDATA[
  578. fGetKeepSpc("A");
  579. ]]>
  580. </script>
  581. </button>
  582. <button id="btn_b" class="btn_sw" disabled="true" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:70px; top:365px; width:70px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  583. <caption>B형</caption>
  584. <script type="javascript" ev:event="DOMActivate">
  585. <![CDATA[
  586. fGetKeepSpc("B");
  587. ]]>
  588. </script>
  589. </button>
  590. <button id="btn_o" class="btn_sw" disabled="true" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:140px; top:365px; width:70px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  591. <caption>O형</caption>
  592. <script type="javascript" ev:event="DOMActivate">
  593. <![CDATA[
  594. fGetKeepSpc("O");
  595. ]]>
  596. </script>
  597. </button>
  598. <button id="btn_ab" class="btn_sw" disabled="true" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:210px; top:365px; width:70px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  599. <caption>AB형</caption>
  600. <script type="javascript" ev:event="DOMActivate">
  601. <![CDATA[
  602. fGetKeepSpc("AB");
  603. ]]>
  604. </script>
  605. </button>
  606. <button id="btn_e" class="btn_sw" disabled="true" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:280px; top:365px; width:85px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  607. <caption>이형혈액형</caption>
  608. <script type="javascript" ev:event="DOMActivate">
  609. <![CDATA[
  610. fGetKeepSpc("DIFF");
  611. ]]>
  612. </script>
  613. </button>
  614. <button id="button9" class="btn2_letter5" style="left:205px; top:193px; width:75px; height:19px; ">
  615. <caption>임시혈액형</caption>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. fSetTempBloodType();
  619. ]]>
  620. </script>
  621. </button>
  622. <group id="grp_temp" visibility="hidden" style="left:285px; top:30px; width:285px; height:160px; border-color:#fec34d; border-width:2; border-style:solid; ">
  623. <select1 id="radio1" ref="/root/hidden/temp/abo" appearance="full" cellspacing="16" cols="4" overflow="visible" style="left:65px; top:83px; width:175px; height:15px; border-style:none; ">
  624. <choices>
  625. <item>
  626. <label>A</label>
  627. <value>A</value>
  628. </item>
  629. <item>
  630. <label>B</label>
  631. <value>B</value>
  632. </item>
  633. <item>
  634. <label>O</label>
  635. <value>O</value>
  636. </item>
  637. <item>
  638. <label>AB</label>
  639. <value>AB</value>
  640. </item>
  641. </choices>
  642. </select1>
  643. <select1 id="radio2" ref="/root/hidden/temp/rh" appearance="full" cellspacing="46" cols="2" overflow="visible" style="left:65px; top:108px; width:169px; height:15px; border-style:none; ">
  644. <choices>
  645. <item>
  646. <label>RH+</label>
  647. <value>+</value>
  648. </item>
  649. <item>
  650. <label>RH-</label>
  651. <value>-</value>
  652. </item>
  653. </choices>
  654. </select1>
  655. <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:118px; height:14px; ">임시 혈액형 등록</caption>
  656. <line id="line11" class="line_1" style="x1:0px; y1:25px; x2:280px; y2:25px; "/>
  657. <caption id="caption6" class="cell_1" style="left:0px; top:81px; width:60px; height:23px; ">혈액형</caption>
  658. <caption id="caption10" class="cell_1" style="left:0px; top:107px; width:60px; height:23px; ">혈액형</caption>
  659. <line id="line12" class="line_3" style="x1:0px; y1:129px; x2:280px; y2:129px; "/>
  660. <button id="button10" class="btn2_letter2" style="left:193px; top:131px; width:42px; height:19px; ">
  661. <caption>등록</caption>
  662. <script type="javascript" ev:event="DOMActivate">
  663. <![CDATA[
  664. fSetTempBlood();
  665. ]]>
  666. </script>
  667. </button>
  668. <button id="button11" class="btn2_letter2" style="left:238px; top:131px; width:42px; height:19px; ">
  669. <caption>닫기</caption>
  670. <script type="javascript" ev:event="DOMActivate">
  671. <![CDATA[
  672. model.setValue("/root/hidden/temp/pid" , "");
  673. model.setValue("/root/hidden/temp/info" , "");
  674. model.refresh();
  675. fSetTempClose();
  676. ]]>
  677. </script>
  678. </button>
  679. <line id="line13" class="line_2" style="x1:0px; y1:54px; x2:280px; y2:54px; "/>
  680. <caption id="caption13" class="cell_1" style="left:0px; top:30px; width:60px; height:23px; ">등록번호</caption>
  681. <line id="line14" class="line_2" style="x1:0px; y1:105px; x2:280px; y2:105px; "/>
  682. <line id="line15" class="line_2" style="x1:0px; y1:79px; x2:280px; y2:79px; "/>
  683. <caption id="caption14" class="cell_1" style="left:0px; top:56px; width:60px; height:22px; ">환자정보</caption>
  684. <output id="output1" ref="/root/hidden/temp/info" class="output_fix" style="left:63px; top:58px; width:210px; height:19px; "/>
  685. <input id="ipt_pid2" ref="/root/hidden/temp/pid" class="input_button" inputtype="button" appearance="input" style="left:63px; top:31px; width:212px; height:19px; ">
  686. <script type="javascript" ev:event="onbuttonclick">
  687. <![CDATA[
  688. fSetTempInfo();
  689. ]]>
  690. </script>
  691. </input>
  692. </group>
  693. <caption id="opt_abo" ref="/root/main/patinfo/info/btype" class="font_ab" style="left:103px; top:126px; width:177px; height:75px; font-size:36pt; word-wrap:word; "/>
  694. <button id="button5" class="btn2_letter2" style="left:538px; top:367px; width:42px; height:19px; ">
  695. <caption>삭제</caption>
  696. <script type="javascript" ev:event="DOMActivate">
  697. <![CDATA[
  698. fDelKeepSpc();
  699. ]]>
  700. </script>
  701. </button>
  702. <select id="chk_printflag" ref="/root/hidden/printflag" overflow="visible" appearance="full" style="left:235px; top:32px; width:45px; height:22px; border-style:none; ">
  703. <choices>
  704. <item>
  705. <label>출력</label>
  706. <value>1</value>
  707. </item>
  708. </choices>
  709. </select>
  710. <button id="button26" class="btn3_letter5" style="left:485px; top:3px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn3_letter5.gif; ">
  711. <caption>프린터설정</caption>
  712. <script type="javascript" ev:event="DOMActivate">
  713. <![CDATA[
  714. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  715. if(count == 0) {
  716. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  717. }
  718. modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  719. //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","SPLLC90100_바코드프린터설정", "width:340px; height:180;min:hidden;max:hidden;align:center");
  720. ]]>
  721. </script>
  722. </button>
  723. <!--<object id="CommAX" visibility="hidden" clsid="{35cc9cfa-e6f8-4b22-b6d2-fe7cd108f943}" style="left:45px; top:165px; width:45px; height:45px; "/>-->
  724. <input id="ipt_kspcno" ref="/root/hidden/kspcno" visibility="hidden" inputtype="button" style="left:282px; top:335px; width:100px; height:19px; ">
  725. <script type="javascript" ev:event="onbuttonclick">
  726. <![CDATA[
  727. model.setvalue("/root/hidden/kspcno", ipt_kspcno.currentText.toUpperCase());
  728. fGetKeepSpc("S");
  729. ipt_kspcno.selBegin = 0;
  730. ipt_kspcno.selEnd = ipt_kspcno.currentText.length;
  731. ]]>
  732. </script>
  733. </input>
  734. <caption id="caption127" class="search_name" visibility="hidden" style="left:162px; top:336px; width:115px; height:17px; ">보관검체번호 :</caption>
  735. <datagrid id="datagrid2" nodeset="/root/main/patinfo/rsltlistab" caption="일자^Ab 결과" colsep="^" colwidth="120, 100" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:285px; top:226px; width:295px; height:94px; ">
  736. <col ref="dt" format="yyyy-mm-dd hh:nn:ss"/>
  737. <col ref="rslt"/>
  738. </datagrid>
  739. <line id="line16" class="line_2" style="x1:0px; y1:124px; x2:280px; y2:124px; "/>
  740. <line id="line17" class="line_3" style="x1:0px; y1:213px; x2:280px; y2:213px; "/>
  741. <caption id="caption4" class="cell_1" style="left:0px; top:78px; width:100px; height:23px; ">Sex/Age</caption>
  742. <caption id="caption7" class="cell_1" style="left:0px; top:102px; width:100px; height:23px; ">주민등록번호</caption>
  743. <group id="grp_keep" visibility="hidden" style="left:285px; top:192px; width:285px; height:165px; border-color:#fec34d; border-width:2px; border-style:solid; ">
  744. <line id="line18" class="line_1" style="x1:0px; y1:20px; x2:280px; y2:20px; "/>
  745. <caption id="caption15" class="tit_2" style="left:5px; top:5px; width:148px; height:13px; ">보관검체 끝번호 설정</caption>
  746. <button id="button2" class="btn2_letter2" style="left:238px; top:0px; width:42px; height:19px; ">
  747. <caption>닫기</caption>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. grp_keep.visible = false;
  751. ]]>
  752. </script>
  753. </button>
  754. <caption id="caption16" class="cell_1" style="left:0px; top:25px; width:70px; height:23px; ">A형</caption>
  755. <input id="ipt_endnoA" ref="/root/main/keependno/endnoA" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:72px; top:26px; width:163px; height:19px; "/>
  756. <button id="button7" class="btn2_letter2" style="left:238px; top:26px; width:42px; height:19px; ">
  757. <caption>저장</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. fSetBGGCendNo("A");
  761. ]]>
  762. </script>
  763. </button>
  764. <line id="line19" class="line_2" style="x1:0px; y1:49px; x2:280px; y2:49px; "/>
  765. <caption id="caption18" class="cell_1" style="left:0px; top:51px; width:70px; height:23px; ">B형</caption>
  766. <input id="input2" ref="/root/main/keependno/endnoB" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:72px; top:53px; width:163px; height:19px; "/>
  767. <button id="ipt_endnoB" class="btn2_letter2" style="left:238px; top:53px; width:42px; height:19px; ">
  768. <caption>저장</caption>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. fSetBGGCendNo("B");
  772. ]]>
  773. </script>
  774. </button>
  775. <line id="line20" class="line_2" style="x1:0px; y1:75px; x2:280px; y2:75px; "/>
  776. <caption id="caption19" class="cell_1" style="left:0px; top:77px; width:70px; height:23px; ">O형</caption>
  777. <input id="ipt_endnoO" ref="/root/main/keependno/endnoO" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:72px; top:78px; width:163px; height:19px; "/>
  778. <button id="button8" class="btn2_letter2" style="left:238px; top:78px; width:42px; height:19px; ">
  779. <caption>저장</caption>
  780. <script type="javascript" ev:event="DOMActivate">
  781. <![CDATA[
  782. fSetBGGCendNo("O");
  783. ]]>
  784. </script>
  785. </button>
  786. <line id="line21" class="line_2" style="x1:0px; y1:101px; x2:280px; y2:101px; "/>
  787. <caption id="caption20" class="cell_1" style="left:0px; top:103px; width:70px; height:23px; ">AB형</caption>
  788. <input id="ipt_endnoAB" ref="/root/main/keependno/endnoAB" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:72px; top:104px; width:163px; height:19px; "/>
  789. <button id="button12" class="btn2_letter2" style="left:238px; top:104px; width:42px; height:19px; ">
  790. <caption>저장</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. fSetBGGCendNo("AB");
  794. ]]>
  795. </script>
  796. </button>
  797. <line id="line22" class="line_2" style="x1:0px; y1:127px; x2:280px; y2:127px; "/>
  798. <caption id="caption21" class="cell_1" style="left:0px; top:129px; width:70px; height:23px; ">이형혈액형</caption>
  799. <input id="ipt_endnoE" ref="/root/main/keependno/endnoE" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:72px; top:130px; width:163px; height:19px; "/>
  800. <button id="button13" class="btn2_letter2" style="left:238px; top:130px; width:42px; height:19px; ">
  801. <caption>저장</caption>
  802. <script type="javascript" ev:event="DOMActivate">
  803. <![CDATA[
  804. fSetBGGCendNo("E");
  805. ]]>
  806. </script>
  807. </button>
  808. <line id="line23" class="line_3" style="x1:0px; y1:153px; x2:280px; y2:153px; "/>
  809. </group>
  810. <input id="ipt_pidsearch" ref="/root/hidden/pidsearch" inputtype="button" style="left:446px; top:366px; width:80px; height:19px; ">
  811. <script type="javascript" ev:event="onbuttonclick">
  812. <![CDATA[
  813. fGetKeepSpc("pid");
  814. ]]>
  815. </script>
  816. </input>
  817. <caption id="caption17" class="cell_1" style="left:384px; top:365px; width:60px; height:23px; ">등록번호</caption>
  818. <datagrid id="grd_keepspc" nodeset="/root/main/getkeepspc" caption="보검번호^성명^등록번호^접수일^FROM^TO DATE^QNS^용혈^부적합&#xA;검체^bcno^keepspcno^등록자^rgstid" colsep="^" colwidth="85, 60, 65, 115, 75, 75, 35, 42, 54, 0, 0, 60, 0" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:387px; width:580px; height:253px; text-align:center; ">
  819. <col ref="spcno"/>
  820. <col ref="patnm"/>
  821. <col ref="pid"/>
  822. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  823. <col ref="fromdt" format="yyyy-mm-dd"/>
  824. <col ref="todt" format="yyyy-mm-dd"/>
  825. <col ref="qns" type="checkbox"/>
  826. <col ref="hemolysis" type="checkbox"/>
  827. <col checkvalue="true,false" ref="bggcyn" type="checkbox"/>
  828. <col ref="bcno"/>
  829. <col ref="keepspcno"/>
  830. <col ref="rgstnm"/>
  831. <col ref="rgstid"/>
  832. <script type="javascript" ev:event="xforms-value-changed">
  833. <![CDATA[
  834. //fSet();
  835. if(grd_keepspc.isCell(event.target) && grd_keepspc.row >= grd_keepspc.fixedRows){
  836. if(grd_keepspc.col == grd_keepspc.colRef("qns")){
  837. // QNS 선택시 부적합검체등록되게
  838. fSetQns("Q");
  839. }else if(grd_keepspc.col == grd_keepspc.colRef("hemolysis")){
  840. // Hemolysis 선택시 부적합검체등록되게
  841. fSetQns("H");
  842. }else if(grd_keepspc.col == grd_keepspc.colRef("bggcyn")){
  843. // 부적합검체 선택시 부적합검체등록되게
  844. fSetQns("B");
  845. }
  846. }
  847. ]]>
  848. </script>
  849. <script type="javascript" ev:event="onaftersort">
  850. <![CDATA[
  851. grd_keepspc.gridToInstance();
  852. ]]>
  853. </script>
  854. </datagrid>
  855. <input id="ipt_rgstid" ref="/root/hidden/ref/rgstid" class="input_button" inputtype="button" appearance="input" style="left:135px; top:5px; width:80px; height:19px; "/>
  856. <output id="output2" ref="/root/hidden/ref/getuserAnm/acceptnm" class="output_search" appearance="output" style="left:216px; top:5px; width:62px; height:19px; "/>
  857. <caption id="caption22" class="cell_1" style="left:82px; top:2px; width:50px; height:23px; ">등록자</caption>
  858. <input id="ipt_enddt" ref="/root/hidden/edd" class="input_search" inputtype="date" style="left:214px; top:367px; width:90px; height:19px; "/>
  859. <caption id="caption23" class="search_name" style="left:9px; top:368px; width:104px; height:17px; ">보관일자 :</caption>
  860. <caption id="caption24" style="left:199px; top:369px; width:15px; height:20px; ">~</caption>
  861. <input id="ipt_startdt" ref="/root/hidden/sdd" class="input_search" inputtype="date" style="left:104px; top:367px; width:90px; height:19px; "/>
  862. <button id="button1" class="btn1_letter2" style="left:310px; top:365px; width:56px; height:22px; ">
  863. <caption>조회</caption>
  864. <script type="javascript" ev:event="DOMActivate">
  865. <![CDATA[
  866. fGetKeepSpc();
  867. ]]>
  868. </script>
  869. </button>
  870. </group>
  871. <group id="group1" style="left:0px; top:641px; width:580px; height:27px; ">
  872. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:580px; y2:0px; "/>
  873. <button id="button4" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  874. <caption>닫기</caption>
  875. <script type="javascript" ev:event="DOMActivate">
  876. <![CDATA[
  877. window.close();
  878. ]]>
  879. </script>
  880. </button>
  881. <button id="button6" class="btn4_letter3" style="left:454px; top:5px; width:68px; height:22px; ">
  882. <caption>재출력</caption>
  883. <script type="javascript" ev:event="DOMActivate">
  884. <![CDATA[
  885. fSetReprint();
  886. ]]>
  887. </script>
  888. </button>
  889. </group>
  890. <script type="javascript" ev:event="onkeypress">
  891. <![CDATA[
  892. fKeyEvent();
  893. ]]>
  894. </script>
  895. <group id="Group_idChk" style="left:150px; top:250px; width:280px; height:165px; background-color:#ff99cc; border-color:#5abaff; border-width:1px; border-style:solid; ">
  896. <caption id="caption25" style="left:19px; top:19px; width:249px; height:70px; font-size:18pt; font-weight:bold; ">등록자를 입력하세요</caption>
  897. <textarea id="ID_txt" overflow="hidden" style="left:34px; top:89px; width:195px; height:55px; font-size:22pt; ">
  898. <script type="javascript" ev:event="onkeypress">
  899. <![CDATA[
  900. if(event.keyCode == "13"){
  901. var I_txt = ID_txt.currentText;
  902. model.setValue("/root/hidden/ref/rgstid", (I_txt).toUpperCase());
  903. model.setValue("/root/hidden/ref/rgstid", model.getvalue("/root/hidden/ref/rgstid").replace("\n", ""));
  904. fGetUsernm();
  905. //ipt_rgstid.selBegin = 0;
  906. //ipt_rgstid.selEnd = ipt_rgstid.currentText.length;
  907. if(model.getValue("/root/hidden/ref/getuserAnm/acceptnm") == ""){
  908. }else{
  909. group4.disabled = false;
  910. Group_idChk.visible = false;
  911. ipt_rgstid.selBegin = 0;
  912. ipt_rgstid.selEnd = ipt_rgstid.currentText.length;
  913. model.setFocus("ipt_pid");
  914. }
  915. }
  916. ]]>
  917. </script>
  918. </textarea>
  919. <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; ">
  920. <caption>닫기</caption>
  921. <script type="javascript" ev:event="onclick">
  922. <![CDATA[
  923. Group_idChk.visible = false;
  924. ]]>
  925. </script>
  926. </button>
  927. </group>
  928. </xhtml:body>
  929. </xhtml:html>