SPMRI03700.js 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**
  2. * @desc : 초기화
  3. * @
  4. * @param :
  5. * @return :
  6. * @---------------------------------------------------
  7. */
  8. function fInitialize(){
  9. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  10. model.setValue("/root/main/cond/instcd", getUserInfo("dutplceinstcd"));
  11. model.refresh();
  12. }
  13. /**
  14. * @desc : 미비 확인
  15. * @
  16. * @param :
  17. * @return :
  18. * @---------------------------------------------------
  19. */
  20. function fCnfmBtn(){
  21. var sPid = model.getValue("/root/main/cond/pid");
  22. if(isNull(sPid)) {
  23. messageBox("등록번호가", "I004");
  24. return;
  25. }
  26. if (submit("TXMRI03701") == true){
  27. alert("미비 배치가 성공하였습니다. ");
  28. }
  29. else {
  30. alert("미비 배치가 실패하였습니다. 담당자에게 문의 바랍니다. ");
  31. }
  32. }
  33. /**
  34. * @desc : Close
  35. * @
  36. * @param :
  37. * @return :
  38. * @---------------------------------------------------
  39. */
  40. function fClose(){
  41. model.close();
  42. }