SPLNP90600_체외일계표이력관리.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLNP90600_체외일계표이력관리
  4. * 설 명 : 일계표이력관리
  5. * 설 계 자 : 설계자가 별도로 존재시 작성
  6. * 작 성 자 : 서승현
  7. * 작 성 일 : 2009.05.12
  8. * 수정이력: 최종작성일 기준으로 변경사항 이력관리
  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>
  14. <xhtml:title>일계표이력관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <cntlist>
  20. <iodd/>
  21. <goodcd/>
  22. <tclsnm/>
  23. <seq/>
  24. <icnt/>
  25. <ocnt/>
  26. <mcnt/>
  27. <idt/>
  28. <odt/>
  29. <mdt/>
  30. </cntlist>
  31. </main>
  32. <send>
  33. <codeflag/>
  34. <fromdd/>
  35. <todd/>
  36. <refflag>1</refflag>
  37. </send>
  38. <init/>
  39. <hidden/>
  40. </root>
  41. </instance>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. fExeInitialize();
  49. ]]>
  50. </script>
  51. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0110"/>
  52. <submission id="TRLNP90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntlist"/>
  53. </model>
  54. <script type="javascript">
  55. <![CDATA[
  56. //초기화
  57. function fExeInitialize(){
  58. model.removeNodeset("/root/main/cntlist");
  59. var strRefDd = getCurrentDate();
  60. model.setValue("/root/send/fromdd" , strRefDd);
  61. model.setValue("/root/send/todd" , strRefDd);
  62. model.refresh();
  63. }
  64. function fGetList(){
  65. if(submit("TRLNP90601")){
  66. for( i = 2 ; i < mgrd_cntlist.rows; i++){
  67. var seq = model.getValue("/root/main/cntlist["+ (i-1) +"]/seq");
  68. if(seq != 1){ //1이 아니면 수정이력이 있는 항목임
  69. mgrd_cntlist.cellStyle("background-color", i, 0, i, mgrd_cntlist.cols-1) = "#f3e1bf";
  70. }else{
  71. mgrd_cntlist.cellStyle("background-color", i, 0, i, mgrd_cntlist.cols-1) = "#ffffff";
  72. }
  73. }
  74. }
  75. model.refresh();
  76. }
  77. ]]>
  78. </script>
  79. </xhtml:head>
  80. <xhtml:body pagewidth="980" pageheight="716" guideline="1,482;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  81. <group id="grp_biz" style="left:0px; top:0px; width:984px; height:700px; ">
  82. <multilinegrid id="mgrd_cntlist" nodeset="/root/main/cntlist" class="multilinegrid2" autoresize="true" caption="업무일자^검사코드^검사명^순번^입고^사용^관리|업무일자^검사코드^검사명^순번^등록(수정)일자^등록(수정)일자^등록(수정)일자" colsep="^" colwidth="100, 50, 174, 50, 220, 220, 220" dataheight="20" extendlastcol="scroll" focuscolor="transparent" rowsep="|" mergecellsfixedrows="bycolrec" style="left:5px; top:90px; width:974px; height:608px; ">
  83. <row>
  84. <col ref="iodd" format="yyyy-mm-dd" style="text-align:center; "/>
  85. <col ref="goodcd" visibility="hidden"/>
  86. <col ref="tclsnm"/>
  87. <col ref="seq" style="text-align:center; "/>
  88. <col ref="icnt" style="font-weight:bolder; text-align:center; "/>
  89. <col ref="ocnt" style="font-weight:bolder; text-align:center; "/>
  90. <col ref="mcnt" style="font-weight:bolder; text-align:center; "/>
  91. </row>
  92. <row>
  93. <!-- 빈값처리 -->
  94. <col ref="iodd1" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  95. <!-- 빈값처리 -->
  96. <col ref="goodcd1" visibility="hidden"/>
  97. <!-- 빈값처리 -->
  98. <col ref="tclsnm1" visibility="hidden"/>
  99. <!-- 빈값처리 -->
  100. <col ref="seq1" visibility="hidden" style="text-align:center; "/>
  101. <col ref="idt" style="text-align:center; "/>
  102. <col ref="odt" style="text-align:center; "/>
  103. <col ref="mdt" style="text-align:center; "/>
  104. </row>
  105. </multilinegrid>
  106. <group id="grp_sea" style="left:5px; top:25px; width:974px; height:35px; vertical-align:top; ">
  107. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:974; height:35px; "/>
  108. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">조회일자 :</caption>
  109. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:904px; top:7px; width:56px; height:22px; ">
  110. <caption>조회</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. fGetList();
  114. ]]>
  115. </script>
  116. </button>
  117. <line id="line13" class="line_4" style="x1:888px; y1:7px; x2:888px; y2:29px; "/>
  118. <caption id="caption3" class="search_no_b" style="left:197; top:8px; width:12px; height:17px; text-align:center; vertical-align:middle; ">~</caption>
  119. <input id="ipt_prcptodd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:212; top:8px; width:90px; height:19px; "/>
  120. <input id="ipt_prcpfromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:104; top:8px; width:90; height:19px; "/>
  121. <caption id="caption4" class="search_name" style="left:568px; top:10px; width:86px; height:17px; ">조회기준 :</caption>
  122. <select1 id="radio1" ref="/root/send/refflag" appearance="full" cols="2" overflow="visible" style="left:660px; top:10px; width:145px; height:15px; border-style:none; ">
  123. <choices>
  124. <item>
  125. <label>업무일자</label>
  126. <value>1</value>
  127. </item>
  128. <item>
  129. <label>등록일자</label>
  130. <value>2</value>
  131. </item>
  132. </choices>
  133. </select1>
  134. </group>
  135. <caption id="caption1" class="tit_2" autoresize="true" style="left:10px; top:70px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">일계표 이력 리스트</caption>
  136. <line id="line1" class="line_1" style="x1:5px; y1:85px; x2:979px; y2:85px; "/>
  137. <caption id="cap_title" class="tit_1" style="left:15px; top:10px; width:800px; height:13px; ">체외 일계표 이력 관리</caption>
  138. <button id="btn_init" class="btn4_letter3" style="left:897px; top:2px; width:68px; height:22px; ">
  139. <caption>초기화</caption>
  140. <script type="javascript" ev:event="onclick">
  141. <![CDATA[
  142. window.reload();
  143. ]]>
  144. </script>
  145. </button>
  146. </group>
  147. </xhtml:body>
  148. </xhtml:html>