SMRSD07100_처방집계 출력(경북대).xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <prcppatcase>
  12. <prcppatcaselist/>
  13. </prcppatcase>
  14. <prcpgoodcase>
  15. <prcpgoodcaselist/>
  16. </prcpgoodcase>
  17. <prcpprntinfo>
  18. <acptdd/>
  19. <sumrgstdd/>
  20. </prcpprntinfo>
  21. <prcpgoodprt>
  22. <prcpgoodcaselist/>
  23. </prcpgoodprt>
  24. <prcppatprt>
  25. <prcppatcaselist/>
  26. </prcppatprt>
  27. </list>
  28. <PrcpGoodTrees>
  29. <TreeList/>
  30. </PrcpGoodTrees>
  31. </main>
  32. <send>
  33. <SearchTree>
  34. <instcd/>
  35. <instcdnm/>
  36. <acptdd/>
  37. <sumflag/>
  38. <ioflag/>
  39. <prcpdeptcd/>
  40. <prcpdeptnm/>
  41. <querycls>2</querycls>
  42. <pid/>
  43. <patnm/>
  44. <goodcd/>
  45. <purcflag/>
  46. <prodcmpynm/>
  47. <suplplcecdnm/>
  48. <suppcustnm/>
  49. <prntmthd/>
  50. <sumcnt/>
  51. <wareflag/>
  52. <erprcpflag>A</erprcpflag>
  53. <prcpinptflag/>
  54. <scrnid>SMRSD07100</scrnid>
  55. <wareflagarr/>
  56. <acntcd/>
  57. <acntnm/>
  58. <acpttodd/>
  59. </SearchTree>
  60. <prcppatcaseinfo>
  61. <instcd/>
  62. <acptdd/>
  63. <sumflag/>
  64. <reqflag/>
  65. <reqdeptcd/>
  66. <reqprid/>
  67. <prcpdeptcd/>
  68. <goodcd/>
  69. <ioflag/>
  70. <deptgr/>
  71. <pid/>
  72. <patnm/>
  73. <purcflag/>
  74. <prodcmpynm/>
  75. <suplplcecdnm/>
  76. <suppcustnm/>
  77. <prntmthd/>
  78. <sumcnt/>
  79. <wareflag/>
  80. <erprcpflag/>
  81. <prcpinptflag/>
  82. <scrnid/>
  83. <wareflagarr/>
  84. <acntcd/>
  85. <acpttodd/>
  86. <prtflag/>
  87. <querycls/>
  88. </prcppatcaseinfo>
  89. </send>
  90. <init>
  91. <deliveprcsflag>
  92. <label>전체</label>
  93. <value/>
  94. <label>미불출</label>
  95. <value>1</value>
  96. <label>불출</label>
  97. <value>2</value>
  98. </deliveprcsflag>
  99. <ioflag>
  100. <label>전체</label>
  101. <value/>
  102. <label>외래</label>
  103. <value>O</value>
  104. <label>병동</label>
  105. <value>W</value>
  106. </ioflag>
  107. <prntmthd>
  108. <label>물품별</label>
  109. <value>G</value>
  110. <label>환자별</label>
  111. <value>P</value>
  112. </prntmthd>
  113. <sumflag>
  114. <label>전체</label>
  115. <value/>
  116. <label>집계</label>
  117. <value>Y</value>
  118. <label>미집계</label>
  119. <value>N</value>
  120. </sumflag>
  121. <goodreqcnt/>
  122. <prcppatcasecnt/>
  123. </init>
  124. <temp>
  125. <bfwareflag/>
  126. <searchinfo>
  127. <instcd/>
  128. <acptdd/>
  129. <acpttodd/>
  130. <sumcnt/>
  131. </searchinfo>
  132. <saveresult/>
  133. </temp>
  134. </root>
  135. </instance>
  136. <script type="javascript" ev:event="xforms-ready">
  137. <![CDATA[
  138. fInit(); // 화면 Control을 초기화한다
  139. var dept = model.getValue("/root/send/SearchTree/querycls");
  140. var gDutplceinstcd = getUserInfo("dutplceinstcd");
  141. if (dept == "0" && gDutplceinstcd =="032" ){
  142. btn_magamqty.visible = true;
  143. btn_magamqty.disabled = false; // 마감버튼 활성화 여부
  144. }
  145. // 물류파트 접근시 집계기간조회 표시
  146. if( getUserInfo("dutplcecd") == "4020334000" ) {
  147. fToggleDateSearchType("days");
  148. }
  149. ]]>
  150. </script>
  151. <submission id="TRRSD07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcppatcaseinfo" resultref="/root/main/list/prcppatcase"/>
  152. <submission id="TRRSD07102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcppatcaseinfo" resultref="/root/main/list/prcpgoodcase"/>
  153. <submission id="TRRSD07103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/SearchTree" resultref="/root/main/PrcpGoodTrees"/>
  154. <submission id="TRRSD07104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/SearchTree" resultref="/root/init/sumcntinfo"/>
  155. <submission id="TRRSD07105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcppatcaseinfo" resultref="/root/main/list/prcpgoodprt"/>
  156. <submission id="TRRSD07106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcppatcaseinfo" resultref="/root/main/list/prcppatprt"/>
  157. <submission id="TXRSD07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/saveresult"/>
  158. <submission id="TXRSD07102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/saveresult"/>
  159. <submission id="TXRSD07103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/saveresult"/>
  160. <submission id="TXRSD07104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/saveresult"/>
  161. <submission id="TXRSD07105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/saveresult"/>
  162. </model>
  163. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  165. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  166. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  167. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  168. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  169. <script type="javascript" src="../../../mis/reqweb/js/SMRSD07100.js"/>
  170. <script type="javascript">
  171. <![CDATA[
  172. var searchType = "day"; // day 단일일자 조회, days 기간조회
  173. function fToggleDateSearchType(type){
  174. if( type == null ) type = (searchType == "day" ? "days" : "day");
  175. if( type == "day" ) {
  176. searchType = "day";
  177. cap_sumcnt.visible = true;
  178. cmb_sumcnt.visible = true;
  179. ipt_acpttodd.visible = false;
  180. cap_acpttodd.visible = false;
  181. fSearchSumcntList();
  182. } else {
  183. searchType = "days";
  184. cap_sumcnt.visible = false;
  185. cmb_sumcnt.visible = false;
  186. ipt_acpttodd.visible = true;
  187. cap_acpttodd.visible = true;
  188. model.setValue(cmb_sumcnt.attribute("ref"),"");
  189. }
  190. }
  191. function fSearchSumcntList() {
  192. model.setValue(cmb_sumcnt.attribute("ref"), "");
  193. if(searchType == "day"){
  194. model.setValue(ipt_acpttodd.attribute("ref"),model.getValue(ipt_acptdd.attribute("ref")));
  195. if(submit("TRRSD07104",false)) {
  196. cmb_sumcnt.refresh();
  197. cmb_sumcnt.select(0);
  198. }
  199. }
  200. }
  201. //(칠곡) 불출확정수량을 마감시 마감칼럼에 일괄저장
  202. function fSaveMagamQtyList() {
  203. var updtdata = "";
  204. var tarGrid1 = grd_prcpgoodcaselist;
  205. for(var i=tarGrid1.fixedRows; i<tarGrid1.rows; i++) {
  206. tarGrid1.rowStatus(i) = "2";
  207. }
  208. tarGrid1.refresh();
  209. updtdata = getGridUpdateData(tarGrid1);
  210. if(updtdata == ""){
  211. messageBox("저장할 데이타가 ","E014");
  212. return false;
  213. }
  214. // alert(updtdata);
  215. model.makeValue("/root/send/save/magamqtylist", updtdata);
  216. // submit("TXRSD07105");
  217. if (submit("TXRSD07105")){
  218. fDataSearchDetail(trv_setcode.focusIndex);
  219. } else {
  220. messageBox("저장","E009");
  221. return;
  222. }
  223. }
  224. ]]>
  225. </script>
  226. </xhtml:head>
  227. <xhtml:body pagewidth="1215" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  228. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  229. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">처방집계 불출확정</caption>
  230. </group>
  231. <group id="group5" scroll="auto" style="left:0px; top:23px; width:1195px; height:759px; ">
  232. <button id="btn_prcpgoodcase" class="btn_sw" group="tab" selected="true" style="left:355px; top:0px; width:125px; height:22px; ">
  233. <caption>물품별 집계내역</caption>
  234. <toggle case="cse_prcpgoodcase" ev:event="onclick"/>
  235. </button>
  236. <button id="btn_deptstoc" class="btn_sw" group="tab" style="left:480px; top:0px; width:109px; height:22px; ">
  237. <caption>부서재고 집계</caption>
  238. <toggle case="cse_deptstoc" ev:event="onclick"/>
  239. </button>
  240. <button id="btn_prcppatcase" class="btn_sw" visibility="hidden" group="tab" style="left:355px; top:0px; width:125px; height:22px; ">
  241. <caption>환자별 집계내역</caption>
  242. <toggle case="cse_prcppatcase" ev:event="onclick"/>
  243. </button>
  244. <switch id="switch1" style="left:355px; top:20px; width:835px; height:725px; ">
  245. <case id="cse_prcppatcase">
  246. <button id="btn_srgprint" class="btn2_letter7" style="left:720px; top:5px; width:97px; height:19px; ">
  247. <caption>처방집계 출력</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. //exeReportPreview("RPRSD07101", "XMLSTR", "", "", "true", "", "", "", "", "true","","","","","",2);
  251. // if(model.getValue("/root/send/SearchTree/instcd") == "031") {
  252. // model.setValue("/root/send/prcppatcaseinfo/prtflag", "S")
  253. // submit("TRRSD07106");
  254. // }else{
  255. exeReportPreview("RPRSD07101", "XMLSTR");
  256. // }
  257. //
  258. ]]>
  259. </script>
  260. </button>
  261. <caption id="cpt_dis" class="tit_2" style="left:5px; top:10px; width:570px; height:13px; ">환자별 처방집계 내역</caption>
  262. <datagrid id="grd_prcppatcaselist" nodeset="/root/main/list/prcppatcase/prcppatcaselist" caption="기관코드^등록번호^등록번호(환자)^환자명^환자명^처방일자^물품코드^물품코드^총수량^선불출량^불출량^물품명^규격^단위^비고" colsep="^" colwidth="15, 63, 18, 69, 16, 80, 79, 29, 56, 67, 55, 156, 100, 63, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="24" rowsep="|" style="left:0px; top:35px; width:825px; height:685px; font-weight:normal; text-align:center; ">
  263. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  264. <col ref="pid" style="text-align:center; "/>
  265. <col ref="pid2" visibility="hidden" style="text-align:left; "/>
  266. <col ref="patnm" style="text-align:center; "/>
  267. <col ref="patnm2" visibility="hidden" style="text-align:left; "/>
  268. <col ref="prcpdd" format="yyyy/mm/dd" style="text-align:center; "/>
  269. <col ref="goodcd" style="text-align:center; "/>
  270. <col ref="allsizespecid" style="text-align:center; "/>
  271. <col ref="totqty" format="(-)#,###.#" style="text-align:right; "/>
  272. <col ref="beforqty" format="(-)#,###.#" style="text-align:right; "/>
  273. <col ref="deliveqty" format="(-)#,###.#" style="text-align:right; "/>
  274. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  275. <col ref="goodspec" style="text-align:center; "/>
  276. <col ref="deliveunit" style="text-align:left; padding-left:10; "/>
  277. <col ref="cmt" style="text-align:left; padding-left:10; "/>
  278. <script type="javascript" ev:event="onaftersort">
  279. <![CDATA[
  280. grd_prcppatcaselist.gridToInstance();
  281. ]]>
  282. </script>
  283. </datagrid>
  284. <line id="line1" class="line_1" style="x1:0px; y1:29px; x2:825px; y2:29px; "/>
  285. <button id="btn_excel2" class="btn5_letter3" style="left:660px; top:5px; width:53px; height:19px; ">
  286. <caption>Excel</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. var vdate = new Date();
  290. var HH = vdate.getHours();
  291. var MI = vdate.getMinutes();
  292. var SS = vdate.getSeconds();
  293. var vTime = HH +"" + MI +"" + SS;
  294. var vFileNM = "환자별 물품집계내역_"+getCurrentDate()+ vTime;
  295. var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  296. if (fileName != "")
  297. {
  298. grd_prcppatcaselist.saveExcel(fileName, vFileNM, true, true, "");
  299. }
  300. ]]>
  301. </script>
  302. </button>
  303. </case>
  304. <case id="cse_prcpgoodcase" selected="true" style="left:0px; top:0px; width:833px; height:733px; ">
  305. <caption id="cap_prcpgoodcasetitle" class="tit_2" style="left:5px; top:10px; width:575px; height:13px; ">물품별 처방집계 내역</caption>
  306. <datagrid id="grd_prcpgoodcaselist" nodeset="/root/main/list/prcpgoodcase/prcpgoodcaselist" class="datagrid2" caption="기관코드^물품코드^물품코드^구코드^물품명^규격^모델^안전재고수량^총수량^선불출량^불출량^불출확정수량^단위^계정과목^비고^비고표시여부^집계일자^집계회차^시행부서^bfdelivecnfmqty^불출확정수량 수정내역^수정가능여부^마감확정수량^상위부서명^상위부서코드" colsep="^" colwidth="15, 79, 25, 79, 228, 150, 25, 55, 55, 60, 45, 55, 45, 100, 200, 50, 35, 35, 50, 50, 50, 50, 50, 50, 50" dataheight="24" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="24" rowsep="|" tooltip="true" navindex="18" style="left:0px; top:35px; width:825px; height:685px; font-weight:normal; text-align:center; ">
  307. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  308. <col ref="goodcd" style="text-align:center; "/>
  309. <col ref="allsizespecid" visibility="hidden" style="text-align:center; "/>
  310. <col ref="oldcd" visibility="hidden" style="text-align:center; "/>
  311. <col ref="goodnm" style="text-align:left; padding-left:5; "/>
  312. <col ref="goodspec" style="text-align:left; padding-left:5; "/>
  313. <col ref="goodmodel" visibility="hidden" style="text-align:center; "/>
  314. <col ref="safestocqty" format="(-)#,###.#" style="text-align:right; "/>
  315. <col ref="totqty" format="(-)#,###.#" style="text-align:right; "/>
  316. <col ref="beforqty" format="(-)#,###.#" style="text-align:right; "/>
  317. <col ref="deliveqty" format="(-)#,###.#" style="text-align:right; "/>
  318. <col ref="delivecnfmqty" type="input" format="(-)#,###.#" style="text-align:right; "/>
  319. <col ref="deliveunit" style="text-align:left; padding-left:5; "/>
  320. <col ref="acntnm" style="text-align:left; "/>
  321. <col ref="cmt" style="text-align:left; padding-left:5; "/>
  322. <col ref="cmt_view" visibility="hidden"/>
  323. <col ref="acptdd" visibility="hidden"/>
  324. <col ref="sumcnt" visibility="hidden"/>
  325. <col ref="prcpdeptcd" visibility="hidden"/>
  326. <col ref="bfdelivecnfmqty" visibility="hidden"/>
  327. <col ref="cmt2" visibility="hidden"/>
  328. <col ref="edityn" visibility="hidden"/>
  329. <col ref="magamqty" visibility="hidden"/>
  330. <col ref="supdeptnm" visibility="hidden"/>
  331. <col ref="supdeptcd" visibility="hidden"/>
  332. <script type="javascript" ev:event="onaftersort">
  333. <![CDATA[
  334. grd_prcpgoodcaselist.gridToInstance();
  335. ]]>
  336. </script>
  337. <script type="javascript" ev:event="xforms-value-changed">
  338. <![CDATA[
  339. var tarGrid = grd_prcpgoodcaselist;
  340. var row = tarGrid.row;
  341. var bfdelivecnfmqty = parseFloat(tarGrid.valueMatrix(row,tarGrid.colRef("bfdelivecnfmqty")));
  342. var delivecnfmqty = parseFloat(tarGrid.valueMatrix(row,tarGrid.colRef("delivecnfmqty")));
  343. if(bfdelivecnfmqty != delivecnfmqty) {
  344. tarGrid.rowstyle(row, "data", "font-weight") = "bold";
  345. tarGrid.cellstyle("text-decoration", row, tarGrid.colRef("delivecnfmqty"), row, tarGrid.colRef("delivecnfmqty")) = "underline";
  346. } else {
  347. tarGrid.rowstyle(row, "data", "font-weight") = "normal";
  348. tarGrid.cellstyle("text-decoration", row, tarGrid.colRef("delivecnfmqty"), row, tarGrid.colRef("delivecnfmqty")) = "";
  349. }
  350. model.refreshpart(tarGrid.nodeset + "[" + row + "]/delivecnfmqty");
  351. ]]>
  352. </script>
  353. </datagrid>
  354. <line id="line2" class="line_1" style="x1:0px; y1:29px; x2:825px; y2:29px; "/>
  355. <button id="btn_wardprint" class="btn2_letter7" navindex="19" style="left:720px; top:5px; width:97px; height:19px; ">
  356. <caption>처방집계 출력</caption>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. if(searchType == "day") {
  360. if(model.getValue("/root/temp/searchinfo/sumcnt") == null || model.getValue("/root/temp/searchinfo/sumcnt") == "") {
  361. if(messageBox(" 집계횟수 미입력시 일 전체 내역이 출력 되며\n 취소집계 수량이 반영 되지 않습니다.\n\n ","Q003") != "6") return;
  362. }
  363. }
  364. // 처방집계 물품별 출력시 비고 있는 화면과 없는 화면 분할 출력
  365. if(model.getValue("/root/send/SearchTree/instcd") == "031" && getUserInfo("dutplcecd") == "3080000000") {
  366. model.setValue("/root/send/prcppatcaseinfo/prtflag", "S")
  367. submit("TRRSD07105");
  368. model.removeNodeset("root/main/list/prcpgoodcase2");
  369. model.makeNode("root/main/list/prcpgoodcase2");
  370. model.copyNode("root/main/list/prcpgoodcase2","/root/main/list/prcpgoodprt");
  371. }else if(model.getValue("/root/send/SearchTree/instcd") == "033" && getUserInfo("dutplcecd") == "3080000000"){
  372. model.setValue("/root/send/prcppatcaseinfo/prtflag", "S")
  373. submit("TRRSD07105");
  374. model.removeNodeset("root/main/list/prcpgoodcase2");
  375. model.makeNode("root/main/list/prcpgoodcase2");
  376. model.copyNode("root/main/list/prcpgoodcase2","/root/main/list/prcpgoodprt")
  377. }else{
  378. model.removeNodeset("root/main/list/prcpgoodcase2");
  379. model.removeNodeset("root/main/list/prcpgoodcase3");
  380. model.makeNode("root/main/list/prcpgoodcase2");
  381. model.makeNode("root/main/list/prcpgoodcase3");
  382. model.copyNode("root/main/list/prcpgoodcase2","root/main/list/prcpgoodcase");
  383. model.copyNode("root/main/list/prcpgoodcase3","root/main/list/prcpgoodcase");
  384. }
  385. model.removeNodeset("root/main/list/prcpgoodcase2/prcpgoodcaselist[cmt_view='Y']");
  386. model.removeNodeset("root/main/list/prcpgoodcase3/prcpgoodcaselist[cmt_view='N']");
  387. if(instance1.selectNodes("root/main/list/prcpgoodcase2/prcpgoodcaselist").length > 0) {
  388. if(model.getValue("/root/send/SearchTree/instcd") == "032") {
  389. if(model.getValue("/root/send/SearchTree/querycls") == "0"){
  390. model.setValue("/root/main/list/prcpprntinfo/sumrgstdd", model.getValue("/root/main/list/prcpgoodcase/prcpsuminfo/sumrgstdd"));
  391. exeReportPreview("RPRSD07106", "XMLSTR")
  392. }else{
  393. exeReportPreview("RPRSD07105", "XMLSTR");
  394. }
  395. } else {
  396. exeReportPreview("RPRSD07102", "XMLSTR");
  397. }
  398. }
  399. if(instance1.selectNodes("root/main/list/prcpgoodcase3/prcpgoodcaselist").length > 0) {
  400. if(model.getValue("/root/send/SearchTree/instcd") == "032") {
  401. exeReportPreview("RPRSD07103", "XMLSTR");
  402. } else {
  403. exeReportPreview("RPRSD07104", "XMLSTR");
  404. }
  405. //exeReportPreview("RPRSD07102", "XMLSTR", "", "", "true", "", "", "", "", "true","","","","","",2);
  406. }
  407. ]]>
  408. </script>
  409. </button>
  410. <button id="btn_excel" class="btn5_letter3" style="left:663px; top:5px; width:53px; height:19px; ">
  411. <caption>Excel</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. var vdate = new Date();
  415. var HH = vdate.getHours();
  416. var MI = vdate.getMinutes();
  417. var SS = vdate.getSeconds();
  418. var vTime = HH +"" + MI +"" + SS;
  419. var vFileNM = "부서별 물품집계내역_"+getCurrentDate()+ vTime;
  420. var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  421. if (fileName != "") {
  422. grd_prcpgoodcaselist.saveExcel(fileName, vFileNM, true, true, "");
  423. }
  424. ]]>
  425. </script>
  426. </button>
  427. <button id="btn_deliveqtysave" class="btn4_letter6" navindex="-1" style="left:555px; top:4px; width:104px; height:22px; ">
  428. <caption>불출수량저장</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. fSaveDeliveCnfmQtyList(); //mis/reqweb/js/SMRSD07100.js
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_magamqty" class="btn4_letter2" navindex="-1" visibility="hidden" style="left:497px; top:4px; width:56px; height:22px; ">
  436. <caption>마감</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. if(messageBox(" 마감","Q002") == "6") {
  440. fSaveMagamQtyList();
  441. var gDutplceinstcd = getUserInfo("dutplceinstcd");
  442. if (gDutplceinstcd =="032" ){
  443. btn_magamqty.visible = true;
  444. btn_magamqty.disabled = true; // 마감버튼 활성화 여부
  445. btn_deliveqtysave.disabled = true;
  446. }
  447. }else{
  448. return;
  449. }
  450. ]]>
  451. </script>
  452. </button>
  453. </case>
  454. <case id="cse_deptstoc" style="left:0px; top:0px; width:833px; height:733px; ">
  455. <caption id="caption15" class="tit_2" style="left:5px; top:10px; width:575px; height:15px; ">부서재고 집계반영</caption>
  456. <datagrid id="grd_deptstoc" nodeset="/root/main/list/prcpgoodcase/deptstoccaselist" class="datagrid2" caption="선택^불출&#xA;여부^기관코드^시행부서^시행부서^물품코드^물품코드^물품명^규격^불출량^집계일자^회차^입고&#xA;여부^수정가능여부^출고마감여부" colsep="^" colwidth="32, 35, 15, 75, 100, 79, 25, 228, 150, 45, 72, 30, 35, 50, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" navindex="18" style="left:0px; top:35px; width:825px; height:685px; font-weight:normal; text-align:center; ">
  457. <col checkvalue="Y,N" ref="appyn" type="checkbox"/>
  458. <col ref="deliveyn"/>
  459. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  460. <col ref="prcpdeptcd" style="text-align:center; "/>
  461. <col ref="prcpdeptnm" style="text-align:left; "/>
  462. <col ref="goodcd" style="text-align:center; "/>
  463. <col ref="allsizespecid" visibility="hidden" style="text-align:center; "/>
  464. <col ref="goodnm" style="text-align:left; padding-left:5; "/>
  465. <col ref="goodspec" style="text-align:left; padding-left:5; "/>
  466. <col ref="deliveqty" format="(-)#,###.#" style="text-align:right; "/>
  467. <col ref="acptdd" visibility="hidden"/>
  468. <col ref="sumcnt" visibility="hidden"/>
  469. <col ref="execyn"/>
  470. <col ref="edityn" visibility="hidden"/>
  471. <col ref="deliveendflag" visibility="hidden"/>
  472. <script type="javascript" ev:event="onaftersort">
  473. <![CDATA[
  474. grd_deptstoc.gridToInstance();
  475. grd_deptstoc.refresh();
  476. ]]>
  477. </script>
  478. <script type="javascript" ev:event="xforms-value-changed">
  479. <![CDATA[
  480. /*if(grd_deptstoc.col == grd_deptstoc.colRef("appyn")) {
  481. if(grd_deptstoc.valueMatrix(grd_deptstoc.row, grd_deptstoc.colRef("appyn")) == "Y") {
  482. grd_deptstoc.cellstyle("background-color", grd_deptstoc.row, 2, grd_deptstoc.row, 2) = "green";
  483. grd_deptstoc.attribute("focuscolor") = "green";
  484. } else {
  485. grd_deptstoc.cellstyle("background-color", grd_deptstoc.row, 2, grd_deptstoc.row, 2) = "pink";
  486. grd_deptstoc.attribute("focuscolor") = "pink";
  487. }
  488. }*/
  489. ]]>
  490. </script>
  491. <script type="javascript" ev:event="onrowchanged">
  492. <![CDATA[
  493. //if(grd_deptstoc.cellstyle("background-color", grd_deptstoc.row, 2, grd_deptstoc.row, 2) == "green") {
  494. grd_deptstoc.attribute("focuscolor") = grd_deptstoc.cellstyle("background-color", grd_deptstoc.row, 2, grd_deptstoc.row, 2);
  495. //}
  496. ]]>
  497. </script>
  498. </datagrid>
  499. <line id="line3" class="line_1" style="x1:0px; y1:29px; x2:825px; y2:29px; "/>
  500. <button id="btn_save" class="btn4_letter2" disabled="true" navindex="5" style="left:765px; top:5px; width:56px; height:22px; ">
  501. <caption>저장</caption>
  502. <script type="javascript" ev:event="DOMActivate">
  503. <![CDATA[
  504. fSaveDeptStocList();
  505. ]]>
  506. </script>
  507. </button>
  508. <button id="btn_enddelivedept" class="btn4_letter7" disabled="true" navindex="5" style="left:525px; top:5px; width:116px; height:22px; ">
  509. <caption>출고마감(부서)</caption>
  510. <script type="javascript" ev:event="DOMActivate">
  511. <![CDATA[
  512. var deptcd = grd_deptstoc.valueMatrix(1,grd_deptstoc.colRef("prcpdeptcd"));
  513. var others = instance1.selectNodes(grd_deptstoc.nodeset + "[prcpdeptcd != '" + deptcd + "']");
  514. if(deptcd == null || (others != null && others.length > 0)) return;
  515. fSaveDeptStocEnd(deptcd);
  516. ]]>
  517. </script>
  518. </button>
  519. <button id="btn_enddelive" class="btn4_letter7" disabled="true" navindex="5" style="left:405px; top:5px; width:116px; height:22px; ">
  520. <caption>출고마감(전체)</caption>
  521. <script type="javascript" ev:event="DOMActivate">
  522. <![CDATA[
  523. fSaveDeptStocEnd();
  524. ]]>
  525. </script>
  526. </button>
  527. <button id="btn_canceldelivedept" class="btn4_letter7" disabled="true" navindex="5" style="left:645px; top:5px; width:116px; height:22px; ">
  528. <caption>마감취소(부서)</caption>
  529. <script type="javascript" ev:event="DOMActivate">
  530. <![CDATA[
  531. var deptcd = grd_deptstoc.valueMatrix(1,grd_deptstoc.colRef("prcpdeptcd"));
  532. var others = instance1.selectNodes(grd_deptstoc.nodeset + "[prcpdeptcd != '" + deptcd + "']");
  533. if(deptcd == null || (others != null && others.length > 0)) return;
  534. fSaveDeptStocEndCancel(deptcd);
  535. ]]>
  536. </script>
  537. </button>
  538. </case>
  539. </switch>
  540. <group id="grp_detail" style="left:5px; top:255px; width:340px; height:490px; vertical-align:top; ">
  541. <button id="btn_searchtree" class="btn2_letter9" navindex="15" visibility="visible" style="left:0px; top:5px; width:119px; height:19px; font-weight:bold; text-align:center; ">
  542. <caption>트리재구성 (조회)</caption>
  543. <script type="javascript" ev:event="DOMActivate">
  544. <![CDATA[
  545. model.removeNodeset("/root/main/list/prcpprntinfo");
  546. model.makeValue("/root/main/list/prcpprntinfo/acptdd" , model.getValue(ipt_acptdd.attribute("ref")));
  547. model.makeValue("/root/main/list/prcpprntinfo/acpttodd" , model.getValue(ipt_acpttodd.attribute("ref")));
  548. model.makeValue("/root/main/list/prcpprntinfo/usernm" , getUserInfo("usernm"));
  549. model.makeValue("/root/main/list/prcpprntinfo/sumrgstdd" , model.getValue("/root/main/list/prcpgoodcase/prcpsuminfo/sumrgstdd"));
  550. model.setValue("/root/temp/searchinfo/instcd" ,model.getValue("/root/send/SearchTree/instcd"));
  551. model.setValue("/root/temp/searchinfo/acptdd" ,model.getValue("/root/send/SearchTree/acptdd"));
  552. model.setValue("/root/temp/searchinfo/acpttodd" ,model.getValue("/root/send/SearchTree/acpttodd"));
  553. model.setValue("/root/temp/searchinfo/sumcnt" ,model.getValue("/root/send/SearchTree/sumcnt"));
  554. fDataSearchTree();
  555. model.refresh();
  556. ]]>
  557. </script>
  558. </button>
  559. <select1 id="rdo_viewcls" ref="/root/send/SearchTree/querycls" navindex="16" appearance="full" cols="23" overflow="visible" style="left:130px; top:7px; width:208px; height:15px; border-style:none; ">
  560. <choices>
  561. <item>
  562. <label>전체</label>
  563. <value>0</value>
  564. </item>
  565. <item>
  566. <label>시행부서별</label>
  567. <value>2</value>
  568. </item>
  569. </choices>
  570. <script type="javascript" ev:event="xforms-value-changed">
  571. <![CDATA[
  572. fDataSearchTree();
  573. var dept = model.getValue("/root/send/SearchTree/querycls");
  574. var gDutplceinstcd = getUserInfo("dutplceinstcd");
  575. if (dept == "0" && gDutplceinstcd =="032" ){
  576. btn_magamqty.visible = true; // 마감버튼 활성화 여부
  577. }else{
  578. btn_magamqty.visible = false;
  579. }
  580. ]]>
  581. </script>
  582. </select1>
  583. <treeview id="trv_setcode" ref="/root/main/PrcpGoodTrees/TreeList" navindex="17" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:30px; width:337px; height:455px; ">
  584. <itemset nodeset="/root/main/PrcpGoodTrees/TreeList">
  585. <label ref="dispnm"/>
  586. <value ref="pcode"/>
  587. <depth ref="depth"/>
  588. </itemset>
  589. <script type="javascript" ev:event="xforms-value-changed">
  590. <![CDATA[
  591. fDataSearchDetail(trv_setcode.focusIndex); //mis/reqweb/js/SMRSD07100.js
  592. var magamqty1 = model.getValue("/root/main/list/prcpgoodcase/prcpgoodcaselist[1]/magamqty");
  593. var magamqty2 = model.getValue("/root/main/list/prcpgoodcase/prcpgoodcaselist[2]/magamqty");
  594. var magamqty3 = model.getValue("/root/main/list/prcpgoodcase/prcpgoodcaselist[3]/magamqty");
  595. var magamqty4 = model.getValue("/root/main/list/prcpgoodcase/prcpgoodcaselist[4]/magamqty");
  596. var magamqty5 = model.getValue("/root/main/list/prcpgoodcase/prcpgoodcaselist[5]/magamqty");
  597. var gDutplceinstcd = getUserInfo("dutplceinstcd");
  598. if ((magamqty1 !="" || magamqty2 !="" || magamqty3 !="" || magamqty4 !=""|| magamqty5 !="") && gDutplceinstcd == "032"){
  599. btn_magamqty.disabled = true; // 마감버튼 활성화 여부
  600. btn_deliveqtysave.disabled = true;
  601. }else{
  602. btn_magamqty.disabled = false;
  603. btn_deliveqtysave.disabled = false;
  604. }
  605. model.refresh();
  606. ]]>
  607. </script>
  608. </treeview>
  609. </group>
  610. <group id="grp_key" style="left:0px; top:0px; width:340px; height:245px; vertical-align:top; ">
  611. <caption id="caption7" class="search_name" visibility="hidden" style="left:5px; top:54px; width:89px; height:17px; ">집계여부 :</caption>
  612. <select1 id="rdo_sumflag" ref="/root/send/SearchTree/sumflag" visibility="hidden" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:54px; width:173px; height:17px; background-color:transparent; border-style:none; ">
  613. <choices>
  614. <itemset nodeset="/root/init/sumflag">
  615. <label ref="label"/>
  616. <value ref="value"/>
  617. </itemset>
  618. </choices>
  619. </select1>
  620. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:340px; height:245px; background-color:#fffbf2; border-color:#ffd799; "/>
  621. <caption id="caption10" class="search_name" style="left:5px; top:5px; width:89px; height:17px; ">기관코드 :</caption>
  622. <output id="opt_instcd" ref="/root/send/SearchTree/instcd" class="output_fix" visibility="hidden" style="left:230px; top:6px; width:15px; height:19px; "/>
  623. <input id="ipt_acptdd" ref="/root/send/SearchTree/acptdd" class="input_default" navindex="1" inputtype="date" style="left:95px; top:30px; width:90px; height:19px; ">
  624. <script type="javascript" ev:event="xforms-value-changed">
  625. <![CDATA[
  626. fSearchSumcntList();
  627. ]]>
  628. </script>
  629. </input>
  630. <caption id="caption3" class="search_name" style="left:5px; top:30px; width:89px; height:17px; ">
  631. <![CDATA[집계일자 :]]>
  632. <script type="javascript" ev:event="ondblclick">
  633. <![CDATA[
  634. if( getUserInfo("dutplcecd") == "4020334000" ) {
  635. fToggleDateSearchType();
  636. }
  637. ]]>
  638. </script>
  639. </caption>
  640. <select1 id="rdo_ioflag" ref="/root/send/SearchTree/ioflag" disabled="true" navindex="3" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:95px; top:54px; width:240px; height:20px; border-style:none; ">
  641. <choices>
  642. <itemset nodeset="/root/init/ioflag">
  643. <label ref="label"/>
  644. <value ref="value"/>
  645. </itemset>
  646. </choices>
  647. </select1>
  648. <caption id="caption8" class="search_name" style="left:5px; top:54px; width:89px; height:17px; ">환자구분 :</caption>
  649. <button id="btn_search" class="btn1_letter2" navindex="14" visibility="hidden" style="left:250px; top:6px; width:56px; height:22px; text-align:left; ">
  650. <caption>조회</caption>
  651. <script type="javascript" ev:event="DOMActivate">
  652. <![CDATA[
  653. // if(fCheckRetrieveData() == false)return;
  654. misfGridInit(grd_goodreq);
  655. misfGridInit(grd_orderlist);
  656. misfMsterDetailRetrieve();
  657. fAfterRetrieve();
  658. ]]>
  659. </script>
  660. </button>
  661. <button id="btn_prcpdeptcd" class="icon_search" navindex="-1" style="left:183px; top:129px; width:16px; height:16px; ">
  662. <caption/>
  663. <script type="javascript" ev:event="DOMActivate">
  664. <![CDATA[
  665. var recv_list = "prcpdeptcd,prcpdeptnm";
  666. misfOpenPopUpList("02", ipt_prcpdeptcd,"", recv_list) ;
  667. model.refresh();
  668. fDataSearchTree();
  669. // btn_search.dispatch("DOMActivate");
  670. ]]>
  671. </script>
  672. </button>
  673. <caption id="caption2" class="search_name" style="left:5px; top:128px; width:89px; height:17px; ">시행부서 :</caption>
  674. <input id="ipt_prcpdeptnm" ref="/root/send/SearchTree/prcpdeptnm" class="output_fix" navindex="8" editable="false" appearance="input" style="left:202px; top:127px; width:132px; height:19px; "/>
  675. <input id="ipt_prcpdeptcd" ref="/root/send/SearchTree/prcpdeptcd" class="input_fix" navindex="7" style="left:95px; top:127px; width:85px; height:19px; ">
  676. <script type="javascript" ev:event="xforms-value-changed">
  677. <![CDATA[
  678. misfSearchDept(ipt_prcpdeptnm);
  679. ]]>
  680. </script>
  681. </input>
  682. <output id="opt_instcdnm" ref="/root/send/SearchTree/instcdnm" class="output_fix" style="left:95px; top:6px; width:130px; height:19px; text-align:center; "/>
  683. <caption id="caption1" class="search_name" style="left:5px; top:176px; width:89px; height:17px; ">등록번호 :</caption>
  684. <caption id="caption4" class="search_name" style="left:180px; top:176px; width:83px; height:17px; ">환 자 명 :</caption>
  685. <input id="ipt_pid" ref="/root/send/SearchTree/pid" class="input_fix" disabled="true" navindex="11" style="left:95px; top:176px; width:85px; height:19px; "/>
  686. <input id="ipt_patnm" ref="/root/send/SearchTree/patnm" class="input_fix" disabled="true" navindex="12" style="left:264px; top:176px; width:70px; height:19px; "/>
  687. <select1 id="rdo_prntmthd" ref="/root/send/SearchTree/prntmthd" navindex="4" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:95px; top:79px; width:240px; height:20px; border-style:none; ">
  688. <choices>
  689. <itemset nodeset="/root/init/prntmthd">
  690. <label ref="label"/>
  691. <value ref="value"/>
  692. </itemset>
  693. </choices>
  694. <script type="javascript" ev:event="xforms-value-changed">
  695. <![CDATA[
  696. var prntmthd = model.getValue(rdo_prntmthd.attribute("ref"));
  697. if (prntmthd == "P"){
  698. btn_prcppatcase.selected = true;
  699. btn_prcppatcase.dispatch("onclick");
  700. btn_prcpgoodcase.visible = false;
  701. btn_prcppatcase.visible = true;
  702. ipt_pid.disabled = false;
  703. ipt_patnm.disabled = false;
  704. }else{
  705. btn_prcpgoodcase.selected = true;
  706. btn_prcpgoodcase.dispatch("onclick");
  707. btn_prcpgoodcase.visible = true;
  708. btn_prcppatcase.visible = false;
  709. ipt_pid.disabled = true;
  710. ipt_patnm.disabled = true;
  711. model.setValue(ipt_pid.attribute("ref"),"");
  712. model.setValue(ipt_patnm.attribute("ref"),"");
  713. ipt_pid.refresh();
  714. ipt_patnm.refresh();
  715. }
  716. ]]>
  717. </script>
  718. </select1>
  719. <caption id="caption11" class="search_name" style="left:5px; top:79px; width:89px; height:17px; ">출력형식 :</caption>
  720. <caption id="caption12" class="search_name" style="left:5px; top:104px; width:89px; height:17px; ">처방구분 :</caption>
  721. <select1 id="rdo_erprcpflag" ref="/root/send/SearchTree/erprcpflag" navindex="5" appearance="full" cellspacing="2" cols="3" overflow="visible" style="left:95px; top:104px; width:165px; height:20px; border-style:none; ">
  722. <choices>
  723. <itemset>
  724. <label ref="label"/>
  725. <value ref="value"/>
  726. </itemset>
  727. </choices>
  728. <script type="javascript" ev:event="xforms-value-changed">
  729. <![CDATA[
  730. var prntmthd = model.getValue(rdo_prntmthd.attribute("ref"));
  731. if (prntmthd == "P"){
  732. btn_prcppatcase.selected = true;
  733. btn_prcppatcase.dispatch("onclick");
  734. }else{
  735. btn_prcpgoodcase.selected = true;
  736. btn_prcpgoodcase.dispatch("onclick");
  737. }
  738. ]]>
  739. </script>
  740. </select1>
  741. <select id="chk_prcpinptflag" ref="/root/send/SearchTree/prcpinptflag" navindex="6" overflow="visible" appearance="full" style="left:263px; top:105px; width:75px; height:20px; border-style:none; ">
  742. <choices>
  743. <item>
  744. <label>CCD 제외</label>
  745. <value>ignore</value>
  746. </item>
  747. </choices>
  748. </select>
  749. <select id="chk_wareflag" ref="/root/send/SearchTree/wareflagarr" disabled="false" navindex="13" visibility="visible" overflow="visible" appearance="full" cols="3" sep="," vcellspacing="3" style="left:94px; top:198px; width:236px; height:42px; text-align:center; border-style:none; ">
  750. <choices>
  751. <itemset>
  752. <label ref="label"/>
  753. <value ref="value"/>
  754. </itemset>
  755. </choices>
  756. <script type="javascript" ev:event="xforms-value-changed">
  757. <![CDATA[
  758. var bfwareflag = model.getValue("/root/temp/bfwareflag");
  759. var dsplflag = model.getValue(chk_wareflag.attribute("ref"));
  760. if (isSearchString(bfwareflag, 'A')){
  761. model.setValue(chk_wareflag.attribute("ref"), dsplflag.replace("A", ""));
  762. }else{
  763. dsplflagArr = dsplflag.split(",");
  764. for (var i=0; i< dsplflagArr.length; i++){
  765. if (dsplflagArr[i] == "A"){
  766. model.setValue(chk_wareflag.attribute("ref"), "A");
  767. break;
  768. }
  769. }
  770. }
  771. model.makeValue("/root/temp/bfwareflag", model.getValue(chk_wareflag.attribute("ref")));
  772. chk_wareflag.refresh();
  773. ]]>
  774. </script>
  775. </select>
  776. <caption id="caption13" class="search_name" style="left:5px; top:199px; width:89px; height:17px; ">사용구분 :</caption>
  777. <input id="ipt_acntnm" ref="/root/send/SearchTree/acntnm" class="output_fix" navindex="10" editable="false" appearance="input" style="left:202px; top:152px; width:132px; height:19px; "/>
  778. <button id="button1" class="icon_search" navindex="-1" style="left:183px; top:154px; width:16px; height:16px; ">
  779. <caption/>
  780. <script type="javascript" ev:event="DOMActivate">
  781. <![CDATA[
  782. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
  783. ipt_acntcd.refresh();
  784. ipt_acntnm.refresh();
  785. ]]>
  786. </script>
  787. </button>
  788. <input id="ipt_acntcd" ref="/root/send/SearchTree/acntcd" class="input_fix" navindex="9" style="left:95px; top:152px; width:85px; height:19px; ">
  789. <script type="javascript" ev:event="xforms-value-changed">
  790. <![CDATA[
  791. if(ipt_acntcd.value == "") {
  792. ipt_acntnm.value = "";
  793. } else {
  794. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
  795. if(model.getValue(ipt_acntnm.attribute("ref")) == "") ipt_acntcd.value = "";
  796. }
  797. ipt_acntcd.refresh();
  798. ipt_acntnm.refresh();
  799. ]]>
  800. </script>
  801. </input>
  802. <caption id="caption14" class="search_name" style="left:5px; top:153px; width:89px; height:17px; ">계정과목 :</caption>
  803. <input id="ipt_acpttodd" ref="/root/send/SearchTree/acpttodd" class="input_default" navindex="1" visibility="hidden" inputtype="date" style="left:205px; top:30px; width:90px; height:19px; "/>
  804. <caption id="cap_acpttodd" visibility="hidden" style="left:190px; top:32px; width:20px; height:20px; font-weight:bold; ">~</caption>
  805. <caption id="cap_sumcnt" class="search_name" style="left:190px; top:30px; width:89px; height:17px; ">집계횟수 :</caption>
  806. <select1 id="cmb_sumcnt" ref="/root/send/SearchTree/sumcnt" navindex="2" appearance="minimal" style="left:280px; top:30px; width:55px; height:19px; ">
  807. <choices>
  808. <itemset nodeset="init/sumcntinfo/sumcntlist">
  809. <label ref="label"/>
  810. <value ref="value"/>
  811. </itemset>
  812. </choices>
  813. </select1>
  814. </group>
  815. </group>
  816. </xhtml:body>
  817. </xhtml:html>