SMRSD11700_일일수불내역조회.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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>CSR 청구부서 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reqlist>
  11. <reqflag/>
  12. <reqflagnm/>
  13. </reqlist>
  14. <csrinfo>
  15. <csrbipumlist>
  16. <instcd/>
  17. <goodcd/>
  18. <goodnm/>
  19. <goodspec/>
  20. <delivedeptcd/>
  21. <delivedeptnm/>
  22. <deliveunit/>
  23. <destqty/>
  24. <goodsaveqty/>
  25. <scrubberqty/>
  26. <dinfqty/>
  27. <csrrealqty/>
  28. <lendqty/>
  29. <csrtotlqty/>
  30. <nodelive/>
  31. <cmt/>
  32. </csrbipumlist>
  33. <csrsomolist>
  34. <instcd/>
  35. <goodcd/>
  36. <goodnm/>
  37. <goodspec/>
  38. <delivedeptcd/>
  39. <delivedeptnm/>
  40. <deliveunit/>
  41. <destqty/>
  42. <goodsaveqty/>
  43. <scrubberqty/>
  44. <dinfqty/>
  45. <csrrealqty/>
  46. <lendqty/>
  47. <csrtotlqty/>
  48. <nodelive/>
  49. <cmt/>
  50. </csrsomolist>
  51. <csrdinflist>
  52. <instcd/>
  53. <goodcd/>
  54. <goodnm/>
  55. <goodspec/>
  56. <delivedeptcd/>
  57. <delivedeptnm/>
  58. <deliveunit/>
  59. <destqty/>
  60. <goodsaveqty/>
  61. <scrubberqty/>
  62. <dinfqty/>
  63. <csrrealqty/>
  64. <lendqty/>
  65. <csrtotlqty/>
  66. <nodelive/>
  67. <cmt/>
  68. </csrdinflist>
  69. </csrinfo>
  70. </main>
  71. <send>
  72. <instcd/>
  73. <deptcd/>
  74. <deptnm/>
  75. <workdd/>
  76. <goodcd/>
  77. <goodnm/>
  78. <deliveflag/>
  79. <reqpridflag/>
  80. <chkyn/>
  81. <csrreqdeptcd2/>
  82. <goodflag>T</goodflag>
  83. </send>
  84. <init>
  85. </init>
  86. <hidden/>
  87. <temp/>
  88. </root>
  89. </instance>
  90. <script type="javascript">
  91. <![CDATA[
  92. var rowStat = "C";
  93. var curRow = -1;
  94. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  95. function fInitialize() {
  96. model.removeNodeset("/root/main/reqlist");
  97. model.removeNodeset("/root/main/csrinfo/csrbipumlist");
  98. model.removeNodeset("/root/main/csrinfo/csrsomolist");
  99. model.removeNodeset("/root/main/csrinfo/csrdinflist");
  100. // misfComboComCdListMulti("Z0007", "cmb_instcd");
  101. //
  102. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  103. cmb_instcd.refresh();
  104. model.setValue(ipt_workdd.attribute("ref"), getCurrentDate());
  105. ipt_workdd.refresh();
  106. fsearch();
  107. }
  108. function fsearch() {
  109. model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
  110. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  111. submit("TRRSD06012");
  112. var degr = model.getValue("/root/init/reqseqlist/reqseq");
  113. cmb_reqpridflag.value = degr;
  114. }
  115. function fsearch2() {
  116. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  117. submit("TRRSD11702");
  118. }
  119. ]]>
  120. </script>
  121. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  123. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  124. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  125. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  126. <script type="javascript" ev:event="xforms-ready">
  127. <![CDATA[
  128. fInitialize();
  129. // btn_search.dispatch("DOMActivate");x
  130. ]]>
  131. </script>
  132. <submission id="TRRSD11701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reqlist"/>
  133. <submission id="TRRSD11702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/csrinfo"/>
  134. <submission id="TRRSD06012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/reqtimslist"/>
  135. <submission id="TXRSD11701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
  136. </model>
  137. </xhtml:head>
  138. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  139. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  140. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">CSR 청구부서 등록</caption>
  141. </group>
  142. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  143. <button id="btn_grdadd" class="btn2_letter2" style="left:1057px; top:84px; width:42px; height:19px; ">
  144. <caption>신규</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="btn_grddel" class="btn2_letter2" style="left:1102px; top:84px; width:42px; height:19px; ">
  151. <caption>수정</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. ]]>
  155. </script>
  156. </button>
  157. <button id="button1" class="btn2_letter3" style="left:1007px; top:54px; width:53px; height:19px; ">
  158. <caption>초기화</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. fInitialize();
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_save" class="btn2_letter2" style="left:1147px; top:84px; width:42px; height:19px; ">
  166. <caption>저장</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. var csrbipumlist = getGridUpdateData(grd_csrbipumlist);
  170. var csrsomolist = getGridUpdateData(grd_csrsomolist);
  171. var csrdinflist = getGridUpdateData(grd_csrdinflist);
  172. if (csrbipumlist == "" && csrsomolist == "" && csrdinflist == "") {
  173. messageBox("변경된 데이터가","I004");
  174. return;
  175. }
  176. model.makeValue("/root/send/reqdata/csrbipumlist", csrbipumlist);
  177. model.makeValue("/root/send/reqdata/csrsomolist", csrsomolist);
  178. model.makeValue("/root/send/reqdata/csrdinflist", csrdinflist);
  179. submit("TXRSD11701");
  180. ]]>
  181. </script>
  182. </button>
  183. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
  184. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  185. <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  186. <line id="line13" class="line_4" style="x1:1000px; y1:20px; x2:1000px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  187. <button id="btn_search" class="btn1_letter2" style="left:1015px; top:23px; width:56px; height:22px; ">
  188. <caption>조회</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. if(!isRequiredControls("cmb_instcd")) return;
  192. fsearch2();
  193. ]]>
  194. </script>
  195. </button>
  196. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:102px; top:8px; width:123px; height:19px; ">
  197. <choices>
  198. <itemset>
  199. <label/>
  200. <value/>
  201. </itemset>
  202. </choices>
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. btn_search.dispatch("DOMActivate");
  206. ]]>
  207. </script>
  208. </select1>
  209. <button id="btn_excel" class="btn1_letter2" style="left:1073px; top:23px; width:56px; height:22px; ">
  210. <caption>엑셀</caption>
  211. <script type="javascript" ev:event="DOMActivate">
  212. <![CDATA[
  213. var fileName = window.fileDialog("save", ",", false, "CSR마감기준시간", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  214. if (fileName != "")
  215. {
  216. grd_bipumlist.saveExcel(fileName, "청구현황List");
  217. }
  218. ]]>
  219. </script>
  220. </button>
  221. <button id="btn_prt" class="btn1_letter2" style="left:1131px; top:23px; width:56px; height:22px; ">
  222. <caption>출력</caption>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. var fileName = window.fileDialog("save", ",", false, "CSR마감기준시간", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  226. if (fileName != "")
  227. {
  228. grd_csrtmlist.saveExcel(fileName, "청구현황List");
  229. }
  230. ]]>
  231. </script>
  232. </button>
  233. <button id="button2" class="icon_search" style="left:192px; top:34px; width:16px; height:16px; ">
  234. <caption/>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. misfOpenPopUpList("52", ipt_deptcd, "", "deptcd,deptnm,csrreqdeptcd2");
  238. ipt_deptcd.refresh();
  239. ipt_deptnm.refresh();
  240. ]]>
  241. </script>
  242. </button>
  243. <caption id="caption1" class="search_name" style="left:16px; top:35px; width:88px; height:17px; ">청구부서 :</caption>
  244. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" style="left:214px; top:34px; width:172px; height:19px; ">
  245. <script type="javascript" ev:event="xforms-value-changed">
  246. <![CDATA[
  247. misfValidationCheck("02", "", "deptcd,deptnm");
  248. model.refresh();
  249. ]]>
  250. </script>
  251. </input>
  252. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_default" style="left:103px; top:34px; width:85px; height:19px; "/>
  253. <caption id="cap_goodcd" class="search_name" style="left:430px; top:38px; width:91px; height:17px; ">물품코드 :</caption>
  254. <button id="btn_searchgoodcd" class="icon_search" style="left:622px; top:38px; width:16px; height:16px; ">
  255. <caption/>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,ab,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
  259. model.refresh();
  260. ]]>
  261. </script>
  262. </button>
  263. <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_search" appearance="input" style="left:638px; top:37px; width:170px; height:19px; ">
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. if(ipt_goodnm.value != "")
  267. {
  268. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodflag,goodcd,goodnm",
  269. "goodnm" + "," + model.getValue(cmb_instcd.attribute("ref")) + "," + ipt_goodflag.value + ",," + ipt_goodnm.value,
  270. "", "goodcd,goodnm",
  271. ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
  272. }else{
  273. ipt_goodcd.value = "";
  274. }
  275. model.refresh();
  276. ]]>
  277. </script>
  278. </input>
  279. <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_fix" style="left:523px; top:37px; width:95px; height:19px; ">
  280. <script type="javascript" ev:event="xforms-value-changed">
  281. <![CDATA[
  282. if(ipt_goodcd.value != "")
  283. {
  284. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodflag,goodcd",
  285. "goodcd" + "," + model.getValue(cmb_instcd.attribute("ref")) + "," + ipt_goodflag.value + "," + ipt_goodcd.value, "",
  286. "goodcd,goodnm",
  287. ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
  288. }else{
  289. ipt_goodnm.value = "";
  290. }
  291. model.refresh();
  292. ]]>
  293. </script>
  294. </input>
  295. <select1 id="cmb_reqpridflag" ref="/root/send/reqpridflag" appearance="minimal" style="left:805px; top:10px; width:65px; height:19px; ">
  296. <choices>
  297. <itemset nodeset="/root/init/reqtimslist">
  298. <label ref="cdnm"/>
  299. <value ref="cdid"/>
  300. </itemset>
  301. </choices>
  302. </select1>
  303. <select id="chk_chkyn" ref="/root/send/chkyn" overflow="visible" appearance="full" style="left:880px; top:10px; width:100px; height:20px; border-style:none; ">
  304. <choices>
  305. <item>
  306. <label>응급여부</label>
  307. <value>Y</value>
  308. </item>
  309. </choices>
  310. <script type="javascript" ev:event="xforms-value-changed">
  311. <![CDATA[
  312. var chk_chkyn = model.getValue("/root/send/chkyn");
  313. if(chk_chkyn != "") {
  314. cmb_deliveflag.value = "2";
  315. } else {
  316. cmb_deliveflag.value = "1";
  317. }
  318. ]]>
  319. </script>
  320. </select>
  321. <caption id="caption18" class="search_name" style="left:715px; top:10px; width:86px; height:17px; ">불출구분 :</caption>
  322. <select1 id="cmb_deliveflag" ref="/root/send/deliveflag" visibility="hidden" appearance="minimal" style="left:840px; top:38px; width:119px; height:19px; ">
  323. <choices>
  324. <item>
  325. <label>정기</label>
  326. <value>1</value>
  327. </item>
  328. <item>
  329. <label>응급</label>
  330. <value>2</value>
  331. </item>
  332. </choices>
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. fSetReqseq();
  336. ]]>
  337. </script>
  338. </select1>
  339. <caption id="caption2" class="search_name" style="left:430px; top:10px; width:86px; height:17px; ">조회일자 :</caption>
  340. <input id="ipt_workdd" ref="/root/send/workdd" inputtype="date" style="left:523px; top:8px; width:100px; height:19px; "/>
  341. </group>
  342. <caption id="caption3" class="tit_2" style="left:5px; top:90px; width:100px; height:14px; ">수불내역</caption>
  343. <line id="line1" class="line_1" style="x1:5px; y1:105px; x2:149px; y2:105px; "/>
  344. <datagrid id="grd_reqlist" nodeset="/root/main/reqlist" caption="청구구분코드^청구구분" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:110px; width:144px; height:630px; ">
  345. <col ref="reqflag" visibility="hidden"/>
  346. <col ref="reqflagnm"/>
  347. </datagrid>
  348. <line id="line2" class="line_1" style="x1:155px; y1:105px; x2:1190px; y2:105px; "/>
  349. <group id="group1" style="left:155px; top:110px; width:1035px; height:630px; border-style:solid; ">
  350. <line id="line3" class="line_1" style="x1:4px; y1:29px; x2:1029px; y2:29px; "/>
  351. <caption id="caption4" class="tit_2" style="left:9px; top:14px; width:100px; height:14px; ">CSR 비품</caption>
  352. <caption id="caption5" class="tit_2" style="left:9px; top:274px; width:100px; height:14px; ">CSR 소모</caption>
  353. <line id="line4" class="line_1" style="x1:4px; y1:289px; x2:1029px; y2:289px; "/>
  354. <caption id="caption7" class="tit_2" style="left:9px; top:454px; width:100px; height:14px; ">멸균의뢰</caption>
  355. <line id="line5" class="line_1" style="x1:4px; y1:469px; x2:1029px; y2:469px; "/>
  356. <datagrid id="grd_csrbipumlist" nodeset="/root/main/csrinfo/csrbipumlist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:34px; width:1025px; height:230px; ">
  357. <col ref="instcd" visibility="hidden"/>
  358. <col ref="goodcd" visibility="hidden"/>
  359. <col ref="goodnm"/>
  360. <col ref="goodspec"/>
  361. <col ref="delivedeptcd" visibility="hidden"/>
  362. <col ref="delivedeptnm"/>
  363. <col ref="deliveunit"/>
  364. <col ref="destqty"/>
  365. <col ref="goodsaveqty"/>
  366. <col ref="scrubberqty" type="input"/>
  367. <col ref="dinfqty"/>
  368. <col ref="csrrealqty"/>
  369. <col ref="lendqty"/>
  370. <col ref="csrtotlqty"/>
  371. <col ref="nodelive"/>
  372. <col ref="cmt"/>
  373. </datagrid>
  374. <datagrid id="grd_csrsomolist" nodeset="/root/main/csrinfo/csrsomolist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:294px; width:1025px; height:155px; ">
  375. <col ref="instcd" visibility="hidden"/>
  376. <col ref="goodcd" visibility="hidden"/>
  377. <col ref="goodnm"/>
  378. <col ref="goodspec"/>
  379. <col ref="delivedeptcd" visibility="hidden"/>
  380. <col ref="delivedeptnm"/>
  381. <col ref="deliveunit"/>
  382. <col ref="destqty"/>
  383. <col ref="goodsaveqty"/>
  384. <col ref="scrubberqty"/>
  385. <col ref="dinfqty"/>
  386. <col ref="csrrealqty"/>
  387. <col ref="lendqty"/>
  388. <col ref="csrtotlqty"/>
  389. <col ref="nodelive"/>
  390. <col ref="cmt"/>
  391. </datagrid>
  392. <datagrid id="grd_csrdinflist" nodeset="/root/main/csrinfo/csrdinflist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:474px; width:1025px; height:152px; ">
  393. <col ref="instcd" visibility="hidden"/>
  394. <col ref="goodcd" visibility="hidden"/>
  395. <col ref="goodnm"/>
  396. <col ref="goodspec"/>
  397. <col ref="delivedeptcd" visibility="hidden"/>
  398. <col ref="delivedeptnm"/>
  399. <col ref="deliveunit"/>
  400. <col ref="destqty"/>
  401. <col ref="goodsaveqty"/>
  402. <col ref="scrubberqty"/>
  403. <col ref="dinfqty"/>
  404. <col ref="csrrealqty"/>
  405. <col ref="lendqty"/>
  406. <col ref="csrtotlqty"/>
  407. <col ref="nodelive"/>
  408. <col ref="cmt"/>
  409. </datagrid>
  410. </group>
  411. <input id="ipt_csrreqdeptcd2" ref="/root/send/csrreqdeptcd2" class="input_search" style="left:245px; top:80px; width:172px; height:19px; ">
  412. <script type="javascript" ev:event="xforms-value-changed">
  413. <![CDATA[
  414. misfValidationCheck("02", "", "deptcd,deptnm");
  415. model.refresh();
  416. ]]>
  417. </script>
  418. </input>
  419. <input id="ipt_goodflag" ref="/root/send/goodflag" style="left:500px; top:85px; width:100px; height:20px; "/>
  420. <button id="button3" class="btn2_letter3" style="left:1002px; top:84px; width:53px; height:19px; ">
  421. <caption>초기화</caption>
  422. <script type="javascript" ev:event="DOMActivate">
  423. <![CDATA[
  424. ]]>
  425. </script>
  426. </button>
  427. </group>
  428. </xhtml:body>
  429. </xhtml:html>