SMRSO22300_월말정산완료관리(경북대).xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>월말 정산완료 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <clselist/>
  11. </main>
  12. <send>
  13. <search>
  14. <instcd/>
  15. <endmonth/>
  16. <workflag/>
  17. </search>
  18. <save/>
  19. </send>
  20. <init>
  21. </init>
  22. <hidden/>
  23. <temp>
  24. </temp>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. //화면 Control을 초기화한다
  30. misfGridInit(grd_clselist);
  31. misfMsterDetailSet(grd_clselist, null, "TRRSO22301" ,"Y");
  32. //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
  33. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  34. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  35. model.setValue("/root/send/search/endmonth" , getCurrentDate()); //일자 설정
  36. model.setValue("/root/send/search/workflag" , "Y"); //작업구분 설정("Y": 완료)
  37. //정산완료 이력 조회
  38. misfMsterDetailRetrieve();
  39. //model.refresh();
  40. ]]>
  41. </script>
  42. <submission id="TRRSO22301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/clselist"/>
  43. <submission id="TXRSO22301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  51. <script type="javascript">
  52. <![CDATA[
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="790" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  57. <group id="grp_tle" style="left:0px; top:0px; width:770px; height:13px; ">
  58. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:289px; height:14px; ">월말 정산완료 관리</caption>
  59. </group>
  60. <group id="group1" style="left:0px; top:12; width:770px; height:27px; x2:770px; ">
  61. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:770px; y2:25px; "/>
  62. </group>
  63. <group id="group3" scroll="auto" style="left:0px; top:40px; width:770px; height:405px; ">
  64. <group id="grp_search" style="left:0px; top:9px; width:770px; height:48px; vertical-align:top; ">
  65. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:770px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <button id="btn_exec" class="btn1_letter2" navindex="4" style="left:674px; top:9px; width:56px; height:22px; ">
  67. <caption>실행</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. //마감년월에 입력된 값이 올바르지 않으면, 마감년월을 선택하라고 alert함
  71. if(ipt_endmonth.value.length < 6) {
  72. messageBox("마감년월이 올바로 선택되지 않았습니다. \n\n먼저 마감년월을 선택하십시요.", "E999", "");
  73. model.setFocus("ipt_endmonth");
  74. return;
  75. }
  76. //작업 실행전 confirm
  77. var dd = model.getValue("/root/send/search/endmonth");
  78. if (messageBox( dd.substr(0,4) + " 년 " + dd.substr(4,2) + " 월 정산 " + rdo_workflag.label + " 작업을 실행하시겠습니까? ", "Q999","") != 6){
  79. return;
  80. }
  81. if( submit("TXRSO22301") ) {
  82. //정산 완료이력 조회
  83. misfMsterDetailRetrieve();
  84. }
  85. ]]>
  86. </script>
  87. </button>
  88. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:107px; top:10px; width:136px; height:19px; ">
  89. <choices>
  90. <itemset nodeset="/root/main/init">
  91. <label ref="cnstnm"/>
  92. <value ref="cnstcd"/>
  93. </itemset>
  94. </choices>
  95. </select1>
  96. <caption id="cap_instcd" class="search_name" style="left:28px; top:10px; width:77px; height:17px; ">기관코드</caption>
  97. <caption id="caption20" class="search_name" style="left:446px; top:10px; width:89px; height:17px; vertical-align:middle; ">작업구분</caption>
  98. <line id="line30" class="line_4" style="x1:660px; y1:4px; x2:660px; y2:36px; "/>
  99. <caption id="caption2" class="search_name" style="left:265px; top:10px; width:76px; height:17px; ">마감년월</caption>
  100. <select1 id="rdo_workflag" ref="/root/send/search/workflag" navindex="3" appearance="full" cols="2" overflow="visible" style="left:529px; top:11px; width:111px; height:20px; border-style:none; ">
  101. <choices>
  102. <item>
  103. <label>완료</label>
  104. <value>Y</value>
  105. </item>
  106. <item>
  107. <label>완료취소</label>
  108. <value>N</value>
  109. </item>
  110. </choices>
  111. </select1>
  112. <input id="ipt_endmonth" ref="/root/send/search/endmonth" navindex="2" inputtype="date" format="yyyy-mm" style="left:345px; top:10px; width:80px; height:19px; "/>
  113. </group>
  114. <line id="line1" class="line_1" style="x1:0px; y1:78px; x2:770px; y2:78px; "/>
  115. <caption id="caption1" class="tit_2" style="left:0px; top:63px; width:180px; height:14px; ">정산완료 작업 이력</caption>
  116. <datagrid id="grd_clselist" nodeset="/root/main/clselist" class="datagrid2" caption="마감년월^정산완료 작업 실행 일시^실행자 사번" colsep="^" colwidth="134, 213, 121" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="5" style="left:0px; top:83px; width:770px; height:237px; ">
  117. <col ref="endmonth" format="yyyy-mm" style="text-align:center; "/>
  118. <col ref="exectime" style="text-align:center; "/>
  119. <col ref="emplno" style="text-align:center; "/>
  120. </datagrid>
  121. <button id="btn_close" class="btn4_letter2" navindex="6" style="left:700px; top:380px; width:56px; height:22px; ">
  122. <caption>닫기</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. window.close();
  126. ]]>
  127. </script>
  128. </button>
  129. <caption id="caption4" style="left:0px; top:330px; width:679px; height:28px; ">
  130. <![CDATA[※ 정산완료 처리 이후에는 해당월의 검수, 입/출고 및 마감/마감취소 작업이 불가합니다.
  131. 검수, 입/출고 작업을 위해서는 우선 해당월의 정산완료 취소, 마감취소가 순차적으로 이루어져야 합니다.]]>
  132. </caption>
  133. </group>
  134. </xhtml:body>
  135. </xhtml:html>