SMAEB02700_핵종사용량관리.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list1>
  11. <nuclcdlist/>
  12. </list1>
  13. <list2>
  14. <nuclcdapplist/>
  15. </list2>
  16. </main>
  17. <send>
  18. <suppdeptcd/>
  19. <mon/>
  20. <tue/>
  21. <wed/>
  22. <thu/>
  23. <fri/>
  24. <sat/>
  25. <nuclcd/>
  26. <basedd/>
  27. <nuclcdapplist/>
  28. <bdioflag>I</bdioflag>
  29. <itemflag>N</itemflag>
  30. <globalinstance>
  31. <instance1/>
  32. </globalinstance>
  33. </send>
  34. <init>
  35. <P0152list>
  36. <P0152>
  37. <cdid/>
  38. <cdnm/>
  39. </P0152>
  40. </P0152list>
  41. <CurrentDate/>
  42. </init>
  43. <hidden>
  44. <calendar>
  45. <year/>
  46. <month/>
  47. <weeklist>
  48. <list>
  49. <sun/>
  50. <mon/>
  51. <tue/>
  52. <wed/>
  53. <thu/>
  54. <fri/>
  55. <sat/>
  56. <sun_memo/>
  57. <mon_memo/>
  58. <tue_memo/>
  59. <wed_memo/>
  60. <thu_memo/>
  61. <fri_memo/>
  62. <sat_memo/>
  63. </list>
  64. </weeklist>
  65. <todate/>
  66. </calendar>
  67. </hidden>
  68. <tmp>
  69. <list1/>
  70. <suplcustcd/>
  71. <suplcustnm/>
  72. </tmp>
  73. <combo/>
  74. </root>
  75. </instance>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  80. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  81. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  82. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  83. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  84. <script type="javascript">
  85. <![CDATA[
  86. /*** 초기화 ***/
  87. function fInitialize() {
  88. aezfSetSuppDeptcd();
  89. var dutplcecd = getUserInfo("dutplcecd");
  90. var selectplcecd = getScreenPrestDeptCd();
  91. if ( selectplcecd == "" ) {
  92. selectplcecd = dutplcecd;
  93. }
  94. model.setValue("/root/send/suppdeptcd", selectplcecd);
  95. var nowDate = getCurrentDate();
  96. // 현재 요일
  97. var nowDay = getCurrentWeek();
  98. // 현재일자가 포함된 월요일 구하기
  99. nowDay = ((nowDay * 1) * -1) +1 ;
  100. // 기준일자 생성
  101. model.makeValue("/root/init/CurrentDate",nowDate);
  102. opt_date.value = "[ 현재일 : " + nowDate.substring(0,4) + "." + nowDate.substring(4,6) + "." + nowDate.substring(6,8) +" ]";
  103. // 주가일정 생성
  104. setCalendar(nowDate, nowDay );
  105. submit("TRAEB01802");
  106. }
  107. /*** 주간 일정 타이틀 생성 및 조회 ***/
  108. function setCalendar(setDate, setDay) {
  109. model.removenode("/root/main/list1");
  110. model.removenode("/root/main/list2");
  111. // 일자
  112. var stDay = "";
  113. // 요일
  114. var stDate = "";
  115. var strString = "";
  116. var maxDay = 0;
  117. maxDay = (setDay * -1);
  118. maxDay = (6 - ((setDay*-1)+maxDay) ) + maxDay;
  119. var num = 1;
  120. // 현재일 기준의 주간 날짜와 요일 생성
  121. for (var i=setDay; i<maxDay; i++) {
  122. // 현재일자
  123. var nowDate = setDate.toDate("YYYYMMDD");
  124. var sysDate = nowDate.getAddDate(i,"D");
  125. stDate = getDateTime(sysDate,"D");
  126. stDay = getDateTime(sysDate,"W");
  127. strString = strString + "^" + stDate.substring(2,4) + "." + stDate.substring(4,6) + "." + stDate.substring(6,8) + "("+ stDay + ")" + "^" + stDate.substring(2,4) + "." + stDate.substring(4,6) + "." + stDate.substring(6,8) + "("+ stDay + ")";
  128. if (num == 1) {
  129. model.setValue("/root/send/mon",stDate);
  130. model.setValue("/root/send/basedd",stDate);
  131. } else if (num == 2) {
  132. model.setValue("/root/send/tue",stDate);
  133. } else if (num == 3) {
  134. model.setValue("/root/send/wed",stDate);
  135. } else if (num == 4) {
  136. model.setValue("/root/send/thu",stDate);
  137. } else if (num == 5) {
  138. model.setValue("/root/send/fri",stDate);
  139. } else if (num == 6) {
  140. model.setValue("/root/send/sat",stDate);
  141. }
  142. num++;
  143. }
  144. grd_nuclcdlist.attribute("caption") = "±^핵종코드^구분"+ strString + "^총용량^신청량^확인량|±^핵종코드^구분^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^총용량^신청량^확인량";
  145. grd_nuclcdlist.rebuild();
  146. submit("TRAEB02701");
  147. grd_nuclcdlist.rebuild();
  148. setTree(grd_nuclcdlist, 0, 0, true);
  149. for (var i=1; i<grd_nuclcdlist.rows; i++) {
  150. var chk = grd_nuclcdlist.valueMatrix(i, grd_nuclcdlist.colRef("seq"));
  151. if (chk == "1") {
  152. grd_nuclcdlist.rowStyle(i,"data","font-weight")="bold";
  153. grd_nuclcdlist.rowstyle(i, "data", "color") = "#0000ff";
  154. }
  155. }
  156. model.refresh();
  157. }
  158. /*** 주간 단위 핵종 신청량 조회 ***/
  159. function fNuclAppSrch() {
  160. var row = grd_nuclcdlist.row;
  161. var nuclcd = model.getValue("/root/main/list1/nuclcdlist["+ row + "]/nuclcd");
  162. model.removenode("/root/main/list2");
  163. model.setValue("/root/send/nuclcd", nuclcd);
  164. submit("TRAEB02702");
  165. model.refresh();
  166. }
  167. /*** 주간 단위 핵종 신청량저장 ***/
  168. function chkUpdatedData() {
  169. if ( messageBox("", "Q002") == 6 ) {
  170. var row = grd_nuclcdlist.row;
  171. var nodeCnt = getNodesetCount("/root/main/list2/nuclcdapplist");
  172. nodeCnt = (nodeCnt*1) +1;
  173. for (var i=1; i<nodeCnt; i++) {
  174. var appdd = model.getValue("/root/main/list2/nuclcdapplist["+ i + "]/appdd");
  175. if (appdd == "") {
  176. messageBox("신청일자는 필수 입력입니다.", "I");
  177. return;
  178. }
  179. // 비고 size 제한 255
  180. var rem = model.getValue("/root/main/list2/nuclcdapplist["+ i + "]/rem");
  181. var iRemLength = getStringLength(rem);
  182. if (iRemLength > 255) {
  183. messageBox("비고 내용이 입력 범위를 초과하였습니다.", "I");
  184. return;
  185. }
  186. // true => Y , false=> N 변경 [DB size :CHARACTER(1)]
  187. var cnfmyn = model.getValue("/root/main/list2/nuclcdapplist["+ i + "]/cnfmyn");
  188. if (cnfmyn == "true") {
  189. model.setValue("/root/main/list2/nuclcdapplist["+ i + "]/cnfmyn","Y");
  190. } else {
  191. model.setValue("/root/main/list2/nuclcdapplist["+ i + "]/cnfmyn","N");
  192. }
  193. }
  194. var update = getGridUpdateData(grd_nuclcdapplist);
  195. if ( update == "" ) {
  196. messageBox("업데이트 정보가 없습니다.", "I");
  197. return;
  198. } else {
  199. model.setValue("/root/send/nuclcdapplist", update);
  200. if ( submit("TXAEB02701") ) {
  201. // 저장 후 재 조회
  202. if (submit("TRAEB02702")) {
  203. if (submit("TRAEB02701")) {
  204. grd_nuclcdlist.row = row;
  205. }
  206. }
  207. }
  208. model.refresh();
  209. }
  210. }
  211. }
  212. ]]>
  213. </script>
  214. <script type="javascript" ev:event="xforms-ready">
  215. <![CDATA[
  216. fInitialize();
  217. ]]>
  218. </script>
  219. <script type="javascript" ev:event="xforms-model-construct-done">
  220. <![CDATA[
  221. //group1.attribute("height") = 0;
  222. ]]>
  223. </script>
  224. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  225. <submission id="TRAEB02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
  226. <submission id="TRAEB02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list2"/>
  227. <submission id="TRAEB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/combo/nuclcd"/>
  228. <submission id="TXAEB02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  229. </model>
  230. </xhtml:head>
  231. <xhtml:body guideline="1,1101;2,786;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  232. <group id="group1" style="left:0px; top:0px; width:1100px; height:13px; ">
  233. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">핵종 사용량 관리</caption>
  234. </group>
  235. <group id="group3" scroll="auto" style="left:0px; top:15px; width:1100px; height:740px; ">
  236. <datagrid id="grd_nuclcdlist" nodeset="/root/main/list1/nuclcdlist" allowuserresize="true" caption="±^핵종코드^구분^12/09(월)^12/09(월)^12/10(화)^12/10(화)^12/11(수)^12/11(수)^12/12(목)^12/12(목)^12/13(금)^12/13(금)^12/14(토)^12/14(토)^총용량^신청량^확인량|±^핵종코드^구분^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^검사수^핵종량^총용량^신청량^확인량" colsep="^" colwidth="22, 0, 245, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 70, 70, 70" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:29px; width:1098px; height:541px; ">
  237. <col ref="seq" style="text-align:left; "/>
  238. <col ref="nuclcd" visibility="hidden"/>
  239. <col ref="nuclcdnm"/>
  240. <col ref="moncnt" type="output" format="#,###" style="text-align:right; "/>
  241. <col ref="monqty" type="output" format="#,###.00" style="text-align:right; "/>
  242. <col ref="tuecnt" type="output" format="#,###" style="text-align:right; "/>
  243. <col ref="tueqty" type="output" format="#,###.00" style="text-align:right; "/>
  244. <col ref="wedcnt" type="output" format="#,###" style="text-align:right; "/>
  245. <col ref="wedqty" type="output" format="#,###.00" style="text-align:right; "/>
  246. <col ref="thucnt" type="output" format="#,###" style="text-align:right; "/>
  247. <col ref="thuqty" type="output" format="#,###.00" style="text-align:right; "/>
  248. <col ref="fricnt" type="output" format="#,###" style="text-align:right; "/>
  249. <col ref="friqty" type="output" format="#,###.00" style="text-align:right; "/>
  250. <col ref="satcnt" type="output" format="#,###" style="text-align:right; "/>
  251. <col ref="satqty" type="output" format="#,###.00" style="text-align:right; "/>
  252. <col ref="totqty" type="output" format="#,###.00" style="text-align:right; "/>
  253. <col ref="appqty" type="output" format="#,###.00" style="text-align:right; "/>
  254. <col ref="cnfmqty" type="output" format="#,###.00" style="text-align:right; "/>
  255. <script type="javascript" ev:event="onclick">
  256. <![CDATA[
  257. if(grd_nuclcdlist.isCell(event.target) && grd_nuclcdlist.row >= grd_nuclcdlist.fixedRows) {
  258. var col = grd_nuclcdlist.col;
  259. if (col != grd_nuclcdlist.colRef("seq")) {
  260. fNuclAppSrch();
  261. }
  262. // var nuclcdnm = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("nuclcdnm"));
  263. // var nuclcd = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("nuclcd"));
  264. // alert(" nuclcdnm : " + nuclcdnm);
  265. // alert(" nuclcd : " + nuclcd);
  266. //
  267. // // 핵종코드일 경우에만
  268. // if (chk == "1") {
  269. // // 주간단위 핵종 신청량 조회
  270. // fNuclAppSrch(row);
  271. // }
  272. }
  273. ]]>
  274. </script>
  275. </datagrid>
  276. <button id="btn_Next" class="icon_next" style="left:1085px; top:5px; width:13px; height:15px; ">
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. // 기준일자
  280. var setDate = model.getValue("/root/init/CurrentDate");
  281. var sysDate = setDate.toDate("YYYYMMDD");
  282. // 이전 주
  283. var nowDate = sysDate.getAddDate(7,"D");
  284. nowDate = nowDate.getDateFormat("YYYYMMDD");
  285. // 이전 주의 월요일
  286. var nowDay = sysDate.getDayOfWeek("N")
  287. nowDay = ((nowDay * 1) * -1) +1 ;
  288. // 기준일자 생성
  289. model.makeValue("/root/init/CurrentDate",nowDate);
  290. // 주간일정 생성 및 조회
  291. setCalendar(nowDate, nowDay );
  292. ]]>
  293. </script>
  294. <caption/>
  295. </button>
  296. <button id="btn_Previous" class="icon_pre" style="left:926px; top:5px; width:13px; height:15px; ">
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. // 기준일자
  300. var setDate = model.getValue("/root/init/CurrentDate");
  301. var sysDate = setDate.toDate("YYYYMMDD");
  302. // 다음 주
  303. var nowDate = sysDate.getAddDate(-7,"D");
  304. nowDate = nowDate.getDateFormat("YYYYMMDD");
  305. // 다음 주의 월요일
  306. var nowDay = sysDate.getDayOfWeek("N")
  307. nowDay = ((nowDay * 1) * -1) +1 ;
  308. // 기준일자 생성
  309. model.makeValue("/root/init/CurrentDate",nowDate);
  310. // 주간일정 생성 및 조회
  311. setCalendar(nowDate, nowDay );
  312. ]]>
  313. </script>
  314. <caption/>
  315. </button>
  316. <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:149px; height:14px; ">주간 핵종 사용 예정량</caption>
  317. <line id="line1" class="line_1" style="x1:1px; y1:24px; x2:1099px; y2:24px; "/>
  318. <datagrid id="grd_nuclcdapplist" nodeset="/root/main/list2/nuclcdapplist" caption="기준일자^지원부서코드^일련번호^신청일^핵종^판매회사^판매회사명^신청량^확인^비고" colsep="^" colwidth="100, 100, 100, 100, 120, 100, 150, 100, 53, 433" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:600px; width:1098px; height:135px; ">
  319. <col ref="basedd" visibility="hidden"/>
  320. <col ref="suppdeptcd" visibility="hidden"/>
  321. <col ref="seqno" visibility="hidden"/>
  322. <col ref="appdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  323. <col ref="nuclcd" type="combo">
  324. <choices>
  325. <itemset nodeset="/root/combo/itemlist/item">
  326. <label ref="itemnm"/>
  327. <value ref="itemcd"/>
  328. </itemset>
  329. </choices>
  330. </col>
  331. <col ref="suplcmpy" type="inputbutton">
  332. <script type="javascript" ev:event="onbuttonclick">
  333. <![CDATA[
  334. misfOpenPopUpList("14", ipt_suplcmpy, "", "suplcustcd,suplcustnm");
  335. model.refresh();
  336. var selectedrow = grd_nuclcdapplist.selectedCells.item(0).row;
  337. model.setValue("/root/main/list2/nuclcdapplist[" + selectedrow + "]/suplcmpy", model.getValue("/root/tmp/suplcustcd"));
  338. model.setValue("/root/main/list2/nuclcdapplist[" + selectedrow + "]/suplcmpynm", model.getValue("/root/tmp/suplcustnm"));
  339. model.refresh();
  340. ]]>
  341. </script>
  342. </col>
  343. <col ref="suplcmpynm" type="output"/>
  344. <col ref="appqty" type="input" format="#,###.00" maxlength="10" style="text-align:right; "/>
  345. <col ref="cnfmyn" type="checkbox"/>
  346. <col ref="rem" type="input"/>
  347. </datagrid>
  348. <caption id="caption2" class="tit_2" style="left:0px; top:580px; width:149px; height:13px; ">핵종별 신청내역</caption>
  349. <line id="line2" class="line_1" style="x1:0px; y1:594px; x2:1098px; y2:594px; "/>
  350. <button id="btn_grddel" class="btn2_letter3" style="left:1045px; top:574px; width:53px; height:19px; ">
  351. <caption>행삭제</caption>
  352. <script type="javascript" ev:event="DOMActivate">
  353. <![CDATA[
  354. var row = grd_nuclcdapplist.row;
  355. grd_nuclcdapplist.deleteRow(row);
  356. ]]>
  357. </script>
  358. </button>
  359. <button id="button1" class="btn2_letter3" style="left:988px; top:574px; width:53px; height:19px; ">
  360. <caption>행추가</caption>
  361. <script type="javascript" ev:event="DOMActivate">
  362. <![CDATA[
  363. var row = grd_nuclcdlist.row;
  364. var chk = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("seq"));
  365. var nuclcd = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("nuclcd"));
  366. var nuclcdnm = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("nuclcdnm"));
  367. var totqty = grd_nuclcdlist.valueMatrix(row, grd_nuclcdlist.colRef("totqty"));
  368. grd_nuclcdapplist.addRow();
  369. row = grd_nuclcdapplist.rows;
  370. row = row -1;
  371. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/basedd",model.getValue("/root/send/mon"));
  372. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/suppdeptcd",model.getValue("/root/send/suppdeptcd"));
  373. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/appdd",getCurrentDate());
  374. // 핵종코드일 경우에만
  375. if (chk == "1") {
  376. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/nuclcd",nuclcd);
  377. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/nuclcdnm",nuclcdnm);
  378. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/cnfmyn",'N');
  379. model.makeValue("/root/main/list2/nuclcdapplist["+ row + "]/appqty",totqty);
  380. model.refresh();
  381. }
  382. ]]>
  383. </script>
  384. </button>
  385. <output id="opt_date" class="output_fix" style="left:945px; top:3px; width:135px; height:19px; text-align:center; "/>
  386. <button id="button4" class="btn2_letter7" style="left:270px; top:3px; width:97px; height:19px; ">
  387. <caption>핵종기준량관리</caption>
  388. <script type="javascript" ev:event="DOMActivate">
  389. <![CDATA[
  390. // 개인별예약조회
  391. modal("SMAEB02600", "", "200", "200", "SMAEB02600","","");
  392. ]]>
  393. </script>
  394. </button>
  395. </group>
  396. <group id="grp_btn" style="left:0px; top:757px; width:1100px; height:27px; ">
  397. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1100px; y2:0px; "/>
  398. <button id="btn_save" class="btn4_letter2" style="left:928px; top:4px; width:56px; height:22px; ">
  399. <caption>저장</caption>
  400. <script type="javascript" ev:event="DOMActivate">
  401. <![CDATA[
  402. chkUpdatedData();
  403. ]]>
  404. </script>
  405. </button>
  406. <button id="btn_close" class="btn4_letter2" style="left:1043px; top:4px; width:56px; height:22px; ">
  407. <caption>닫기</caption>
  408. <script type="javascript" ev:event="DOMActivate">
  409. <![CDATA[
  410. window.close();
  411. ]]>
  412. </script>
  413. </button>
  414. <button id="btn_print" class="btn4_letter2" style="left:985px; top:4px; width:56px; height:22px; ">
  415. <caption>출력</caption>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. model.copyNode("/root/tmp/list1", "/root/main/list1");
  419. var rowcnt = getNodesetCount("/root/tmp/list1/nuclcdlist");
  420. rowcnt = (rowcnt*1) +1;
  421. var seq = "";
  422. var monnm = grd_nuclcdlist.valueMatrix(0, 3);
  423. var tuenm = grd_nuclcdlist.valueMatrix(0, 5);
  424. var wednm = grd_nuclcdlist.valueMatrix(0, 7);
  425. var thunm = grd_nuclcdlist.valueMatrix(0, 9);
  426. var frinm = grd_nuclcdlist.valueMatrix(0, 11);
  427. var satnm = grd_nuclcdlist.valueMatrix(0, 13);
  428. for (var i=1; i<rowcnt; i++) {
  429. seq = model.getValue("/root/tmp/list1/nuclcdlist["+ i + "]/seq");
  430. if (seq == "1") {
  431. model.setValue("/root/tmp/list1/nuclcdlist["+ i + "]/seq","▣");
  432. } else if (seq == "2") {
  433. model.setValue("/root/tmp/list1/nuclcdlist["+ i + "]/seq","-");
  434. }
  435. if (i == 1) {
  436. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/monnm",monnm);
  437. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/tuenm",tuenm);
  438. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/wednm",wednm);
  439. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/thunm",thunm);
  440. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/frinm",frinm);
  441. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/satnm",satnm);
  442. model.makeValue("/root/tmp/list1/nuclcdlist["+ i + "]/todate",opt_date.label);
  443. }
  444. }
  445. exeReportPreview("RPAEB02700", "XMLSTR", "/root/tmp/list1");
  446. ]]>
  447. </script>
  448. </button>
  449. <input id="ipt_suplcmpynm" ref="/root/tmp/suplcustnm" visibility="hidden" style="left:610px; top:0px; width:90px; height:19px; "/>
  450. <input id="ipt_suplcmpy" ref="/root/tmp/suplcustcd" visibility="hidden" style="left:390px; top:0px; width:85px; height:19px; "/>
  451. </group>
  452. </xhtml:body>
  453. </xhtml:html>