SMMNI00700.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. 주사실 기타 처치등록 관리(SMMNI00700.xfm - JScript )
  3. - Version :
  4. 1) : Ver.1.00.01
  5. */
  6. /**
  7. * @group :
  8. * @ver : 2007.06.11
  9. * @by : 신혁춘
  10. * @---------------------------------------------------
  11. * @type : function
  12. * @access : public
  13. * @desc : 검색조건에 따른 이름 검색 리스트 검색.
  14. * @param :
  15. * @return :
  16. * @---------------------------------------------------
  17. */
  18. function fPatInfoList(){
  19. model.removeNodeset("/root/send");
  20. var pid = ipt_pid.value;
  21. var hngnm = ipt_hngnm.value;
  22. var brthdd = ipt_brthdd.value;
  23. var mpphontel = ipt_mpphontel.value;
  24. if(pid==""){
  25. pid = "0";
  26. }
  27. if(hngnm.length<2){
  28. if(hngnm.length==0){
  29. }else{
  30. messageBox("최소2자 이상", "C001");
  31. return;
  32. }
  33. }
  34. if(brthdd.length<6){
  35. if(brthdd.length==0){
  36. }else{
  37. messageBox("최소6자 이상", "C001");
  38. return;
  39. }
  40. }
  41. if(mpphontel.length<6){
  42. if(mpphontel.length==0){
  43. }else{
  44. messageBox("최소6자 이상", "C001");
  45. return;
  46. }
  47. }
  48. if(mpphontel.length==0 && brthdd.length==0 && hngnm.length==0 && pid == "0"){
  49. return;
  50. }
  51. model.makeValue("/root/send/pid",pid);
  52. model.makeValue("/root/send/hngnm",hngnm);
  53. model.makeValue("/root/send/brthdd",brthdd);
  54. model.makeValue("/root/send/mpphontel",mpphontel);
  55. if(submit("TRMNI00701")){
  56. }
  57. }