SMRSD02201_처방 전달 물품내역 조회.xrw 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>처방전달물품내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <searchgood>
  12. <searchgoodlist/>
  13. </searchgood>
  14. </list>
  15. <PrcpGoodTrees>
  16. <TreeList/>
  17. </PrcpGoodTrees>
  18. </main>
  19. <send>
  20. <SearchTree>
  21. <instcd/>
  22. <instcdnm/>
  23. <prcpdd/>
  24. <prcpdd2/>
  25. <sumflag/>
  26. <ioflag/>
  27. <prcpdeptcd/>
  28. <prcpdeptnm/>
  29. <querycls>2</querycls>
  30. <pid/>
  31. <patnm/>
  32. <goodcd/>
  33. <purcflag/>
  34. <prodcmpynm/>
  35. <suplplcecdnm/>
  36. <suppcustnm/>
  37. <erprcpflag>N</erprcpflag>
  38. <prcpinptflag/>
  39. <wareflagarr/>
  40. <prcpcd/>
  41. <prcpnm/>
  42. <goodcd_like/>
  43. </SearchTree>
  44. <searchgood>
  45. <instcd/>
  46. <prcpdd/>
  47. <prcpdd2/>
  48. <sumflag/>
  49. <reqflag/>
  50. <reqdeptcd/>
  51. <reqprid/>
  52. <prcpdeptcd/>
  53. <goodcd/>
  54. <ioflag/>
  55. <deptgr/>
  56. <pid/>
  57. <patnm/>
  58. <purcflag/>
  59. <prodcmpynm/>
  60. <suplplcecdnm/>
  61. <suppcustnm/>
  62. <prntyn/>
  63. <erprcpflag/>
  64. <prcpinptflag/>
  65. <wareflagarr/>
  66. <goodcd_like/>
  67. </searchgood>
  68. </send>
  69. <init>
  70. <deliveprcsflag>
  71. <label>전체</label>
  72. <value/>
  73. <label>미불출</label>
  74. <value>1</value>
  75. <label>불출</label>
  76. <value>2</value>
  77. </deliveprcsflag>
  78. <ioflag>
  79. <label>전체</label>
  80. <value/>
  81. <label>입원</label>
  82. <value>I</value>
  83. <label>외래</label>
  84. <value>O</value>
  85. <label>건진</label>
  86. <value>S</value>
  87. <label>응급</label>
  88. <value>E</value>
  89. </ioflag>
  90. <sumflag>
  91. <label>전체</label>
  92. <value/>
  93. <label>집계</label>
  94. <value>Y</value>
  95. <label>미집계</label>
  96. <value>N</value>
  97. </sumflag>
  98. <goodreqcnt/>
  99. <searchgoodcnt/>
  100. </init>
  101. <tmp>
  102. <totqty/>
  103. <bfwareflag/>
  104. </tmp>
  105. </root>
  106. </instance>
  107. <script type="javascript" ev:event="xforms-ready">
  108. <![CDATA[
  109. fInit(); // 화면 Control을 초기화한다
  110. misfComboComCdList("R0450",chk_wareflag);
  111. model.setValue(rdo_goodcd_like.attribute("ref"),"equal");
  112. rdo_goodcd_like.refresh();
  113. fDataPartToggle("0");
  114. ]]>
  115. </script>
  116. <submission id="TRRSD02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchgood" resultref="/root/main/list/searchgood"/>
  117. <submission id="TRRSD02205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/SearchTree" resultref="/root/main/PrcpGoodTrees"/>
  118. <bind id="sumTotqty" ref="/root/tmp/totqty" calculate="sum(/root/main/list/searchgood/searchgoodlist/totqty)" type="xsd:double"/>
  119. </model>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  122. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  123. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  126. <script type="javascript" src="../../../mis/reqweb/js/SMRSD02200.js"/>
  127. </xhtml:head>
  128. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  129. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  130. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">처방전달 물품 사용현황조회</caption>
  131. </group>
  132. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:770px; ">
  133. <group id="grp_detail" style="left:5px; top:340px; width:340px; height:425px; vertical-align:top; ">
  134. <button id="btn_search" class="btn2_letter9" navindex="20" visibility="visible" style="left:0px; top:2px; width:119px; height:19px; font-weight:bold; text-align:center; ">
  135. <caption>트리재구성 (조회)</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fDataSearchTree();
  139. ]]>
  140. </script>
  141. </button>
  142. <select1 id="rdo_viewcls" ref="/root/send/SearchTree/querycls" navindex="19" appearance="full" cols="23" overflow="visible" style="left:130px; top:2px; width:209px; height:15px; border-style:none; ">
  143. <choices>
  144. <item>
  145. <label>전체</label>
  146. <value>0</value>
  147. </item>
  148. <item>
  149. <label>처방부서별</label>
  150. <value>1</value>
  151. </item>
  152. <item>
  153. <label>시행부서별</label>
  154. <value>2</value>
  155. </item>
  156. </choices>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. fDataSearchTree();
  160. ]]>
  161. </script>
  162. </select1>
  163. <treeview id="trv_setcode" ref="/root/main/PrcpGoodTrees/TreeList" navindex="21" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:22px; width:338px; height:398px; ">
  164. <itemset nodeset="/root/main/PrcpGoodTrees/TreeList">
  165. <label ref="dispnm"/>
  166. <value ref="pcode"/>
  167. <depth ref="depth"/>
  168. </itemset>
  169. <script type="javascript" ev:event="xforms-value-changed">
  170. <![CDATA[
  171. fDataSearchDetail(trv_setcode.focusIndex);
  172. ]]>
  173. </script>
  174. </treeview>
  175. </group>
  176. <group id="grp_key" style="left:5px; top:18px; width:340px; height:317px; vertical-align:top; ">
  177. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:340px; height:315px; background-color:#fffbf2; border-color:#ffd799; "/>
  178. <!--
  179. 산학협력 3 <group id="group1" style="left:5px; top:147px; width:330px; height:140px; background-color:#fffbf2; ">
  180. 산학협력외 3 <group id="group1" style="left:5px; top:122px; width:330px; height:140px; background-color:#fffbf2; ">
  181. -->
  182. <caption id="caption10" class="search_name" style="left:5px; top:5px; width:89px; height:17px; ">기관코드 :</caption>
  183. <output id="opt_instcd" ref="/root/send/SearchTree/instcd" class="output_fix" visibility="hidden" style="left:235px; top:6px; width:15px; height:19px; "/>
  184. <input id="ipt_prcpdd2" ref="/root/send/SearchTree/prcpdd2" class="input_s_essential" navindex="2" inputtype="date" style="left:218px; top:29px; width:99px; height:19px; text-align:center; ">
  185. <script type="javascript" ev:event="xforms-value-changed">
  186. <![CDATA[
  187. if(getDateInterval(ipt_prcpdd.value, ipt_prcpdd2.value, "DD") < 0) ipt_prcpdd.value = ipt_prcpdd2.value;
  188. // fDataSearchTree();
  189. ]]>
  190. </script>
  191. </input>
  192. <input id="ipt_prcpdd" ref="/root/send/SearchTree/prcpdd" class="input_s_essential" navindex="1" inputtype="date" style="left:95px; top:29px; width:99px; height:19px; text-align:center; ">
  193. <script type="javascript" ev:event="xforms-value-changed">
  194. <![CDATA[
  195. if(getDateInterval(ipt_prcpdd.value, ipt_prcpdd2.value, "DD") < 0) ipt_prcpdd2.value = ipt_prcpdd.value;
  196. // fDataSearchTree();
  197. ]]>
  198. </script>
  199. </input>
  200. <caption id="caption12" style="left:200px; top:32px; width:15px; height:20px; font-weight:bold; ">~</caption>
  201. <caption id="caption3" class="search_name" style="left:5px; top:29px; width:89px; height:17px; ">시행일자 :</caption>
  202. <caption id="caption7" class="search_name" style="left:5px; top:53px; width:89px; height:17px; ">집계여부 :</caption>
  203. <select1 id="rdo_sumflag" ref="/root/send/SearchTree/sumflag" navindex="3" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:53px; width:173px; height:17px; background-color:transparent; border-style:none; ">
  204. <choices>
  205. <itemset nodeset="/root/init/sumflag">
  206. <label ref="label"/>
  207. <value ref="value"/>
  208. </itemset>
  209. </choices>
  210. <script type="javascript" ev:event="xforms-value-changed">
  211. <![CDATA[
  212. // fDataSearchTree();
  213. ]]>
  214. </script>
  215. </select1>
  216. <select1 id="radio1" ref="/root/send/SearchTree/ioflag" navindex="4" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:95px; top:77px; width:240px; height:20px; border-style:none; ">
  217. <choices>
  218. <itemset nodeset="/root/init/ioflag">
  219. <label ref="label"/>
  220. <value ref="value"/>
  221. </itemset>
  222. </choices>
  223. <script type="javascript" ev:event="xforms-value-changed">
  224. <![CDATA[
  225. // fDataSearchTree();
  226. ]]>
  227. </script>
  228. </select1>
  229. <caption id="caption8" class="search_name" style="left:5px; top:77px; width:89px; height:17px; ">환자구분 :</caption>
  230. <button id="btn_search2" class="btn1_letter2" navindex="27" visibility="hidden" style="left:270px; top:6px; width:56px; height:22px; text-align:left; ">
  231. <caption>조회</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. // if(fCheckRetrieveData() == false)return;
  235. misfGridInit(grd_goodreq);
  236. misfGridInit(grd_orderlist);
  237. misfMsterDetailRetrieve();
  238. fAfterRetrieve();
  239. misfSetReadOnlyCol(grd_searchgood, "sumflag", true);
  240. ]]>
  241. </script>
  242. </button>
  243. <button id="button1" class="icon_search" navindex="-1" style="left:172px; top:127px; width:16px; height:16px; ">
  244. <caption/>
  245. <script type="javascript" ev:event="DOMActivate">
  246. <![CDATA[
  247. var recv_list = "prcpdeptcd,prcpdeptnm";
  248. misfOpenPopUpList("02", ipt_prcpdeptcd,"", recv_list) ;
  249. model.refresh();
  250. fDataSearchTree();
  251. // btn_search.dispatch("DOMActivate");
  252. ]]>
  253. </script>
  254. </button>
  255. <caption id="caption2" class="search_name" style="left:5px; top:126px; width:89px; height:17px; ">시행부서 :</caption>
  256. <input id="ipt_prcpdeptnm" ref="/root/send/SearchTree/prcpdeptnm" class="output_fix" navindex="8" editable="false" appearance="input" style="left:190px; top:125px; width:145px; height:19px; "/>
  257. <input id="ipt_prcpdeptcd" ref="/root/send/SearchTree/prcpdeptcd" class="input_fix" navindex="7" style="left:95px; top:125px; width:75px; height:19px; ">
  258. <script type="javascript" ev:event="xforms-value-changed">
  259. <![CDATA[
  260. if(ipt_prcpdeptcd.value.length == 0){
  261. ipt_prcpdeptnm.value = "";
  262. }else
  263. {
  264. misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
  265. }
  266. ipt_prcpdeptnm.refresh();
  267. ipt_prcpdeptcd.refresh();
  268. ]]>
  269. </script>
  270. </input>
  271. <output id="opt_instcdnm" ref="/root/send/SearchTree/instcdnm" class="output_fix" style="left:95px; top:6px; width:135px; height:19px; text-align:center; "/>
  272. <caption id="caption1" class="search_name" style="left:6px; top:150px; width:89px; height:17px; ">등록번호 :</caption>
  273. <caption id="caption4" class="search_name" style="left:170px; top:150px; width:83px; height:17px; ">환자명 :</caption>
  274. <input id="ipt_pid" ref="/root/send/SearchTree/pid" class="input_fix" navindex="9" autonext="false" imemode="disabled" maxlength="10" _chartype="upper" style="left:95px; top:150px; width:75px; height:19px; ">
  275. <script type="javascript" ev:event="onkeyup">
  276. <![CDATA[
  277. inputEnterKey("btn_search", "DOMActivate");
  278. ]]>
  279. </script>
  280. </input>
  281. <input id="ipt_patnm" ref="/root/send/SearchTree/patnm" class="input_fix" navindex="10" imemode="hangul" style="left:245px; top:150px; width:90px; height:19px; ">
  282. <script type="javascript" ev:event="onkeyup">
  283. <![CDATA[
  284. inputEnterKey("btn_search", "DOMActivate");
  285. ]]>
  286. </script>
  287. </input>
  288. <input id="ipt_goodcd" ref="/root/send/SearchTree/goodcd" class="input_fix" navindex="11" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:95px; top:174px; width:75px; height:19px; ">
  289. <script type="javascript" ev:event="onkeyup">
  290. <![CDATA[
  291. inputEnterKey("btn_search", "DOMActivate");
  292. ]]>
  293. </script>
  294. <script type="javascript" ev:event="DOMFocusIn">
  295. <![CDATA[
  296. grp_goodcdoption.visible = true;
  297. ]]>
  298. </script>
  299. <script type="javascript" ev:event="DOMFocusOut">
  300. <![CDATA[
  301. grp_goodcdoption.visible = false;
  302. ]]>
  303. </script>
  304. </input>
  305. <caption id="caption11" class="search_name" style="left:5px; top:174px; width:89px; height:17px; ">물품코드 :</caption>
  306. <caption id="caption13" class="search_name" style="left:5px; top:222px; width:90px; height:17px; ">주거래처 :</caption>
  307. <caption id="caption15" class="search_name" style="left:170px; top:174px; width:88px; height:17px; ">구매구분 :</caption>
  308. <select1 id="cmb_purcflag" ref="/root/send/SearchTree/purcflag" class="combo_default" navindex="13" appearance="minimal" style="left:259px; top:174px; width:76px; height:19px; text-align:center; ">
  309. <choices>
  310. <itemset nodeset="/root/init/purcflag">
  311. <label ref="cdnm"/>
  312. <value ref="cdid"/>
  313. </itemset>
  314. </choices>
  315. <script type="javascript" ev:event="xforms-value-changed">
  316. <![CDATA[
  317. // fDataSearchTree();
  318. ]]>
  319. </script>
  320. </select1>
  321. <caption id="caption14" class="search_name" style="left:5px; top:246px; width:90px; height:17px; ">제조회사 :</caption>
  322. <input id="ipt_suplplcecdnm" ref="/root/send/SearchTree/suplplcecdnm" class="input_fix" navindex="16" style="left:95px; top:222px; width:135px; height:19px; ">
  323. <hint>
  324. <![CDATA[거래처 코드 or 명칭]]>
  325. </hint>
  326. <script type="javascript" ev:event="onkeyup">
  327. <![CDATA[
  328. inputEnterKey("btn_search", "DOMActivate");
  329. ]]>
  330. </script>
  331. </input>
  332. <input id="ipt_prodcmpynm" ref="/root/send/SearchTree/prodcmpynm" class="input_fix" navindex="17" style="left:95px; top:246px; width:135px; height:19px; ">
  333. <hint>
  334. <![CDATA[제조회사 코드 or 명칭]]>
  335. </hint>
  336. <script type="javascript" ev:event="onkeyup">
  337. <![CDATA[
  338. inputEnterKey("btn_search", "DOMActivate");
  339. ]]>
  340. </script>
  341. </input>
  342. <select id="checkbox2" ref="/root/send/SearchTree/prcpinptflag" navindex="6" overflow="visible" appearance="full" style="left:255px; top:103px; width:75px; height:20px; border-style:none; ">
  343. <choices>
  344. <item>
  345. <label>CCD 제외</label>
  346. <value>ignore</value>
  347. </item>
  348. </choices>
  349. </select>
  350. <select1 id="rdo_erprcpflag" ref="/root/send/SearchTree/erprcpflag" navindex="5" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:102px; width:155px; height:20px; border-style:none; ">
  351. <choices>
  352. <itemset>
  353. <label/>
  354. <value/>
  355. </itemset>
  356. </choices>
  357. </select1>
  358. <caption id="caption16" class="search_name" style="left:5px; top:102px; width:89px; height:17px; ">처방구분 :</caption>
  359. <caption id="caption18" class="search_name" style="left:5px; top:270px; width:87px; height:17px; ">사용부서 :</caption>
  360. <select id="chk_wareflag" ref="/root/send/SearchTree/wareflagarr" disabled="false" navindex="18" visibility="visible" overflow="visible" appearance="full" cols="3" sep="," vcellspacing="3" style="left:94px; top:266px; width:236px; height:42px; text-align:center; border-style:none; ">
  361. <choices>
  362. <itemset>
  363. <label ref="label"/>
  364. <value ref="value"/>
  365. </itemset>
  366. </choices>
  367. <script type="javascript" ev:event="xforms-value-changed">
  368. <![CDATA[
  369. var bfwareflag = model.getValue("/root/temp/bfwareflag");
  370. var dsplflag = model.getValue(chk_wareflag.attribute("ref"));
  371. if (isSearchString(bfwareflag, 'A')){
  372. model.setValue(chk_wareflag.attribute("ref"), dsplflag.replace("A", ""));
  373. }else{
  374. dsplflagArr = dsplflag.split(",");
  375. for (var i=0; i< dsplflagArr.length; i++){
  376. if (dsplflagArr[i] == "A"){
  377. model.setValue(chk_wareflag.attribute("ref"), "A");
  378. break;
  379. }
  380. }
  381. }
  382. model.makeValue("/root/temp/bfwareflag", model.getValue(chk_wareflag.attribute("ref")));
  383. chk_wareflag.refresh();
  384. ]]>
  385. </script>
  386. </select>
  387. <input id="ipt_prcpcd" ref="/root/send/SearchTree/prcpcd" class="input_fix" navindex="14" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:95px; top:198px; width:75px; height:19px; ">
  388. <script type="javascript" ev:event="onkeyup">
  389. <![CDATA[
  390. inputEnterKey("btn_search", "DOMActivate");
  391. ]]>
  392. </script>
  393. </input>
  394. <caption id="caption19" class="search_name" style="left:5px; top:198px; width:96px; height:17px; ">처방코드 :</caption>
  395. <input id="ipt_prcpnm" ref="/root/send/SearchTree/prcpnm" class="input_fix" navindex="15" autonext="false" maxlength="12" style="left:245px; top:198px; width:90px; height:19px; ">
  396. <script type="javascript" ev:event="onkeyup">
  397. <![CDATA[
  398. inputEnterKey("btn_search", "DOMActivate");
  399. ]]>
  400. </script>
  401. </input>
  402. <caption id="caption20" class="search_name" style="left:170px; top:198px; width:89px; height:17px; ">처방명 :</caption>
  403. <group id="grp_goodcdoption" visibility="hidden" style="left:173px; top:168px; width:45px; height:33px; ">
  404. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:45px; height:33px; background-color:#ccecff; border-color:#ffd799; "/>
  405. <select1 id="rdo_goodcd_like" ref="/root/send/SearchTree/goodcd_like" navindex="12" appearance="full" cols="1" rows="2" overflow="visible" style="left:0px; top:0px; width:45px; height:33px; border-style:none; ">
  406. <choices>
  407. <item>
  408. <label>일치</label>
  409. <value>equal</value>
  410. </item>
  411. <item>
  412. <label>포함</label>
  413. <value>like</value>
  414. </item>
  415. </choices>
  416. <script type="javascript" ev:event="DOMFocusIn">
  417. <![CDATA[
  418. grp_goodcdoption.visible = true;
  419. ]]>
  420. </script>
  421. <script type="javascript" ev:event="DOMFocusOut">
  422. <![CDATA[
  423. grp_goodcdoption.visible = false;
  424. ]]>
  425. </script>
  426. </select1>
  427. </group>
  428. </group>
  429. <group id="grp_main" style="left:350px; top:0px; width:835px; height:765px; ">
  430. <datagrid id="grd_searchgood" nodeset="/root/main/list/searchgood/searchgoodlist" caption="처방일자^등록번호^환자명^물품코드^물품코드^물품명^규격^총수량^선불출^집계^시행일자^처방구분^처방코드^처방명^모델^단위^입외^병동^병실^처방부서^시행부서^수량^횟수^일수^집계일자^집계일자^구매구분^제조원^주거래처^보조거래처" colsep="^" colwidth="69, 55, 56, 70, 25, 183, 80, 45, 45, 40, 66, 57, 80, 130, 80, 70, 36, 55, 40, 72, 76, 0, 0, 0, 70, 25, 82, 82, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="22" style="left:0px; top:25px; width:835px; height:735px; ">
  431. <col ref="prcpdd" format="yyyy-mm-dd"/>
  432. <col ref="pid"/>
  433. <col ref="patnm"/>
  434. <col ref="goodcd"/>
  435. <col ref="allsizespecid" visibility="hidden"/>
  436. <col ref="goodnm"/>
  437. <col ref="goodspec"/>
  438. <col ref="totqty" format="#,###.#" style="text-align:right; "/>
  439. <col ref="beforqty" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  440. <col ref="sumflagnm" style="text-align:center; "/>
  441. <col ref="rgstdd" format="yyyy-mm-dd"/>
  442. <col disabled="true" ref="erprcpflag" type="combo" style="text-align:center; ">
  443. <choices>
  444. <itemset>
  445. <label/>
  446. <value/>
  447. </itemset>
  448. </choices>
  449. </col>
  450. <col ref="prcpcd"/>
  451. <col ref="prcpnm"/>
  452. <col ref="goodmodel"/>
  453. <col ref="setunit" style="text-align:center; "/>
  454. <col disabled="true" ref="ioflag">
  455. <choices>
  456. <item>
  457. <label/>
  458. <value/>
  459. </item>
  460. </choices>
  461. </col>
  462. <col ref="wardnm"/>
  463. <col ref="room"/>
  464. <col ref="orddeptcdnm"/>
  465. <col ref="prcpdeptcdnm"/>
  466. <col ref="goodqty" format="#,###.#" style="text-align:right; "/>
  467. <col ref="times" format="#,###" style="text-align:right; "/>
  468. <col ref="dayno" format="#,###" style="text-align:right; "/>
  469. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  470. <col ref="sumcnt" style="text-align:center; "/>
  471. <col ref="purcflagnm" visibility="hidden"/>
  472. <col ref="prodcmpynm" visibility="hidden"/>
  473. <col ref="suplplcecdnm" visibility="hidden"/>
  474. <col ref="suppcustnm" visibility="hidden"/>
  475. <col ref="fstrgstrid" visibility="hidden"/>
  476. <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd"/>
  477. <col ref="ward" visibility="hidden"/>
  478. <col ref="orddeptcd" visibility="hidden"/>
  479. <col ref="prcpdeptcd" visibility="hidden"/>
  480. <col ref="sumflag" visibility="hidden"/>
  481. <col ref="purcflag" visibility="hidden"/>
  482. <col ref="prodcmpycd" visibility="hidden"/>
  483. <col ref="suplplcecd" visibility="hidden"/>
  484. <col ref="pid2" visibility="hidden"/>
  485. <col ref="patnm2" visibility="hidden"/>
  486. <script type="javascript" ev:event="onaftersort">
  487. <![CDATA[
  488. grd_searchgood.gridToInstance();
  489. grd_excelgood.refresh();
  490. ]]>
  491. </script>
  492. </datagrid>
  493. <datagrid id="grd_excelgood" nodeset="/root/main/list/searchgood/searchgoodlist" visibility="hidden" caption="시행일자^처방일자^물품코드^물품코드^물품명^규격^모델^총수량^선불출^단위^등록번호^환자명^입외^병동^병실^처방부서^처방코드^처방명^시행부서^수량^횟수^일수^집계^집계일자^구매구분^제조원^주거래처^보조거래처" colsep="^" colwidth="66, 69, 70, 27, 183, 80, 80, 50, 50, 70, 55, 56, 36, 55, 40, 72, 80, 138, 76, 0, 0, 0, 40, 68, 82, 82, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="23" style="left:0px; top:195px; width:835px; height:230px; ">
  494. <col ref="rgstdd" format="yyyy-mm-dd"/>
  495. <col ref="prcpdd" format="yyyy-mm-dd"/>
  496. <col ref="goodcd"/>
  497. <col ref="allsizespecid"/>
  498. <col ref="goodnm"/>
  499. <col ref="goodspec"/>
  500. <col ref="goodmodel"/>
  501. <col ref="totqty" format="#,###.#" style="text-align:right; "/>
  502. <col ref="beforqty" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  503. <col ref="setunit" style="text-align:center; "/>
  504. <col ref="pid2"/>
  505. <col ref="patnm2"/>
  506. <col disabled="true" ref="ioflag">
  507. <choices>
  508. <item>
  509. <label/>
  510. <value/>
  511. </item>
  512. </choices>
  513. </col>
  514. <col ref="wardnm"/>
  515. <col ref="room"/>
  516. <col ref="orddeptcdnm"/>
  517. <col ref="prcpcd"/>
  518. <col ref="prcpnm"/>
  519. <col ref="prcpdeptcdnm"/>
  520. <col ref="goodqty" format="#,###.#" style="text-align:right; "/>
  521. <col ref="times" format="#,###" style="text-align:right; "/>
  522. <col ref="dayno" format="#,###" style="text-align:right; "/>
  523. <col ref="sumflagnm" style="text-align:center; "/>
  524. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:right; "/>
  525. <col ref="purcflagnm"/>
  526. <col ref="prodcmpynm"/>
  527. <col ref="suplplcecdnm"/>
  528. <col ref="suppcustnm"/>
  529. <col ref="fstrgstrid" visibility="hidden"/>
  530. <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd"/>
  531. <col ref="ward" visibility="hidden"/>
  532. <col ref="orddeptcd" visibility="hidden"/>
  533. <col ref="prcpdeptcd" visibility="hidden"/>
  534. <col ref="sumflag" visibility="hidden"/>
  535. <col ref="purcflag" visibility="hidden"/>
  536. <col ref="prodcmpycd" visibility="hidden"/>
  537. <col ref="suplplcecd" visibility="hidden"/>
  538. <script type="javascript" ev:event="onaftersort">
  539. <![CDATA[
  540. grd_searchgood.gridToInstance();
  541. ]]>
  542. </script>
  543. </datagrid>
  544. <button id="btn_excel2" class="btn5_letter3" navindex="26" style="left:778px; top:0px; width:53px; height:19px; ">
  545. <caption>Excel</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. var vdate = new Date();
  549. var HH = vdate.getHours();
  550. var MI = vdate.getMinutes();
  551. var SS = vdate.getSeconds();
  552. var vTime = HH +"" + MI +"" + SS;
  553. var vFileNM = "";
  554. if(btn_detail_tab.selected == true) {
  555. vFileNM = "처방전달물품내역_"+getCurrentDate()+ vTime;
  556. var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  557. if (fileName != "")
  558. {
  559. grd_excelgood.saveExcel(fileName, vFileNM, true, true, "");
  560. }
  561. } else {
  562. vFileNM = "처방전달물품내역(합계수량)_"+getCurrentDate()+ vTime;
  563. var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  564. if (fileName != "")
  565. {
  566. grd_goodsumlist.saveExcel(fileName, vFileNM, true, true, "");
  567. }
  568. }
  569. ]]>
  570. </script>
  571. </button>
  572. <button id="button57" class="icon_pre_month" navindex="24" style="left:0px; top:3px; width:16px; height:16px; ">
  573. <caption/>
  574. <script type="javascript" ev:event="DOMActivate">
  575. <![CDATA[
  576. fDataPartToggle("1");
  577. ]]>
  578. </script>
  579. </button>
  580. <button id="button58" class="icon_next_month" navindex="25" style="left:20px; top:3px; width:16px; height:16px; ">
  581. <caption/>
  582. <script type="javascript" ev:event="DOMActivate">
  583. <![CDATA[
  584. fDataPartToggle("0");
  585. ]]>
  586. </script>
  587. </button>
  588. <caption id="cpt_disp" class="tit_2" style="left:45px; top:5px; width:655px; height:13px; ">처방전달물품내역</caption>
  589. <caption id="caption5" visibility="hidden" style="left:335px; top:5px; width:50px; height:15px; ">All Size</caption>
  590. <caption id="caption9" class="color_6" visibility="hidden" style="left:317px; top:4px; width:15px; height:15px; background-color:#FFFF00; "/>
  591. <output id="opt_sumtotqqty" ref="/root/tmp/totqty" class="output_default" format="#,###.##" style="left:483px; top:1px; width:51px; height:19px; font-weight:bold; text-align:left; "/>
  592. <caption id="caption17" style="left:430px; top:1px; width:60px; height:23px; font-weight:bold; vertical-align:middle; ">총수량 :</caption>
  593. <datagrid id="grd_goodsumlist" nodeset="/root/main/list/searchgood/goodsumlist" visibility="hidden" caption="처방코드^처방명^물품코드^물품명^규격^입원^외래^건진^응급^총수량" colsep="^" colwidth="90, 180, 70, 170, 90, 35, 35, 35, 35, 45" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="22" style="left:50px; top:405px; width:765px; height:95px; ">
  594. <col ref="prcpcd"/>
  595. <col ref="prcpnm"/>
  596. <col ref="goodcd"/>
  597. <col ref="goodnm"/>
  598. <col ref="goodspec"/>
  599. <col ref="i_sum_qty" format="(-)#,###.#" style="text-align:right; "/>
  600. <col ref="o_sum_qty" format="(-)#,###.#" style="text-align:right; "/>
  601. <col ref="s_sum_qty" format="(-)#,###.#" style="text-align:right; "/>
  602. <col ref="e_sum_qty" format="(-)#,###.#" style="text-align:right; "/>
  603. <col ref="total_qty" format="(-)#,###.#" style="text-align:right; "/>
  604. <script type="javascript" ev:event="onaftersort">
  605. <![CDATA[
  606. grd_goodsumlist.gridToInstance();
  607. grd_goodsumlist.refresh();
  608. ]]>
  609. </script>
  610. </datagrid>
  611. <button id="btn_detail_tab" class="btn_sw" group="tab" selected="true" style="left:641px; top:0px; width:64px; height:22px; ">
  612. <caption>처방상세</caption>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. grd_goodsumlist.visible = false;
  616. ]]>
  617. </script>
  618. </button>
  619. <button id="btn_sum_tab" class="btn_sw" group="tab" style="left:705px; top:0px; width:64px; height:22px; ">
  620. <caption>합계수량</caption>
  621. <script type="javascript" ev:event="DOMActivate">
  622. <![CDATA[
  623. grd_goodsumlist.visible = true;
  624. ]]>
  625. </script>
  626. </button>
  627. <line id="lin_main" class="line_1" style="x1:0px; y1:20px; x2:835px; y2:20px; "/>
  628. </group>
  629. </group>
  630. </xhtml:body>
  631. </xhtml:html>