SMMMO00300.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  3. 처방조회 ( SMMMO00300_처방조회.xrw - JScript )
  4. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  5. */
  6. /**
  7. * @desc : 처방조회 초기화
  8. * @
  9. * @param :
  10. * @return :
  11. * @author : 오지훈
  12. * @---------------------------------------------------
  13. */
  14. function fInitialize_SMMMO00300(){
  15. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  16. model.setValue("/root/main/cond/todd" , getCurrentDate());
  17. grd_patprcphistlist.mergeCells = "bycol";
  18. grd_patprcphistlist.mergeCol(grd_patprcphistlist.colRef("prcpdt")) = true;
  19. grd_patprcphistlist.mergeCol(grd_patprcphistlist.colRef("prcpkindnm")) = true;
  20. grd_patprcphistlist.mergeCol(grd_patprcphistlist.colRef("prcpinfo")) = false;
  21. grd_patprcphistlist.mergeCol(grd_patprcphistlist.colRef("prcpdetlinfo")) = false;
  22. model.removeNodeset("/root/main/patprcphistlist/patprcphistlist");
  23. model.refresh();
  24. }
  25. /**
  26. * @desc : 환자처방이력 조회
  27. * @
  28. * @param :
  29. * @return :
  30. * @author : 오지훈
  31. * @---------------------------------------------------
  32. */
  33. function fReqPatPrcpHistList(){
  34. model.removeNodeset("/root/send/reqdata");
  35. model.makeNode("/root/send/reqdata");
  36. model.copyNode("/root/send/reqdata", "/root/main/cond");
  37. submit("TRMMO00301");
  38. }