SPADB60900_용매선택.xrw 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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>용매선택</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reconlist>
  11. <item>
  12. <chk>false</chk>
  13. <solvcd>IW</solvcd>
  14. <solvnm>주사용 증류수</solvnm>
  15. </item>
  16. <item>
  17. <chk>false</chk>
  18. <solvcd>NS</solvcd>
  19. <solvnm>NS</solvnm>
  20. </item>
  21. <item>
  22. <chk>false</chk>
  23. <solvcd>DW</solvcd>
  24. <solvnm>DW</solvnm>
  25. </item>
  26. <item>
  27. <chk>false</chk>
  28. <solvcd>기타</solvcd>
  29. <solvnm/>
  30. </item>
  31. </reconlist>
  32. <dilulist>
  33. <item>
  34. <chk>false</chk>
  35. <solvcd>NS</solvcd>
  36. <solvnm>NS</solvnm>
  37. </item>
  38. <item>
  39. <chk>false</chk>
  40. <solvcd>DW</solvcd>
  41. <solvnm>DW</solvnm>
  42. </item>
  43. <item>
  44. <chk>false</chk>
  45. <solvcd>기타</solvcd>
  46. <solvnm/>
  47. </item>
  48. </dilulist>
  49. </main>
  50. <send/>
  51. <init/>
  52. <hidden/>
  53. </root>
  54. </instance>
  55. </model>
  56. </xhtml:head>
  57. <xhtml:body guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:306px; ">
  59. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:95px; height:13px; ">용매선택</caption>
  60. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:500px; y2:26px; "/>
  61. <datagrid id="datagrid1" nodeset="/root/main/reconlist/item" caption="선택^용매^용매" colsep="^" colwidth="53, 43, 149" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:55px; width:250px; height:251px; ">
  62. <col ref="chk" type="checkbox"/>
  63. <col ref="solvcd"/>
  64. <col ref="solvnm" type="input"/>
  65. </datagrid>
  66. <datagrid id="datagrid2" nodeset="/root/main/dilulist/item" caption="선택^용매^용매" colsep="^" colwidth="53, 43, 149" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:250px; top:55px; width:250px; height:251px; ">
  67. <col ref="chk" type="checkbox"/>
  68. <col ref="solvcd"/>
  69. <col ref="solvnm" type="input"/>
  70. </datagrid>
  71. <caption id="caption37" class="cell_1" style="left:0px; top:30px; width:248px; height:23px; vertical-align:middle; ">재구성</caption>
  72. <caption id="caption2" class="cell_1" style="left:250px; top:30px; width:248px; height:23px; vertical-align:middle; ">희석</caption>
  73. </group>
  74. <group id="grp_btn" scroll="auto" style="left:0px; top:306px; width:501px; height:27px; ">
  75. <button id="btn_cls" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
  76. <caption>닫기</caption>
  77. <close ev:event="DOMActivate"/>
  78. </button>
  79. <button id="btn_cfm" class="btn4_letter2" style="left:385px; top:5px; width:56px; height:22px; ">
  80. <caption>확인</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. var MixTxt="";
  84. var MixTxt2="";
  85. if (model.getValue("/root/main/reconlist/item[1]/chk")=="true"){
  86. MixTxt=MixTxt+model.getValue("/root/main/reconlist/item[1]/solvnm")+" ";
  87. }
  88. if (model.getValue("/root/main/reconlist/item[2]/chk")=="true"){
  89. MixTxt=MixTxt+model.getValue("/root/main/reconlist/item[2]/solvnm")+" ";
  90. }
  91. if (model.getValue("/root/main/reconlist/item[3]/chk")=="true"){
  92. MixTxt=MixTxt+model.getValue("/root/main/reconlist/item[3]/solvnm");
  93. }
  94. if (model.getValue("/root/main/dilulist/item[1]/chk")=="true"){
  95. MixTxt2=MixTxt2+model.getValue("/root/main/dilulist/item[1]/solvnm")+" ";
  96. }
  97. if (model.getValue("/root/main/dilulist/item[2]/chk")=="true"){
  98. MixTxt2=MixTxt2+model.getValue("/root/main/dilulist/item[2]/solvnm")+" ";
  99. }
  100. if (model.getValue("/root/main/dilulist/item[3]/chk")=="true"){
  101. MixTxt2=MixTxt2+model.getValue("/root/main/dilulist/item[3]/solvnm");
  102. }
  103. opener.model.setValue("/root/main/baseinfo/druginfo/reconsolv", MixTxt);
  104. opener.model.setValue("/root/main/baseinfo/druginfo/dilusolv", MixTxt2);
  105. window.close();
  106. ]]>
  107. </script>
  108. </button>
  109. </group>
  110. </xhtml:body>
  111. </xhtml:html>