SPMMD02300_FIND사유.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>FIND사유</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <findaprvlist>
  11. <info>
  12. <resnflagno/>
  13. <resnno/>
  14. <detlno/>
  15. <detlnm/>
  16. </info>
  17. </findaprvlist>
  18. <condition>
  19. <prcpcd/>
  20. </condition>
  21. </main>
  22. <init/>
  23. <send/>
  24. <hidden>
  25. </hidden>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. finit();
  31. ]]>
  32. </script>
  33. <submission id="TRMMD02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/findaprvlist"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. function finit(){
  41. model.makeValue("/root/send/reqdata/prcpcd", model.getValue("/root/main/condition/prcpcd"));
  42. submit("TRMMD02301");
  43. }
  44. ]]>
  45. </script>
  46. </xhtml:head>
  47. <xhtml:body pagewidth="1116" pageheight="527">
  48. <group id="group2" scroll="auto" style="left:0px; top:0px; width:1100px; height:500px; ">
  49. <caption id="caption3" class="tit_2" style="left:5px; top:8px; width:196px; height:14px; ">FIND사유</caption>
  50. <line id="line7" class="line_1" style="x1:0px; y1:23px; x2:1100px; y2:23px; "/>
  51. <datagrid id="grd_findinfo" nodeset="/root/main/findaprvlist/info" caption="사유구분코드^사유번호^세부코드^사유내역" colsep="^" colwidth="0, 0, 0,1058" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:28px; width:1100px; height:469px; ">
  52. <col ref="resnflagno"/>
  53. <col ref="resnno"/>
  54. <col ref="detlno"/>
  55. <col ref="detlnm"/>
  56. <script type="javascript" ev:event="ondblclick">
  57. <![CDATA[
  58. /*opener.model.setValue("/root/hidden/getdata/cd", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlno"));
  59. opener.model.setValue("/root/hidden/getdata/nm", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlnm"));
  60. opener.model.setValue("/root/hidden/getdata/resnflagno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnflagno"));
  61. opener.model.setValue("/root/hidden/getdata/resnno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnno"));*/
  62. opener.model.makeValue("/root/hidden/getdata/cd", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlno"));
  63. opener.model.makeValue("/root/hidden/getdata/nm", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlnm"));
  64. opener.model.makeValue("/root/hidden/getdata/resnflagno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnflagno"));
  65. opener.model.makeValue("/root/hidden/getdata/resnno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnno"));
  66. window.close();
  67. ]]>
  68. </script>
  69. </datagrid>
  70. <line id="line13" class="line_3" style="x1:0px; y1:498px; x2:1097px; y2:498px; "/>
  71. </group>
  72. <group id="group6" style="left:0px; top:500px; width:1100px; height:27px; ">
  73. <button id="button1" class="btn4_letter2" style="left:1040px; top:3px; width:56px; height:22px; ">
  74. <caption>닫기</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. window.close();
  78. ]]>
  79. </script>
  80. </button>
  81. <button id="btn_confirm" class="btn4_letter2" style="left:983px; top:3px; width:56px; height:22px; ">
  82. <caption>확인</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. var iRow = grd_findinfo.row;
  86. if(iRow == null || iRow == "") {
  87. var msg = messageBox("처방을 ", "C002");
  88. return;
  89. } else{
  90. /*opener.model.setValue("/root/hidden/getdata/cd", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlno"));
  91. opener.model.setValue("/root/hidden/getdata/nm", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlnm"));
  92. opener.model.setValue("/root/hidden/getdata/resnflagno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnflagno"));
  93. opener.model.setValue("/root/hidden/getdata/resnno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnno"));*/
  94. opener.model.makeValue("/root/hidden/getdata/cd", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlno"));
  95. opener.model.makeValue("/root/hidden/getdata/nm", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/detlnm"));
  96. opener.model.makeValue("/root/hidden/getdata/resnflagno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnflagno"));
  97. opener.model.makeValue("/root/hidden/getdata/resnno", model.getValue("/root/main/findaprvlist/info[" + grd_findinfo.row + "]/resnno"));
  98. window.close();
  99. }
  100. ]]>
  101. </script>
  102. </button>
  103. </group>
  104. </xhtml:body>
  105. </xhtml:html>