SMAEB03405_조영제불출.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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. <mainlist>
  11. <uselist>
  12. <goodcd/>
  13. <goodnm/>
  14. <iodd/>
  15. <qty/>
  16. <usernm/>
  17. <ioflag/>
  18. <sectcd/>
  19. <suppdeptcd/>
  20. </uselist>
  21. <wlnlist>
  22. <goodcd/>
  23. <goodnm/>
  24. <iodd/>
  25. <qty/>
  26. <usernm/>
  27. <ioflag/>
  28. <sectcd/>
  29. <suppdeptcd/>
  30. </wlnlist>
  31. </mainlist>
  32. <goodlist>
  33. <item>
  34. <goodcd/>
  35. <goodnm/>
  36. <speccd/>
  37. <safestocqty/>
  38. <exstocqty/>
  39. <wlnqty/>
  40. <sumqty/>
  41. <useqty/>
  42. <stocqty/>
  43. <reqqty/>
  44. </item>
  45. </goodlist>
  46. <dyestoclist>
  47. <item>
  48. <goodcd/>
  49. <goodnm/>
  50. <instcd/>
  51. <speccd/>
  52. <demand/>
  53. <outgo/>
  54. <rem/>
  55. <iodd/>
  56. <suppdeptcd/>
  57. <sectcd/>
  58. <reqid/>
  59. <reqdd/>
  60. <outid/>
  61. <outdd/>
  62. <gubun/>
  63. <reqnm/>
  64. <outnm/>
  65. <recid/>
  66. <recnm/>
  67. <recdd/>
  68. <sectcdnm/>
  69. </item>
  70. </dyestoclist>
  71. <goodinfo/>
  72. <dyecdpamlist>
  73. <item>
  74. <pid/>
  75. <hngnm/>
  76. <excuexectodd/>
  77. <basecdflagdesc/>
  78. <calcscorcd/>
  79. <excucdnm/>
  80. <goodcd/>
  81. <goodnm/>
  82. <drugqty/>
  83. <speccd/>
  84. <prcpdd/>
  85. <instcd/>
  86. <excuroomcd/>
  87. </item>
  88. </dyecdpamlist>
  89. <list2>
  90. <item>
  91. <check/>
  92. <sortno/>
  93. <basecd/>
  94. <basecdflagdesc/>
  95. <excudd/>
  96. </item>
  97. </list2>
  98. </main>
  99. <send>
  100. <srchiodd/>
  101. <globalinstance>
  102. <instance1/>
  103. </globalinstance>
  104. <srchsectcd/>
  105. <srchgoodcd/>
  106. <srchgoodnm/>
  107. <srchexcuroomgrp/>
  108. <srchfromdd/>
  109. <excuroomgrpcdid/>
  110. <srchsuppdeptcd/>
  111. <excuroomcd/>
  112. <req>
  113. <data1/>
  114. </req>
  115. <srchreqid/>
  116. <srchoutid/>
  117. <srchgubun>T</srchgubun>
  118. <srchtodd/>
  119. </send>
  120. <cmb_info>
  121. <initexcuroomgrp2>
  122. <excuroomgrpcdid/>
  123. <excuroomgrpcdnm/>
  124. </initexcuroomgrp2>
  125. <goodlist>
  126. <item/>
  127. </goodlist>
  128. <init/>
  129. </cmb_info>
  130. <temp>
  131. <goodcd/>
  132. <goodnm/>
  133. <speccd/>
  134. <safestocqty/>
  135. <inswlniodd/>
  136. <inswlngoodcd/>
  137. <inswlnqty/>
  138. <setwlniodd/>
  139. <setwlngoodcd/>
  140. <setwlnqty/>
  141. <insuseiodd/>
  142. <insusegoodcd/>
  143. <insuseqty/>
  144. <setuseiodd/>
  145. <setusegoodcd/>
  146. <setuseqty/>
  147. <count/>
  148. </temp>
  149. <rexprnt>
  150. <dyestoclist>
  151. <srchiodd/>
  152. <srchsectcd/>
  153. <srchexcuroomgrp/>
  154. <srchsudept/>
  155. </dyestoclist>
  156. </rexprnt>
  157. <init>
  158. <cmb_info2/>
  159. <excuroomcdlist/>
  160. </init>
  161. </root>
  162. </instance>
  163. <script type="javascript" ev:event="xforms-ready">
  164. <![CDATA[
  165. aezfSetSuppDeptcd();
  166. model.setValue("/root/send/srchfromdd", getCurrentDate());
  167. model.setValue("/root/send/srchtodd", getCurrentDate());
  168. //20161207 메뉴에서 파라메터 가져오기
  169. var gvMenuParam = getScreenMenuParameter();
  170. //alert(gvMenuParam);
  171. if ( gvMenuParam != "" && gvMenuParam != "null") {
  172. model.setValue("/root/send/globalinstance/instance1", gvMenuParam );
  173. }
  174. model.removeNodeset("/root/main/mainlist");
  175. //model.removeNodeset("/root/main/speclist/item");
  176. astGetComboList( new Array("X0001"), new Array("/root/init/cmb_info2") );
  177. submit("TRAEA01301");
  178. cmb_sectcd.select(1);
  179. //조회
  180. rdo_gubun.value = "R"; //청구
  181. getDyeList();
  182. grd_dyelist.frozenCols = 6;
  183. model.refresh();
  184. ]]>
  185. </script>
  186. <submission id="TRAEQ00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/">
  187. <script type="javascript" ev:event="xforms-submit-done">
  188. <![CDATA[
  189. var rowcnt = grd_mainlist.rows;
  190. for(var i = 0; i < rowcnt; i++ )
  191. {
  192. if(model.getValue("/root/tmp/rem") == "")
  193. {
  194. model.setValue("/root/tmp/rem", model.getValue("/root/main/mainlist[" + i + "]/rem"));
  195. }
  196. }
  197. sortGrid(grd_mainlist);
  198. ]]>
  199. </script>
  200. </submission>
  201. <submission id="TRAEB03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/goodinfo"/>
  202. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/cmb_info"/>
  203. <submission id="TRAEB03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/goodlist"/>
  204. <submission id="TRAEB03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mainlist"/>
  205. <submission id="TXAEB03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  206. <submission id="TRAEQ01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodlist"/>
  207. <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/excuroomcdlist"/>
  208. <submission id="TXAEB03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/count"/>
  209. <submission id="TXAEB03404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/count"/>
  210. <submission id="TRAEB03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dyecdpamlist"/>
  211. <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  212. <submission id="TRAEB03408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dyestoclist"/>
  213. <submission id="TXAEB03406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/count"/>
  214. <submission id="TRAEA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list2"/>
  215. <submission id="TRAAA00001"/>
  216. </model>
  217. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  218. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  219. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  220. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  221. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  222. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  223. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  224. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  225. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  226. <script type="javascript">
  227. <![CDATA[
  228. function getDyeList()
  229. {
  230. btn_out.disabled = false;
  231. btn_outcnl.disabled = true;
  232. if( model.getValue("/root/send/srchfromdd") == "" ){
  233. messageBox("입고일자를", "I007");
  234. return;
  235. }
  236. // if( model.getValue("/root/send/srchsectcd") == "" ){
  237. // messageBox("검사실을", "I007");
  238. // return;
  239. // }
  240. var gubun = model.getValue("/root/send/srchgubun") ;
  241. if ( gubun == "R") {
  242. btn_out.disabled = false;
  243. btn_outcnl.disabled = true;
  244. grd_dyelist.colDisabled ( grd_dyelist.colRef('outgo')) = false;
  245. } else if ( gubun == "O") {
  246. btn_out.disabled = true;
  247. btn_outcnl.disabled = false;
  248. grd_dyelist.colDisabled ( grd_dyelist.colRef('demand')) = true;
  249. grd_dyelist.colDisabled ( grd_dyelist.colRef('outgo')) = true;
  250. } else {
  251. btn_out.disabled = true;
  252. btn_outcnl.disabled = true;
  253. }
  254. if (submit("TRAEB03408") ) {
  255. if( model.getValue("/root/main/dyestoclist/item[1]/srchflag") == "2" ){ // 데이터가 없을경우 활성화.
  256. for(var a = 1 ; a <= grd_dyelist.rows ; a++ ){
  257. grd_dyelist.addStatus( a ,"insert");
  258. }
  259. }
  260. }
  261. //model.refresh();
  262. }
  263. ]]>
  264. </script>
  265. </xhtml:head>
  266. <xhtml:body pagewidth="1210" pageheight="780" style="margin-left:7; margin-top:0; margin-right:8; margin-bottom:0; ">
  267. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  268. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:205px; height:15px; ">조영제/재료 청구확인관리</caption>
  269. </group>
  270. <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:730px; ">
  271. <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  272. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  273. <caption id="caption19" class="search_name" style="left:10px; top:9px; width:105px; height:17px; ">조회일자 :</caption>
  274. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:8px; width:90px; height:19px; "/>
  275. <line id="line6" class="line_4" style="x1:1116px; y1:6px; x2:1116px; y2:28px; "/>
  276. <caption id="caption20" class="search_name" style="left:310px; top:8px; width:83px; height:17px; ">검사실 :</caption>
  277. <button id="btn_retrieve" class="btn1_letter2" navindex="5" style="left:1129px; top:7px; width:56px; height:22px; ">
  278. <caption>조회</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. getDyeList();
  282. ]]>
  283. </script>
  284. </button>
  285. <select1 id="cmb_sectcd" ref="/root/send/srchsectcd" navindex="4" appearance="minimal" style="left:390px; top:8px; width:187px; height:19px; ">
  286. <choices>
  287. <itemset nodeset="/root/cmb_info/initexcuroomgrp2">
  288. <label ref="excuroomgrpcdnm"/>
  289. <value ref="excuroomgrpcdid"/>
  290. </itemset>
  291. </choices>
  292. <script type="javascript" ev:event="xforms-value-changed">
  293. <![CDATA[
  294. model.setValue("/root/send/excuroomcd", model.getValue("/root/send/srchsectcd"));
  295. model.removeNodeset("/root/main/list2/item");
  296. if (submit("TRAEA00202")){
  297. model.setValue("/root/send/excuroomcd", "");
  298. // if (grd_curerlist.rows > 1){
  299. // for (var i = 1; i < grd_curerlist.rows; i ++){
  300. // model.setValue("/root/main/list2/item[" + i + "]/basecdflagdesc", model.getValue("/root/main/list2/item[" + i + "]/basecd"));
  301. // }
  302. // }
  303. }
  304. model.refresh();
  305. ]]>
  306. </script>
  307. </select1>
  308. <select1 id="rdo_gubun" ref="/root/send/srchgubun" appearance="full" cols="4" overflow="visible" style="left:660px; top:10px; width:245px; height:20px; border-style:none; ">
  309. <choices>
  310. <item>
  311. <label>전체</label>
  312. <value>T</value>
  313. </item>
  314. <item>
  315. <label>청구</label>
  316. <value>R</value>
  317. </item>
  318. <item>
  319. <label>청구확인</label>
  320. <value>O</value>
  321. </item>
  322. <item>
  323. <label>수령</label>
  324. <value>I</value>
  325. </item>
  326. </choices>
  327. </select1>
  328. <caption id="caption2" class="search_name" style="left:595px; top:10px; width:83px; height:17px; ">구분 :</caption>
  329. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:190px; top:8px; width:90px; height:19px; "/>
  330. </group>
  331. <caption id="caption22" class="tit_2" style="left:0px; top:58px; width:135px; height:13px; ">청구/확인 현황</caption>
  332. <line id="line7" class="line_1" style="x1:0px; y1:75px; x2:1193px; y2:75px; "/>
  333. <button id="btn_out" class="btn3_letter4" style="left:960px; top:50px; width:80px; height:22px; ">
  334. <caption>청구확인</caption>
  335. <script type="javascript" ev:event="DOMActivate">
  336. <![CDATA[
  337. var cnt = getNodesetCount("/root/main/dyestoclist/item");
  338. if( cnt > 0 ) {
  339. for( var i = 1; i <= cnt; i++){
  340. // if ( model.getValue("/root/main/dyestoclist/item[" + i + "]/outgo") == "" ) {
  341. // messageBox("저장할 청구확인량이", "I004");
  342. // return
  343. // }
  344. //model.setValue("/root/main/dyestoclist/item[" + i + "]/iodd", model.getValue("/root/send/srchfromdd") );
  345. //model.setValue("/root/main/dyestoclist/item[" + i + "]/suppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  346. model.setValue("/root/main/dyestoclist/item[" + i + "]/gubun", "O");
  347. grd_dyelist.addStatus(i, "update");
  348. }
  349. grd_dyelist.refresh();
  350. //alert( grd_dyelist.getUpdateData());
  351. if( messageBox("조영제 청구확인을","Q002")==6 ) {
  352. model.setValue("/root/send/req/data1", grd_dyelist.getUpdateData());
  353. submit("TXAEB03406");
  354. rdo_gubun.value = "O"; //청구확인
  355. getDyeList();
  356. }
  357. }else{
  358. messageBox("저장할 청구확인정보가", "I004");
  359. }
  360. ]]>
  361. </script>
  362. </button>
  363. <datagrid id="grd_dyelist" nodeset="/root/main/dyestoclist/item" caption="검사실^조영제/재료코드^조영제/재료명^규격(ml)^청구량^수령량^상태^청구자1^청구자^청구일자^청구일자^청구확인자id^청구확인자^청구확인일자^청구확인일자^수령자id^수령자^수령일자^수령일자^비고^caption2^caption3^caption4" colsep="^" colwidth="88, 105, 288, 53, 51, 46, 56, 56, 49, 59, 48, 48, 70, 59, 44, 52, 53, 60, 62, 189, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:80px; width:1193px; height:646px; ">
  364. <col ref="sectcdnm" type="output" style="text-align:left; padding-left:10; "/>
  365. <col ref="goodcd" type="inputbutton" style="text-align:left; padding-left:10; "/>
  366. <col ref="goodnm" type="output" style="text-align:left; padding-left:10; "/>
  367. <col ref="speccd" type="output" format="#.#" style="text-align:right; padding-right:20; "/>
  368. <col ref="demand" type="input" format="##.#" style="text-align:right; padding-right:20; "/>
  369. <col ref="outgo" type="output" visibility="hidden"/>
  370. <col ref="gubun" type="combo" style="text-align:center; ">
  371. <choices>
  372. <item>
  373. <label>미신청</label>
  374. <value>S</value>
  375. </item>
  376. <item>
  377. <label>청구</label>
  378. <value>R</value>
  379. </item>
  380. <item>
  381. <label>청구확인</label>
  382. <value>O</value>
  383. </item>
  384. <item>
  385. <label>수령</label>
  386. <value>I</value>
  387. </item>
  388. </choices>
  389. </col>
  390. <col ref="reqid" type="output" visibility="hidden"/>
  391. <col ref="reqnm" type="output"/>
  392. <col ref="reqdd"/>
  393. <col ref="reqtm"/>
  394. <col ref="outid" type="output" visibility="hidden"/>
  395. <col ref="outnm" type="output"/>
  396. <col ref="outdd"/>
  397. <col ref="outtm"/>
  398. <col ref="recid" type="output" visibility="hidden"/>
  399. <col ref="recnm" type="output"/>
  400. <col ref="recdd"/>
  401. <col ref="rectm"/>
  402. <col ref="rem" type="input"/>
  403. <col ref="sectcd" visibility="hidden"/>
  404. <col ref="iodd" visibility="hidden"/>
  405. <col ref="suppdeptcd" visibility="hidden"/>
  406. <script type="javascript" ev:event="onbuttonclick">
  407. <![CDATA[
  408. var colidx = grd_dyelist.col;
  409. if( grd_dyelist.colAttribute(colidx, "ref") == "goodcd" ){
  410. modal("SPAEB00401", "", "200", "200", "popup", "/root/hidden/pseursrvinfo", "/root/init/pseursrvinfo");
  411. model.refresh();
  412. var selectedrow = grd_dyelist.selectedCells.item(0).row;
  413. if(model.getValue("/root/temp/goodcd") != "")
  414. {
  415. model.makeValue("/root/main/dyestoclist/item[" + selectedrow + "]/goodcd", model.getValue("/root/temp/goodcd"));
  416. model.makeValue("/root/main/dyestoclist/item[" + selectedrow + "]/goodnm", model.getValue("/root/temp/goodnm"));
  417. model.makeValue("/root/main/dyestoclist/item[" + selectedrow + "]/speccd", model.getValue("/root/temp/speccd"));
  418. }
  419. model.setValue("/root/temp/goodcd", "");
  420. }
  421. ]]>
  422. </script>
  423. </datagrid>
  424. <button id="btn_outcnl" class="btn4_letter6" style="left:1040px; top:50px; width:104px; height:22px; ">
  425. <caption>청구확인취소</caption>
  426. <script type="javascript" ev:event="DOMActivate">
  427. <![CDATA[
  428. var cnt = getNodesetCount("/root/main/dyestoclist/item");
  429. if ( ipt_fromdd.value != ipt_todd.value) {
  430. messageBox("청구확인 취소시 업무는 하루단위로만 진행됩니다. 조회일자를 맞추십시오.", "I000");
  431. return;
  432. }
  433. if( cnt > 0 ) {
  434. for( var i = 1; i <= cnt; i++){
  435. model.setValue("/root/main/dyestoclist/item[" + i + "]/suppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  436. //청구전
  437. model.setValue("/root/main/dyestoclist/item[" + i + "]/gubun", "OC");
  438. grd_dyelist.addStatus(i, "update");
  439. }
  440. grd_dyelist.refresh();
  441. if( messageBox("조영제 청구확인 취소를","Q002")==6 ) {
  442. model.setValue("/root/send/req/data1", grd_dyelist.getUpdateData());
  443. submit("TXAEB03406");
  444. rdo_gubun.value = "R"; //청구
  445. getDyeList();
  446. }
  447. }else{
  448. messageBox("저장할 청구확인 취소정보가", "I004");
  449. }
  450. ]]>
  451. </script>
  452. </button>
  453. </group>
  454. <group id="grp_btn" style="left:0px; top:745px; width:1195px; height:25px; ">
  455. <button id="button2" class="btn6_letter2" navindex="6" style="left:0px; top:0px; width:56px; height:22px; ">
  456. <caption>출력</caption>
  457. <script type="javascript" ev:event="DOMActivate">
  458. <![CDATA[
  459. if ( model.getValue("/root/send/srchgubun") != "O" && model.getValue("/root/send/srchgubun") != "I" ) {
  460. messageBox("조영제 청구확인 및 수령 후 출력이 ","I006" );
  461. return
  462. }
  463. var cnt = getNodesetCount("/root/main/dyestoclist/item");
  464. for( var i = 1; i <= cnt; i++){
  465. model.makeNode("/root/rexprnt/dyestoclist/item[" + i + "]");
  466. model.copyNode("/root/rexprnt/dyestoclist/item[" + i + "]", "/root/main/dyestoclist/item["+ i +"]");
  467. model.setValue("/root/rexprnt/dyestoclist/item[" + i + "]/goodcd", grd_dyelist.labelMatrix(i,2));
  468. model.makeValue("/root/rexprnt/dyestoclist/item[" + i + "]/goodcdd", model.getValue("/root/main/dyestoclist/item["+ i +"]/goodcd"));
  469. }
  470. model.setValue("/root/rexprnt/dyestoclist/srchiodd", ipt_fromdd.label + " ~ " + ipt_todd.label );
  471. if( model.getValue("/root/send/srchsectcd" ) != "" ){
  472. model.setValue("/root/rexprnt/dyestoclist/srchsectcd", cmb_sectcd.label );
  473. }else{
  474. model.setValue("/root/rexprnt/dyestoclist/srchsectcd", "" );
  475. }
  476. model.setValue("/root/rexprnt/dyestoclist/srchsudept", getUserInfo("dutplcenm") );
  477. model.refresh();
  478. exeReportPreview("RPAEB03408", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  479. //model.removeNodeset("/root/rexprnt/dyestoclist/item");
  480. ]]>
  481. </script>
  482. </button>
  483. </group>
  484. </xhtml:body>
  485. </xhtml:html>