SMLNP00300_일계표(핵의학).xrw 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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. <daysumrept/>
  11. <detail>
  12. <wlnlist/>
  13. <delivelist/>
  14. <mngtlist/>
  15. </detail>
  16. <testgrupdetl>
  17. <chk/>
  18. <tclsnm/>
  19. <tclscd/>
  20. </testgrupdetl>
  21. </main>
  22. <send>
  23. <srchdd/>
  24. <tempym/>
  25. <srchbdioflag/>
  26. <srchym/>
  27. <globalinstance>
  28. <instance1/>
  29. </globalinstance>
  30. <wlnlist/>
  31. <delivelist/>
  32. <mngtlist/>
  33. <divgrupcd/>
  34. <codeflag/>
  35. <tclscd/>
  36. <srchcnfmid/>
  37. <srchcnfmnm/>
  38. </send>
  39. <tmp>
  40. <tmpym/>
  41. <divgrupcd>00</divgrupcd>
  42. <tclscd/>
  43. <divgrupnmlist>
  44. <divgrupcd/>
  45. <tclscd/>
  46. <tclsnm/>
  47. <spccd/>
  48. <instcd/>
  49. </divgrupnmlist>
  50. <getGbn>1</getGbn>
  51. </tmp>
  52. <hidden>
  53. <ref>
  54. <tclscdlist>
  55. <tclsnmlist/>
  56. <tclscdlist/>
  57. <tclscdlist2/>
  58. <testgrup/>
  59. <tclsnmlist2/>
  60. </tclscdlist>
  61. </ref>
  62. <Rex/>
  63. <cnfm>
  64. <nm/>
  65. <dt/>
  66. </cnfm>
  67. </hidden>
  68. <cnfm>
  69. <cnfminfo>
  70. <cnfmid/>
  71. <cnfmnm/>
  72. </cnfminfo>
  73. </cnfm>
  74. </root>
  75. </instance>
  76. <submission id="TRLNP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/daysumrept"/>
  77. <submission id="TRAEQ01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detail"/>
  78. <submission id="TXAEQ01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  79. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  80. <script type="javascript" ev:event="xforms-ready">
  81. <![CDATA[
  82. aezfSetSuppDeptcd();
  83. var toDay = getCurrentDate();
  84. //alert(toDay);
  85. var toDays = toDay.substr(0,6)
  86. model.setValue("/root/send/srchbdioflag","O");
  87. model.setValue("/root/send/srchym", toDays);
  88. input3.attribute("format") = "yyyy-mm";
  89. model.setValue("/root/send/codeflag","0116|0000|0103|0125|");
  90. submit("TRLZZ00101");
  91. model.setValue("/root/hidden/cnfm/nm", model.getValue("/root/init/LB0125/nm"));
  92. model.setValue("/root/hidden/cnfm/dt", model.getValue("/root/init/LB0125/cd"));
  93. model.refresh();
  94. ]]>
  95. </script>
  96. <submission id="TRLNP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detail"/>
  97. <submission id="TRLNP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/tmp/divgrupnmlist"/>
  98. <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0210"/>
  99. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0116"/>
  100. <submission id="TRAEQ00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/cnfm/cnfminfo"/>
  101. <submission id="TXLNP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  102. </model>
  103. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  106. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  107. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  109. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  110. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  111. <script type="javascript">
  112. <![CDATA[
  113. function fSelectTestGrup(){
  114. model.removeNodeset("/root/main/detail/wlnlist");
  115. model.removeNodeset("/root/main/detail/delivelist");
  116. model.removeNodeset("/root/main/detail/mngtlist");
  117. model.makeValue("/root/send/testgrupnm", combo1.label);
  118. submit("TRLLF90401" ,false);
  119. fSetPopUpTclscdList();
  120. }
  121. function fSetPopUpTclscdList(){
  122. var count = getNodesetCount("/root/main/testgrupdetl")
  123. if(count > 0){
  124. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  125. var sendtclsnm2 = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  126. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  127. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  128. // 검사그룹 상세 목록 없을때
  129. if(sendtclsnm == ""){
  130. model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
  131. model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
  132. }else{ // 검사그룹 상세 목록 있을때
  133. for(i=2; i<= count; i++){
  134. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  135. sendtclsnm2 = sendtclsnm2 + "▦ " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  136. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  137. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  138. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  139. }
  140. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  141. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  142. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  143. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist2", sendtclsnm2);
  144. }
  145. model.refresh();
  146. }
  147. model.setValue("/root/send/tclscd", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  148. }
  149. function fSetInit(flag) {
  150. if(flag != 2) {
  151. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  152. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  153. }
  154. model.refresh();
  155. }
  156. function fPrintRex(){
  157. model.removeNodeset("/root/hidden/Rex");
  158. var row = 1;
  159. for(i = 1 ; i < datagrid1.rows ; i++){
  160. if(i%4 == 1){
  161. model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  162. model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  163. model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  164. model.makeValue("/root/hidden/Rex["+row+"]/d00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
  165. model.makeValue("/root/hidden/Rex["+row+"]/d01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
  166. model.makeValue("/root/hidden/Rex["+row+"]/d02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
  167. model.makeValue("/root/hidden/Rex["+row+"]/d03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
  168. model.makeValue("/root/hidden/Rex["+row+"]/d04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
  169. model.makeValue("/root/hidden/Rex["+row+"]/d05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
  170. model.makeValue("/root/hidden/Rex["+row+"]/d06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
  171. model.makeValue("/root/hidden/Rex["+row+"]/d07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
  172. model.makeValue("/root/hidden/Rex["+row+"]/d08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
  173. model.makeValue("/root/hidden/Rex["+row+"]/d09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
  174. model.makeValue("/root/hidden/Rex["+row+"]/d10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
  175. model.makeValue("/root/hidden/Rex["+row+"]/d11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
  176. model.makeValue("/root/hidden/Rex["+row+"]/d12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
  177. model.makeValue("/root/hidden/Rex["+row+"]/d13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
  178. model.makeValue("/root/hidden/Rex["+row+"]/d14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
  179. model.makeValue("/root/hidden/Rex["+row+"]/d15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
  180. model.makeValue("/root/hidden/Rex["+row+"]/d16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
  181. model.makeValue("/root/hidden/Rex["+row+"]/d17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
  182. model.makeValue("/root/hidden/Rex["+row+"]/d18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
  183. model.makeValue("/root/hidden/Rex["+row+"]/d19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
  184. model.makeValue("/root/hidden/Rex["+row+"]/d20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
  185. model.makeValue("/root/hidden/Rex["+row+"]/d21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
  186. model.makeValue("/root/hidden/Rex["+row+"]/d22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
  187. model.makeValue("/root/hidden/Rex["+row+"]/d23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
  188. model.makeValue("/root/hidden/Rex["+row+"]/d24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
  189. model.makeValue("/root/hidden/Rex["+row+"]/d25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
  190. model.makeValue("/root/hidden/Rex["+row+"]/d26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
  191. model.makeValue("/root/hidden/Rex["+row+"]/d27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
  192. model.makeValue("/root/hidden/Rex["+row+"]/d28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
  193. model.makeValue("/root/hidden/Rex["+row+"]/d29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
  194. model.makeValue("/root/hidden/Rex["+row+"]/d30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
  195. model.makeValue("/root/hidden/Rex["+row+"]/d31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
  196. model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  197. model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  198. }else if(i%4 == 2){
  199. model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  200. model.makeValue("/root/hidden/Rex["+row+"]/e00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
  201. model.makeValue("/root/hidden/Rex["+row+"]/e01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
  202. model.makeValue("/root/hidden/Rex["+row+"]/e02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
  203. model.makeValue("/root/hidden/Rex["+row+"]/e03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
  204. model.makeValue("/root/hidden/Rex["+row+"]/e04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
  205. model.makeValue("/root/hidden/Rex["+row+"]/e05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
  206. model.makeValue("/root/hidden/Rex["+row+"]/e06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
  207. model.makeValue("/root/hidden/Rex["+row+"]/e07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
  208. model.makeValue("/root/hidden/Rex["+row+"]/e08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
  209. model.makeValue("/root/hidden/Rex["+row+"]/e09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
  210. model.makeValue("/root/hidden/Rex["+row+"]/e10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
  211. model.makeValue("/root/hidden/Rex["+row+"]/e11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
  212. model.makeValue("/root/hidden/Rex["+row+"]/e12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
  213. model.makeValue("/root/hidden/Rex["+row+"]/e13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
  214. model.makeValue("/root/hidden/Rex["+row+"]/e14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
  215. model.makeValue("/root/hidden/Rex["+row+"]/e15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
  216. model.makeValue("/root/hidden/Rex["+row+"]/e16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
  217. model.makeValue("/root/hidden/Rex["+row+"]/e17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
  218. model.makeValue("/root/hidden/Rex["+row+"]/e18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
  219. model.makeValue("/root/hidden/Rex["+row+"]/e19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
  220. model.makeValue("/root/hidden/Rex["+row+"]/e20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
  221. model.makeValue("/root/hidden/Rex["+row+"]/e21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
  222. model.makeValue("/root/hidden/Rex["+row+"]/e22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
  223. model.makeValue("/root/hidden/Rex["+row+"]/e23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
  224. model.makeValue("/root/hidden/Rex["+row+"]/e24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
  225. model.makeValue("/root/hidden/Rex["+row+"]/e25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
  226. model.makeValue("/root/hidden/Rex["+row+"]/e26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
  227. model.makeValue("/root/hidden/Rex["+row+"]/e27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
  228. model.makeValue("/root/hidden/Rex["+row+"]/e28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
  229. model.makeValue("/root/hidden/Rex["+row+"]/e29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
  230. model.makeValue("/root/hidden/Rex["+row+"]/e30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
  231. model.makeValue("/root/hidden/Rex["+row+"]/e31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
  232. model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  233. model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  234. }else if(i%4 == 3){
  235. model.makeValue("/root/hidden/Rex["+row+"]/mioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  236. model.makeValue("/root/hidden/Rex["+row+"]/m00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
  237. model.makeValue("/root/hidden/Rex["+row+"]/m01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
  238. model.makeValue("/root/hidden/Rex["+row+"]/m02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
  239. model.makeValue("/root/hidden/Rex["+row+"]/m03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
  240. model.makeValue("/root/hidden/Rex["+row+"]/m04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
  241. model.makeValue("/root/hidden/Rex["+row+"]/m05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
  242. model.makeValue("/root/hidden/Rex["+row+"]/m06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
  243. model.makeValue("/root/hidden/Rex["+row+"]/m07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
  244. model.makeValue("/root/hidden/Rex["+row+"]/m08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
  245. model.makeValue("/root/hidden/Rex["+row+"]/m09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
  246. model.makeValue("/root/hidden/Rex["+row+"]/m10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
  247. model.makeValue("/root/hidden/Rex["+row+"]/m11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
  248. model.makeValue("/root/hidden/Rex["+row+"]/m12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
  249. model.makeValue("/root/hidden/Rex["+row+"]/m13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
  250. model.makeValue("/root/hidden/Rex["+row+"]/m14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
  251. model.makeValue("/root/hidden/Rex["+row+"]/m15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
  252. model.makeValue("/root/hidden/Rex["+row+"]/m16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
  253. model.makeValue("/root/hidden/Rex["+row+"]/m17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
  254. model.makeValue("/root/hidden/Rex["+row+"]/m18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
  255. model.makeValue("/root/hidden/Rex["+row+"]/m19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
  256. model.makeValue("/root/hidden/Rex["+row+"]/m20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
  257. model.makeValue("/root/hidden/Rex["+row+"]/m21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
  258. model.makeValue("/root/hidden/Rex["+row+"]/m22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
  259. model.makeValue("/root/hidden/Rex["+row+"]/m23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
  260. model.makeValue("/root/hidden/Rex["+row+"]/m24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
  261. model.makeValue("/root/hidden/Rex["+row+"]/m25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
  262. model.makeValue("/root/hidden/Rex["+row+"]/m26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
  263. model.makeValue("/root/hidden/Rex["+row+"]/m27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
  264. model.makeValue("/root/hidden/Rex["+row+"]/m28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
  265. model.makeValue("/root/hidden/Rex["+row+"]/m29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
  266. model.makeValue("/root/hidden/Rex["+row+"]/m30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
  267. model.makeValue("/root/hidden/Rex["+row+"]/m31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
  268. model.makeValue("/root/hidden/Rex["+row+"]/msum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  269. model.makeValue("/root/hidden/Rex["+row+"]/madd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  270. }else{
  271. model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  272. model.makeValue("/root/hidden/Rex["+row+"]/s00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
  273. model.makeValue("/root/hidden/Rex["+row+"]/s01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
  274. model.makeValue("/root/hidden/Rex["+row+"]/s02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
  275. model.makeValue("/root/hidden/Rex["+row+"]/s03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
  276. model.makeValue("/root/hidden/Rex["+row+"]/s04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
  277. model.makeValue("/root/hidden/Rex["+row+"]/s05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
  278. model.makeValue("/root/hidden/Rex["+row+"]/s06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
  279. model.makeValue("/root/hidden/Rex["+row+"]/s07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
  280. model.makeValue("/root/hidden/Rex["+row+"]/s08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
  281. model.makeValue("/root/hidden/Rex["+row+"]/s09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
  282. model.makeValue("/root/hidden/Rex["+row+"]/s10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
  283. model.makeValue("/root/hidden/Rex["+row+"]/s11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
  284. model.makeValue("/root/hidden/Rex["+row+"]/s12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
  285. model.makeValue("/root/hidden/Rex["+row+"]/s13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
  286. model.makeValue("/root/hidden/Rex["+row+"]/s14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
  287. model.makeValue("/root/hidden/Rex["+row+"]/s15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
  288. model.makeValue("/root/hidden/Rex["+row+"]/s16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
  289. model.makeValue("/root/hidden/Rex["+row+"]/s17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
  290. model.makeValue("/root/hidden/Rex["+row+"]/s18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
  291. model.makeValue("/root/hidden/Rex["+row+"]/s19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
  292. model.makeValue("/root/hidden/Rex["+row+"]/s20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
  293. model.makeValue("/root/hidden/Rex["+row+"]/s21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
  294. model.makeValue("/root/hidden/Rex["+row+"]/s22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
  295. model.makeValue("/root/hidden/Rex["+row+"]/s23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
  296. model.makeValue("/root/hidden/Rex["+row+"]/s24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
  297. model.makeValue("/root/hidden/Rex["+row+"]/s25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
  298. model.makeValue("/root/hidden/Rex["+row+"]/s26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
  299. model.makeValue("/root/hidden/Rex["+row+"]/s27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
  300. model.makeValue("/root/hidden/Rex["+row+"]/s28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
  301. model.makeValue("/root/hidden/Rex["+row+"]/s29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
  302. model.makeValue("/root/hidden/Rex["+row+"]/s30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
  303. model.makeValue("/root/hidden/Rex["+row+"]/s31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
  304. model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  305. model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  306. row++;
  307. }
  308. }
  309. exeReportPreview("RPLNP00300", "XMLSTR", "", "", "true", "", "", "", "","true");
  310. }
  311. function fPrintRexAct(){
  312. model.removeNodeset("/root/hidden/Rex");
  313. var row = 1;
  314. var row2 = 1;
  315. var row3 = 1;
  316. //var n = parseInt(datagrid1.rows/4/3) + 1;
  317. //var n2 = n * 2
  318. for(i = 1 ; i < datagrid1.rows ; i++){
  319. if(i <= 36 || (i >108 && i<=148) || (i >228 && i<=268)){ // 첫번째 열
  320. if(i%4 == 1){
  321. model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  322. model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  323. model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  324. model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  325. model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  326. model.makeValue("/root/hidden/Rex["+row+"]/dkact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  327. model.makeValue("/root/hidden/Rex["+row+"]/dmact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  328. }else if(i%4 == 2){
  329. model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  330. model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  331. model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  332. model.makeValue("/root/hidden/Rex["+row+"]/ekact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  333. model.makeValue("/root/hidden/Rex["+row+"]/emact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  334. }else if(i%4 == 3){
  335. }else{
  336. model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  337. model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  338. model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  339. model.makeValue("/root/hidden/Rex["+row+"]/skact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  340. model.makeValue("/root/hidden/Rex["+row+"]/smact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  341. row++;
  342. }
  343. }else if((i >36 && i<=72) || (i >148 && i<=188)){ // 두번째 열
  344. if(i%4 == 1){
  345. model.makeValue("/root/hidden/Rex["+(row2)+"]/itemnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  346. model.makeValue("/root/hidden/Rex["+(row2)+"]/specnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  347. model.makeValue("/root/hidden/Rex["+(row2)+"]/ioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  348. model.makeValue("/root/hidden/Rex["+(row2)+"]/dsum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  349. model.makeValue("/root/hidden/Rex["+(row2)+"]/dadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  350. model.makeValue("/root/hidden/Rex["+(row2)+"]/dkact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  351. model.makeValue("/root/hidden/Rex["+(row2)+"]/dmact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  352. }else if(i%4 == 2){
  353. model.makeValue("/root/hidden/Rex["+(row2)+"]/eioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  354. model.makeValue("/root/hidden/Rex["+(row2)+"]/esum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  355. model.makeValue("/root/hidden/Rex["+(row2)+"]/eadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  356. model.makeValue("/root/hidden/Rex["+(row2)+"]/ekact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  357. model.makeValue("/root/hidden/Rex["+(row2)+"]/emact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  358. }else if(i%4 == 3){
  359. }else{
  360. model.makeValue("/root/hidden/Rex["+(row2)+"]/sioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  361. model.makeValue("/root/hidden/Rex["+(row2)+"]/ssum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  362. model.makeValue("/root/hidden/Rex["+(row2)+"]/sadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  363. model.makeValue("/root/hidden/Rex["+(row2)+"]/skact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  364. model.makeValue("/root/hidden/Rex["+(row2)+"]/smact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  365. row2++;
  366. }
  367. }else if((i >72 && i<=108) || (i >188 && i<=228)){ // 세번째 열
  368. if(i%4 == 1){
  369. model.makeValue("/root/hidden/Rex["+(row3)+"]/itemnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  370. model.makeValue("/root/hidden/Rex["+(row3)+"]/specnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  371. model.makeValue("/root/hidden/Rex["+(row3)+"]/ioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  372. model.makeValue("/root/hidden/Rex["+(row3)+"]/dsum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  373. model.makeValue("/root/hidden/Rex["+(row3)+"]/dadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  374. model.makeValue("/root/hidden/Rex["+(row3)+"]/dkact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  375. model.makeValue("/root/hidden/Rex["+(row3)+"]/dmact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  376. }else if(i%4 == 2){
  377. model.makeValue("/root/hidden/Rex["+(row3)+"]/eioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  378. model.makeValue("/root/hidden/Rex["+(row3)+"]/esum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  379. model.makeValue("/root/hidden/Rex["+(row3)+"]/eadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  380. model.makeValue("/root/hidden/Rex["+(row3)+"]/ekact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  381. model.makeValue("/root/hidden/Rex["+(row3)+"]/emact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  382. }else if(i%4 == 3){
  383. }else{
  384. model.makeValue("/root/hidden/Rex["+(row3)+"]/sioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  385. model.makeValue("/root/hidden/Rex["+(row3)+"]/ssum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  386. model.makeValue("/root/hidden/Rex["+(row3)+"]/sadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  387. model.makeValue("/root/hidden/Rex["+(row3)+"]/skact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  388. model.makeValue("/root/hidden/Rex["+(row3)+"]/smact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  389. row3++;
  390. }
  391. }
  392. }
  393. /*
  394. for(i = 1 ; i < datagrid1.rows ; i++){
  395. if(i > n*4 && i <= n2*4){ // 두번째 열
  396. if(i%4 == 1){
  397. model.makeValue("/root/hidden/Rex["+(row-n)+"]/itemnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  398. model.makeValue("/root/hidden/Rex["+(row-n)+"]/specnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  399. model.makeValue("/root/hidden/Rex["+(row-n)+"]/ioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  400. model.makeValue("/root/hidden/Rex["+(row-n)+"]/dsum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  401. model.makeValue("/root/hidden/Rex["+(row-n)+"]/dadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  402. model.makeValue("/root/hidden/Rex["+(row-n)+"]/dkact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  403. model.makeValue("/root/hidden/Rex["+(row-n)+"]/dmact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  404. }else if(i%4 == 2){
  405. model.makeValue("/root/hidden/Rex["+(row-n)+"]/eioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  406. model.makeValue("/root/hidden/Rex["+(row-n)+"]/esum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  407. model.makeValue("/root/hidden/Rex["+(row-n)+"]/eadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  408. model.makeValue("/root/hidden/Rex["+(row-n)+"]/ekact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  409. model.makeValue("/root/hidden/Rex["+(row-n)+"]/emact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  410. }else if(i%4 == 3){
  411. }else{
  412. model.makeValue("/root/hidden/Rex["+(row-n)+"]/sioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  413. model.makeValue("/root/hidden/Rex["+(row-n)+"]/ssum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  414. model.makeValue("/root/hidden/Rex["+(row-n)+"]/sadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  415. model.makeValue("/root/hidden/Rex["+(row-n)+"]/skact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  416. model.makeValue("/root/hidden/Rex["+(row-n)+"]/smact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  417. row++;
  418. }
  419. }else if(i >n2*4){ // 세번째 열
  420. if(i%4 == 1){
  421. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/itemnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  422. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/specnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  423. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  424. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dsum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  425. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  426. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dkact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  427. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dmact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  428. }else if(i%4 == 2){
  429. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/eioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  430. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/esum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  431. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/eadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  432. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ekact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  433. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/emact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  434. }else if(i%4 == 3){
  435. }else{
  436. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/sioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  437. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ssum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  438. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/sadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  439. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/skact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  440. model.makeValue("/root/hidden/Rex["+(row-n2)+"]/smact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  441. row++;
  442. }
  443. }else{ // 첫번째 열
  444. if(i%4 == 1){
  445. model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
  446. model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
  447. model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  448. model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  449. model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  450. model.makeValue("/root/hidden/Rex["+row+"]/dkact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  451. model.makeValue("/root/hidden/Rex["+row+"]/dmact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  452. }else if(i%4 == 2){
  453. model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  454. model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  455. model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  456. model.makeValue("/root/hidden/Rex["+row+"]/ekact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  457. model.makeValue("/root/hidden/Rex["+row+"]/emact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  458. }else if(i%4 == 3){
  459. }else{
  460. model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
  461. model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
  462. model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
  463. model.makeValue("/root/hidden/Rex["+row+"]/skact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
  464. model.makeValue("/root/hidden/Rex["+row+"]/smact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
  465. row++;
  466. }
  467. }
  468. }
  469. */
  470. //exeReportPreview("RPLNP00301", "XMLSTR", "", "", "true", "", "", "", "","true");
  471. exeReportPreview("RPLNP00301", "XMLSTR", "");
  472. }
  473. ]]>
  474. </script>
  475. </xhtml:head>
  476. <xhtml:body guideline="1,1195;" style="font-size:11pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  477. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  478. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">일계표</caption>
  479. </group>
  480. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  481. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  482. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  483. <line id="line1" style="x1:1115px; y1:9px; x2:1115px; y2:24px; border-color:#ffe4bb; border-left-style:solid; "/>
  484. <input id="input3" ref="/root/send/srchym" class="input_default" inputtype="date" format="yyyy-mm" style="left:100px; top:8px; width:90px; height:19px; "/>
  485. <caption id="caption11" class="search_name" style="left:10px; top:8px; width:86px; height:17px; text-align:left; ">기준월 :</caption>
  486. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:5px; width:56px; height:22px; ">
  487. <caption>조회</caption>
  488. <script type="javascript" ev:event="DOMActivate">
  489. <![CDATA[
  490. model.setValue("/root/tmp/tmpym", model.getValue("/root/send/srchym"));
  491. submit("TRLNP00302");
  492. open("SPLNP90300");
  493. ]]>
  494. </script>
  495. </button>
  496. <caption id="caption3" class="search_name" visibility="hidden" style="left:915px; top:10px; width:65px; height:17px; ">구분 :</caption>
  497. <select1 id="radio1" ref="/root/send/srchbdioflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:985px; top:11px; width:95px; height:15px; border-style:none; ">
  498. <choices>
  499. <item>
  500. <label>체내</label>
  501. <value>I</value>
  502. </item>
  503. <item>
  504. <label>체외</label>
  505. <value>O</value>
  506. </item>
  507. </choices>
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. var bdioflag = model.getValue("/root/send/srchbdioflag");
  511. if (bdioflag == "I") {
  512. model.toggle("case1");
  513. } else if (bdioflag == "O") {
  514. model.toggle("case2");
  515. }
  516. model.refresh();
  517. ]]>
  518. </script>
  519. </select1>
  520. <button id="button61" class="icon_search" style="left:630px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  521. <caption/>
  522. <script type="javascript" ev:event="DOMActivate">
  523. <![CDATA[
  524. modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  525. model.removeNodeset("/root/init/LB01032");
  526. fBaseInfoRef2("01032|");
  527. ]]>
  528. </script>
  529. </button>
  530. <select1 id="combo1" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:465px; top:9px; width:160px; height:19px; ">
  531. <choices>
  532. <itemset nodeset="/root/init/LB0103">
  533. <label ref="nm"/>
  534. <value ref="cd"/>
  535. </itemset>
  536. </choices>
  537. <script type="javascript" ev:event="xforms-value-changed">
  538. <![CDATA[
  539. fSelectTestGrup();
  540. ]]>
  541. </script>
  542. </select1>
  543. <caption id="caption5" class="search_name" style="left:355px; top:9px; width:105px; height:17px; ">사용자 그룹 :</caption>
  544. </group>
  545. <button id="button2" class="btn2_letter2" style="left:1153px; top:73px; width:42px; height:19px; ">
  546. <caption>엑셀</caption>
  547. </button>
  548. <line id="line2" class="line_1" style="x1:0px; y1:50px; x2:1195px; y2:50px; "/>
  549. <datagrid id="datagrid1" nodeset="/root/main/daysumrept/daysumreptlist" caption="품명^규격^구분^전월재고^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^합계^잔고^act(kBq)^act(uCi)^^" colsep="^" colwidth="130, 80, 80, 80, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 75, 75, 100" fixedcols="2" frozencols="2" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="bycol" style="left:0px; top:55px; width:1195px; height:415px; ">
  550. <col ref="itemnm" style="text-align:center; "/>
  551. <col ref="specnm" visibility="hidden" style="text-align:center; "/>
  552. <col ref="ioflag" style="left:210px; top:23px; width:80px; height:23px; text-align:center; "/>
  553. <col ref="d00" style="text-align:right; "/>
  554. <col ref="d01" style="text-align:right; "/>
  555. <col ref="d02" style="text-align:right; "/>
  556. <col ref="d03" style="text-align:right; "/>
  557. <col ref="d04" style="text-align:right; "/>
  558. <col ref="d05" style="text-align:right; "/>
  559. <col ref="d06" style="text-align:right; "/>
  560. <col ref="d07" style="text-align:right; "/>
  561. <col ref="d08" style="text-align:right; "/>
  562. <col ref="d09" style="text-align:right; "/>
  563. <col ref="d10" style="text-align:right; "/>
  564. <col ref="d11" style="text-align:right; "/>
  565. <col ref="d12" style="text-align:right; "/>
  566. <col ref="d13" style="text-align:right; "/>
  567. <col ref="d14" style="text-align:right; "/>
  568. <col ref="d15" style="text-align:right; "/>
  569. <col ref="d16" style="text-align:right; "/>
  570. <col ref="d17" style="text-align:right; "/>
  571. <col ref="d18" style="text-align:right; "/>
  572. <col ref="d19" style="text-align:right; "/>
  573. <col ref="d20" style="text-align:right; "/>
  574. <col ref="d21" style="text-align:right; "/>
  575. <col ref="d22" style="text-align:right; "/>
  576. <col ref="d23" style="text-align:right; "/>
  577. <col ref="d24" style="text-align:right; "/>
  578. <col ref="d25" style="text-align:right; "/>
  579. <col ref="d26" style="text-align:right; "/>
  580. <col ref="d27" style="text-align:right; "/>
  581. <col ref="d28" style="text-align:right; "/>
  582. <col ref="d29" style="text-align:right; "/>
  583. <col ref="d30" style="text-align:right; "/>
  584. <col ref="d31" style="text-align:right; "/>
  585. <col ref="dsum" style="text-align:right; "/>
  586. <col ref="dadd" style="text-align:right; "/>
  587. <col ref="kact" style="text-align:right; "/>
  588. <col ref="mact" style="text-align:right; "/>
  589. <col ref="gong" style="text-align:right; "/>
  590. <script type="javascript" ev:event="onclick">
  591. <![CDATA[
  592. if(datagrid1.col > 3 && datagrid1.col < 35){
  593. var col = datagrid1.colAttribute(datagrid1.col, "ref")
  594. col = col.replace("d", "");
  595. model.setValue("/root/send/srchdd", model.getValue("/root/tmp/tmpym") + col);
  596. submit("TRLNP00301");
  597. //조회 후 최종 확인일자 보다 작은 날짜를 선택하면 관리현황 disable 로(과거일 수정 못하게 하기 위함)
  598. /*var ym = model.getValue("/root/send/srchym") + col; //년 월 + 일
  599. var cnfmdt = model.getValue("/root/init/LB0125/cd").replace('-', '').replace('-', '').substr(0 ,8);
  600. if(ym < cnfmdt){
  601. grd_mngtlist.colDisabled(3) = true;
  602. }else{
  603. grd_mngtlist.colDisabled(3) = false;
  604. }*/ //기능 구현했다 강영직 선생님 결사반대로 수정 가능하게 풀어놓음 20090423 추후 요구시 변경요청서 받고 처리하기로 협의
  605. }else{
  606. model.removeNodeset("/root/main/detail/wlnlist");
  607. model.removeNodeset("/root/main/detail/delivelist");
  608. model.removeNodeset("/root/main/detail/mngtlist");
  609. model.refresh();
  610. }
  611. ]]>
  612. </script>
  613. </datagrid>
  614. <datagrid id="grd_wlnlist" nodeset="/root/main/detail/wlnlist" caption="거래처^항목^규격^수량" colsep="^" colwidth="140,100,65,65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:500px; width:390px; height:230px; ">
  615. <col ref="suplcustnm" type="output"/>
  616. <col ref="goodnm" type="output"/>
  617. <col ref="specnm" type="output"/>
  618. <col ref="qty" type="output"/>
  619. <col ref="suplcustcd" visibility="hidden"/>
  620. <col ref="lossresncd" visibility="hidden"/>
  621. <col ref="iodd" visibility="hidden"/>
  622. <col ref="ioflag" visibility="hidden"/>
  623. <col ref="bdioflag" visibility="hidden"/>
  624. <col ref="itemflag" visibility="hidden"/>
  625. <col ref="goodcd" visibility="hidden"/>
  626. <col ref="rem" visibility="hidden"/>
  627. <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
  628. </datagrid>
  629. <datagrid id="grd_delivelist" nodeset="/root/main/detail/delivelist" caption="거래처^항목^규격^수량" colsep="^" colwidth="140,100,65,65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:400px; top:500px; width:395px; height:230px; ">
  630. <col ref="suplcustnm" type="output"/>
  631. <col ref="goodnm" type="output"/>
  632. <col ref="specnm" type="output"/>
  633. <col ref="qty" type="output"/>
  634. <col ref="suplcustcd" visibility="hidden"/>
  635. <col ref="lossresncd" visibility="hidden"/>
  636. <col ref="iodd" visibility="hidden"/>
  637. <col ref="ioflag" visibility="hidden"/>
  638. <col ref="bdioflag" visibility="hidden"/>
  639. <col ref="itemflag" visibility="hidden"/>
  640. <col ref="goodcd" visibility="hidden"/>
  641. <col ref="rem" visibility="hidden"/>
  642. <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
  643. </datagrid>
  644. <datagrid id="grd_mngtlist" nodeset="/root/main/detail/mngtlist" caption="거래처^항목^규격^수량^사유" colsep="^" colwidth="140, 100, 65, 65, 180" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:805px; top:500px; width:390px; height:230px; ">
  645. <col ref="suplcustnm" type="output"/>
  646. <col ref="goodnm" type="output"/>
  647. <col ref="specnm" type="output"/>
  648. <col ref="qty" type="input"/>
  649. <col ref="suplcustcd" visibility="hidden"/>
  650. <col ref="lossresncd" visibility="hidden"/>
  651. <col ref="iodd" visibility="hidden"/>
  652. <col ref="ioflag" visibility="hidden"/>
  653. <col ref="bdioflag" visibility="hidden"/>
  654. <col ref="itemflag" visibility="hidden"/>
  655. <col ref="goodcd" visibility="hidden"/>
  656. <col ref="rem" visibility="hidden"/>
  657. <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
  658. </datagrid>
  659. <caption id="caption4" class="tit_2" style="left:400px; top:485px; width:84px; height:13px; ">사용 현황</caption>
  660. <caption id="caption1" class="tit_2" style="left:5px; top:485px; width:84px; height:14px; ">입고현황</caption>
  661. <caption id="caption2" class="tit_2" style="left:805px; top:485px; width:84px; height:13px; ">관리 현황</caption>
  662. </group>
  663. <group id="grp_btn" style="left:0px; top:747px; width:1195px; height:27px; ">
  664. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  665. <caption>출력</caption>
  666. <script type="javascript" ev:event="DOMActivate">
  667. <![CDATA[
  668. fPrintRex();
  669. ]]>
  670. </script>
  671. </button>
  672. <button id="btn_excel" class="btn2_letter2" style="left:162px; top:4px; width:42px; height:19px; ">
  673. <caption>엑셀</caption>
  674. <script type="javascript" ev:event="DOMActivate">
  675. <![CDATA[
  676. var fileName = window.fileDialog("save", ",", false, "일계표_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  677. if (fileName != "")
  678. {
  679. datagrid1.saveExcel(fileName);
  680. }
  681. ]]>
  682. </script>
  683. </button>
  684. <button id="button1" class="btn6_letter6" style="left:57px; top:3px; width:104px; height:22px; ">
  685. <caption>Activity출력</caption>
  686. <script type="javascript" ev:event="DOMActivate">
  687. <![CDATA[
  688. fPrintRexAct();
  689. ]]>
  690. </script>
  691. </button>
  692. <caption id="caption9" class="search_name" style="left:666px; top:5px; width:178px; height:17px; ">일계표 확인자 :</caption>
  693. <input id="input2" ref="/root/cnfm/cnfminfo/cnfmid" class="input_search" style="left:789px; top:4px; width:78px; height:19px; text-align:left; ">
  694. <script type="javascript" ev:event="onkeydown">
  695. <![CDATA[
  696. if ( event.keyCode == 13 ) {
  697. model.setValue("/root/send/srchcnfmid", input2.currentText);
  698. submit("TRAEQ00403");
  699. }
  700. ]]>
  701. </script>
  702. </input>
  703. <output id="opt_nm" ref="/root/hidden/cnfm/nm" class="output_fix" style="left:444px; top:4px; width:70px; height:19px; "/>
  704. <output id="opt_dt" ref="/root/hidden/cnfm/dt" class="output_fix" style="left:517px; top:4px; width:130px; height:19px; "/>
  705. <output id="output2" ref="/root/cnfm/cnfminfo/cnfmnm" class="output_fix" style="left:869px; top:4px; width:70px; height:19px; "/>
  706. <button id="btnSave" class="btn4_letter2" style="left:941px; top:3px; width:56px; height:22px; ">
  707. <caption>확인</caption>
  708. <script type="javascript" ev:event="DOMActivate">
  709. <![CDATA[
  710. var cnfmnm = model.getValue("/root/cnfm/cnfminfo/cnfmnm");
  711. if(cnfmnm == ""){
  712. alert("일계표 확인자를 입력하세요");
  713. model.setFocus("input2");
  714. return;
  715. }
  716. if(messageBox("", "Q004")==6){ //실행하시겠습니까? 6:ok
  717. model.setValue("/root/send/srchcnfmid" , model.getValue("/root/cnfm/cnfminfo/cnfmid"));
  718. model.setValue("/root/send/srchcnfmnm", model.getValue("/root/cnfm/cnfminfo/cnfmnm"));
  719. if(submit("TXLNP00302")){ //확인자 저장
  720. model.removenode("/root/init/LB0125");
  721. model.resetInstanceNode("/root/cnfm/cnfminfo");
  722. model.setValue("/root/send/codeflag","0125|");
  723. submit("TRLZZ00101"); //일계표 최종 확인자 재 조회
  724. model.setValue("/root/hidden/cnfm/nm", model.getValue("/root/init/LB0125/nm"));
  725. model.setValue("/root/hidden/cnfm/dt", model.getValue("/root/init/LB0125/cd"));
  726. }
  727. model.refresh();
  728. }
  729. ]]>
  730. </script>
  731. </button>
  732. <caption id="caption7" class="search_name" style="left:291px; top:5px; width:178px; height:17px; ">일계표 최종 확인자 :</caption>
  733. </group>
  734. <button id="button3" class="btn4_letter2" style="left:1137px; top:750px; width:56px; height:22px; ">
  735. <caption>저장</caption>
  736. <script type="javascript" ev:event="DOMActivate">
  737. <![CDATA[
  738. var uptwln = getGridUpdateData(grd_wlnlist);
  739. var uptdelive = getGridUpdateData(grd_delivelist);
  740. var uptmngt = getGridUpdateData(grd_mngtlist);
  741. model.setValue("/root/send/wlnlist", uptwln);
  742. model.setValue("/root/send/delivelist", uptdelive);
  743. model.setValue("/root/send/mngtlist", uptmngt);
  744. if ( submit("TXAEQ01001")) {
  745. // 저장 후 재 조회
  746. submit("TRLNP00302");
  747. model.refresh();
  748. }
  749. ]]>
  750. </script>
  751. </button>
  752. <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1139px; top:750px; width:56px; height:22px; ">
  753. <caption>출력</caption>
  754. <script type="javascript" ev:event="DOMActivate">
  755. <![CDATA[
  756. exeReportPreview("RPAEQ00400", "XMLSTR", "/root/list");
  757. ]]>
  758. </script>
  759. </button>
  760. </xhtml:body>
  761. </xhtml:html>