SMAED00600_기공물대장 관리.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAED00100.xrw
  4. * 설 명 : 치기공접수
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2010.09.26
  8. * 수정이력 : 2010.09.26 손승현 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head tag="&quot;&quot;">
  14. <xhtml:title>치기공 기공물대장 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <eqmtlist>
  20. <item>
  21. <sortno/>
  22. <basecd/>
  23. <basecdflagdesc/>
  24. <basecdcnts/>
  25. <basesuppdeptcd/>
  26. <basecdflag/>
  27. </item>
  28. </eqmtlist>
  29. <eqmtcnlist>
  30. <item>
  31. <sortno/>
  32. <basecd/>
  33. <basecdflagdesc/>
  34. <basecdcnts/>
  35. <basesuppdeptcd/>
  36. <basecdflag/>
  37. </item>
  38. </eqmtcnlist>
  39. <execrcodelist>
  40. <execrcode>
  41. <sortno/>
  42. <basecd/>
  43. <basecdflagdesc/>
  44. <basecdcnts/>
  45. <basecdflag/>
  46. <basesuppdeptcd/>
  47. <seq/>
  48. </execrcode>
  49. </execrcodelist>
  50. <craftlist>
  51. <item>
  52. <acptdd/>
  53. <acptno/>
  54. <pid/>
  55. <hngnm/>
  56. <orddrnm/>
  57. <tootfact11/>
  58. <tootfact12/>
  59. <tootfact21/>
  60. <tootfact22/>
  61. <prodcd/>
  62. <metalcd/>
  63. <rcptamt/>
  64. <prodid/>
  65. <enddd/>
  66. <outordyn/>
  67. <prcpqty/>
  68. <orddepthngnm/>
  69. </item>
  70. </craftlist>
  71. <rcptamtsum/>
  72. <prcpqtysum/>
  73. </main>
  74. <send>
  75. <srch>
  76. <srchsearch/>
  77. <srchfromdd/>
  78. <srchtodd/>
  79. <srchhngnm/>
  80. <srchstate/>
  81. <srchcnclyn/>
  82. <grupcdid/>
  83. <suppdeptcd/>
  84. <dutplceinstcd/>
  85. <prodroom/>
  86. <prcpdd/>
  87. <basesuppdeptcd/>
  88. <excuroomcd/>
  89. <acptyear/>
  90. <basecdcnts/>
  91. <prcpno/>
  92. <metalcd/>
  93. <useqty/>
  94. <srchoutordyn/>
  95. <srchmetalcd/>
  96. <srchsectcd/>
  97. <srchsect/>
  98. <srchhngnm/>
  99. <srchorddrnm/>
  100. <srchprodnm/>
  101. <srchprodcd/>
  102. <srchprodid/>
  103. <srchpid/>
  104. <orddeptcd/>
  105. </srch>
  106. <globalinstance>
  107. <instance1/>
  108. </globalinstance>
  109. <basecd/>
  110. <basecdflag/>
  111. <instcd/>
  112. </send>
  113. <init>
  114. <baseinfo>
  115. <initinsukind/>
  116. </baseinfo>
  117. </init>
  118. <hidden>
  119. <item>
  120. <count/>
  121. </item>
  122. </hidden>
  123. <temp>
  124. <templst/>
  125. </temp>
  126. <rexprnt>
  127. <cnsmblslist/>
  128. <srchfromdd/>
  129. <srchtodd/>
  130. <prodnm/>
  131. <metalcd/>
  132. </rexprnt>
  133. </root>
  134. </instance>
  135. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  138. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  139. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  140. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  141. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  142. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  143. <script type="javascript" ev:event="xforms-ready">
  144. <![CDATA[
  145. fGetScreenInit();
  146. fGetComboInit();
  147. ]]>
  148. </script>
  149. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  150. <submission id="TRAVB00001"/>
  151. <submission id="TRAAA00001"/>
  152. <submission id="TRAED00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtlist"/>
  153. <submission id="TRAED00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtcnlist"/>
  154. <submission id="TRAEB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/execrcodelist"/>
  155. <submission id="TRZBC00101"/>
  156. <submission id="TXAED00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  157. <submission id="TXAED00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  158. <submission id="TXAED00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  159. <submission id="TRAED00106"/>
  160. <submission id="TXAED00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  161. <submission id="TRAED00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/cnsmblslist"/>
  162. <submission id="TRAED00600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/craftlist"/>
  163. </model>
  164. <script type="javascript">
  165. <![CDATA[
  166. /**
  167. * 콤보 초기화
  168. */
  169. function fGetComboInit() {
  170. astGetComboList( new Array( "SS001", "SS002" ),
  171. new Array( "/root/temp/templst" , "/root/temp/templst" ));
  172. // 콤보선택
  173. aezfSetSuppDeptcd();
  174. model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  175. // 금속종류 코드 LIST(대분류)
  176. model.setValue("/root/send/basecdflag", "H");
  177. submit("TRAED00103");
  178. // 제작물 코드LIST (중분류)
  179. model.setValue("/root/send/basecdflag", "I");
  180. submit("TRAED00104");
  181. // 제작자 조회
  182. model.setValue("/root/send/basecdflag", "E");
  183. submit("TRAEB00801");
  184. var eqmCnt = getNodesetCount("/root/main/eqmtcnlist/item");
  185. for(var i = 1 ; i <= eqmCnt ; i++ ){
  186. model.makeNode("/root/init/eqmtcnlist/item[" + i + "]");
  187. model.copyNode("/root/init/eqmtcnlist/item[" + i + "]", "/root/main/eqmtcnlist/item[" + i + "]");
  188. }
  189. model.removeNodeset("/root/temp/templst/SS001[" + 1 + "]");
  190. model.removeNodeset("/root/temp/templst/SS002[" + 1 + "]");
  191. model.removeNodeset("/root/temp/templst/SS002[" + 5 + "]");
  192. // 진료과/진료의 조회
  193. aezfSetSuppDeptcd();
  194. submit("TRPMOCOM01",false);
  195. // 콤포박스 초기화
  196. addComboItem("cmb_metalcd", "전체", "all", "above");
  197. addComboItem("cmb_prodcd", "전체", "all", "above");
  198. addComboItem("cmb_prodid", "전체", "all", "above");
  199. addComboItem("cmb_orddept","전체","all","above");
  200. cmb_metalcd.value = "all";
  201. cmb_prodcd.value = "all";
  202. cmb_prodid.value = "all";
  203. cmb_orddept.value = "all";
  204. model.refresh();
  205. }
  206. /**
  207. * 화면 기본 초기화
  208. */
  209. function fGetScreenInit() {
  210. var curDD = getCurrentDate();
  211. model.resetInstanceNode("/root/send");
  212. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  213. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  214. model.removenode("/root/main/craftlist");
  215. model.refresh();
  216. }
  217. /**
  218. * 소모품대장 출력 List 조회
  219. */
  220. function fGetDentalCraftList() {
  221. model.removenode("/root/main/craftlist");
  222. if( model.getValue("/root/send/srch/srchhngnm") != "" ) {
  223. model.setValue("/root/send/srch/srchhngnm", "%" + model.getValue("/root/send/srch/srchhngnm") + "%");
  224. }
  225. if( model.getValue("/root/send/srch/srchorddrnm") != "" ){
  226. model.setValue("/root/send/srch/srchorddrnm", "%" + model.getValue("/root/send/srch/srchorddrnm") + "%");
  227. }
  228. //20150309 kya 진료과 추가
  229. if( submit("TRAED00600") ) {
  230. var totalsum = 0;
  231. var qtysum = 0;
  232. for( var a = 1; a < mltgrd_craftlist.rows; a++ ){
  233. if( model.getValue("/root/main/craftlist/item["+ a +"]/rcptamt") != "" ){
  234. totalsum = totalsum + parseFloat( model.getValue("/root/main/craftlist/item["+ a +"]/rcptamt") );
  235. qtysum = qtysum + parseFloat( model.getValue("/root/main/craftlist/item["+ a +"]/prcpqty") );
  236. }
  237. }
  238. model.setValue("/root/main/rcptamtsum" , totalsum );
  239. model.setValue("/root/main/prcpqtysum" , qtysum );
  240. }
  241. model.refresh();
  242. }
  243. ]]>
  244. </script>
  245. </xhtml:head>
  246. <xhtml:body guideline="1,1201;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  247. <group id="grp_tle" style="left:0px; top:0px; width:1085px; height:13px; ">
  248. <caption id="caption6" class="tit_1" style="left:0px; top:1px; width:200px; height:13px; ">치기공 기공물대장 관리</caption>
  249. </group>
  250. <group id="grp_btn" style="left:0px; top:733px; width:1155px; height:27px; ">
  251. <button id="btn_prt" class="btn6_letter8" style="left:1px; top:3px; width:56px; height:22px; ">
  252. <caption>기공물대장 출력</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. model.resetInstanceNode("/root/rexprnt");
  256. model.removenode("/root/rexprnt/craftlist");
  257. var Cnt = getNodesetCount("/root/main/craftlist/item");
  258. if( Cnt > 0 ) {
  259. for( var i = 1 ; i <= Cnt ; i++ ) {
  260. model.makeNode("/root/rexprnt/craftlist/item["+ i +"]");
  261. model.copyNode("/root/rexprnt/craftlist/item["+ i +"]", "/root/main/craftlist/item["+ i + "]");
  262. model.setValue("/root/rexprnt/craftlist/item["+ i +"]/prodcd", mltgrd_craftlist.labelMatrix(i+1, mltgrd_craftlist.colRef("prodcd")) );
  263. model.setValue("/root/rexprnt/craftlist/item["+ i +"]/prodid", mltgrd_craftlist.labelMatrix(i+1, mltgrd_craftlist.colRef("prodid")) );
  264. model.setValue("/root/rexprnt/craftlist/item["+ i +"]/metalcd", mltgrd_craftlist.labelMatrix(i+1, mltgrd_craftlist.colRef("metalcd")) );
  265. }
  266. model.makeValue("/root/rexprnt/srchtodd", ipt_srchtodd.label );
  267. model.makeValue("/root/rexprnt/srchfromdd", ipt_srchfromdd.label );
  268. model.makeValue("/root/rexprnt/srchpid", ipt_pid.label );
  269. model.makeValue("/root/rexprnt/srchhngnm", ipt_hngnm.label );
  270. model.makeValue("/root/rexprnt/srchorddrnm", ipt_orddrnm.label );
  271. model.makeValue("/root/rexprnt/srchprodcd", cmb_prodcd.label );
  272. model.makeValue("/root/rexprnt/srchprodid", cmb_prodid.label );
  273. model.makeValue("/root/rexprnt/srchmetalcd", cmb_metalcd.label );
  274. var title = "";
  275. title = "● 조회기간 : " + model.getValue("/root/rexprnt/srchfromdd") + " ~ " + model.getValue("/root/rexprnt/srchtodd");
  276. if( model.getValue("/root/rexprnt/srchpid") != "" ){
  277. title = title + " ● 환자번호 : " + model.getValue("/root/rexprnt/srchpid");
  278. }
  279. if( model.getValue("/root/rexprnt/srchhngnm") != "" ){
  280. title = title + " ● 환자명 : " + model.getValue("/root/rexprnt/srchhngnm");
  281. }
  282. if( model.getValue("/root/rexprnt/srchorddrnm") != "" ){
  283. title = title + " ● 주치의 : " + model.getValue("/root/rexprnt/srchorddrnm");
  284. }
  285. if( model.getValue("/root/rexprnt/srchprodcd") != "전체" ){
  286. title = title + " ● 제작물명 : " + model.getValue("/root/rexprnt/srchprodcd");
  287. }
  288. if( model.getValue("/root/rexprnt/srchmetalcd") != "전체" ){
  289. title = title + " ● 제작물명 : " + model.getValue("/root/rexprnt/srchmetalcd");
  290. }
  291. if( model.getValue("/root/rexprnt/srchprodid") != "전체" ){
  292. title = title + " ● 제작자 : " + model.getValue("/root/rexprnt/srchprodid");
  293. }
  294. if( model.getValue("/root/rexprnt/orddeptcd") != "전체" ){
  295. title = title + " ● 진료과 : " + model.getValue("/root/rexprnt/orddeptcd");
  296. }
  297. model.makeValue("/root/rexprnt/craftlist/title", title );
  298. model.refresh();
  299. exeReportPreview("RPAED00101", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  300. }
  301. ]]>
  302. </script>
  303. </button>
  304. </group>
  305. <group id="grp_main" scroll="auto" style="left:0px; top:20px; width:1195px; height:740px; ">
  306. <group id="grp_srch" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
  307. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1144px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  308. <line id="line16" class="line_4" style="x1:965px; y1:7px; x2:965px; y2:60px; "/>
  309. <button id="btn_select" class="btn1_letter2" style="left:980px; top:12px; width:56px; height:22px; ">
  310. <caption>조회</caption>
  311. <script type="javascript" ev:event="DOMActivate">
  312. <![CDATA[
  313. // fGetScreenInit();
  314. fGetDentalCraftList();
  315. ]]>
  316. </script>
  317. </button>
  318. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:90px; height:19px; "/>
  319. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:106px; top:8px; width:90px; height:19px; "/>
  320. <caption id="lbl_srchdd" class="search_name" style="left:13px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  321. <caption id="lbl_~" class="search_no_b" style="left:198px; top:10px; width:12px; height:17px; ">~</caption>
  322. <caption id="caption2" class="search_name" style="left:535px; top:9px; width:86px; height:17px; ">환 자 명 :</caption>
  323. <caption id="caption1" class="search_name" style="left:325px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
  324. <caption id="caption4" class="search_name" style="left:13px; top:35px; width:86px; height:17px; ">금속종류 :</caption>
  325. <select1 id="cmb_metalcd" ref="/root/send/srch/srchmetalcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:106px; top:35px; width:89px; height:19px; ">
  326. <choices>
  327. <itemset nodeset="/root/main/eqmtlist/item">
  328. <label ref="basecdflagdesc"/>
  329. <value ref="basecd"/>
  330. </itemset>
  331. </choices>
  332. </select1>
  333. <caption id="caption3" class="search_name" style="left:325px; top:36px; width:90px; height:17px; ">제 작 물 :</caption>
  334. <input id="ipt_pid" ref="/root/send/srch/srchpid" style="left:415px; top:10px; width:100px; height:19px; "/>
  335. <select1 id="cmb_prodcd" ref="/root/send/srch/srchprodcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:415px; top:35px; width:100px; height:19px; ">
  336. <choices>
  337. <itemset nodeset="/root/main/eqmtcnlist/item">
  338. <label ref="basecdflagdesc"/>
  339. <value ref="basecd"/>
  340. </itemset>
  341. </choices>
  342. </select1>
  343. <select1 id="cmb_prodid" ref="/root/send/srch/srchprodid" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:625px; top:35px; width:100px; height:19px; ">
  344. <choices>
  345. <itemset nodeset="/root/main/execrcodelist/execrcode">
  346. <label ref="basecdflagdesc"/>
  347. <value ref="basecd"/>
  348. </itemset>
  349. </choices>
  350. </select1>
  351. <caption id="caption5" class="search_name" style="left:750px; top:9px; width:86px; height:17px; ">주 치 의 :</caption>
  352. <caption id="caption7" class="search_name" style="left:535px; top:35px; width:86px; height:17px; ">제 작 자 :</caption>
  353. <input id="ipt_hngnm" ref="/root/send/srch/srchhngnm" style="left:625px; top:10px; width:100px; height:19px; "/>
  354. <input id="ipt_orddrnm" ref="/root/send/srch/srchorddrnm" style="left:845px; top:10px; width:100px; height:19px; "/>
  355. <caption id="caption8" class="search_name" style="left:750px; top:34px; width:86px; height:17px; ">진 료 과 :</caption>
  356. <select1 id="cmb_orddept" ref="/root/send/srch/orddeptcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:845px; top:35px; width:100px; height:19px; ">
  357. <choices>
  358. <itemset nodeset="/root/init/orddeptcd">
  359. <label ref="nm"/>
  360. <value ref="cd"/>
  361. </itemset>
  362. </choices>
  363. </select1>
  364. </group>
  365. <caption id="caption45" class="tit_2" style="left:5px; top:85px; width:135px; height:13px; ">기공물대장 LIST</caption>
  366. <line id="line18" class="line_1" style="x1:0px; y1:100px; x2:1070px; y2:100px; "/>
  367. <multilinegrid id="mltgrd_craftlist" nodeset="/root/main/craftlist/item" caption="접수일자^접수번호^환자성명^주치의^진찰부위^진찰부위^제작물내용^사용재료^수납금액(원)^수량^제작자^완료일자^외주여부|접수일자^접수번호^환자성명^주치의^진찰부위^진찰부위^제작물내용^사용재료^수납금액(원)^수량^제작자^완료일자^외주여부" colsep="^" colwidth="80, 90, 75, 70, 110, 110, 80, 70, 85, 37, 80, 80, 60" ellipsis="true" extendlastcol="scroll" rowheader="seq" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:105px; width:1175px; height:595px; ">
  368. <row>
  369. <col ref="acptdd" rowspan="2" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  370. <col ref="acptno" rowspan="2" type="output" format="9999-99-9999" style="text-align:center; "/>
  371. <col ref="hngnm" type="output" style="text-align:center; "/>
  372. <col ref="orddrnm" rowspan="2" type="output" style="text-align:center; "/>
  373. <col ref="tootfact11" type="output" style="text-align:right; "/>
  374. <col ref="tootfact12" type="output" style="text-align:left; "/>
  375. <col disabled="true" ref="prodcd" rowspan="2" type="combo" style="text-align:center; ">
  376. <choices>
  377. <itemset nodeset="/root/main/eqmtcnlist/item">
  378. <label ref="basecdflagdesc"/>
  379. <value ref="basecd"/>
  380. </itemset>
  381. </choices>
  382. </col>
  383. <col disabled="true" ref="metalcd" rowspan="2" type="combo" style="text-align:center; ">
  384. <choices>
  385. <itemset nodeset="/root/main/eqmtlist/item">
  386. <label ref="basecdflagdesc"/>
  387. <value ref="basecd"/>
  388. </itemset>
  389. </choices>
  390. </col>
  391. <col ref="rcptamt" rowspan="2" type="output" format="#,###" style="text-align:right; padding-right:10; "/>
  392. <col ref="prcpqty" rowspan="2" type="output" format="#,###" style="text-align:right; padding-right:10; "/>
  393. <col disabled="true" ref="prodid" rowspan="2" type="combo" style="text-align:center; ">
  394. <choices>
  395. <itemset nodeset="/root/main/execrcodelist/execrcode">
  396. <label ref="basecdflagdesc"/>
  397. <value ref="basecd"/>
  398. </itemset>
  399. </choices>
  400. </col>
  401. <col ref="enddd" rowspan="2" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  402. <col ref="outordyn" rowspan="2" type="output" style="text-align:center; "/>
  403. </row>
  404. <row>
  405. <col ref="pid" type="output" style="text-align:center; "/>
  406. <col ref="tootfact21" type="output" style="text-align:right; "/>
  407. <col ref="tootfact22" type="output" style="text-align:left; "/>
  408. </row>
  409. </multilinegrid>
  410. <button id="button1" class="btn2_letter4" style="left:1005px; top:78px; width:64px; height:19px; ">
  411. <caption>엑셀저장</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  415. if (filename != "")
  416. {
  417. mltgrd_craftlist.saveExcel(filename);
  418. }
  419. ]]>
  420. </script>
  421. </button>
  422. </group>
  423. <caption id="lbl_rmedadmin" class="cell_1" style="left:593px; top:736px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납합계</caption>
  424. <input id="ipt_rcptamtsum" ref="/root/main/rcptamtsum" class="input_default" maxlength="20" format="#,###" style="left:675px; top:736px; width:118px; height:19px; text-align:right; padding-right:10; "/>
  425. <input id="ipt_prcpqtysum" ref="/root/main/prcpqtysum" class="input_default" maxlength="20" format="#,###" style="left:795px; top:736px; width:40px; height:19px; text-align:right; padding-right:10; "/>
  426. <group id="group1" scroll="auto" style="left:0px; top:15px; width:1195px; height:710px; ">
  427. <group id="group2" style="left:0px; top:10px; width:1180px; height:65px; vertical-align:top; ">
  428. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1180px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  429. <line id="line1" class="line_4" style="x1:965px; y1:7px; x2:965px; y2:60px; "/>
  430. <button id="button2" class="btn1_letter2" style="left:980px; top:12px; width:56px; height:22px; ">
  431. <caption>조회</caption>
  432. <script type="javascript" ev:event="DOMActivate">
  433. <![CDATA[
  434. // fGetScreenInit();
  435. fGetDentalCraftList();
  436. ]]>
  437. </script>
  438. </button>
  439. <input id="input1" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:90px; height:19px; "/>
  440. <input id="input2" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:106px; top:8px; width:90px; height:19px; "/>
  441. <caption id="caption9" class="search_name" style="left:13px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  442. <caption id="caption10" class="search_no_b" style="left:198px; top:10px; width:12px; height:17px; ">~</caption>
  443. <caption id="caption11" class="search_name" style="left:535px; top:9px; width:86px; height:17px; ">환 자 명 :</caption>
  444. <caption id="caption12" class="search_name" style="left:325px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
  445. <caption id="caption13" class="search_name" style="left:13px; top:35px; width:86px; height:17px; ">금속종류 :</caption>
  446. <select1 id="combo1" ref="/root/send/srch/srchmetalcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:106px; top:35px; width:89px; height:19px; ">
  447. <choices>
  448. <itemset nodeset="/root/main/eqmtlist/item">
  449. <label ref="basecdflagdesc"/>
  450. <value ref="basecd"/>
  451. </itemset>
  452. </choices>
  453. </select1>
  454. <caption id="caption14" class="search_name" style="left:325px; top:36px; width:90px; height:17px; ">제 작 물 :</caption>
  455. <input id="input3" ref="/root/send/srch/srchpid" style="left:415px; top:10px; width:100px; height:19px; "/>
  456. <select1 id="combo2" ref="/root/send/srch/srchprodcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:415px; top:35px; width:100px; height:19px; ">
  457. <choices>
  458. <itemset nodeset="/root/main/eqmtcnlist/item">
  459. <label ref="basecdflagdesc"/>
  460. <value ref="basecd"/>
  461. </itemset>
  462. </choices>
  463. </select1>
  464. <select1 id="combo3" ref="/root/send/srch/srchprodid" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:625px; top:35px; width:100px; height:19px; ">
  465. <choices>
  466. <itemset nodeset="/root/main/execrcodelist/execrcode">
  467. <label ref="basecdflagdesc"/>
  468. <value ref="basecd"/>
  469. </itemset>
  470. </choices>
  471. </select1>
  472. <caption id="caption15" class="search_name" style="left:750px; top:9px; width:86px; height:17px; ">주 치 의 :</caption>
  473. <caption id="caption16" class="search_name" style="left:535px; top:35px; width:86px; height:17px; ">제 작 자 :</caption>
  474. <input id="input4" ref="/root/send/srch/srchhngnm" style="left:625px; top:10px; width:100px; height:19px; "/>
  475. <input id="input5" ref="/root/send/srch/srchorddrnm" style="left:845px; top:10px; width:100px; height:19px; "/>
  476. <caption id="caption17" class="search_name" style="left:750px; top:34px; width:86px; height:17px; ">진 료 과 :</caption>
  477. <select1 id="combo4" ref="/root/send/srch/orddeptcd" class="combo_search" appearance="minimal" editmode="inputsearch" itemcount="15" style="left:845px; top:35px; width:100px; height:19px; ">
  478. <choices>
  479. <itemset nodeset="/root/init/orddeptcd">
  480. <label ref="nm"/>
  481. <value ref="cd"/>
  482. </itemset>
  483. </choices>
  484. </select1>
  485. </group>
  486. <caption id="caption18" class="tit_2" style="left:5px; top:85px; width:135px; height:13px; ">기공물대장 LIST</caption>
  487. <line id="line2" class="line_1" style="x1:0px; y1:100px; x2:1180px; y2:100px; "/>
  488. <multilinegrid id="multilinegrid1" nodeset="/root/main/craftlist/item" caption="접수일자^접수번호^환자성명^주치의^진찰부위^진찰부위^제작물내용^사용재료^수납금액(원)^수량^제작자^완료일자^외주여부^진료과|접수일자^접수번호^환자성명^주치의^진찰부위^진찰부위^제작물내용^사용재료^수납금액(원)^수량^제작자^완료일자^외주여부^진료과" colsep="^" colwidth="80, 90, 75, 70, 110, 110, 80, 70, 85, 37, 80, 80, 60, 100" ellipsis="true" extendlastcol="scroll" rowheader="seq" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:1px; top:105px; width:1179px; height:600px; ">
  489. <row>
  490. <col ref="acptdd" rowspan="2" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  491. <col ref="acptno" rowspan="2" type="output" format="9999-99-9999" style="text-align:center; "/>
  492. <col ref="hngnm" type="output" style="text-align:center; "/>
  493. <col ref="orddrnm" rowspan="2" type="output" style="text-align:center; "/>
  494. <col ref="tootfact11" type="output" style="text-align:right; "/>
  495. <col ref="tootfact12" type="output" style="text-align:left; "/>
  496. <col disabled="true" ref="prodcd" rowspan="2" type="combo" style="text-align:center; ">
  497. <choices>
  498. <itemset nodeset="/root/main/eqmtcnlist/item">
  499. <label ref="basecdflagdesc"/>
  500. <value ref="basecd"/>
  501. </itemset>
  502. </choices>
  503. </col>
  504. <col disabled="true" ref="metalcd" rowspan="2" type="combo" style="text-align:center; ">
  505. <choices>
  506. <itemset nodeset="/root/main/eqmtlist/item">
  507. <label ref="basecdflagdesc"/>
  508. <value ref="basecd"/>
  509. </itemset>
  510. </choices>
  511. </col>
  512. <col ref="rcptamt" rowspan="2" type="output" format="#,###" style="text-align:right; padding-right:10; "/>
  513. <col ref="prcpqty" rowspan="2" type="output" format="#,###" style="text-align:right; padding-right:10; "/>
  514. <col disabled="true" ref="prodid" rowspan="2" type="combo" style="text-align:center; ">
  515. <choices>
  516. <itemset nodeset="/root/main/execrcodelist/execrcode">
  517. <label ref="basecdflagdesc"/>
  518. <value ref="basecd"/>
  519. </itemset>
  520. </choices>
  521. </col>
  522. <col ref="enddd" rowspan="2" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  523. <col ref="outordyn" rowspan="2" type="output" style="text-align:center; "/>
  524. <col ref="orddepthngnm" rowspan="2" type="output" style="text-align:center; "/>
  525. </row>
  526. <row>
  527. <col/>
  528. <col ref="pid" type="output" style="text-align:center; "/>
  529. <col ref="tootfact21" type="output" style="text-align:right; "/>
  530. <col ref="tootfact22" type="output" style="text-align:left; "/>
  531. </row>
  532. </multilinegrid>
  533. <button id="button3" class="btn2_letter4" style="left:1005px; top:78px; width:64px; height:19px; ">
  534. <caption>엑셀저장</caption>
  535. <script type="javascript" ev:event="DOMActivate">
  536. <![CDATA[
  537. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  538. if (filename != "")
  539. {
  540. mltgrd_craftlist.saveExcel(filename);
  541. }
  542. ]]>
  543. </script>
  544. </button>
  545. </group>
  546. </xhtml:body>
  547. </xhtml:html>