SMRSE00200_(미)불출내역조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  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. <gooddlvrinfo>
  11. <gooddlvrlist>
  12. <reqdivs/>
  13. <dlvrflag/>
  14. <deptnm/>
  15. <reqdd/>
  16. <reqpridflag/>
  17. <deliveflag/>
  18. <dinfdivs/>
  19. <reqflag/>
  20. <goodcd/>
  21. <goodnm/>
  22. <goodspec/>
  23. <goodmodel/>
  24. <exchngqty/>
  25. <reqqty/>
  26. <rergstqty/>
  27. <lendqty/>
  28. <rgstqty/>
  29. <cmt/>
  30. <sumqty/>
  31. <dlvqty/>
  32. <nodlvqty/>
  33. <exchngcmt/>
  34. <devlcmt/>
  35. <reqtm/>
  36. <reqpsnnm/>
  37. <certdt/>
  38. <certnm/>
  39. <delivedt/>
  40. <delivepsnnm/>
  41. </gooddlvrlist>
  42. </gooddlvrinfo>
  43. <disgooddlvrinfo>
  44. <disgooddlvrlist/>
  45. </disgooddlvrinfo>
  46. </main>
  47. <cond>
  48. <gooddlvrinfo>
  49. <instcd/>
  50. <csrreqdeptcd/>
  51. <reqdeptcd/>
  52. <reqfromdd/>
  53. <reqtodd/>
  54. <reqpridflag>
  55. </reqpridflag>
  56. <deliveflag>1</deliveflag>
  57. <reqdelrflag>dvr</reqdelrflag>
  58. </gooddlvrinfo>
  59. <disgooddlvrinfo>
  60. <instcd/>
  61. <csrreqdeptcd/>
  62. <reqdeptcd/>
  63. <reqfromdd/>
  64. <reqtodd/>
  65. </disgooddlvrinfo>
  66. </cond>
  67. <send>
  68. <reqdata/>
  69. </send>
  70. <init>
  71. <csrreqdeptlist/>
  72. <deptcodelist/>
  73. <csrdeptlist/>
  74. </init>
  75. <hidden>
  76. <csrreqdeptlist/>
  77. <deptcodelist/>
  78. <csrdeptlist/>
  79. </hidden>
  80. <temp/>
  81. <tmp>
  82. <csrreqdeptlist/>
  83. </tmp>
  84. </root>
  85. </instance>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. var getDeptcd = opener.javascript.getParameter("deptcd");
  89. model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
  90. model.makeValue("/root/send/reqdata/instcd" , getUserInfo("dutplceinstcd"));
  91. fDeliveflagChg();//청구차수 선택시 상태값 변경
  92. model.removeNodeset("/root/send/reqdata");
  93. misfComboComCdListMulti("Z0007", "cmb_instcd");
  94. misfComboComCdListMulti("Z0007", "cmb_disinstcd2");
  95. model.setValue("/root/cond/gooddlvrinfo/instcd", getUserInfo("dutplceinstcd"));
  96. model.setValue("/root/cond/disgooddlvrinfo/instcd", getUserInfo("dutplceinstcd"));
  97. model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
  98. model.makeValue("/root/send/goodreq/useyn", "Y");
  99. submit("TRRSS01211");
  100. copyNodesetType("/root/init/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
  101. copyNodesetType("/root/hidden/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
  102. copyNodesetType("/root/tmp/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
  103. model.removeNodeset("/root/send/goodreq");
  104. addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
  105. addComboItem( "cmb_discsrreqdeptcd", "전체", "", "above");
  106. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  107. if(getDeptcd !=""){
  108. model.makeValue("/root/send/reqdata/deptcd",getDeptcd);
  109. }else{
  110. model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
  111. }
  112. model.makeValue("/root/send/reqdata/refcond", "deptcd");
  113. submit("TRRSS01214");
  114. copyNodesetType("/root/init/deptcodelist" ,"/root/temp/deptcodelist","replace", model, model);
  115. copyNodesetType("/root/hidden/deptcodelist" ,"/root/temp/deptcodelist","replace", model, model);
  116. model.setValue("/root/cond/gooddlvrinfo/csrreqdeptcd",model.getValue("/root/init/deptcodelist/csrreqdeptcd2"));
  117. model.setValue("/root/cond/disgooddlvrinfo/csrreqdeptcd",model.getValue("/root/hidden/deptcodelist/csrreqdeptcd2"));
  118. cmb_csrreqdeptcd.refresh();
  119. cmb_discsrreqdeptcd.refresh();
  120. model.removeNodeset("/root/send/reqdata");
  121. model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
  122. model.makeValue("/root/send/reqdata/useyn","Y");
  123. submit("TRRSS01212");
  124. copyNodesetType("/root/init/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
  125. copyNodesetType("/root/hidden/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
  126. if(getDeptcd !=""){
  127. model.setValue("/root/cond/gooddlvrinfo/reqdeptcd",getDeptcd);
  128. model.setValue("/root/cond/disgooddlvrinfo/reqdeptcd",getDeptcd);
  129. }else{
  130. model.setValue("/root/cond/gooddlvrinfo/reqdeptcd",getUserInfo("dutplcecd"));
  131. model.setValue("/root/cond/disgooddlvrinfo/reqdeptcd",getUserInfo("dutplcecd"));
  132. }
  133. cmb_deptcd.refresh();
  134. cmb_disdeptcd.refresh();
  135. model.setValue("/root/cond/gooddlvrinfo/reqfromdd",getCurrentDate());
  136. model.setValue("/root/cond/gooddlvrinfo/reqtodd",getCurrentDate());
  137. model.setValue("/root/cond/disgooddlvrinfo/reqfromdd",getCurrentDate());
  138. model.setValue("/root/cond/disgooddlvrinfo/reqtodd",getCurrentDate());
  139. model.removeNodeset("/root/send/reqdata");
  140. model.removeNodeset("/root/main/gooddlvrinfo/gooddlvrlist");
  141. model.removeNodeset("/root/main/disgooddlvrinfo/disgooddlvrlist");
  142. model.refresh();
  143. ]]>
  144. </script>
  145. <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
  146. <submission id="TRRSS01214" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/deptcodelist"/>
  147. <submission id="TRRSS01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/csrdeptlist"/>
  148. <submission id="TRRSE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/gooddlvrinfo"/>
  149. <submission id="TRRSE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/disgooddlvrinfo"/>
  150. <submission id="TRRSD06013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/tmlist"/>
  151. </model>
  152. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  154. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  157. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  158. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  159. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  160. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  161. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  162. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  163. <script type="javascript">
  164. <![CDATA[
  165. //불출 및 미불출 내역 조회
  166. //(srchflag : dvr->불출,dis->미불출)
  167. function fGoodDvlSearch(srchflag){
  168. if(srchflag == "dvr"){
  169. model.makeValue("/root/send/reqdata/instcd" ,model.getValue("/root/cond/gooddlvrinfo/instcd"));
  170. model.makeValue("/root/send/reqdata/csrreqdeptcd" ,model.getValue("/root/cond/gooddlvrinfo/csrreqdeptcd"));
  171. model.makeValue("/root/send/reqdata/reqdeptcd" ,model.getValue("/root/cond/gooddlvrinfo/reqdeptcd"));
  172. model.makeValue("/root/send/reqdata/reqfromdd" ,model.getValue("/root/cond/gooddlvrinfo/reqfromdd"));
  173. model.makeValue("/root/send/reqdata/reqtodd" ,model.getValue("/root/cond/gooddlvrinfo/reqtodd"));
  174. if(model.getValue("/root/cond/gooddlvrinfo/reqpridflag") =="-"){
  175. model.makeValue("/root/send/reqdata/reqpridflag" ,"");
  176. }else{
  177. model.makeValue("/root/send/reqdata/reqpridflag" ,model.getValue("/root/cond/gooddlvrinfo/reqpridflag"));
  178. }
  179. model.makeValue("/root/send/reqdata/deliveflag" ,model.getValue("/root/cond/gooddlvrinfo/deliveflag"));
  180. model.makeValue("/root/send/reqdata/reqdelrflag" ,model.getValue("/root/cond/gooddlvrinfo/reqdelrflag"));
  181. if(submit("TRRSE00201")){
  182. model.removeNodeset("/root/send/reqdata");
  183. grd_gooddlvrlist.rebuildStyle();
  184. for(var i= grd_gooddlvrlist.fixedRows ; i < grd_gooddlvrlist.rows; i++ ){
  185. var exchngflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("exchngflag"));
  186. var reqqtyflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("reqqtyflag"));
  187. var rergstflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("rergstflag"));
  188. var lendflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("lendflag"));
  189. var rgstqtyflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("rgstqtyflag"));
  190. var sumflag = grd_gooddlvrlist.valueMatrix(i,grd_gooddlvrlist.colRef("sumflag"));
  191. if(exchngflag =="N"){
  192. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("exchngqty"),i, grd_gooddlvrlist.colRef("exchngqty")) = "#ff9900";
  193. }
  194. if(reqqtyflag =="N" ){
  195. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("reqqty"), i, grd_gooddlvrlist.colRef("reqqty")) = "#ff9900";
  196. }
  197. if(rergstflag =="N"){
  198. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("rergstqty"), i, grd_gooddlvrlist.colRef("rergstqty")) = "#ff9900";
  199. }
  200. if(lendflag =="N"){
  201. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("lendqty"), i, grd_gooddlvrlist.colRef("lendqty")) = "#ff9900";
  202. }
  203. if(rgstqtyflag =="N"){
  204. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("rgstqty"), i, grd_gooddlvrlist.colRef("rgstqty")) = "#ff9900";
  205. }
  206. if(sumflag =="N"){
  207. grd_gooddlvrlist.cellStyle("background-color", i, grd_gooddlvrlist.colRef("sumqty"), i, grd_gooddlvrlist.colRef("sumqty")) = "#ff9900";
  208. }
  209. }
  210. }
  211. }else if(srchflag == "dis"){
  212. model.makeValue("/root/send/reqdata/instcd" ,model.getValue("/root/cond/disgooddlvrinfo/instcd"));
  213. model.makeValue("/root/send/reqdata/csrreqdeptcd" ,model.getValue("/root/cond/disgooddlvrinfo/csrreqdeptcd"));
  214. model.makeValue("/root/send/reqdata/reqdeptcd" ,model.getValue("/root/cond/disgooddlvrinfo/reqdeptcd"));
  215. model.makeValue("/root/send/reqdata/reqfromdd" ,model.getValue("/root/cond/disgooddlvrinfo/reqfromdd"));
  216. model.makeValue("/root/send/reqdata/reqtodd" ,model.getValue("/root/cond/disgooddlvrinfo/reqtodd"));
  217. if(submit("TRRSE00202")){
  218. model.removeNodeset("/root/send/reqdata");
  219. }
  220. }
  221. //model.refresh();
  222. }
  223. //청구차수 선택시 상태값 변경
  224. function fDeliveflagChg(){
  225. var eryn = model.getValue(chk_eryn.attribute("ref"));
  226. var std = isSearchString(eryn, "1");
  227. var er = isSearchString(eryn, "2");
  228. if(std) {
  229. cmb_reqpridflag.disabled = false;
  230. model.setValue(cmb_reqpridflag.attribute("ref"), model.getValue("/root/init/tmlist/reqseqlist/reqseq"));
  231. cmb_reqpridflag.refresh();
  232. } else {
  233. cmb_reqpridflag.disabled = true;
  234. cmb_reqpridflag.value = "-";
  235. }
  236. }
  237. ]]>
  238. </script>
  239. </xhtml:head>
  240. <xhtml:body pagewidth="1270" pageheight="780" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  241. <group id="group1" style="left:0px; top:0px; width:1125px; height:13px; ">
  242. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">(미)불출내역조회</caption>
  243. </group>
  244. <button id="btn_cncrpatsrch" class="btn_sw" group="tab" selected="true" style="left:3px; top:15px; width:100px; height:22px; ">
  245. <caption>불출내역조회</caption>
  246. <script type="javascript" ev:event="onclick">
  247. <![CDATA[
  248. model.toggle("case1");
  249. ]]>
  250. </script>
  251. </button>
  252. <switch id="switch1" style="left:5px; top:40px; width:1239px; height:688px; ">
  253. <case id="case1" selected="true">
  254. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:5px; width:1230px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
  255. <button id="btn_search" class="btn1_letter2" style="left:1050px; top:25px; width:56px; height:22px; ">
  256. <caption>조회</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. fGoodDvlSearch("dvr");
  260. ]]>
  261. </script>
  262. </button>
  263. <line id="line4" class="line_4" style="x1:1040px; y1:20px; x2:1040px; y2:52px; "/>
  264. <caption id="caption1" class="tit_2" style="left:5px; top:76px; width:115px; height:13px; ">불출내역조회</caption>
  265. <line id="line1" class="line_1" style="x1:3px; y1:95px; x2:1233px; y2:95px; "/>
  266. <select id="chk_eryn" ref="/root/cond/gooddlvrinfo/deliveflag" overflow="visible" appearance="full" cellspacing="70" cols="2" style="left:110px; top:47px; width:190px; height:15px; border-style:none; ">
  267. <choices>
  268. <item>
  269. <label>정규</label>
  270. <value>1</value>
  271. </item>
  272. <item>
  273. <label>응급</label>
  274. <value>2</value>
  275. </item>
  276. </choices>
  277. <script type="javascript" ev:event="xforms-value-changed">
  278. <![CDATA[
  279. fDeliveflagChg();
  280. ]]>
  281. </script>
  282. </select>
  283. <select1 id="cmb_instcd" ref="/root/cond/gooddlvrinfo/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:110px; top:19px; width:125px; height:19px; text-align:center; ">
  284. <choices>
  285. <itemset>
  286. <label/>
  287. <value/>
  288. </itemset>
  289. </choices>
  290. </select1>
  291. <input id="ipt_reqfrdd" ref="/root/cond/gooddlvrinfo/reqfromdd" class="input_s_essential" inputtype="date" style="left:785px; top:20px; width:100px; height:19px; text-align:center; "/>
  292. <caption id="caption20" class="search_name" style="left:270px; top:20px; width:94px; height:17px; ">부서구분 :</caption>
  293. <caption id="caption2" class="search_name" style="left:20px; top:45px; width:86px; height:17px; ">청구차수 :</caption>
  294. <caption id="caption24" class="search_name" style="left:695px; top:22px; width:86px; height:17px; ">청구일자 :</caption>
  295. <caption id="caption14" class="search_name" style="left:20px; top:19px; width:86px; height:17px; ">기관코드 :</caption>
  296. <select1 id="cmb_csrreqdeptcd" ref="/root/cond/gooddlvrinfo/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:360px; top:20px; width:110px; height:19px; ">
  297. <choices>
  298. <itemset nodeset="/root/init/csrreqdeptlist">
  299. <label ref="csrreqdeptnm"/>
  300. <value ref="csrreqdeptcd"/>
  301. </itemset>
  302. </choices>
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
  306. model.makeValue("/root/send/reqdata/useyn","Y");
  307. submit("TRRSS01212");
  308. copyNodesetType("/root/init/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
  309. cmb_deptcd.refresh();
  310. if(getNodesetCnt(model,"/root/init/csrdeptlist") == 1 ){
  311. model.setValue("/root/cond/gooddlvrinfo/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
  312. }else{
  313. addComboItem( "cmb_deptcd", "전체", "", "above");
  314. model.setValue("/root/cond/gooddlvrinfo/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
  315. }
  316. model.removeNodeset("/root/send/reqdata");
  317. fGoodDvlSearch("dvr");
  318. ]]>
  319. </script>
  320. </select1>
  321. <button id="button1" class="btn1_letter2" style="left:1108px; top:25px; width:56px; height:22px; ">
  322. <caption>엑셀</caption>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  326. if (fileName != "")
  327. {
  328. grd_gooddlvrlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  329. }
  330. ]]>
  331. </script>
  332. </button>
  333. <button id="button5" class="btn1_letter2" style="left:1166px; top:25px; width:56px; height:22px; ">
  334. <caption>출력</caption>
  335. <script type="javascript" ev:event="DOMActivate">
  336. <![CDATA[
  337. messageBox("개발중","I009");
  338. ]]>
  339. </script>
  340. </button>
  341. <select1 id="rdo_reqdelrflag" ref="/root/cond/gooddlvrinfo/reqdelrflag" scroll="auto" appearance="full" cols="3" rows="1" overflow="visible" style="left:420px; top:45px; width:150px; height:20px; border-style:none; ">
  342. <choices>
  343. <item>
  344. <label>청구기준</label>
  345. <value>ref</value>
  346. </item>
  347. <item>
  348. <label>불출기준</label>
  349. <value>dvr</value>
  350. </item>
  351. </choices>
  352. </select1>
  353. <caption id="cap_indschflag" class="search_name" style="left:335px; top:44px; width:91px; height:17px; ">구 분 :</caption>
  354. <select1 id="cmb_deptcd" ref="/root/cond/gooddlvrinfo/reqdeptcd" class="combo_s_essential" appearance="minimal" style="left:576px; top:20px; width:109px; height:19px; ">
  355. <choices>
  356. <itemset nodeset="/root/init/csrdeptlist">
  357. <label ref="deptnm"/>
  358. <value ref="deptcd"/>
  359. </itemset>
  360. </choices>
  361. <script type="javascript" ev:event="xforms-value-changed">
  362. <![CDATA[
  363. fGoodDvlSearch("dvr");
  364. ]]>
  365. </script>
  366. </select1>
  367. <caption id="caption10" class="search_name" style="left:485px; top:20px; width:90px; height:17px; ">청구부서 :</caption>
  368. <caption id="caption11" class="search_no_b" style="left:895px; top:22px; width:12px; height:17px; ">~</caption>
  369. <input id="input3" ref="/root/cond/gooddlvrinfo/reqtodd" class="input_s_essential" inputtype="date" style="left:920px; top:20px; width:100px; height:19px; text-align:center; "/>
  370. <datagrid id="grd_gooddlvrlist" nodeset="/root/main/gooddlvrinfo/gooddlvrlist" class="datagrid2" caption="상태^불출구분^청구부서명^청구일자^청구차수^응급여부^멸균구분^물품구분^물품코드^물품명^규격^모델^교환^청구^재멸균^대여^멸균&#xA;의뢰^비고^total&#xA;수량^불출수량^미불출수량^미불출사유^미불출사유비고^청구일시^청구자^확인일시^확인자^불출일시^불출자^exchngflag^reqqtyflag^rergstflag^lendflag^rgstqtyflag^sumflag" colsep="^" colwidth="41, 72, 69, 88, 37, 34, 81, 79, 100, 199, 100, 100, 46, 44, 48, 43, 44, 100, 41, 34, 43, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="11" explorerbar="sort" extendlastcol="scroll" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:3px; top:100px; width:1230px; height:580px; ">
  371. <col disabled="true" ref="reqdivs" type="combo" style="text-align:center; ">
  372. <choices>
  373. <item>
  374. <label>청구</label>
  375. <value>1</value>
  376. </item>
  377. <item>
  378. <label>마감</label>
  379. <value>2</value>
  380. </item>
  381. <item>
  382. <label>확인</label>
  383. <value>3</value>
  384. </item>
  385. <item>
  386. <label>불출</label>
  387. <value>4</value>
  388. </item>
  389. <item>
  390. <label>반납</label>
  391. <value>5</value>
  392. </item>
  393. </choices>
  394. </col>
  395. <col disabled="true" ref="dlvrflag" type="combo" style="text-align:center; ">
  396. <choices>
  397. <item>
  398. <label>일반</label>
  399. <value>1</value>
  400. </item>
  401. <item>
  402. <label>가스불출</label>
  403. <value>2</value>
  404. </item>
  405. <item>
  406. <label>추가불출</label>
  407. <value>3</value>
  408. </item>
  409. </choices>
  410. </col>
  411. <col disabled="true" ref="reqdeptnm" type="output" style="text-align:center; "/>
  412. <col disabled="true" ref="reqdd" type="inputdate" style="text-align:center; "/>
  413. <col ref="reqpridflag" style="text-align:center; "/>
  414. <col checkvalue="2,1" disabled="true" ref="deliveflag" type="checkbox"/>
  415. <col disabled="true" ref="dinfdivs" type="combo" style="text-align:center; ">
  416. <choices>
  417. <item>
  418. <label>고압증기멸균</label>
  419. <value>1</value>
  420. </item>
  421. <item>
  422. <label>가스멸균</label>
  423. <value>2</value>
  424. </item>
  425. <item>
  426. <label>건열멸균</label>
  427. <value>3</value>
  428. </item>
  429. <item>
  430. <label>플라즈마멸균</label>
  431. <value>4</value>
  432. </item>
  433. </choices>
  434. </col>
  435. <col disabled="true" ref="reqflag" type="combo" style="text-align:center; ">
  436. <choices>
  437. <item>
  438. <label>비품</label>
  439. <value>1</value>
  440. </item>
  441. <item>
  442. <label>소모품</label>
  443. <value>2</value>
  444. </item>
  445. <item>
  446. <label>멸균의뢰</label>
  447. <value>3</value>
  448. </item>
  449. <item>
  450. <label>린넨</label>
  451. <value>4</value>
  452. </item>
  453. </choices>
  454. </col>
  455. <col ref="goodcd" style="text-align:center; "/>
  456. <col ref="goodnm"/>
  457. <col ref="goodspec"/>
  458. <col ref="goodmodel"/>
  459. <col ref="exchngqty" style="text-align:right; "/>
  460. <col ref="reqqty" style="text-align:right; "/>
  461. <col ref="rergstqty" style="text-align:right; "/>
  462. <col ref="lendqty" style="text-align:right; "/>
  463. <col ref="rgstqty" style="text-align:right; "/>
  464. <col ref="cmt"/>
  465. <col ref="sumqty" style="text-align:right; "/>
  466. <col ref="dlvqty" style="text-align:right; "/>
  467. <col ref="nodlvqty" style="text-align:right; "/>
  468. <col disabled="true" ref="exchngcmt" type="combo" style="text-align:center; ">
  469. <choices>
  470. <item>
  471. <label>입력에러</label>
  472. <value>1</value>
  473. </item>
  474. <item>
  475. <label>과량청구</label>
  476. <value>2</value>
  477. </item>
  478. <item>
  479. <label>공급실수량부족</label>
  480. <value>3</value>
  481. </item>
  482. <item>
  483. <label>기타</label>
  484. <value>4</value>
  485. </item>
  486. </choices>
  487. </col>
  488. <col ref="devlcmt"/>
  489. <col ref="reqtm" format="yyyy-mm-dd hh:nn"/>
  490. <col ref="reqpsnnm" style="text-align:center; "/>
  491. <col ref="certdt" format="yyyy-mm-dd hh:nn"/>
  492. <col ref="certnm" style="text-align:center; "/>
  493. <col ref="delivedt" format="yyyy-mm-dd hh:nn"/>
  494. <col ref="delivepsnnm" style="text-align:center; "/>
  495. <col ref="exchngflag" visibility="hidden"/>
  496. <col ref="reqqtyflag" visibility="hidden"/>
  497. <col ref="rergstflag" visibility="hidden"/>
  498. <col ref="lendflag" visibility="hidden"/>
  499. <col ref="rgstqtyflag" visibility="hidden"/>
  500. <col ref="sumflag" visibility="hidden"/>
  501. <script type="javascript" ev:event="onaftersort">
  502. <![CDATA[
  503. grd_gooddlvrlist.gridToInstance();
  504. ]]>
  505. </script>
  506. </datagrid>
  507. <select1 id="cmb_reqpridflag" ref="/root/cond/gooddlvrinfo/reqpridflag" appearance="minimal" style="left:155px; top:43px; width:65px; height:19px; ">
  508. <choices>
  509. <item>
  510. <label>전체</label>
  511. <value/>
  512. </item>
  513. <item>
  514. <label>1차</label>
  515. <value>1</value>
  516. </item>
  517. <item>
  518. <label>2차</label>
  519. <value>2</value>
  520. </item>
  521. <item>
  522. <label>3차</label>
  523. <value>3</value>
  524. </item>
  525. </choices>
  526. <script type="javascript" ev:event="xforms-value-changed">
  527. <![CDATA[
  528. ]]>
  529. </script>
  530. </select1>
  531. </case>
  532. <case id="case3">
  533. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:3px; width:1230px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
  534. <caption id="caption3" class="tit_2" style="left:5px; top:76px; width:119px; height:14px; ">미불출내역조회</caption>
  535. <datagrid id="grd_disgooddlvrlist" nodeset="/root/main/disgooddlvrinfo/disgooddlvrlist" class="datagrid2" caption="부서구분^청구부서명^청구일자^청구차수^물품코드^물품명^규격^모댈^미불출수량^미불출사유^청구일시^청구자" colsep="^" colwidth="100, 90, 100, 36, 89, 155, 77, 80, 45, 100, 100, 100" dataheight="11" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:2px; top:100px; width:1230px; height:580px; ">
  536. <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
  537. <choices>
  538. <itemset nodeset="/root/tmp/csrreqdeptlist">
  539. <label ref="csrreqdeptnm"/>
  540. <value ref="csrreqdeptcd"/>
  541. </itemset>
  542. </choices>
  543. </col>
  544. <col ref="reqdeptnm" type="output" style="text-align:center; "/>
  545. <col disabled="true" ref="reqdd" type="inputdate" style="text-align:center; "/>
  546. <col ref="reqpridflag" type="output" style="text-align:center; "/>
  547. <col ref="goodcd"/>
  548. <col ref="goodnm"/>
  549. <col ref="goodspec"/>
  550. <col ref="goodmodel"/>
  551. <col ref="nodlvqty" style="text-align:right; "/>
  552. <col disabled="true" ref="exchngcmt" type="combo" style="text-align:center; ">
  553. <choices>
  554. <item>
  555. <label>입력에러</label>
  556. <value>1</value>
  557. </item>
  558. <item>
  559. <label>과량청구</label>
  560. <value>2</value>
  561. </item>
  562. <item>
  563. <label>공급실수량부족</label>
  564. <value>3</value>
  565. </item>
  566. <item>
  567. <label>기타</label>
  568. <value>4</value>
  569. </item>
  570. </choices>
  571. </col>
  572. <col ref="reqtm" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  573. <col ref="reqpsnnm" style="text-align:center; "/>
  574. </datagrid>
  575. <button id="button3" class="btn1_letter2" style="left:1108px; top:25px; width:56px; height:22px; ">
  576. <caption>엑셀</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  580. if (fileName != "")
  581. {
  582. grd_disgooddlvrlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  583. }
  584. ]]>
  585. </script>
  586. </button>
  587. <button id="button6" class="btn1_letter2" style="left:1050px; top:25px; width:56px; height:22px; ">
  588. <caption>조회</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. fGoodDvlSearch("dis");
  592. ]]>
  593. </script>
  594. </button>
  595. <input id="input1" ref="/root/cond/disgooddlvrinfo/reqfromdd" class="input_s_essential" inputtype="date" style="left:785px; top:26px; width:100px; height:19px; text-align:center; "/>
  596. <select1 id="cmb_disinstcd2" ref="/root/cond/disgooddlvrinfo/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:115px; top:26px; width:125px; height:19px; text-align:center; ">
  597. <choices>
  598. <itemset>
  599. <label/>
  600. <value/>
  601. </itemset>
  602. </choices>
  603. </select1>
  604. <button id="button7" class="btn1_letter2" style="left:1166px; top:25px; width:56px; height:22px; ">
  605. <caption>출력</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. messageBox("개발중","I009");
  609. ]]>
  610. </script>
  611. </button>
  612. <caption id="caption4" class="search_name" style="left:255px; top:26px; width:94px; height:17px; ">부서구분 :</caption>
  613. <caption id="caption7" class="search_name" style="left:690px; top:26px; width:86px; height:17px; ">청구일자 :</caption>
  614. <caption id="caption8" class="search_name" style="left:15px; top:26px; width:86px; height:17px; ">기관코드 :</caption>
  615. <line id="line2" class="line_4" style="x1:1040px; y1:20px; x2:1040px; y2:52px; "/>
  616. <select1 id="cmb_discsrreqdeptcd" ref="/root/cond/disgooddlvrinfo/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:345px; top:26px; width:110px; height:19px; ">
  617. <choices>
  618. <itemset nodeset="/root/hidden/csrreqdeptlist">
  619. <label ref="csrreqdeptnm"/>
  620. <value ref="csrreqdeptcd"/>
  621. </itemset>
  622. </choices>
  623. <script type="javascript" ev:event="xforms-value-changed">
  624. <![CDATA[
  625. model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_discsrreqdeptcd.value);
  626. model.makeValue("/root/send/reqdata/useyn","Y");
  627. submit("TRRSS01212");
  628. copyNodesetType("/root/hidden/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
  629. if(getNodesetCnt(model,"/root/hidden/csrdeptlist") == 1 ){
  630. model.setValue("/root/cond/disgooddlvrinfo/reqdeptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
  631. }else{
  632. addComboItem( "cmb_disdeptcd", "전체", "", "above");
  633. model.setValue("/root/cond/disgooddlvrinfo/reqdeptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
  634. }
  635. model.removeNodeset("/root/send/reqdata");
  636. fGoodDvlSearch("dis");
  637. ]]>
  638. </script>
  639. </select1>
  640. <caption id="caption5" class="search_no_b" style="left:890px; top:28px; width:12px; height:17px; ">~</caption>
  641. <input id="input2" ref="/root/cond/disgooddlvrinfo/reqtodd" class="input_s_essential" inputtype="date" style="left:905px; top:26px; width:100px; height:19px; text-align:center; "/>
  642. <caption id="caption9" class="search_name" style="left:472px; top:26px; width:86px; height:17px; ">청구부서 :</caption>
  643. <select1 id="cmb_disdeptcd" ref="/root/cond/disgooddlvrinfo/reqdeptcd" class="combo_s_essential" appearance="minimal" style="left:564px; top:26px; width:110px; height:19px; ">
  644. <choices>
  645. <itemset nodeset="/root/hidden/csrdeptlist">
  646. <label ref="deptnm"/>
  647. <value ref="deptcd"/>
  648. </itemset>
  649. </choices>
  650. <script type="javascript" ev:event="xforms-value-changed">
  651. <![CDATA[
  652. fGoodDvlSearch("dis");
  653. ]]>
  654. </script>
  655. </select1>
  656. <line id="line3" class="line_1" style="x1:2px; y1:95px; x2:1232px; y2:95px; "/>
  657. </case>
  658. </switch>
  659. <button id="button4" class="btn_sw" group="tab" style="left:102px; top:15px; width:118px; height:22px; ">
  660. <caption>미불출내역조회</caption>
  661. <script type="javascript" ev:event="onclick">
  662. <![CDATA[
  663. model.toggle("case3");
  664. ]]>
  665. </script>
  666. </button>
  667. </xhtml:body>
  668. </xhtml:html>