123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>구매관련 출력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reflist/>
- </main>
- <init/>
- <hidden/>
- <temp/>
- <send>
- </send>
- </root>
- </instance>
- <submission id="aa"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사용자 권한
- //fCheckAuth();
-
- //구매 관리자 권한체크
- //var authflag = fGrupAuthFlag("UG00000034");
- //if (authflag == "Y") {
- // grp_scoreprt.visible = true;
- //}
- /*
- if (getUserInfo("dutplcecd") == "4110101000" || getUserInfo("userid").toUpperCase() == "MIS" || getUserInfo("userid") == "20800920"){
- grp_scoreprt.visible = true;
- }
- */
- //model.refresh();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
-
- }
-
- /*
- 조회조건창을 열어 입력된 조회조건으로 submit을 전송한다.
- 조회조건 : yy,mm,instcd,deptcd,emplno,supinfqurtyyflag,apprtcdrflag,dentyn,trngflag13,anual
-
- submitID : submission ID
- reportID : report ID
- rsltpath : submission 의 resultref
- reqlist : 조회조건 예) "yy,mm,emplno"
- essnlist : 필수조회조건 예) "yy,mm"
- funcnm : 특정시점의 함수호출
- */
- function fOpenCondWind(submitID, reportID, reqlist, essnlist, funcnm, seqflag, sendlist)
- {
- var ctrl = document.controls(event.target);
- var req_path = "/root/send/req";
- model.removenode(req_path);
- model.removenode("/root/properties/parameters");
- setParameter("SPRSG10200_title", ctrl.text);
- setParameter("SPRSG10200_valupath", req_path);
- setParameter("SPRSG10200_reqlist", reqlist);
- setParameter("SPRSG10200_essnlist", essnlist);
- setParameter("SPRSG10200_sendlist", sendlist);
-
- modalUrl("SPRSG10200_구매출력물관련조건(경북대).xrw","",event.screenX,event.screenY,"popup", "" ,"");
-
- if (instance1.selectNodes(req_path).length == 0)
- {
- model.removenode(req_path);
- model.removenode("/root/properties/parameters");
- return;
- }
- if (funcnm != null && funcnm != "")
- {
- eval(funcnm);
- }
- model.makeValue("/root/send/req/seqflag", seqflag);
- model.removeChild(submitID);
- model.createChild("xforms:submission", "id:"+submitID+";mediatype:application/x-www-form-urlencoded; method:post; ref:" + req_path + "; resultref:/root/main/reflist; ");
-
- if (submit(submitID))
- {
- exeReportPreview(reportID,"XMLSTR");
- }
-
- }
-
- function fSubmitBefore(flag)
- {
- // flag=0 이면 관리부서, 사용부서 Setting
- if (flag == 0)
- {
- var deptflag = model.getValue("/root/send/req/deptflag");
- var deptcd = model.getValue("/root/send/req/deptcd");
- var deptnm = model.getValue("/root/send/req/deptnm");
- if (deptflag == "U"){
- model.makeValue("/root/send/req/mngtdeptcd" , deptcd);
- model.makeValue("/root/send/req/mngtdeptnm" , deptnm);
- model.makeValue("/root/send/req/tempmngtdeptcd", "");
- model.makeValue("/root/send/req/tempmngtdeptnm", "");
- }else if (deptflag == "M"){
- model.makeValue("/root/send/req/tempmngtdeptcd", deptcd);
- model.makeValue("/root/send/req/tempmngtdeptnm", deptnm);
- model.makeValue("/root/send/req/mngtdeptcd" , "");
- model.makeValue("/root/send/req/mngtdeptnm" , "");
- }else{
- model.makeValue("/root/send/req/mngtdeptcd" , deptcd);
- model.makeValue("/root/send/req/mngtdeptnm" , deptnm);
- model.makeValue("/root/send/req/tempmngtdeptcd", "");
- model.makeValue("/root/send/req/tempmngtdeptnm", "");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">구매 관련 출력</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195; height:744px; ">
- <group id="group3" style="left:0px; top:0px; width:299; height:372; ">
- <caption id="caption3" class="tit_2" style="left:99px; top:25px; width:100px; height:14px; ">자산현황</caption>
- <caption id="caption7" style="left:30px; top:55px; width:150px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10101", "instcd,goodflag,deptflag,deptcd", "instcd,goodflag,deptflag,deptcd", "fSubmitBefore(0)", "", "instcd,goodflag,deptflag,deptcd,deptnm");
- ]]>
- </script>
- </caption>
- <caption id="caption5" style="left:30px; top:75px; width:230px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/계정과목별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10102", "instcd,goodflag,deptcd,acntcd", "instcd,goodflag,deptcd,acntcd", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,acntcd,deptnm,acntnm");
- ]]>
- </script>
- </caption>
- <caption id="caption24" style="left:30px; top:95px; width:180px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/기간별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10103", "instcd,goodflag,deptcd,possnddfr,possnddto", "instcd,goodflag,deptcd,possnddfr,possnddto", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnddfr,possnddto");
- ]]>
- </script>
- </caption>
- <caption id="caption36" style="left:30px; top:115px; width:184px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10104", "instcd,goodflag,deptcd,possnamt", "instcd,goodflag,deptcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnamt");
- ]]>
- </script>
- </caption>
- <caption id="caption37" style="left:31px; top:214px; width:184px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 계정과목/기간별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10112", "instcd,goodflag,acntcd,possnddfr,possnddto", "instcd,goodflag,acntcd,possnddfr,possnddto", "fSubmitBefore(0)", "", "instcd,goodflag,acntcd,acntnm,possnddfr,possnddto");
- ]]>
- </script>
- </caption>
- <caption id="caption38" style="left:30px; top:134px; width:250px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/계정과목/기간별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- 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");
- ]]>
- </script>
- </caption>
- <caption id="caption39" style="left:32px; top:234px; width:184px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 계정과목/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10113", "instcd,goodflag,acntcd,possnamt", "instcd,goodflag,acntcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,acntcd,acntnm,possnamt");
- ]]>
- </script>
- </caption>
- <caption id="caption40" style="left:30px; top:154px; width:245px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/계정과목/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10106", "instcd,goodflag,deptcd,acntcd,possnamt", "instcd,goodflag,deptcd,acntcd,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,acntcd,deptnm,acntnm,possnamt");
- ]]>
- </script>
- </caption>
- <caption id="caption41" style="left:30px; top:194px; width:184px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 계정과목별(개발중) *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10106", "instcd,goodflag,repayyy", "instcd,goodflag,repayyy", "fSubmitBefore(0)");
- ]]>
- </script>
- </caption>
- <caption id="caption42" style="left:30px; top:174px; width:250px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 사용부서/기간/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10107", "instcd,goodflag,deptcd,possnddfr,possnddto,possnamt", "instcd,goodflag,deptcd,possnddfr,possnddto,possnamt", "fSubmitBefore(0)", "", "instcd,goodflag,deptcd,deptnm,possnddfr,possnddto,possnamt");
- ]]>
- </script>
- </caption>
- <caption id="caption44" style="left:32px; top:254px; width:260px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 계정과목/기간별/금액별(일자순) *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- 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");
- ]]>
- </script>
- </caption>
- <caption id="caption45" style="left:32px; top:274px; width:260px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 계정과목/기간별/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- 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");
- ]]>
- </script>
- </caption>
- <caption id="caption46" style="left:32px; top:294px; width:260px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 기간별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10121", "instcd,goodflag,possnddfr,possnddto", "instcd,goodflag,possnddfr,possnddto", "fSubmitBefore(0)");
- ]]>
- </script>
- </caption>
- <caption id="caption47" style="left:32px; top:314px; width:260px; height:19px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 기간별/금액별 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10101", "RPRSG10122", "instcd,goodflag,possnddfr,possnddto,possnamt", "instcd,goodflag,possnddfr,possnddto,possnamt", "fSubmitBefore(0)");
- ]]>
- </script>
- </caption>
- </group>
- <group id="group4" style="left:299; top:0; width:299; height:372; ">
- <caption id="caption20" class="tit_2" style="left:99px; top:25px; width:100px; height:14px; ">수리 관련</caption>
- <caption id="caption4" style="left:30px; top:55px; width:116px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 미수리 현황 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10102", "RPRSG10131", "instcd,fixtrseqmtflag,rpiryn", "instcd,fixtrseqmtflag,rpiryn");
- ]]>
- </script>
- </caption>
- <caption id="caption1" style="left:30px; top:95px; width:120px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 장비별 수리 현황 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10102", "RPRSG10132", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2");
- ]]>
- </script>
- </caption>
- <caption id="caption6" style="left:30px; top:75px; width:116px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 과별 수리 현황 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10102", "RPRSG10132", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2", "instcd,fixtrseqmtflag,acsrssrchyn,reqdd1,reqdd2");
- ]]>
- </script>
- </caption>
- <caption id="caption2" style="left:30px; top:115px; width:184px; height:14px; color:#000000; cursor:hand; ">
- <![CDATA[ㆍ 기간별 자산이동 현황 *]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOpenCondWind("TRRSG10103", "RPRSG10132", "instcd,fixtrseqmtflag,reqdd1,reqdd2", "instcd,fixtrseqmtflag,reqdd1,reqdd2");
- ]]>
- </script>
- </caption>
- </group>
- <group id="group5" style="left:598; top:0px; width:299; height:372; "/>
- <group id="group6" style="left:895px; top:0px; width:299px; height:372px; "/>
- <group id="group7" style="left:0px; top:370px; width:298px; height:372px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|