SMRSG10100_구매출력물(경북대).xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>구매관련 출력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reflist/>
  11. </main>
  12. <init/>
  13. <hidden/>
  14. <temp/>
  15. <send>
  16. </send>
  17. </root>
  18. </instance>
  19. <submission id="aa"/>
  20. </model>
  21. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  22. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  23. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  24. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  25. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  26. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. //사용자 권한
  30. //fCheckAuth();
  31. //구매 관리자 권한체크
  32. //var authflag = fGrupAuthFlag("UG00000034");
  33. //if (authflag == "Y") {
  34. // grp_scoreprt.visible = true;
  35. //}
  36. /*
  37. if (getUserInfo("dutplcecd") == "4110101000" || getUserInfo("userid").toUpperCase() == "MIS" || getUserInfo("userid") == "20800920"){
  38. grp_scoreprt.visible = true;
  39. }
  40. */
  41. //model.refresh();
  42. ]]>
  43. </script>
  44. <script type="javascript">
  45. <![CDATA[
  46. //========================================================================================
  47. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  48. //========================================================================================
  49. function fCheckAuth() {
  50. }
  51. /*
  52. 조회조건창을 열어 입력된 조회조건으로 submit을 전송한다.
  53. 조회조건 : yy,mm,instcd,deptcd,emplno,supinfqurtyyflag,apprtcdrflag,dentyn,trngflag13,anual
  54. submitID : submission ID
  55. reportID : report ID
  56. rsltpath : submission 의 resultref
  57. reqlist : 조회조건 예) "yy,mm,emplno"
  58. essnlist : 필수조회조건 예) "yy,mm"
  59. funcnm : 특정시점의 함수호출
  60. */
  61. function fOpenCondWind(submitID, reportID, reqlist, essnlist, funcnm, seqflag, sendlist)
  62. {
  63. var ctrl = document.controls(event.target);
  64. var req_path = "/root/send/req";
  65. model.removenode(req_path);
  66. model.removenode("/root/properties/parameters");
  67. setParameter("SPRSG10200_title", ctrl.text);
  68. setParameter("SPRSG10200_valupath", req_path);
  69. setParameter("SPRSG10200_reqlist", reqlist);
  70. setParameter("SPRSG10200_essnlist", essnlist);
  71. setParameter("SPRSG10200_sendlist", sendlist);
  72. modalUrl("SPRSG10200_구매출력물관련조건(경북대).xrw","",event.screenX,event.screenY,"popup", "" ,"");
  73. if (instance1.selectNodes(req_path).length == 0)
  74. {
  75. model.removenode(req_path);
  76. model.removenode("/root/properties/parameters");
  77. return;
  78. }
  79. if (funcnm != null && funcnm != "")
  80. {
  81. eval(funcnm);
  82. }
  83. model.makeValue("/root/send/req/seqflag", seqflag);
  84. model.removeChild(submitID);
  85. model.createChild("xforms:submission", "id:"+submitID+";mediatype:application/x-www-form-urlencoded; method:post; ref:" + req_path + "; resultref:/root/main/reflist; ");
  86. if (submit(submitID))
  87. {
  88. exeReportPreview(reportID,"XMLSTR");
  89. }
  90. }
  91. function fSubmitBefore(flag)
  92. {
  93. // flag=0 이면 관리부서, 사용부서 Setting
  94. if (flag == 0)
  95. {
  96. var deptflag = model.getValue("/root/send/req/deptflag");
  97. var deptcd = model.getValue("/root/send/req/deptcd");
  98. var deptnm = model.getValue("/root/send/req/deptnm");
  99. if (deptflag == "U"){
  100. model.makeValue("/root/send/req/mngtdeptcd" , deptcd);
  101. model.makeValue("/root/send/req/mngtdeptnm" , deptnm);
  102. model.makeValue("/root/send/req/tempmngtdeptcd", "");
  103. model.makeValue("/root/send/req/tempmngtdeptnm", "");
  104. }else if (deptflag == "M"){
  105. model.makeValue("/root/send/req/tempmngtdeptcd", deptcd);
  106. model.makeValue("/root/send/req/tempmngtdeptnm", deptnm);
  107. model.makeValue("/root/send/req/mngtdeptcd" , "");
  108. model.makeValue("/root/send/req/mngtdeptnm" , "");
  109. }else{
  110. model.makeValue("/root/send/req/mngtdeptcd" , deptcd);
  111. model.makeValue("/root/send/req/mngtdeptnm" , deptnm);
  112. model.makeValue("/root/send/req/tempmngtdeptcd", "");
  113. model.makeValue("/root/send/req/tempmngtdeptnm", "");
  114. }
  115. }
  116. model.refresh();
  117. }
  118. ]]>
  119. </script>
  120. </xhtml:head>
  121. <xhtml:body>
  122. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  123. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">구매 관련 출력</caption>
  124. </group>
  125. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195; height:744px; ">
  126. <group id="group3" style="left:0px; top:0px; width:299; height:372; ">
  127. <caption id="caption3" class="tit_2" style="left:99px; top:25px; width:100px; height:14px; ">자산현황</caption>
  128. <caption id="caption7" style="left:30px; top:55px; width:150px; height:14px; color:#000000; cursor:hand; ">
  129. <![CDATA[ㆍ 사용부서별 *]]>
  130. <script type="javascript" ev:event="onclick">
  131. <![CDATA[
  132. fOpenCondWind("TRRSG10101", "RPRSG10101", "instcd,goodflag,deptflag,deptcd", "instcd,goodflag,deptflag,deptcd", "fSubmitBefore(0)", "", "instcd,goodflag,deptflag,deptcd,deptnm");
  133. ]]>
  134. </script>
  135. </caption>
  136. <caption id="caption5" style="left:30px; top:75px; width:230px; height:14px; color:#000000; cursor:hand; ">
  137. <![CDATA[ㆍ 사용부서/계정과목별 *]]>
  138. <script type="javascript" ev:event="onclick">
  139. <![CDATA[
  140. fOpenCondWind("TRRSG10101", "RPRSG10102", "instcd,goodflag,deptcd,acntcd", "instcd,goodflag,deptcd,acntcd", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,acntcd,deptnm,acntnm");
  141. ]]>
  142. </script>
  143. </caption>
  144. <caption id="caption24" style="left:30px; top:95px; width:180px; height:14px; color:#000000; cursor:hand; ">
  145. <![CDATA[ㆍ 사용부서/기간별 *]]>
  146. <script type="javascript" ev:event="onclick">
  147. <![CDATA[
  148. fOpenCondWind("TRRSG10101", "RPRSG10103", "instcd,goodflag,deptcd,possnddfr,possnddto", "instcd,goodflag,deptcd,possnddfr,possnddto", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnddfr,possnddto");
  149. ]]>
  150. </script>
  151. </caption>
  152. <caption id="caption36" style="left:30px; top:115px; width:184px; height:14px; color:#000000; cursor:hand; ">
  153. <![CDATA[ㆍ 사용부서/금액별 *]]>
  154. <script type="javascript" ev:event="onclick">
  155. <![CDATA[
  156. fOpenCondWind("TRRSG10101", "RPRSG10104", "instcd,goodflag,deptcd,possnamt", "instcd,goodflag,deptcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnamt");
  157. ]]>
  158. </script>
  159. </caption>
  160. <caption id="caption37" style="left:31px; top:214px; width:184px; height:19px; color:#000000; cursor:hand; ">
  161. <![CDATA[ㆍ 계정과목/기간별 *]]>
  162. <script type="javascript" ev:event="onclick">
  163. <![CDATA[
  164. fOpenCondWind("TRRSG10101", "RPRSG10112", "instcd,goodflag,acntcd,possnddfr,possnddto", "instcd,goodflag,acntcd,possnddfr,possnddto", "fSubmitBefore(0)", "", "instcd,goodflag,acntcd,acntnm,possnddfr,possnddto");
  165. ]]>
  166. </script>
  167. </caption>
  168. <caption id="caption38" style="left:30px; top:134px; width:250px; height:19px; color:#000000; cursor:hand; ">
  169. <![CDATA[ㆍ 사용부서/계정과목/기간별 *]]>
  170. <script type="javascript" ev:event="onclick">
  171. <![CDATA[
  172. fOpenCondWind("TRRSG10101", "RPRSG10105", "instcd,goodflag,deptcd,acntcd,possnddfr,possnddto", "instcd,goodflag,deptcd,acntcd,possnddfr,possnddto", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,acntcd,deptnm,acntnm,possnddfr,possnddto");
  173. ]]>
  174. </script>
  175. </caption>
  176. <caption id="caption39" style="left:32px; top:234px; width:184px; height:19px; color:#000000; cursor:hand; ">
  177. <![CDATA[ㆍ 계정과목/금액별 *]]>
  178. <script type="javascript" ev:event="onclick">
  179. <![CDATA[
  180. fOpenCondWind("TRRSG10101", "RPRSG10113", "instcd,goodflag,acntcd,possnamt", "instcd,goodflag,acntcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,acntcd,acntnm,possnamt");
  181. ]]>
  182. </script>
  183. </caption>
  184. <caption id="caption40" style="left:30px; top:154px; width:245px; height:19px; color:#000000; cursor:hand; ">
  185. <![CDATA[ㆍ 사용부서/계정과목/금액별 *]]>
  186. <script type="javascript" ev:event="onclick">
  187. <![CDATA[
  188. fOpenCondWind("TRRSG10101", "RPRSG10106", "instcd,goodflag,deptcd,acntcd,possnamt", "instcd,goodflag,deptcd,acntcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,acntcd,deptnm,acntnm,possnamt");
  189. ]]>
  190. </script>
  191. </caption>
  192. <caption id="caption41" style="left:30px; top:194px; width:184px; height:19px; color:#000000; cursor:hand; ">
  193. <![CDATA[ㆍ 계정과목별(개발중) *]]>
  194. <script type="javascript" ev:event="onclick">
  195. <![CDATA[
  196. fOpenCondWind("TRRSG10101", "RPRSG10106", "instcd,goodflag,repayyy", "instcd,goodflag,repayyy", "fSubmitBefore(0)");
  197. ]]>
  198. </script>
  199. </caption>
  200. <caption id="caption42" style="left:30px; top:174px; width:250px; height:19px; color:#000000; cursor:hand; ">
  201. <![CDATA[ㆍ 사용부서/기간/금액별 *]]>
  202. <script type="javascript" ev:event="onclick">
  203. <![CDATA[
  204. fOpenCondWind("TRRSG10101", "RPRSG10107", "instcd,goodflag,deptcd,possnddfr,possnddto,possnamt", "instcd,goodflag,deptcd,possnddfr,possnddto,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnddfr,possnddto,possnamt");
  205. ]]>
  206. </script>
  207. </caption>
  208. <caption id="caption44" style="left:32px; top:254px; width:260px; height:19px; color:#000000; cursor:hand; ">
  209. <![CDATA[ㆍ 계정과목/기간별/금액별(일자순) *]]>
  210. <script type="javascript" ev:event="onclick">
  211. <![CDATA[
  212. fOpenCondWind("TRRSG10101", "RPRSG10114", "instcd,goodflag,acntcd,possnddfr,possnddto,possnamt", "instcd,goodflag,acntcd,possnddfr,possnddto,possnamt", "fSubmitBefore(0)", "A", "instcd,goodflag,acntcd,acntnm,possnddfr,possnddto,possnamt");
  213. ]]>
  214. </script>
  215. </caption>
  216. <caption id="caption45" style="left:32px; top:274px; width:260px; height:19px; color:#000000; cursor:hand; ">
  217. <![CDATA[ㆍ 계정과목/기간별/금액별 *]]>
  218. <script type="javascript" ev:event="onclick">
  219. <![CDATA[
  220. fOpenCondWind("TRRSG10101", "RPRSG10114", "instcd,goodflag,acntcd,possnddfr,possnddto,possnamt", "instcd,goodflag,acntcd,possnddfr,possnddto,possnamt", "fSubmitBefore(0)", "D", "instcd,goodflag,acntcd,acntnm,possnddfr,possnddto,possnamt");
  221. ]]>
  222. </script>
  223. </caption>
  224. <caption id="caption46" style="left:32px; top:294px; width:260px; height:19px; color:#000000; cursor:hand; ">
  225. <![CDATA[ㆍ 기간별 *]]>
  226. <script type="javascript" ev:event="onclick">
  227. <![CDATA[
  228. fOpenCondWind("TRRSG10101", "RPRSG10121", "instcd,goodflag,possnddfr,possnddto", "instcd,goodflag,possnddfr,possnddto", "fSubmitBefore(0)");
  229. ]]>
  230. </script>
  231. </caption>
  232. <caption id="caption47" style="left:32px; top:314px; width:260px; height:19px; color:#000000; cursor:hand; ">
  233. <![CDATA[ㆍ 기간별/금액별 *]]>
  234. <script type="javascript" ev:event="onclick">
  235. <![CDATA[
  236. fOpenCondWind("TRRSG10101", "RPRSG10122", "instcd,goodflag,possnddfr,possnddto,possnamt", "instcd,goodflag,possnddfr,possnddto,possnamt", "fSubmitBefore(0)");
  237. ]]>
  238. </script>
  239. </caption>
  240. </group>
  241. <group id="group4" style="left:299; top:0; width:299; height:372; ">
  242. <caption id="caption20" class="tit_2" style="left:99px; top:25px; width:100px; height:14px; ">수리 관련</caption>
  243. <caption id="caption4" style="left:30px; top:55px; width:116px; height:14px; color:#000000; cursor:hand; ">
  244. <![CDATA[ㆍ 미수리 현황 *]]>
  245. <script type="javascript" ev:event="onclick">
  246. <![CDATA[
  247. fOpenCondWind("TRRSG10102", "RPRSG10131", "instcd,fixtrseqmtflag,rpiryn", "instcd,fixtrseqmtflag,rpiryn");
  248. ]]>
  249. </script>
  250. </caption>
  251. <caption id="caption1" style="left:30px; top:95px; width:120px; height:14px; color:#000000; cursor:hand; ">
  252. <![CDATA[ㆍ 장비별 수리 현황 *]]>
  253. <script type="javascript" ev:event="onclick">
  254. <![CDATA[
  255. fOpenCondWind("TRRSG10102", "RPRSG10132", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2");
  256. ]]>
  257. </script>
  258. </caption>
  259. <caption id="caption6" style="left:30px; top:75px; width:116px; height:14px; color:#000000; cursor:hand; ">
  260. <![CDATA[ㆍ 과별 수리 현황 *]]>
  261. <script type="javascript" ev:event="onclick">
  262. <![CDATA[
  263. fOpenCondWind("TRRSG10102", "RPRSG10132", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2");
  264. ]]>
  265. </script>
  266. </caption>
  267. <caption id="caption2" style="left:30px; top:115px; width:184px; height:14px; color:#000000; cursor:hand; ">
  268. <![CDATA[ㆍ 기간별 자산이동 현황 *]]>
  269. <script type="javascript" ev:event="onclick">
  270. <![CDATA[
  271. fOpenCondWind("TRRSG10103", "RPRSG10132", "instcd,fixtrseqmtflag,reqdd1,reqdd2", "instcd,fixtrseqmtflag,reqdd1,reqdd2");
  272. ]]>
  273. </script>
  274. </caption>
  275. </group>
  276. <group id="group5" style="left:598; top:0px; width:299; height:372; "/>
  277. <group id="group6" style="left:895px; top:0px; width:299px; height:372px; "/>
  278. <group id="group7" style="left:0px; top:370px; width:298px; height:372px; "/>
  279. </group>
  280. </xhtml:body>
  281. </xhtml:html>