SMMNG04000_진료재료업무일지.xrw 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>CSR 일일 업무일지</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <nodeinfo>
  12. <drntlist>
  13. <split/>
  14. <day/>
  15. <eve/>
  16. <tmpr/>
  17. <instcd/>
  18. <workdd/>
  19. <humi/>
  20. <cdrnotice/>
  21. <csrnotice/>
  22. <spcf/>
  23. <eqmt/>
  24. <allnotice/>
  25. <cnfmrid/>
  26. <cnfmrnm/>
  27. </drntlist>
  28. <drctlist>
  29. <bfstockcnt/>
  30. <usecnt/>
  31. <reqcnt/>
  32. <stockcnt/>
  33. <workdd/>
  34. <workseq/>
  35. <instcd/>
  36. <ioflag/>
  37. </drctlist>
  38. <rgstqtylist>
  39. <goodflaghngnm/>
  40. <csrreqdeptnm/>
  41. <day/>
  42. <eve/>
  43. <csrfixasetnm/>
  44. </rgstqtylist>
  45. <machiuselist>
  46. <divsnm/>
  47. <csrfixasetnm/>
  48. <dutyday/>
  49. <dutyeve/>
  50. </machiuselist>
  51. <enemalist>
  52. <cdnm/>
  53. <day/>
  54. <eve/>
  55. <instcd/>
  56. <workdd/>
  57. <gubuncd/>
  58. <workseq/>
  59. <cdid/>
  60. <ioflag/>
  61. </enemalist>
  62. <ccdrcentrlist>
  63. <cdnm/>
  64. <day/>
  65. <eve/>
  66. <instcd/>
  67. <workdd/>
  68. <gubuncd/>
  69. <workseq/>
  70. <cdid/>
  71. <ioflag/>
  72. </ccdrcentrlist>
  73. <ccdroperlist>
  74. <cdnm/>
  75. <day/>
  76. <eve/>
  77. <instcd/>
  78. <workdd/>
  79. <gubuncd/>
  80. <workseq/>
  81. <cdid/>
  82. <ioflag/>
  83. </ccdroperlist>
  84. <etclist>
  85. <item/>
  86. <day/>
  87. <eve/>
  88. <ioflag/>
  89. <gubuncd/>
  90. <workseq/>
  91. <cdid/>
  92. <workdd/>
  93. <instcd/>
  94. <flag/>
  95. </etclist>
  96. <linenlist>
  97. <csrgoodnm/>
  98. <certrgstqtyday/>
  99. <certrgstqtyeve/>
  100. </linenlist>
  101. <rgstqtyiolist>
  102. <goodnm/>
  103. <dlvexchngqtyday/>
  104. <dlvexchngqtyeve/>
  105. <dlvreqqtyday/>
  106. <dlvreqqtyeve/>
  107. <dlvlendqtyday/>
  108. <dlvlendqtyeve/>
  109. <dlvrgstqtyday/>
  110. <dlvrgstqtyeve/>
  111. <dlvrergstqtyday/>
  112. <dlvrergstqtyeve/>
  113. </rgstqtyiolist>
  114. <cleanlist/>
  115. </nodeinfo>
  116. <workscinfo>
  117. <worksclist>
  118. <split/>
  119. <day/>
  120. <eve/>
  121. </worksclist>
  122. </workscinfo>
  123. </main>
  124. <temp/>
  125. <init>
  126. <srchflag/>
  127. <srchsumflag/>
  128. </init>
  129. <cond>
  130. <workdd/>
  131. <instcd/>
  132. <worktodd/>
  133. <instnm/>
  134. <chkyn/>
  135. </cond>
  136. <hidden>
  137. <common>
  138. <reqflaginfo/>
  139. <instcdinfo/>
  140. </common>
  141. <setvalue>
  142. <cdid/>
  143. </setvalue>
  144. </hidden>
  145. <send>
  146. <workdd/>
  147. <savedata>
  148. <savedrntdata/>
  149. <savedrctdata/>
  150. <enemalist/>
  151. <etclist/>
  152. <ccdrcentrlist/>
  153. <ccdroperlist/>
  154. </savedata>
  155. <srchflag/>
  156. <srchsumflag/>
  157. <cdgrupid>T65</cdgrupid>
  158. <worktodd/>
  159. <flag>1</flag>
  160. <chkyn>Y</chkyn>
  161. </send>
  162. <tmp/>
  163. <setvalue>
  164. <cnfmrid/>
  165. </setvalue>
  166. </root>
  167. </instance>
  168. <script type="javascript">
  169. <![CDATA[
  170. function fInitialize() {
  171. caption28.value = "CCDR Cart(일일수술실)" ;
  172. if (getUserInfo("dutplceinstcd") == "032") {
  173. caption28.value = "CCDR Cart(마취회복실)";
  174. }
  175. zbcfGetCodeList(new Array("Z0007","M0587"),new Array("/root/hidden/common/instcdinfo","/root/hidden/common/reqflaginfo"),true);
  176. model.setValue(opt_instnm.attribute("ref"), getUserInfo("dutplceinstnm")); //기관코드명
  177. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); //기관코드
  178. model.setValue(ipt_workdd.attribute("ref") , getCurrentDate());
  179. model.setValue(ipt_worktodd.attribute("ref") , getCurrentDate());
  180. rdo_search.value = "D";
  181. rdo_sum.value = "D";
  182. rdo_search.dispatch("xforms-value-changed");
  183. ipt_workdd.refresh();
  184. cmb_instcd.refresh();
  185. model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
  186. // 중앙공급실 파트장 id 가져오기
  187. submit("TRMSG04004");
  188. model.setValue("/root/setvalue/cnfmrid", model.getValue("/root/hidden/setvalue/cdid"));
  189. model.toggle("case1");
  190. cnfmrndisable();
  191. fSearch();
  192. }
  193. function fSearch() {
  194. for(var i= grd_rgstqtylist.fixedRows; i < grd_rgstqtylist.rows; i++) {
  195. if(grd_rgstqtylist.valueMatrix(i, grd_rgstqtylist.colRef("goodflaghngnm")) == "합 계") {
  196. grd_rgstqtylist.rowStyle( i , "data", "background-color") = "white"; //#B9E5FB
  197. grd_rgstqtylist.rowStyle( i , "data", "font-weight") = ""; //#B9E5FB
  198. }
  199. }
  200. for(var i= grd_machiuselist.fixedRows; i < grd_machiuselist.rows; i++) {
  201. if(grd_machiuselist.valueMatrix(i, grd_machiuselist.colRef("divsnm")) == "합 계") {
  202. grd_machiuselist.rowStyle( i , "data", "background-color") = "white"; //#B9E5FB
  203. grd_machiuselist.rowStyle( i , "data", "font-weight") = ""; //#B9E5FB
  204. }
  205. }
  206. model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
  207. model.setValue("/root/send/worktodd", model.getValue(ipt_worktodd.attribute("ref")));
  208. // 중앙공급실 파트장 id 가져오기
  209. submit("TRMSG04004");
  210. model.setValue("/root/setvalue/cnfmrid", model.getValue("/root/hidden/setvalue/cdid"));
  211. submit("TRMSG04001");
  212. submit("TRMSG04002");
  213. var ioflag;
  214. for(var i = grd_drctlist.fixedRows; i < grd_drctlist.rows; i++) {
  215. ioflag = grd_drctlist.valueMatrix(i, grd_drctlist.colRef("ioflag"));
  216. if(ioflag == "N") {
  217. grd_drctlist.rowStatus(i) = "1";
  218. }
  219. }
  220. // for(var i = grd_enemalist.fixedRows; i < grd_enemalist.rows; i++) {
  221. // ioflag = grd_enemalist.valueMatrix(i, grd_enemalist.colRef("ioflag"));
  222. // if(ioflag == "N") {
  223. // grd_enemalist.rowStatus(i) = "1";
  224. // }
  225. // }
  226. for(var i = grd_ccdrcentrlist.fixedRows; i < grd_ccdrcentrlist.rows; i++) {
  227. ioflag = grd_ccdrcentrlist.valueMatrix(i, grd_ccdrcentrlist.colRef("ioflag"));
  228. if(ioflag == "N") {
  229. grd_ccdrcentrlist.rowStatus(i) = "1";
  230. }
  231. }
  232. for(var i = grd_ccdroperlist.fixedRows; i < grd_ccdroperlist.rows; i++) {
  233. ioflag = grd_ccdroperlist.valueMatrix(i, grd_ccdroperlist.colRef("ioflag"));
  234. if(ioflag == "N") {
  235. grd_ccdroperlist.rowStatus(i) = "1";
  236. }
  237. }
  238. for(var i = grd_etclist.fixedRows; i < grd_etclist.rows; i++) {
  239. ioflag = grd_etclist.valueMatrix(i, grd_etclist.colRef("ioflag"));
  240. if(ioflag == "N") {
  241. grd_etclist.rowStatus(i) = "1";
  242. }
  243. if(ioflag == "" || ioflag == null) { // 분류 Row Style 설정 (구분)
  244. grd_etclist.rowstyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
  245. grd_etclist.rowstyle( i , "data", "text-align") = "center";
  246. } else {
  247. grd_etclist.rowstyle( i , "data", "background-color") = "#ffffff"; //#B9E5FB
  248. grd_etclist.rowstyle( i , "data", "text-align") = "right";
  249. }
  250. }
  251. for(var i= grd_rgstqtylist.fixedRows; i < grd_rgstqtylist.rows; i++) {
  252. if(grd_rgstqtylist.valueMatrix(i, grd_rgstqtylist.colRef("goodflaghngnm")) == "합 계") {
  253. grd_rgstqtylist.rowStyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
  254. grd_rgstqtylist.rowStyle( i , "data", "font-weight") = "bold"; //#B9E5FB
  255. }
  256. }
  257. for(var i= grd_machiuselist.fixedRows; i < grd_machiuselist.rows; i++) {
  258. if(grd_machiuselist.valueMatrix(i, grd_machiuselist.colRef("divsnm")) == "합 계") {
  259. grd_machiuselist.rowStyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
  260. grd_machiuselist.rowStyle( i , "data", "font-weight") = "bold"; //#B9E5FB
  261. }
  262. }
  263. createTempNode();
  264. cnfmrndisable();
  265. // grd_rgstqtylist.subtotalPosition = "below";
  266. // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("day"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
  267. // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("eve"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
  268. // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("sumcnt"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
  269. }
  270. var sDYBIZDIARYGNRLINFO_PATH = "/root/main/nodeinfo/drntlist";
  271. var sDRNTLIST_PATH = "/root/main/nodeinfo/drntlist";
  272. var sDYBIZDIARYINFO_PATH = "/root/main/";
  273. function cnfmrndisable()
  274. {
  275. //확인자가 있고
  276. if (model.getValue(sDYBIZDIARYGNRLINFO_PATH + "/cnfmrid") != '' ) {
  277. //로그인아이디가 93464 이면
  278. if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
  279. ipt_cnfmrid.attribute("editable") = "true";
  280. //model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
  281. btn_chksave.disabled = false;
  282. button5.disabled = false;
  283. } else {
  284. ipt_cnfmrid.attribute("editable") = "false";
  285. btn_chksave.disabled = true;
  286. button5.disabled = true;
  287. }
  288. } else {
  289. //로그인아이디가 93464 이면
  290. if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
  291. ipt_cnfmrid.attribute("editable") = "true";
  292. //model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
  293. btn_chksave.disabled = false;
  294. button5.disabled = false;
  295. } else {
  296. ipt_cnfmrid.attribute("editable") = "false";
  297. btn_chksave.disabled = false;
  298. button5.disabled = false;
  299. }
  300. }
  301. ipt_cnfmrid.refresh();
  302. btn_chksave.refresh();
  303. button5.refresh();
  304. }
  305. function createTempNode()
  306. {
  307. // 일일업무일지_일반정보가 없으면, 임의로 Node를 만든다.
  308. if (instance1.selectNodes(sDYBIZDIARYGNRLINFO_PATH).length <= 0)
  309. {
  310. model.makeValue(sDYBIZDIARYGNRLINFO_PATH + "/workdd" , model.getValue("/root/cond/workdd"));
  311. model.makeValue(sDYBIZDIARYGNRLINFO_PATH + "/workseq", 1);
  312. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cnfmrid");
  313. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/split" );
  314. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/day" );
  315. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/eve" );
  316. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/allnotice" );
  317. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/csrnotice" );
  318. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cdrnotice" );
  319. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/spcf" );
  320. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/eqmt" );
  321. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/tmpr" );
  322. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/humi" );
  323. model.makeValue (sDYBIZDIARYGNRLINFO_PATH + "/instcd", getUserInfo("dutplceinstcd") );
  324. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/writnm" );
  325. model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cnfmrnm");
  326. }
  327. model.refresh();
  328. }
  329. function getLastDay(dd) {
  330. var d = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
  331. var year = parseInt(dd.substr(0,4));
  332. var month = parseInt(dd.substr(4,2));
  333. if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
  334. return 29;
  335. } else {
  336. return d[month];
  337. }
  338. }
  339. ]]>
  340. </script>
  341. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  342. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  343. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  344. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  345. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  346. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  347. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  348. <script type="javascript" ev:event="xforms-ready">
  349. <![CDATA[
  350. fInitialize();
  351. ]]>
  352. </script>
  353. <submission id="TRMSG04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nodeinfo"/>
  354. <submission id="TRMSG04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  355. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  356. <submission id="TXMSG04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/drntlist"/>
  357. <submission id="TRMSG04002" ref="/root/send" resultref="/root/main/workscinfo"/>
  358. </model>
  359. </xhtml:head>
  360. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  361. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:950px; top:55px; width:180px; height:35px; "/>
  362. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  363. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:141px; height:14px; ">CSR 일일 업무일지</caption>
  364. </group>
  365. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; font-family:돋움체; ">
  366. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; font-family:돋움체; vertical-align:top; ">
  367. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
  368. <caption id="cap_instcd" class="search_name" style="left:10px; top:9px; width:70px; height:17px; font-family:돋움체; ">기관명:</caption>
  369. <line id="line13" class="line_4" style="x1:1130px; y1:5px; x2:1130px; y2:30px; font-family:돋움체; border-color:#ffe4bb; border-left-style:solid; "/>
  370. <button id="btn_search" class="btn1_letter2" style="left:1135px; top:8px; width:56px; height:22px; font-family:돋움체; ">
  371. <caption>조회</caption>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. fSearch();
  375. ]]>
  376. </script>
  377. </button>
  378. <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:82px; top:8px; width:93px; height:19px; font-family:돋움체; text-align:center; ">
  379. <choices>
  380. <itemset nodeset="/root/hidden/common/instcdinfo/Z0007">
  381. <label ref="cdnm"/>
  382. <value ref="cdid"/>
  383. </itemset>
  384. </choices>
  385. <script type="javascript" ev:event="xforms-value-changed">
  386. <![CDATA[
  387. btn_search.dispatch("DOMActivate");
  388. ]]>
  389. </script>
  390. </select1>
  391. <caption id="caption3" class="search_name" style="left:781px; top:9px; width:86px; height:17px; font-family:돋움체; ">업무일자:</caption>
  392. <input id="ipt_workdd" ref="/root/cond/workdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:865px; top:8px; width:94px; height:19px; font-family:돋움체; ">
  393. <script type="javascript" ev:event="xforms-value-changed">
  394. <![CDATA[
  395. fSearch();
  396. ]]>
  397. </script>
  398. </input>
  399. <select1 id="rdo_search" ref="/root/send/srchflag" appearance="full" cellspacing="10" cols="2" itemwidth="50" overflow="visible" style="left:415px; top:10px; width:100px; height:15px; font-family:돋움체; border-style:none; ">
  400. <choices>
  401. <item>
  402. <label>업무</label>
  403. <value>D</value>
  404. </item>
  405. <item>
  406. <label>통계</label>
  407. <value>S</value>
  408. </item>
  409. </choices>
  410. <script type="javascript" ev:event="xforms-value-changed">
  411. <![CDATA[
  412. if(rdo_search.value == "D") {
  413. rdo_sum.visible = false;
  414. // caption19.visible = false;
  415. // ipt_worktodd.visible = false;
  416. caption13.visible = false;
  417. button5.visible = true;
  418. ipt_worktodd.visible = false;
  419. caption19.visible =false;
  420. } else if (rdo_search.value == "S") {
  421. rdo_sum.visible = true;
  422. // caption19.visible = true;
  423. // ipt_worktodd.visible = true;
  424. caption13.visible = true;
  425. button5.visible = false;
  426. if(rdo_sum.value == "D") {
  427. ipt_worktodd.visible = true;
  428. caption19.visible =true;
  429. } else {
  430. ipt_worktodd.visible = false;
  431. caption19.visible =false;
  432. }
  433. }
  434. ]]>
  435. </script>
  436. </select1>
  437. <caption id="caption1" class="search_name" style="left:335px; top:10px; width:86px; height:17px; font-family:돋움체; ">조회구분:</caption>
  438. <caption id="caption13" class="search_name" style="left:530px; top:10px; width:86px; height:17px; font-family:돋움체; ">통계구분:</caption>
  439. <select1 id="rdo_sum" ref="/root/send/srchsumflag" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:615px; top:10px; width:165px; height:15px; font-family:돋움체; border-style:none; ">
  440. <choices>
  441. <item>
  442. <label>일간</label>
  443. <value>D</value>
  444. </item>
  445. <item>
  446. <label>월간</label>
  447. <value>M</value>
  448. </item>
  449. <item>
  450. <label>년간</label>
  451. <value>Y</value>
  452. </item>
  453. </choices>
  454. <script type="javascript" ev:event="xforms-value-changed">
  455. <![CDATA[
  456. var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
  457. if(srchsumflag == "D") {
  458. ipt_worktodd.visible = true;
  459. caption19.visible = true;
  460. } else {
  461. ipt_worktodd.visible = false;
  462. caption19.visible = false;
  463. }
  464. ]]>
  465. </script>
  466. </select1>
  467. <input id="ipt_worktodd" ref="/root/cond/worktodd" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:980px; top:8px; width:94px; height:19px; font-family:돋움체; ">
  468. <script type="javascript" ev:event="xforms-value-changed">
  469. <![CDATA[
  470. fSearch();
  471. ]]>
  472. </script>
  473. </input>
  474. <caption id="caption19" visibility="hidden" style="left:959px; top:11px; width:20px; height:15px; font-family:돋움체; font-weight:bold; text-align:center; ">~</caption>
  475. <output id="opt_instnm" ref="/root/cond/instnm" class="output_fix" style="left:82px; top:8px; width:93px; height:19px; "/>
  476. <select1 id="rdo_flag" ref="/root/send/flag" appearance="full" cols="2" overflow="visible" style="left:245px; top:10px; width:85px; height:15px; border-style:none; ">
  477. <choices>
  478. <item>
  479. <label>상세</label>
  480. <value>1</value>
  481. </item>
  482. <item>
  483. <label>구분</label>
  484. <value>2</value>
  485. </item>
  486. </choices>
  487. <script type="javascript" ev:event="xforms-value-changed">
  488. <![CDATA[
  489. fSearch();
  490. ]]>
  491. </script>
  492. </select1>
  493. <caption id="caption30" class="search_name" style="left:185px; top:10px; width:60px; height:17px; font-family:돋움체; ">구분:</caption>
  494. </group>
  495. <switch id="switch1" style="left:0px; top:80px; width:1195px; height:664px; font-family:돋움체; ">
  496. <case id="case1">
  497. <input id="ipt_split" ref="/root/main/workscinfo/worksclist/split" navindex="5" editable="false" maxlength="500" scroll="auto" style="left:52px; top:24px; width:1135px; height:19px; font-family:돋움체; text-align:left; "/>
  498. <textarea id="txt_day" ref="/root/main/workscinfo/worksclist/day" navindex="6" scroll="auto" editable="false" maxlength="500" style="left:52px; top:46px; width:1135px; height:52px; font-family:돋움체; text-align:left; vertical-align:top; "/>
  499. <caption id="caption2" class="cell_1" style="left:0px; top:99px; width:50px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Evening</caption>
  500. <caption id="caption4" class="cell_1" style="left:0px; top:22px; width:50px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Split</caption>
  501. <line id="line1" class="line_1" style="x1:0px; y1:19px; x2:1190px; y2:19px; font-family:돋움체; "/>
  502. <caption id="caption7" class="cell_1" style="left:0px; top:46px; width:50px; height:52px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Day</caption>
  503. <line id="line3" class="line_3" style="x1:0px; y1:122px; x2:1190px; y2:122px; font-family:돋움체; "/>
  504. <caption id="caption8" class="tit_2" style="left:0px; top:5px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">근무자</caption>
  505. <input id="ipt_eve" ref="/root/main/workscinfo/worksclist/eve" navindex="7" editable="false" maxlength="1500" scroll="auto" style="left:52px; top:101px; width:1135px; height:19px; font-family:돋움체; text-align:left; "/>
  506. <input id="ipt_humi" ref="/root/main/nodeinfo/drntlist/humi" navindex="12" maxlength="500" format="#,##0.##" scroll="auto" style="left:302px; top:147px; width:114px; height:19px; font-family:돋움체; text-align:center; "/>
  507. <caption id="caption5" class="cell_1" style="left:0px; top:145px; width:70px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">온도</caption>
  508. <caption id="caption9" class="cell_1" style="left:230px; top:145px; width:70px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">습도</caption>
  509. <caption id="caption14" style="left:188px; top:145px; width:25px; height:23px; font-family:돋움체; font-size:11pt; text-align:left; vertical-align:middle; padding-left:0; ">℃</caption>
  510. <input id="ipt_tmpr" ref="/root/main/nodeinfo/drntlist/tmpr" navindex="11" maxlength="500" format="#,##0.##" scroll="auto" style="left:72px; top:147px; width:114px; height:19px; font-family:돋움체; text-align:center; "/>
  511. <caption id="caption10" class="tit_2" style="left:0px; top:126px; width:186px; height:13px; font-family:돋움체; vertical-align:middle; ">멸균물품보관장</caption>
  512. <caption id="caption15" style="left:420px; top:145px; width:25px; height:23px; font-family:돋움체; font-size:11pt; text-align:left; vertical-align:middle; padding-left:0; ">%</caption>
  513. <line id="line6" class="line_3" style="x1:596px; y1:122px; x2:596px; y2:212px; font-family:돋움체; "/>
  514. <datagrid id="grd_drctlist" nodeset="/root/main/nodeinfo/drctlist" caption="이월수량^사용수량^사용수량^사용수량^청구수량^재고수량^caption1^caption2|이월수량^DAY^EVE^사용수량^청구수량^재고수량^caption1^caption2" colsep="^" colwidth="132, 99, 100, 0, 125, 125, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:600px; top:145px; width:588px; height:93px; font-family:돋움체; ">
  515. <col ref="bfstockcnt" format="#,###" style="text-align:right; "/>
  516. <col ref="dayusecnt" type="input" style="text-align:right; "/>
  517. <col ref="eveusecnt" type="input" style="text-align:right; "/>
  518. <col ref="usecnt" type="input" format="#,###" style="text-align:right; "/>
  519. <col ref="reqcnt" type="input" format="#,###" style="text-align:right; "/>
  520. <col ref="stockcnt" format="#,###" style="text-align:right; "/>
  521. <col ref="workdd" visibility="hidden"/>
  522. <col ref="workseq" type="input" visibility="hidden"/>
  523. <col ref="instcd" type="input" visibility="hidden"/>
  524. <col ref="ioflag" type="input" visibility="hidden"/>
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. var col = grd_drctlist.col;
  528. if(col == grd_drctlist.colRef("dayusecnt") || col == grd_drctlist.colRef("eveusecnt")) {
  529. var dayusecnt = grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("dayusecnt"));
  530. var eveusecnt = grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("eveusecnt"));
  531. if(dayusecnt == "" || dayusecnt == null) {
  532. dayusecnt = 0;
  533. } else {
  534. dayusecnt = parseInt(dayusecnt);
  535. }
  536. if(eveusecnt == "" || eveusecnt == null) {
  537. eveusecnt = 0;
  538. } else {
  539. eveusecnt = parseInt(eveusecnt);
  540. }
  541. grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("usecnt")) = dayusecnt + eveusecnt;
  542. }
  543. ]]>
  544. </script>
  545. </datagrid>
  546. <line id="line2" class="line_1" style="x1:0px; y1:140px; x2:594px; y2:140px; font-family:돋움체; "/>
  547. <line id="line5" class="line_1" style="x1:599px; y1:140px; x2:1189px; y2:140px; font-family:돋움체; "/>
  548. <caption id="caption11" class="tit_2" style="left:600px; top:125px; width:195px; height:13px; font-family:돋움체; vertical-align:middle; ">E.O Gas Cartrige 사용현황</caption>
  549. <line id="line8" class="line_3" style="x1:0px; y1:212px; x2:1190px; y2:212px; font-family:돋움체; "/>
  550. <caption id="caption12" class="tit_2" style="left:595px; top:375px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">CSR 실무공지</caption>
  551. <caption id="caption16" class="tit_2" style="left:0px; top:374px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">장비이상보고</caption>
  552. <textarea id="textarea2" ref="/root/main/nodeinfo/drntlist/eqmt" style="left:0px; top:397px; width:590px; height:110px; font-family:돋움체; "/>
  553. <line id="line9" class="line_1" visibility="visible" style="x1:0px; y1:391px; x2:594px; y2:391px; font-family:돋움체; "/>
  554. <line id="line10" class="line_1" visibility="visible" style="x1:0px; y1:527px; x2:594px; y2:527px; font-family:돋움체; "/>
  555. <caption id="caption17" class="tit_2" style="left:5px; top:510px; width:170px; height:14px; font-family:돋움체; vertical-align:middle; ">진료재료 특이사항</caption>
  556. <textarea id="textarea3" ref="/root/main/nodeinfo/drntlist/spcf" style="left:0px; top:533px; width:590px; height:125px; font-family:돋움체; "/>
  557. <line id="line11" class="line_3" style="x1:595px; y1:529px; x2:595px; y2:656px; font-family:돋움체; "/>
  558. <line id="line12" class="line_3" style="x1:595px; y1:532px; x2:595px; y2:659px; font-family:돋움체; "/>
  559. <line id="line14" class="line_1" visibility="visible" style="x1:596px; y1:527px; x2:1190px; y2:527px; font-family:돋움체; "/>
  560. <caption id="caption18" class="tit_2" style="left:595px; top:511px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR 실무공지</caption>
  561. <textarea id="textarea4" ref="/root/main/nodeinfo/drntlist/cdrnotice" style="left:596px; top:533px; width:590px; height:125px; font-family:돋움체; "/>
  562. <line id="line4" class="line_1" visibility="visible" style="x1:0px; y1:231px; x2:1185px; y2:230px; font-family:돋움체; "/>
  563. <line id="line17" class="line_3" style="x1:595px; y1:394px; x2:595px; y2:506px; font-family:돋움체; "/>
  564. <line id="line18" class="line_1" visibility="visible" style="x1:596px; y1:391px; x2:1190px; y2:391px; font-family:돋움체; "/>
  565. <textarea id="textarea1" ref="/root/main/nodeinfo/drntlist/allnotice" style="left:0px; top:234px; width:1187px; height:135px; font-family:돋움체; "/>
  566. <textarea id="textarea6" ref="/root/main/nodeinfo/drntlist/csrnotice" style="left:596px; top:397px; width:590px; height:110px; font-family:돋움체; "/>
  567. <caption id="caption21" class="tit_2" style="left:0px; top:215px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">전체공지</caption>
  568. <button id="btn_chksave" class="btn5_letter2" disabled="false" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1145px; top:0px; width:42px; height:19px; font-family:돋움체; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  569. <caption>저장</caption>
  570. <script type="javascript" ev:event="DOMActivate">
  571. <![CDATA[
  572. model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
  573. model.copyNode("/root/send/savedata/savedrntdata", "/root/main/nodeinfo/drntlist");
  574. model.copyNode("/root/send/savedata/savedrctdata", "/root/main/nodeinfo/drctlist");
  575. if(!submit("TXMSG04001")){
  576. messageBox("저장을 실패하였습니다.", "E999");
  577. return;
  578. }
  579. fSearch() ;
  580. ]]>
  581. </script>
  582. </button>
  583. </case>
  584. <case id="case2" selected="true">
  585. <datagrid id="grd_rgstqtyiolist" nodeset="/root/main/nodeinfo/rgstqtyiolist" caption="물품명^교환^교환^청구^청구^대여^대여^멸균의뢰^멸균의뢰^재멸균^재멸균|물품명^Day^Eve^Day^Eve^Day^Eve^Day^Eve^Day^Eve" colsep="^" colwidth="165, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:320px; width:685px; height:340px; font-family:돋움체; ">
  586. <col ref="goodnm"/>
  587. <col ref="dlvexchngqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
  588. <col ref="dlvexchngqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  589. <col ref="dlvreqqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
  590. <col ref="dlvreqqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  591. <col ref="dlvlendqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
  592. <col ref="dlvlendqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  593. <col ref="dlvrgstqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
  594. <col ref="dlvrgstqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  595. <col ref="dlvrergstqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
  596. <col ref="dlvrergstqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  597. </datagrid>
  598. <line id="line16" class="line_1" style="x1:0px; y1:315px; x2:685px; y2:315px; font-family:돋움체; "/>
  599. <caption id="caption20" class="tit_2" style="left:3px; top:300px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">불출현황</caption>
  600. <datagrid id="grd_rgstqtylist" nodeset="/root/main/nodeinfo/rgstqtylist" caption="분류구분^장비명^부서구분^Day^Eve^합계" colsep="^" colwidth="108, 0, 94, 55, 55, 55" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:385px; height:260px; font-family:돋움체; ">
  601. <col ref="goodflaghngnm"/>
  602. <col ref="csrfixasetnm" visibility="hidden"/>
  603. <col ref="csrreqdeptnm"/>
  604. <col ref="day" format="(-)#,###" style="text-align:right; padding-right:3; "/>
  605. <col ref="eve" format="(-)#,###" style="text-align:right; padding-right:3; "/>
  606. <col ref="sumcnt" format="(-)#,###" style="text-align:right; padding-right:3; "/>
  607. </datagrid>
  608. <caption id="caption22" class="tit_2" style="left:0px; top:10px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">멸균현황</caption>
  609. <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:385px; y2:25px; font-family:돋움체; "/>
  610. <line id="line21" class="line_1" style="x1:690px; y1:25px; x2:915px; y2:25px; font-family:돋움체; "/>
  611. <caption id="caption24" class="tit_2" style="left:690px; top:10px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">Enema</caption>
  612. <line id="line22" class="line_1" style="x1:691px; y1:375px; x2:916px; y2:375px; font-family:돋움체; "/>
  613. <datagrid id="grd_linenlist" nodeset="/root/main/nodeinfo/linenlist" caption="물품명^Day^Eve" colsep="^" colwidth="110, 49, 49" mergecellsfixedrows="bycolrec" rowsep="|" style="left:691px; top:380px; width:225px; height:280px; font-family:돋움체; ">
  614. <col ref="csrgoodnm"/>
  615. <col ref="certrgstqtyday" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  616. <col ref="certrgstqtyeve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  617. </datagrid>
  618. <caption id="caption25" class="tit_2" style="left:691px; top:360px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">진료재료파트 멸균의뢰</caption>
  619. <datagrid id="grd_ccdrcentrlist" nodeset="/root/main/nodeinfo/ccdrcentrlist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 46, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:690px; top:130px; width:225px; height:95px; font-family:돋움체; ">
  620. <col ref="cdnm"/>
  621. <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  622. <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  623. <col ref="instcd" visibility="hidden"/>
  624. <col ref="workdd" visibility="hidden"/>
  625. <col ref="gubuncd" visibility="hidden"/>
  626. <col ref="workseq" visibility="hidden"/>
  627. <col ref="cdid" visibility="hidden"/>
  628. <col ref="ioflag" visibility="hidden"/>
  629. <script type="javascript" ev:event="onkeypress">
  630. <![CDATA[
  631. var row = grd_ccdrcentrlist.row;
  632. if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
  633. if(grd_ccdrcentrlist.col == grd_ccdrcentrlist.colRef("day") ||
  634. grd_ccdrcentrlist.col == grd_ccdrcentrlist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
  635. if(grd_ccdrcentrlist.row + 1 < grd_ccdrcentrlist.rows) {
  636. grd_ccdrcentrlist.row = row + 1;
  637. }
  638. }
  639. }
  640. ]]>
  641. </script>
  642. </datagrid>
  643. <line id="line23" class="line_1" style="x1:690px; y1:125px; x2:915px; y2:125px; font-family:돋움체; "/>
  644. <caption id="caption26" class="tit_2" style="left:690px; top:110px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR Cart(중앙수술실)</caption>
  645. <line id="line24" class="line_1" style="x1:920px; y1:25px; x2:1190px; y2:25px; font-family:돋움체; "/>
  646. <datagrid id="grd_etclist" nodeset="/root/main/nodeinfo/etclist" caption="물품명^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6^caption7" colsep="^" colwidth="117, 56, 56, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:920px; top:30px; width:270px; height:485px; font-family:돋움체; ">
  647. <col ref="item"/>
  648. <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  649. <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  650. <col ref="ioflag" visibility="hidden"/>
  651. <col ref="gubuncd" visibility="hidden"/>
  652. <col ref="workseq" visibility="hidden"/>
  653. <col ref="cdid" visibility="hidden"/>
  654. <col ref="workdd" visibility="hidden"/>
  655. <col ref="instcd" visibility="hidden"/>
  656. <col ref="flag" visibility="hidden" style="text-align:right; "/>
  657. <script type="javascript" ev:event="onstartedit">
  658. <![CDATA[
  659. if ( grd_etclist.valueMatrix(grd_etclist.row,grd_etclist.colRef("ioflag")) == "")
  660. {
  661. event.defaultAction = "cancel";
  662. }
  663. else
  664. {
  665. event.defaultAction = "perform";
  666. }
  667. ]]>
  668. </script>
  669. <script type="javascript" ev:event="onkeypress">
  670. <![CDATA[
  671. var row = grd_etclist.row;
  672. if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
  673. if(grd_etclist.col == grd_etclist.colRef("day") ||
  674. grd_etclist.col == grd_etclist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
  675. if(grd_etclist.row + 1 < grd_etclist.rows) {
  676. grd_etclist.row = row + 1;
  677. }
  678. }
  679. }
  680. ]]>
  681. </script>
  682. </datagrid>
  683. <caption id="caption27" class="tit_2" style="left:920px; top:10px; width:75px; height:13px; font-family:돋움체; vertical-align:middle; ">기타업무</caption>
  684. <line id="line25" class="line_1" style="x1:690px; y1:250px; x2:915px; y2:250px; font-family:돋움체; "/>
  685. <datagrid id="grd_ccdroperlist" nodeset="/root/main/nodeinfo/ccdroperlist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 45, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:691px; top:255px; width:225px; height:95px; font-family:돋움체; ">
  686. <col ref="cdnm"/>
  687. <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  688. <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
  689. <col ref="instcd" visibility="hidden"/>
  690. <col ref="workdd" visibility="hidden"/>
  691. <col ref="gubuncd" visibility="hidden"/>
  692. <col ref="workseq" visibility="hidden"/>
  693. <col ref="cdid" visibility="hidden"/>
  694. <col ref="ioflag" visibility="hidden"/>
  695. <script type="javascript" ev:event="onkeypress">
  696. <![CDATA[
  697. var row = grd_ccdroperlist.row;
  698. if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
  699. if(grd_ccdroperlist.col == grd_ccdroperlist.colRef("day") ||
  700. grd_ccdroperlist.col == grd_ccdroperlist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
  701. if(grd_ccdroperlist.row + 1 < grd_ccdroperlist.rows) {
  702. grd_ccdroperlist.row = row + 1;
  703. }
  704. }
  705. }
  706. ]]>
  707. </script>
  708. </datagrid>
  709. <caption id="caption28" class="tit_2" style="left:690px; top:235px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR Cart(일일수술실)</caption>
  710. <datagrid id="grd_machiuselist" nodeset="/root/main/nodeinfo/machiuselist" caption="분류구분^장비명^Day^Eve^합계" colsep="^" colwidth="77, 82, 39, 39, 39" mergecellsfixedrows="bycolrec" rowsep="|" style="left:390px; top:30px; width:295px; height:260px; font-family:돋움체; ">
  711. <col ref="divsnm"/>
  712. <col ref="csrfixasetnm"/>
  713. <col ref="dutyday" format="#,###" style="text-align:right; padding-right:3; "/>
  714. <col ref="dutyeve" format="#,###" style="text-align:right; padding-right:3; "/>
  715. <col ref="sumcnt" format="#,###" style="text-align:right; padding-right:3; "/>
  716. </datagrid>
  717. <line id="line20" class="line_1" style="x1:390px; y1:25px; x2:685px; y2:25px; font-family:돋움체; "/>
  718. <caption id="caption23" class="tit_2" style="left:390px; top:10px; width:177px; height:13px; font-family:돋움체; vertical-align:middle; ">장비사용현황</caption>
  719. <datagrid id="grd_enemalist" nodeset="/root/main/nodeinfo/enemalist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 46, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:690px; top:30px; width:225px; height:75px; font-family:돋움체; ">
  720. <col ref="cdnm"/>
  721. <col ref="day" type="output" format="#,###" style="text-align:right; padding-right:3; "/>
  722. <col ref="eve" type="output" format="#,###" style="text-align:right; padding-right:3; "/>
  723. <col ref="instcd" visibility="hidden"/>
  724. <col ref="workdd" visibility="hidden"/>
  725. <col ref="gubuncd" visibility="hidden"/>
  726. <col ref="workseq" visibility="hidden"/>
  727. <col ref="cdid" visibility="hidden"/>
  728. <col ref="ioflag" visibility="hidden"/>
  729. <script type="javascript" ev:event="onkeypress">
  730. <![CDATA[
  731. // var row = grd_enemalist.row;
  732. // if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
  733. // if(grd_enemalist.col == grd_enemalist.colRef("day") ||
  734. // grd_enemalist.col == grd_enemalist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
  735. // if(grd_enemalist.row + 1 < grd_enemalist.rows) {
  736. // grd_enemalist.row = row + 1;
  737. // }
  738. // }
  739. // }
  740. // ]]>
  741. </script>
  742. <script type="javascript" ev:event="ondblclick">
  743. <![CDATA[
  744. var srchflag = model.getValue(rdo_search.attribute("ref"));
  745. var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
  746. if(srchflag == "D") {
  747. setParameter("fromdd", model.getValue(ipt_workdd.attribute("ref")));
  748. setParameter("todd", model.getValue(ipt_workdd.attribute("ref")));
  749. } else {
  750. if(srchsumflag == "D") {
  751. setParameter("fromdd", model.getValue(ipt_workdd.attribute("ref")));
  752. setParameter("todd", model.getValue(ipt_worktodd.attribute("ref")));
  753. } else if(srchsumflag == "M") {
  754. var fromdd = model.getValue(ipt_workdd.attribute("ref"));
  755. setParameter("fromdd", fromdd.substring(0,6) + "01");
  756. setParameter("todd", fromdd.substring(0,6) + getLastDay(fromdd));
  757. } else if(srchsumflag == "Y") {
  758. var year = model.getValue(ipt_workdd.attribute("ref")).substring(0,4);
  759. setParameter("fromdd", year + "0101");
  760. setParameter("todd", year + "1231");
  761. }
  762. }
  763. open("SPMNG04300");
  764. ]]>
  765. </script>
  766. </datagrid>
  767. <button id="button5" class="btn5_letter2" disabled="false" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1145px; top:5px; width:42px; height:19px; font-family:돋움체; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  768. <caption>저장</caption>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. var enemalist = getGridUpdateData(grd_enemalist);
  772. var etclist = getGridUpdateData(grd_etclist);
  773. var ccdrcentrlist = getGridUpdateData(grd_ccdrcentrlist);
  774. var ccdroperlist = getGridUpdateData(grd_ccdroperlist);
  775. //노드 SET
  776. model.makeValue("/root/send/savedata/enemalist", enemalist);
  777. model.makeValue("/root/send/savedata/etclist" , etclist);
  778. model.makeValue("/root/send/savedata/ccdrcentrlist", ccdrcentrlist);
  779. model.makeValue("/root/send/savedata/ccdroperlist", ccdroperlist);
  780. model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
  781. if(!submit("TXMSG04001")){
  782. messageBox("저장을 실패하였습니다.", "E999");
  783. return;
  784. }
  785. fSearch() ;
  786. ]]>
  787. </script>
  788. </button>
  789. <button id="button6" class="btn2_letter2" style="left:1101px; top:5px; width:42px; height:19px; font-family:돋움체; ">
  790. <caption>출력</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. var fromdd = model.getValue(ipt_workdd.attribute("ref"));
  794. var srchflag = model.getValue(rdo_search.attribute("ref"));
  795. var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
  796. var workdd = model.getValue(ipt_workdd.attribute("ref"));
  797. model.makeValue("/root/cond/srchsumflag", model.getValue(rdo_sum.attribute("ref")));
  798. model.makeValue("/root/cond/srchflag", model.getValue(rdo_sum.attribute("ref")));
  799. if(srchflag == "D") {
  800. model.makeValue("/root/cond/fromdd", model.getValue(ipt_workdd.attribute("ref")));
  801. model.makeValue("/root/cond/todd", model.getValue(ipt_worktodd.attribute("ref")));
  802. } else {
  803. if(srchsumflag == "D") {
  804. model.makeValue("/root/cond/fromdd", model.getValue(ipt_workdd.attribute("ref")));
  805. model.makeValue("/root/cond/todd", model.getValue(ipt_workdd.attribute("ref")));
  806. } else if(srchsumflag == "M") {
  807. var dd = workdd.toDate();
  808. var lastday = dd.getMonthDay();
  809. model.makeValue("/root/cond/fromdd", workdd.substr(0,6) + "01");
  810. model.makeValue("/root/cond/todd", workdd.substr(0,6) + lastday);
  811. } else if(srchsumflag == "Y") {
  812. model.makeValue("/root/cond/fromdd", workdd.substr(0,4) + "0101");
  813. model.makeValue("/root/cond/todd", workdd.substr(0,4) + "1231");
  814. }
  815. }
  816. if (getGridUpdateData(grd_etclist).length == 0) {
  817. exeReportPreview("RPMSG04001", "XMLSTR", "", "", "false","","","","","false", "", "");//미리보기
  818. } else {
  819. messageBox("입력된 정보가 있어서 출력할 수 없습니다.", "E999");
  820. return;
  821. }
  822. ]]>
  823. </script>
  824. </button>
  825. <datagrid id="grd_cleanlist" nodeset="/root/main/nodeinfo/cleanlist" caption="명칭^건수" colsep="^" colwidth="166, 87" mergecellsfixedrows="bycolrec" rowsep="|" style="left:920px; top:540px; width:270px; height:120px; ">
  826. <col ref="cdnm"/>
  827. <col ref="cnt" style="text-align:right; "/>
  828. </datagrid>
  829. <line id="line7" class="line_1" style="x1:919px; y1:535px; x2:1189px; y2:535px; font-family:돋움체; "/>
  830. <caption id="caption31" class="tit_2" style="left:919px; top:520px; width:225px; height:14px; font-family:돋움체; vertical-align:middle; ">세척현황</caption>
  831. <select1 id="combo1" ref="/root/send/chkyn" appearance="minimal" style="left:995px; top:5px; width:89px; height:19px; ">
  832. <choices>
  833. <item>
  834. <label>사용물품</label>
  835. <value>Y</value>
  836. </item>
  837. <item>
  838. <label>미사용물품</label>
  839. <value>N</value>
  840. </item>
  841. </choices>
  842. </select1>
  843. </case>
  844. <case id="case3"/>
  845. </switch>
  846. <button id="button2" class="btn_sw7" group="tab" style="left:76px; top:59px; width:88px; height:22px; font-family:돋움체; ">
  847. <caption>기본업무관리</caption>
  848. <script type="javascript" ev:event="DOMActivate">
  849. <![CDATA[
  850. cnfmrndisable();
  851. model.toggle("case2");
  852. ]]>
  853. </script>
  854. </button>
  855. <button id="button3" class="btn_sw5" group="tab" selected="true" style="left:0px; top:59px; width:76px; height:22px; font-family:돋움체; ">
  856. <caption>공지사항</caption>
  857. <script type="javascript" ev:event="DOMActivate">
  858. <![CDATA[
  859. //model.removeNodeset("/root/tmp/tabflag");
  860. //model.makeValue("/root/tmp/tabflag","1");
  861. //btn_excel.attribute("visibility") = "visible";
  862. //btn_allprt.attribute("visibility") = "hidden";
  863. cnfmrndisable();
  864. model.toggle("case1");
  865. ]]>
  866. </script>
  867. </button>
  868. <input id="ipt_cnfmrid" ref="/root/main/nodeinfo/drntlist/cnfmrid" editable="false" style="left:1005px; top:57px; width:80px; height:19px; font-family:돋움체; ">
  869. <script type="javascript" ev:event="onclick">
  870. <![CDATA[
  871. if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
  872. ipt_cnfmrid.attribute("editable") = "true";
  873. model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
  874. model.refresh();
  875. }
  876. ]]>
  877. </script>
  878. </input>
  879. <button id="btn_dlvhide" class="btn2_letter8" style="left:650px; top:55px; width:108px; height:19px; font-family:돋움체; ">
  880. <caption>Set 및 기구관리</caption>
  881. <script type="javascript" ev:event="DOMActivate">
  882. <![CDATA[
  883. modal("SMMSG04100" ,"1", "100", "100", "SMMSG04100", "", "");
  884. ]]>
  885. </script>
  886. </button>
  887. <button id="button1" class="btn2_letter6" style="left:765px; top:55px; width:86px; height:19px; font-family:돋움체; ">
  888. <caption>Check List</caption>
  889. <script type="javascript" ev:event="DOMActivate">
  890. <![CDATA[
  891. modal("SMMNG01400" ,1, "100", "100", "SMMNG01400", "", "");
  892. ]]>
  893. </script>
  894. </button>
  895. <button id="button4" class="btn2_letter4" style="left:857px; top:55px; width:64px; height:19px; font-family:돋움체; ">
  896. <caption>항목관리</caption>
  897. <script type="javascript" ev:event="DOMActivate">
  898. <![CDATA[
  899. modal("SMMSG03000" ,"", "100", "100", "SMMSG03000", "", "");
  900. ]]>
  901. </script>
  902. </button>
  903. <input id="input2" ref="/root/main/nodeinfo/drntlist/cnfmrnm" disabled="true" style="left:1090px; top:57px; width:80px; height:19px; font-family:돋움체; "/>
  904. </group>
  905. <caption id="caption29" visibility="visible" style="left:940px; top:70px; width:65px; height:20px; font-weight:bold; ">* 확인자 :</caption>
  906. </xhtml:body>
  907. </xhtml:html>